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>
14 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
Kostya Shishkov
edf35d8342
MS ATC Screen (aka MSS3) decoder
13 years ago
Martin Storsjö
fc31508e3a
roqvideo: Remove a totally unused dspcontext
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mans Rullgard
779f8bc24e
smacker: remove some unused code
This removes some code apparently left over from vlc reader
debugging.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
d55e5e6bae
dsicin: remove dead assignment
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
3c928477d2
aacdec: remove dead assignment
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
800ab1bafa
rl2: remove dead assignment
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
1c2c64edac
proresenc: make a variable local to the loop where it is used
This moves the mbs_per_slice declaration inside the only loop
where it is used. Fixes a dead assignment.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
4ca6d206d1
alsdec: remove dead assignments
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Martin Storsjö
710bd8a33e
wma: Lower the maximum number of channels to 2
ff_wma_init is used only by wmadec and wmaenc, and neither of them
can handle more than 2 channels.
This fixes crashes with invalid files.
Based on patch by Piotr Bandurski and Michael Niedermayer.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mans Rullgard
62634158b7
ARM: generate position independent code to access data symbols
This creates proper position independent code when accessing
data symbols if CONFIG_PIC is set.
References to external symbols should now use the movrelx macro.
Some additional code changes are required since this macro may
need a register to hold the GOT pointer.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Ronald S. Bultje
ceabc13f12
dsputilenc_mmx: split assignment of ff_sse16_sse2 to SSE2 section.
13 years ago
Ronald S. Bultje
e9156741a7
dnxhdenc: add space between function argument type and comment.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
66a02159ea
x86: fmtconvert: add special asm for float_to_int16_interleave_misc_*
This gets rid of a variable-length array and a for loop in C code.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago