Mans Rullgard
a1e98f198e
get_bits: remove A32 variant
...
The A32 bitstream reader variant is only used on ARMv5 and for
Prores due to the larger bit cache this decoder requires.
In benchmarks on ARMv5 (Marvell Sheeva) with gcc 4.6, the only
statistically significant difference between ALT and A32 is
a 4% advantage for ALT in FLAC decoding. There is thus no (longer)
any reason to keep the A32 reader from this point of view.
This patch adds an option to the ALT reader increasing the bit
cache to 32 bits as required by the Prores decoder. Benchmarking
shows no significant change in speed on Intel i7. Again, the
A32 reader fails to justify its existence.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-16 21:21:48 +00:00
Alexandra Khirnova
a7b5e841ff
avconv: support stream specifiers in -metadata and -map_metadata
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-12-16 21:12:53 +01:00
Derek Buitenhuis
bb9747c8ee
wavpack: Fix 32-bit clipping
...
In the case that (frame_flags & 0x03) == 3, hybrid_maxclip
may have had a signed integer overflow.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-12-16 20:55:53 +01:00
Derek Buitenhuis
365e1ec26d
wavpack: Clip samples after shifting
...
It doesn't make much sense to clip pre-shift,
nor is it correct for proper decoding.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-12-16 20:55:46 +01:00
Ronald S. Bultje
0b4c323213
h264: don't drop B-frames after next keyframe on POC reset.
...
The keyframe after a POC reset may not be the first to be returned to
the user. Therefore, don't reset the expected next POC once we return
a keyframe to the user, but once we know that the next frame in the
return-queue is a keyframe.
2011-12-16 11:24:18 -08:00
Mans Rullgard
b8909cb364
get_bits: remove useless pointer casts
...
These pointers are already of the correct type.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-16 15:34:35 +00:00
Diego Biurrun
54e75be420
configure: refactor lists of tests and components into variables
2011-12-16 15:46:34 +01:00
Mans Rullgard
11b1db2759
rv40: NEON optimised weak loop filter
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-16 14:36:01 +00:00
Vladimir Pantelic
65a25adc97
mpegts: replace some magic numbers with the existing define
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-12-16 11:45:36 +02:00
Janne Grunau
72cb904453
swscale: add unscaled packed 16 bit per component endianess conversion
2011-12-16 01:41:33 +01:00
Alex Converse
d3b8bde2f1
movenc: Rudimentary IODs support.
2011-12-15 14:06:13 -08:00
Mans Rullgard
dabba0c676
v410enc: fix output buffer size check
...
The encoder clearly needs width * height * 4 bytes.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-15 17:47:10 +00:00
Mans Rullgard
0249144a1c
v410enc: include correct headers
...
This file does not use anything from put_bits.h but needs
intreadwrite.h.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-15 17:47:10 +00:00
Janne Grunau
ef5756aee0
fate: add -pix_fmt rgb48le to r210 test
...
Fixes checksum on big endian systems.
2011-12-15 15:56:15 +01:00
Martin Storsjö
bd2ff1a8bc
flvenc: Support muxing 16 kHz nellymoser
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-12-15 16:53:54 +02:00
Diego Biurrun
055c61b857
configure: refactor list of programs into a variable
2011-12-15 14:41:26 +01:00
Aneesh Dogra
beaf4012d2
fate: add r210 decoder test
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-12-15 14:34:09 +01:00
Diego Biurrun
6146d78d35
fate: split off Indeo FATE tests into their own file
2011-12-15 13:31:43 +01:00
Diego Biurrun
44b7e1b942
fate: split off ATRAC FATE tests into their own file
2011-12-15 13:31:41 +01:00
Derek Buitenhuis
6c3abd70fd
fate: Add FATE tests for v410 encoder and decoder
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-12-15 13:31:40 +01:00
Mans Rullgard
b536c7a3e1
ARM: fix external symbol refs in rv40 asm
...
External symbol references need prefixes on some systems.
This should fix build errors on Darwin.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-15 11:02:59 +00:00
Shitiz Garg
566ee0eaf1
westwood: Make sure audio header info is present when parsing audio packets
...
Audio header information might get scrambled and would not parse,
yet wsqva_read_packet would try to parse audio packets causing
segfaults such as floating point exception.
Fixes bugzilla #141 .
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-12-15 11:07:20 +02:00
Martin Storsjö
1b35af3225
libgsm: Reset the MS mode of GSM in the flush function
...
The mode is set in libgsm_decode_init, but the decoder
object is simply destroyed and recreated in the flush
function - therefore the mode has to be set again.
This fixes playback using the libgsm_ms decoder in avplay.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-12-15 09:08:40 +02:00
Martin Storsjö
8637af8d24
libgsm: Set options on the right object
...
This fixes regressions in decoding using the libgsm_ms decoder,
broken since 0eea212943
.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-12-15 09:08:21 +02:00
Mans Rullgard
f7de52354f
ARM: dca: disable optimised decode_blockcodes() for old gcc
...
Old gcc versions have trouble compiling this function, and
no simple, targeted test is possible.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-15 01:02:58 +00:00
Martin Storsjö
115a57302a
applehttp: Properly clean up if unable to probe a segment
...
This avoids a segfault if the probe function wasn't able to
determine the format.
The bug was found by Panagiotis H.M. Issaris.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-12-14 21:34:47 +02:00
Martin Storsjö
c41b9842ce
applehttp: Avoid reading uninitialized memory
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-12-14 21:34:45 +02:00
Diego Biurrun
61ad9a4bb3
fate: Replace misleading "aac" in the name of an ADTS test with "adts".
2011-12-14 20:09:46 +01:00
Diego Biurrun
80726be491
fate: Drop pointless "-an" from pictor test command.
2011-12-14 20:09:44 +01:00
Diego Biurrun
d69a03ef41
fate: split off image codec FATE tests into their own file
2011-12-14 20:06:18 +01:00
Diego Biurrun
b998aec461
fate: split off WMA codec FATE tests into their own file
2011-12-14 19:59:54 +01:00
Diego Biurrun
8602767492
fate: split off lossless video and audio FATE tests into their own files
2011-12-14 19:52:14 +01:00
Diego Biurrun
f8c47cb863
fate: split off qtrle codec FATE tests into their own file
2011-12-14 19:52:12 +01:00
Diego Biurrun
42de665db9
fate: split off Ut Video codec FATE tests into their own file
2011-12-14 19:52:07 +01:00
Diego Biurrun
753a5063bd
fate: split off screen codec FATE tests into their own file
2011-12-14 19:09:58 +01:00
Diego Biurrun
bad3817919
fate: split off Real Inc. codec FATE tests into their own file
2011-12-14 19:09:56 +01:00
Diego Biurrun
bf6923577e
fate: split off AC-3 codec FATE tests into their own file
2011-12-14 19:09:48 +01:00
Andrey Utkin
4f820131fa
mpegvideo: remove abort() in ff_find_unused_picture()
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-12-14 18:17:21 +01:00
Mans Rullgard
71ce76027d
rv40: NEON optimised loop filter strength selection
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-14 11:26:30 +00:00
Mans Rullgard
d8edf1b515
rv40: rearrange loop filter functions
...
This splits the loop filter functions into smaller, more SIMD-friendly
functions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-14 11:26:30 +00:00
Diego Biurrun
3e0b1c9a81
configure: cosmetics: sort some lists where appropriate
2011-12-14 12:01:17 +01:00
Diego Biurrun
3c62a71486
swscale_mmx: drop no longer required parameters from VSCALEX macros
2011-12-14 12:00:44 +01:00
Diego Biurrun
52de07e1f1
swscale: Mark yuv2planeX_8_mmx as MMX2; it contains MMX2 instructions.
2011-12-14 11:58:46 +01:00
Diego Biurrun
88b9735753
build: conditionally compile x86 H.264 chroma optimizations
2011-12-14 11:58:45 +01:00
Derek Buitenhuis
80f6c0bb95
v410 encoder and decoder
...
v410 is a packed 10-bit 4:4:4 YCbCr format used in
QuickTime.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-12-13 23:34:24 +01:00
Derek Buitenhuis
86ae512453
doc: make developer.texi point to correct fate doc
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-12-13 23:34:23 +01:00
Diego Biurrun
144904e901
build: rename subdir.mak ---> library.mak
2011-12-13 23:34:22 +01:00
Diego Biurrun
0d9bd2d584
configure: do not manually enable protocols
...
Protocols are handled just like all other components groups such as
muxers and are automatically enabled.
2011-12-13 23:34:20 +01:00
Gaurav Narula
a99273ebf3
ulti: Fix invalid reads
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-12-13 20:08:15 +02:00
Luca Barbato
4badb386ce
lavf: dealloc private options in av_write_trailer
...
Fix the iformat/oformat typo.
2011-12-13 17:03:08 +01:00