Luca Barbato
2d6caade22
dsputil: split out mlp dsp function
13 years ago
Mans Rullgard
25dc79bc14
sh4: add required #include, fix build
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Janne Grunau
c466eb1746
flashsv: propagate inflateReset() errors
Fixes CID717493.
13 years ago
Janne Grunau
6d556e8327
indeo4/5: remove constant parameter num_bands from wavelet recomposition
Fixes bogus uninitialized value compiler and coverity warnings.
13 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>
13 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>
13 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>
13 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>
13 years ago
Mashiat Sarker Shakkhar
7fb35ee931
vc1dec: Use correct spelling of "opposite"
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 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>
13 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>
13 years ago
Diego Biurrun
63a46c6101
svq1: Drop a bunch of useless parentheses
13 years ago
Diego Biurrun
ada12f8366
svq1: K&R formatting cosmetics
13 years ago
Janne Grunau
f1de23faaa
g722enc: fix size argument in memset
Fixes CID700725.
13 years ago
Anton Khirnov
233a5a807e
lavc: split asv12 encoder/decoder
13 years ago
Janne Grunau
6f8ef5320f
vc1dec: prevent memory leak in error path
Fixes CID732271.
13 years ago
Janne Grunau
714f5ab597
vc1dec: prevent memory leak on av_realloc error
13 years ago
Justin Ruggles
cbcd497f38
adxdec: use planar sample format
13 years ago
Justin Ruggles
4ebd74cec7
adpcmdec: use planar sample format for adpcm_thp
13 years ago
Justin Ruggles
327cdb04e3
adpcmdec: use planar sample format for adpcm_ea_xas
13 years ago
Justin Ruggles
da9620e8e5
adpcmdec: use planar sample format for adpcm_ea_r1/r2/r3
13 years ago
Justin Ruggles
d2b6ae02aa
adpcmdec: use planar sample format for adpcm_xa
13 years ago
Justin Ruggles
8b854283c3
adpcmdec: use planar sample format for adpcm_ima_ws for vqa version 3
13 years ago
Justin Ruggles
4356d66d78
adpcmdec: use planar sample format for adpcm_4xm
13 years ago
Justin Ruggles
1b9ac72908
adpcmdec: use planar sample format for adpcm_ima_wav
13 years ago
Justin Ruggles
176db0b892
adpcmdec: use planar sample format for adpcm_ima_qt
13 years ago
Justin Ruggles
7e5f045039
pcmdec: use planar sample format for pcm_lxf
13 years ago
Justin Ruggles
c1a9cfd1fe
mace: use planar sample format
13 years ago
Justin Ruggles
23d53c5473
atrac1: use planar sample format
13 years ago
Diego Biurrun
ac56ff9cc9
build: non-x86: Only compile mpegvideo optimizations when necessary
13 years ago
Janne Grunau
3fbda309e5
avcodec: free extended_data instead address of it
Fixes CID732173.
13 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.
13 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>
13 years ago
Janne Grunau
7e522859fc
x86: vc1: call ff_vc1dsp_init_x86() under if (ARCH_X86)
13 years ago
Janne Grunau
cb36febcbc
x86: cavs: call ff_cavsdsp_init_x86() under if (ARCH_X86)
13 years ago
Janne Grunau
f101eab1be
x86: call most of the x86 dsp init functions under if (ARCH_X86)
Rename the called dsp init functions to *_init_x86.
13 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
13 years ago
Justin Ruggles
37f701f1c3
avcodec: allow either planar or interleaved sample format when encoding mono
When there is only 1 channel, the planar and interleaved formats of the same
data type should be treated as identical.
13 years ago
Justin Ruggles
5364327186
adpcmenc: ensure calls to adpcm_ima_compress_sample() are in the right order
Should fix fate-acodec-adpcm-ima_wav with several compilers.
13 years ago
Justin Ruggles
31b2262dca
wmaenc: use float planar sample format
13 years ago
Justin Ruggles
b1540fc884
(e)ac3enc: use planar sample format
13 years ago
Justin Ruggles
f3e2d68df6
aacenc: use planar sample format
13 years ago
Justin Ruggles
095be4fbf6
adpcmenc: use planar sample format for adpcm_ima_wav and adpcm_ima_qt
13 years ago
Justin Ruggles
d9a13c2f56
adpcmenc: move 'ch' variable to higher scope
It is used for multiple codecs.
13 years ago
Justin Ruggles
9606f19b4e
adpcmenc: fix 3 instances of variable shadowing
13 years ago
Justin Ruggles
1e35574bad
adpcm_ima_wav: simplify encoding
13 years ago
Justin Ruggles
cfc0a80a1d
libvorbis: use planar sample format
13 years ago
Justin Ruggles
473b297f26
libmp3lame: use planar sample formats
13 years ago
Justin Ruggles
233783e2c1
vorbisenc: use float planar sample format
13 years ago
Diego Biurrun
e4cbf7529b
Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
13 years ago