Christian Schmidt
4a7429203a
pcm-mpeg: correct bitrate calculation
...
Bitrate calculation is off since the bluray spec always specifies
an even number of coded channels. This was honored in the decoder,
but not for bitrate calculation.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-10-16 16:03:03 +02:00
Luca Barbato
9a978b334b
ffv1: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-10-16 15:45:55 +02:00
Diego Biurrun
f1be514540
rangecoder-test: Drop timer output that clutters stderr
2012-10-15 21:16:36 +02:00
Diego Biurrun
c1fcfdec75
rangecoder-test: Return in case of an error
2012-10-15 21:15:17 +02:00
Justin Ruggles
f9d732c264
wmapro: use planar sample format
2012-10-14 16:48:23 -04:00
Justin Ruggles
2725ce7c7c
wmalossless: output in planar sample format
2012-10-14 16:48:23 -04:00
Justin Ruggles
7ebfe5b44a
wmadec: use float planar sample format output
2012-10-14 16:48:23 -04:00
Justin Ruggles
977eb7d567
shorten: use planar sample format
2012-10-14 16:48:22 -04:00
Justin Ruggles
8441909f49
lavc: update documentation for AVFrame.extended_data
2012-10-14 15:00:45 -04:00
Diego Biurrun
52d113ee06
avutil: Rename ff_set_systematic_pal2() ---> avpriv_set_systematic_pal2()
...
Functions used across libraries should have avpriv_ and not ff_ prefixes.
2012-10-13 19:59:20 +02:00
Mashiat Sarker Shakkhar
5d2be71b9e
vc1: Use codec ID from AVCodecContext while parsing frame header
...
This fixes a segfault with samples that I have (both of them MPEG-TS). Looks like
avctx->codec is not being set during parsing.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-10-13 08:33:07 +02:00
Justin Ruggles
61d5313d94
dca: allocate a secondary buffer for extra channels when downmixing
...
The output AVFrame buffer only has data for the downmix channels.
Fixes a segfault when decoding dca with request_channels == 2.
2012-10-13 00:07:10 -04:00
Mans Rullgard
7e76fc528d
mpegvideo: remove write-only variable
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-12 22:21:10 +01:00
Diego Biurrun
717addecad
Use proper return values in case of missing features
2012-10-12 20:56:54 +02:00
Diego Biurrun
4c66af6141
rangecoder-test: Set error message log level to error, instead of debug
2012-10-12 20:56:54 +02:00
Diego Biurrun
90558e848a
rangecoder: K&R formatting cosmetics
2012-10-12 20:56:54 +02:00
Diego Biurrun
ca411fc1d3
avcodec: Remove broken MMI optimizations
...
The code fails to compile and is broken beyond repair.
2012-10-12 20:56:54 +02:00
Diego Biurrun
bc4620e5d6
Remove libmpeg2 #define remnants
2012-10-12 20:56:54 +02:00
Diego Biurrun
d5c62122a7
Move av_reverse table to libavcodec
...
It is only used in that library.
2012-10-12 20:39:18 +02:00
Diego Biurrun
930c9d4373
avutil: Duplicate ff_log2_tab instead of sharing it across libs
...
The table is so small that the space gain is not worth the
performance overhead of cross-library access.
2012-10-12 20:39:17 +02:00
Michael Niedermayer
c80b59f679
tscc2: Fix an out of array access
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-12 18:17:10 +03:00
Sami Pietila
0bf511d579
vp8: reset loopfilter delta values at keyframes.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-10-12 07:17:38 -07:00
Luca Barbato
6d5600e855
avutil: add yuva422p and yuva444p formats
2012-10-12 15:09:51 +02:00
Anton Khirnov
50ba57e0ce
lavc: do not use av_pix_fmt_descriptors directly.
2012-10-12 12:45:39 +02:00
Anton Khirnov
9953ff3cd8
mpegvideo: fix indentation
2012-10-12 12:45:38 +02:00
Martin Storsjö
e002e3291e
Use the new aes/md5/sha/tree allocation functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-11 23:35:28 +03:00
Mans Rullgard
fb32f31af7
svq3: fix pointer type warning
...
Fixes:
libavcodec/svq3.c:661:9: warning: passing argument 2 of 'svq3_decode_block' from incompatible pointer type
libavcodec/svq3.c:208:19: note: expected 'DCTELEM *' but argument is of type 'DCTELEM (*)[32]'
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-11 20:40:23 +01:00
Mans Rullgard
366b72f149
svq3: replace unsafe pointer casting with intreadwrite macros
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-11 20:40:23 +01:00
Diego Biurrun
9734b8ba56
Move avutil tables only used in libavcodec to libavcodec.
2012-10-11 18:29:36 +02:00
Diego Biurrun
0a75d1da23
options_table: refs option is not snow-only
2012-10-11 18:27:44 +02:00
Luca Barbato
1ec6293086
mlpdsp: adding missing file
2012-10-11 12:34:36 +02:00
Luca Barbato
2d6caade22
dsputil: split out mlp dsp function
2012-10-11 12:01:08 +02:00
Mans Rullgard
25dc79bc14
sh4: add required #include, fix build
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-11 10:55:26 +01:00
Janne Grunau
c466eb1746
flashsv: propagate inflateReset() errors
...
Fixes CID717493.
2012-10-10 21:24:32 +02:00
Janne Grunau
6d556e8327
indeo4/5: remove constant parameter num_bands from wavelet recomposition
...
Fixes bogus uninitialized value compiler and coverity warnings.
2012-10-10 21:24:32 +02:00
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>
2012-10-10 14:56:02 -04:00
Mashiat Sarker Shakkhar
eb657ecefd
vc1dec: Set opposite to the correct value for 1REF field pictures
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-10-10 14:55:38 -04:00
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>
2012-10-10 14:54:19 -04:00
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>
2012-10-10 14:50:07 -04:00
Mashiat Sarker Shakkhar
7fb35ee931
vc1dec: Use correct spelling of "opposite"
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-10-10 16:28:31 +02:00
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>
2012-10-10 15:33:06 +02:00
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>
2012-10-10 15:28:50 +02:00
Diego Biurrun
63a46c6101
svq1: Drop a bunch of useless parentheses
2012-10-10 15:10:53 +02:00
Diego Biurrun
ada12f8366
svq1: K&R formatting cosmetics
2012-10-10 14:14:22 +02:00
Janne Grunau
f1de23faaa
g722enc: fix size argument in memset
...
Fixes CID700725.
2012-10-09 21:05:15 +02:00
Anton Khirnov
233a5a807e
lavc: split asv12 encoder/decoder
2012-10-09 20:32:35 +02:00
Janne Grunau
6f8ef5320f
vc1dec: prevent memory leak in error path
...
Fixes CID732271.
2012-10-09 16:09:41 +02:00
Janne Grunau
714f5ab597
vc1dec: prevent memory leak on av_realloc error
2012-10-09 16:07:12 +02:00
Justin Ruggles
cbcd497f38
adxdec: use planar sample format
2012-10-09 09:03:52 -04:00
Justin Ruggles
4ebd74cec7
adpcmdec: use planar sample format for adpcm_thp
2012-10-09 09:03:52 -04:00