Janne Grunau
ac29054fda
imgconvert: add avcodec_find_best_pix_fmt2()
...
The number of pixel formats outgrew the number of available bits in
the bitmask used in avcodec_find_best_pix_fmt().
avcodec_find_best_pix_fmt2() uses a PIX_FMT_NONE terminated list
of pixel formats instead.
13 years ago
Janne Grunau
39bb27bf79
imgconvert: avoid undefined left shift in avcodec_find_best_pix_fmt
...
CC: libav-stable@libav.org
13 years ago
Kostya Shishkov
5b7e3a195d
MS Expression Encoder Screen decoder
13 years ago
Martin Storsjö
7548831c5e
libfdk-aac: Allow setting the encoder bandwidth/cutoff frequency
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
0da29727ea
build: Fix Ogg demuxer dependencies
13 years ago
Diego Biurrun
b896008271
build: Fix FLAC demuxer dependencies
13 years ago
Diego Biurrun
8eea8fdceb
flac: Move flac functions shared between libraries to flac common code
...
This fixes a number of flac-related build dependencies.
13 years ago
Diego Biurrun
a519463366
build: Fix CAF demuxer dependencies
13 years ago
Diego Biurrun
b7884ff7af
build: Fix MP2 muxer dependencies
13 years ago
Diego Biurrun
d648de61e6
build: Add missing build rules for the ISMV muxer
13 years ago
Martin Storsjö
37eeb5e273
Support AAC encoding via the external library fdk-aac
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
372597e538
libavcodec: Add more AAC profiles
...
The numerical values of the profiles are the MPEG4 Audio Object
Type values, minus one.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
667fb97a65
dct/fft-test: use a replacement getopt() if the system has none present.
...
This allows compiling and running these tests on systems lacking a built-
in version of getopt(), such as MSVC.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Kostya Shishkov
781888da89
TechSmith Screen Codec 2 decoder
13 years ago
Kostya Shishkov
ed219ed366
mss1: fix decoding masked regions in interframes
...
Spotted by Alberto Delmás
13 years ago
Kostya Shishkov
5467742232
mss3: use standard zigzag table
13 years ago
Kostya Shishkov
acfb6b6cf8
mss3: split DSP functions that are used in MTS2(MSS4) into separate file
13 years ago
Anton Khirnov
82f82ccfc8
motion-test: do not use getopt()
...
It is not available on all systems and using argc/argv directly actually
makes the code simpler.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
JULIAN GARDNER
0dd283faca
libx264: support aspect ratio switching
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Martin Storsjö
f27386cdc7
x86: h264_intrapred: Don't add the 'd' suffix to the SPLATB_REG macro
...
The SPLATB_REG macro already adds the 'd' suffix internally.
This fixes building on Win64, which has been broken since 878e66902
.
This worked for unix, where r2 happened to be rdx in this case, which
with the first suffix rdxd was mapped to eax, and eaxd is defined back
to eax. On win64 however, r2 happened to be R8 in this case, and
R8d mapps to R8D just fine, but there's no mapping for R8Dd to anything.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Kostya Shishkov
1f061da529
mss3: add forgotten 'static' qualifier for private table
13 years ago
Mans Rullgard
0a19000da8
lavc: options: add planar names for request_sample_fmt
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
784514a4a8
flacdec: add planar output support
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
bb58c43c69
qdm2: remove broken and disabled dump_context() debug function
13 years ago
Diego Biurrun
878e669029
x86: h264_intrapred: use newly introduced SPLAT* and PSHUFLW macros
13 years ago
Loren Merritt
4d4752366f
x86inc: add SPLATB_LOAD, SPLATB_REG, PSHUFLW macros
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
d20f133ef9
x86: h264_intrapred: port to cpuflag macros
13 years ago
Mans Rullgard
28fff0d974
h264: use templates to avoid excessive inlining
...
Instead of inlining everything into ff_h264_hl_decode_mb(), use
explicit templating to create versions of the called functions
with constant parameters filled in. This greatly speeds up
compilation of h264.c and reduces the code size without any
measurable impact on performance.
Compilation time for h264.c on an i7 goes from 30s to 5.5s.
Code size is reduced by 430kB.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
18f2d5cb9c
mpegvideo: Don't use ff_mspel_motion() for vc1
...
Using ff_mspel_motion assumes that s (a MpegEncContext
poiinter) really is a Wmv2Context.
This fixes crashes in error resilience on vc1/wmv3 videos.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
07eeeb1d4f
vp8: Add ifdef guards around the sse2 loopfilter in the sse2slow branch too
...
This was missed in the the previous commit in 70a1c800
.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
70a1c8000f
vp8: loopfilter >=sse2 functions need aligned stack on x86-32.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Ronald S. Bultje
c51838478c
amr: remove shift out of the AMR_BIT() macro.
...
MSVC doesn't like the offsetof(..) >> 1 construct, it interprets it as
a non-literal, thus causing use of this in static tables to fail
compilation.
13 years ago
Ronald S. Bultje
723b266d72
dsputilenc: group yasm and inline asm function pointer assignment.
13 years ago
Diego Biurrun
2047e40e6e
Clarify Doxygen comment for FF_API_* #defines.
13 years ago
Ronald S. Bultje
89b81a1c88
mpegvideo: remove VLAs
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mans Rullgard
25accf93ad
flacdec: move lpc filter to flacdsp
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
4a8528349f
flacdec: split off channel decorrelation as flacdsp
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
87466f8124
flacdec: factor out code setting avctx->sample_fmt
13 years ago
Mans Rullgard
d155b60fc8
flac: make FLAC_CHMODE_* constants consecutive
13 years ago
Mans Rullgard
93e7ef9a24
flacdec: allocate sample buffers with av_malloc
...
The buffers are only allocated once, although it can happen from
any of a few different places, so there is no need to use realloc.
Using av_malloc() ensures they are aligned suitably for SIMD
optimisations.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
0da301e105
flacdec: remove curr_bps from FLACContext
...
This value does not need to be persistent across calls.
13 years ago
Mans Rullgard
360aa2465a
flacenc: add option for forcing stereo decorrelation mode
...
This is mainly useful for testing.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
4051be6f50
anm: fix a few Doxygen comments
13 years ago
Diego Biurrun
09f211987c
misc typo and wording fixes
13 years ago
Ronald S. Bultje
3389545157
snow: remove a VLA used for edge emulation
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
cbd9b2f918
snow: remove the runs[] VLA.
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
4d8516fdb1
snow: Check mallocs at init
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mans Rullgard
4719ea7e1e
flacdec: remove redundant setting of avctx->sample_fmt
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
58e57c3052
snow: remove VLA in mc_block()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Ronald S. Bultje
33bb63cb3e
snow: remove a VLA.
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago