Jean First
47a1d794db
tiffenc: initialize forgotten avctx.
14 years ago
Michael Niedermayer
dc66951bb2
proresdsp: fix rounding
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
67dad8e7b1
proresdsp: Correct credits to point to the Author and not just the code this is based on.
Also change Libav to FFmpeg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
96b0ddeeaa
dct-test: Test ff_prores_idct_put_10_sse2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
dfeeb85b65
dct-test: add transpose permutation support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
370d7ef2c7
proresdsp: Optimize series of padds out
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
6398c0f7e1
proresdsp.asm: Remove useless instructions.
14 years ago
Elvis Presley
bebaf4ea1f
prores: change license to LGPL, merge some parts.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Elvis Presley
b87d882578
proresdsp.asm: drop useless shifts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Elvis Presley
ef47c608be
x86/proresdsp-init: add forgotten HAVE_YASM
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Kostya Shishkov
50f9721904
vc1: more prettyprinting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Kostya Shishkov
94e725ca2b
vc1: prettyprint some tables
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Kostya Shishkov
b18c68ad25
vc1: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Anton Khirnov
145f741e11
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
14 years ago
Anton Khirnov
641c7afe3c
AVOptions: add new API for enumerating children.
This will allow the caller to enumerate child contexts in a generic way
and since the API is recursive, it also allows for deeper nesting (e.g.
AVFormatContext->AVIOContext->URLContext)
This will also allow the new setting/reading API to transparently apply
to children contexts.
14 years ago
Janne Grunau
1bca8f4bc5
rv34: move inverse transform functions to DSP context
14 years ago
Mans Rullgard
318efbfc10
h264: change unsupported bit depth message to error level
Unsupported bit depth is certainly an error the user will
want to know about.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
c682514a8f
qdm2: fix signed multiplication overflow
This code relies on the result wrapping as for unsigned
values, and the sign is not used. Thus an unsigned type
is proper here.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
46c3c53bae
libx264: support yuv422/444 output.
14 years ago
Daniel Kristjansson
f36ce75e35
pcm: Print number of bits in the error message of unsupported DVD PCM formats.
14 years ago
John Stebbins
5f3fb59953
fix AC3ENC_OPT_MODE_ON/OFF
The values were reversed.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
14 years ago
Mans Rullgard
fdba370f8a
h264: fix HRD parameters parsing
The bit_rate_value_minus1 and cpb_size_value_minus1 elements
allow a wider range than get_ue_golomb() supports. This
adds a get_ue_golomb_long() function supporting up to 31
leading zeros, which is the maximum for these syntax
elements, and uses it in decode_hrd_parameters().
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
91f4732913
prores: implement multithreading.
60% speedup (overall decoding time) at 2 threads, and another 60%
speedup at 4 threads.
14 years ago
Ronald S. Bultje
e3f530feca
prores: idct sse2/sse4 optimizations.
~3.0-3.5x as fast as original C version, 1.6x as fast overall.
14 years ago
Ronald S. Bultje
92fb52d906
prores: extract idct into its own dspcontext and merge with put_pixels.
14 years ago
Mans Rullgard
8babfc033e
h264: fix invalid shifts in init_cavlc_level_tab()
The level_code expression includes a shift which is invalid in
those cases where the value is not used. Moving the calculation
to the branch where the result is used avoids these.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
4b7f49082f
flashsv: return more meaningful error value
14 years ago
Diego Biurrun
f9a9c8f9bc
flashsv: fix typo in av_log() message
14 years ago
Michael Niedermayer
5174032953
g723.1: use memmove() where overlapping src and dst can happen.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
7b5c03064d
vc1: enable interlaced p fields again, they seem no longer to crash with out of array writes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
4509be3d2f
vc1: reset interlaced variables, prevent another bunch of crashes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Justin Ruggles
ff1f89de2d
smacker: validate channels and sample format.
14 years ago
Justin Ruggles
cf044f8bff
smacker: check buffer size before reading output size
14 years ago
Justin Ruggles
e190e453bd
smacker: validate number of channels
14 years ago
Mans Rullgard
be1242a3f2
h264: fix detection of optional trailing PPS elements
The PPS may contain a few trailing elements whose presence is
only signalled by data remaining after the the mandatory part
has been parsed. The current code fails to take into account
the rbsp_trailing_bits() when deciding whether to parse these
optional elements. Assuming no unnecessary padding bytes are
passed to this function, the optional elements are present if
either more than 8 extra bits remain or the remaining bits do
not form a valid rbsp_trailing_bits() after the mandatory PPS
elements have been parsed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
c79d2a20ba
sipr: fix get_bits(0) calls
Zero-length get_bits() is undefined, must check before calling.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
cb668476ab
motion_est: make MotionExtContext.map_generation unsigned
The way this value is used, it should be an unsigned type.
While the numerical value has no meaning, unsigned wraparound
is relied upon.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
1e4d60353c
vc1: disable parts of the interlaced code due to security issues.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Laurent Aimar
4c7a232fc8
h264: reset h->ref_count in case of errors in ff_h264_decode_ref_pic_list_reordering()
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
e8ac80fb2c
error_resilience: fix the check for missing references in ff_er_frame_end() for H264
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
1b1182ce97
4xm: prevent NULL dereference with invalid huffman table
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
8d518a9c4f
4xm: clear FF_INPUT_BUFFER_PADDING_SIZE bytes in temporary buffers
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
dc64f203a6
ptx: check for out of bound reads
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
04a845caa7
tiffdec: fix out of bound reads/writes
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
46cb2f6a29
eacmv: check for out of bound reads
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
8df8a87e3f
eacmv: fix potential pointer arithmetic overflows
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
c7f89064e2
adpcm: fix out of bound reads due to integer overflow
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
2475f1a83c
anm: prevent infinite loop
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
de049a95f4
avs: check for out of bound reads
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Baptiste Coudurier
11a32d53ca
dnxhddec: handle cid change in bitstream.
14 years ago