Paul B Mahol
8cd1c0febe
pcx: convert to bytestream2 API
Protects against overreads in input buffer.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Janne Grunau
c466eb1746
flashsv: propagate inflateReset() errors
Fixes CID717493.
12 years ago
Janne Grunau
6d556e8327
indeo4/5: remove constant parameter num_bands from wavelet recomposition
Fixes bogus uninitialized value compiler and coverity warnings.
12 years ago
Mashiat Sarker Shakkhar
35a35d49d2
Double motion vector range for HPEL interlaced picture in proper place
The existing code is not in the right place and it should cover both
interlaced frame and field pictures.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Mashiat Sarker Shakkhar
eb657ecefd
vc1dec: Set opposite to the correct value for 1REF field pictures
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Mashiat Sarker Shakkhar
7cc3c4e1d4
vc1dec: Invoke edge emulation regardless of MV precision for 1-MV chroma
This is required due to the way VC-1 handles chroma pull-back which may end
up causing negative chroma MV for zero luma MV. Edge emulation needs to be
invoked in such cases.
This only affects vertical component of chroma motion vector.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Mashiat Sarker Shakkhar
88058d9a99
vc1dec: Set chroma reference field from REFFIELD for 1REF field pictures
Interlaced field pictures can have one or two reference pictures, signaled
by NUMREF syntax element. For single reference pictures, reference picture
is determined by REFFIELD syntax element.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Michael Niedermayer
9586db6ae5
lavc: docs: the field_order is set by the demuxer and not libavcodec for decoding
This makes the documentation match the implementation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
2c5b1a2a6a
txd: remove duplicated header inclusion
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Mashiat Sarker Shakkhar
7fb35ee931
vc1dec: Use correct spelling of "opposite"
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Janne Grunau
706a559b30
a64multienc: change mc_frame_counter to unsigned
GCC cannot proof that c->mc_frame_counter is always >- 0, changing the
type from int to unsigned fixes following warning:
libavcodec/a64multienc.c: In function ‘a64multi_encode_frame’:
libavcodec/a64multienc.c:342:17: warning: ‘buf’ may be used uninitialized in this function[-Wuninitialized]
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
12 years ago
Jean-Baptiste Kempf
507dce2536
arm: call arm-specific rv34dsp init functions under if (ARCH_ARM)
Assign NEON specific function pointers after runtime check via
av_get_cpu_flags().
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
12 years ago
Diego Biurrun
63a46c6101
svq1: Drop a bunch of useless parentheses
12 years ago
Diego Biurrun
ada12f8366
svq1: K&R formatting cosmetics
12 years ago
Paul B Mahol
b4e516e30e
pcx: use meaningful return values
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
25f44b041c
x86/dsputil_mmx: change assert() to av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Janne Grunau
f1de23faaa
g722enc: fix size argument in memset
Fixes CID700725.
12 years ago
Anton Khirnov
233a5a807e
lavc: split asv12 encoder/decoder
12 years ago
KO Myung-Hun
3a45688abc
lavc: include os2threads.h in vp8.h if HAVE_OS2THREADS is enabled
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anuj Mittal
8d2e0e2c70
Check for resync marker based on vop coding type- vop_fcode_forward and vop_fcode_backward L
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anuj Mittal
ce19aec15b
Check resync marker only when enabled.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Janne Grunau
6f8ef5320f
vc1dec: prevent memory leak in error path
Fixes CID732271.
12 years ago
Janne Grunau
714f5ab597
vc1dec: prevent memory leak on av_realloc error
12 years ago
Justin Ruggles
cbcd497f38
adxdec: use planar sample format
12 years ago
Justin Ruggles
4ebd74cec7
adpcmdec: use planar sample format for adpcm_thp
12 years ago
Justin Ruggles
327cdb04e3
adpcmdec: use planar sample format for adpcm_ea_xas
12 years ago
Justin Ruggles
da9620e8e5
adpcmdec: use planar sample format for adpcm_ea_r1/r2/r3
12 years ago
Justin Ruggles
d2b6ae02aa
adpcmdec: use planar sample format for adpcm_xa
12 years ago
Justin Ruggles
8b854283c3
adpcmdec: use planar sample format for adpcm_ima_ws for vqa version 3
12 years ago
Justin Ruggles
4356d66d78
adpcmdec: use planar sample format for adpcm_4xm
12 years ago
Justin Ruggles
1b9ac72908
adpcmdec: use planar sample format for adpcm_ima_wav
12 years ago
Justin Ruggles
176db0b892
adpcmdec: use planar sample format for adpcm_ima_qt
12 years ago
Justin Ruggles
7e5f045039
pcmdec: use planar sample format for pcm_lxf
12 years ago
Justin Ruggles
c1a9cfd1fe
mace: use planar sample format
12 years ago
Justin Ruggles
23d53c5473
atrac1: use planar sample format
12 years ago
Diego Biurrun
ac56ff9cc9
build: non-x86: Only compile mpegvideo optimizations when necessary
12 years ago
Janne Grunau
3fbda309e5
avcodec: free extended_data instead address of it
Fixes CID732173.
12 years ago
Diego Biurrun
f75f4194d1
Restructure av_log_missing_feature message
Some invocations include a verb in the log message, others do not. Yet
av_log_missing_feature expects callers to provide a verb. Change the
function to include a verb instead and update the callers accordingly.
The result is a more natural function API and correct English in the
function invocations.
12 years ago
Carl Eugen Hoyos
61a9f099b7
Write 32bit palette to Targa files.
Current ImageMagick fails to read such files,
therefore only write the 32bit palette if the
palette actually contains any transparency
information.
12 years ago
Michael Niedermayer
1e83e6ad7a
ra144: fix code with ftrapv.
A better solution is welcome!
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Bobby Bingham
b56f94cc36
targa: cosmetics - add some whitespace
Signed-off-by: Bobby Bingham <uhmmmm@gmail.com>
12 years ago
Bobby Bingham
50787fe350
targa: remove unused context members
Signed-off-by: Bobby Bingham <uhmmmm@gmail.com>
12 years ago
Bobby Bingham
c2eec3df89
targa: support 2-way and 4-way interleaved files
Fixes ticket #701
Signed-off-by: Bobby Bingham <uhmmmm@gmail.com>
12 years ago
Bobby Bingham
3d9cdfdce7
targa: use named constants for flag values
Signed-off-by: Bobby Bingham <uhmmmm@gmail.com>
12 years ago
Michael Niedermayer
d07940b76d
motion_est: switch asserts to av_asserts
note, the asserts where enabled by default before this
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
72c2d8a346
dsputil: convert asserts to av_asserts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8da7907a4a
adpcmenc: switch to av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
b49d94e4f2
Support decoding of targa files with 32bit palette.
12 years ago
Mans Rullgard
f79364b2c3
ppc: fix Altivec build with old compilers
The vec_splat() intrinsic requires a constant argument for the
element number, and the code relies on the compiler unrolling
the loop to provide this. Manually unrolling the loop avoids
this reliance and works with all compilers.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Janne Grunau
7e522859fc
x86: vc1: call ff_vc1dsp_init_x86() under if (ARCH_X86)
12 years ago