OSDN Git Service
Christophe GISQUET [Sun, 1 Jan 2012 14:28:47 +0000 (15:28 +0100)]
rv34: joint coefficient decoding and dequantization
Perform dequantization while decoding coefficients instead of performing it
on the entire coefficients buffer.
Since quantized coefficients are very sparse, this usually causes a small
speedup. Speedup of around 1% on Panda board compared to the removed here
neon code. Global speedup is probably around 3%.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Martin Storsjö [Fri, 30 Dec 2011 10:39:03 +0000 (12:39 +0200)]
avplay: Don't call avio_set_interrupt_cb(NULL)
Since we don't use avio_set_interrupt_cb for interrupt callbacks,
we don't need to call it to reset the interrupt cb either.
This avoids a warning about use of deprecated functions.
Signed-off-by: Martin Storsjö <martin@martin.st>
Ronald S. Bultje [Mon, 2 Jan 2012 20:46:40 +0000 (12:46 -0800)]
swscale: remove obsolete comment.
Ronald S. Bultje [Mon, 2 Jan 2012 20:31:38 +0000 (12:31 -0800)]
swscale: split scale.asm.
scale.asm keeps horizontal scaling functions, whereas output.asm gets
the vertical scaling/output functions.
Ronald S. Bultje [Mon, 2 Jan 2012 20:03:02 +0000 (12:03 -0800)]
swscale: don't show full-chroma-int warning for non-RGB output.
Non-RGB output always uses full chroma interpolation.
Ronald S. Bultje [Tue, 3 Jan 2012 21:05:37 +0000 (13:05 -0800)]
swscale: add MMX files to MMX-OBJS instead of OBJS.
Ronald S. Bultje [Sat, 31 Dec 2011 17:12:53 +0000 (09:12 -0800)]
h264: return index in buffer on end-of-sequence.
Fixes hangs if the last packet contains an end-of-sequence NAL unit,
bug 158.
Diego Biurrun [Tue, 3 Jan 2012 12:18:49 +0000 (13:18 +0100)]
Merge some declarations and initializations.
This fixes compilation failures related to START_TIMER/STOP_TIMER macros and
-Werror=declaration-after-statement. START_TIMER declares variables and thus
may not be placed after statements outside of a new block.
Diego Biurrun [Tue, 27 Dec 2011 10:51:28 +0000 (11:51 +0100)]
cabac: drop unused and disabled get_cabac_u() / get_cabac_ueg() functions
Diego Biurrun [Tue, 27 Dec 2011 11:25:18 +0000 (12:25 +0100)]
cabac: drop unused STRICT_LIMITS code branch
Justin Ruggles [Fri, 30 Dec 2011 22:56:04 +0000 (17:56 -0500)]
libspeexenc: fix pts calculations for more than 1 frame per packet
Justin Ruggles [Tue, 3 Jan 2012 22:32:15 +0000 (17:32 -0500)]
adxdec: clear eof flag and channel states when seeking
Justin Ruggles [Mon, 19 Dec 2011 16:31:14 +0000 (11:31 -0500)]
fate: add ADX encoding/decoding test
Justin Ruggles [Mon, 19 Dec 2011 16:10:34 +0000 (11:10 -0500)]
adx: add an adx muxer
Justin Ruggles [Mon, 19 Dec 2011 15:56:18 +0000 (10:56 -0500)]
adxenc: check output buffer size before writing
Justin Ruggles [Mon, 19 Dec 2011 15:51:03 +0000 (10:51 -0500)]
adxenc: use bytestream functions for header writing.
also add more documentation about the header structure
Justin Ruggles [Mon, 19 Dec 2011 15:23:21 +0000 (10:23 -0500)]
adxenc: use BLOCK_SIZE and BLOCK_SAMPLES macros
Justin Ruggles [Mon, 19 Dec 2011 15:18:09 +0000 (10:18 -0500)]
adxenc: use a loop to encode each channel
Justin Ruggles [Mon, 19 Dec 2011 15:14:35 +0000 (10:14 -0500)]
adxenc: remove unneeded loops
avctx->frame_size is 32, so that is how many samples we process per call.
Justin Ruggles [Mon, 19 Dec 2011 15:12:29 +0000 (10:12 -0500)]
adx: add AVFMT_GENERIC_INDEX to demuxer flags.
fixes seeking
Justin Ruggles [Mon, 19 Dec 2011 14:52:32 +0000 (09:52 -0500)]
adxenc: avoid stereo deinterleaving
Justin Ruggles [Mon, 19 Dec 2011 14:45:50 +0000 (09:45 -0500)]
adxenc: remove unnecessary setting of coded_frame->key_frame.
It is already set by avcodec_alloc_frame().
Justin Ruggles [Mon, 19 Dec 2011 14:45:17 +0000 (09:45 -0500)]
adxenc: log an error message and return AVERROR(EINVAL) for invalid channels
Justin Ruggles [Mon, 19 Dec 2011 14:39:05 +0000 (09:39 -0500)]
adxenc: cosmetics: pretty-printing
Justin Ruggles [Mon, 19 Dec 2011 14:29:11 +0000 (09:29 -0500)]
adxenc: change some data types
Justin Ruggles [Mon, 19 Dec 2011 14:28:15 +0000 (09:28 -0500)]
adxenc: remove unneeded log message
Justin Ruggles [Mon, 19 Dec 2011 14:28:02 +0000 (09:28 -0500)]
adxenc: remove unneeded comments
Jonathan Nieder [Tue, 3 Jan 2012 06:40:08 +0000 (00:40 -0600)]
APIchanges: mention cleaned up header includes
Fixes bug 188.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Oana Stratulat [Sun, 1 Jan 2012 18:55:21 +0000 (20:55 +0200)]
fate: add dxtory test
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Michael Niedermayer [Sun, 18 Dec 2011 17:57:56 +0000 (18:57 +0100)]
adx_parser: rewrite.
The previous code ended in multiple different infinite
loops. See stl_ten_1_big.sfd as example with and without zzuf
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Justin Ruggles [Mon, 19 Dec 2011 13:43:10 +0000 (08:43 -0500)]
adxdec: Validate channel count to fix a division by zero.
Michael Niedermayer [Sun, 18 Dec 2011 19:10:30 +0000 (20:10 +0100)]
adxdec: Do not require extradata.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Aneesh Dogra [Sat, 31 Dec 2011 12:31:54 +0000 (18:01 +0530)]
cmdutils: K&R reformatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Justin Ruggles [Wed, 7 Dec 2011 16:56:57 +0000 (11:56 -0500)]
alacdec: implement the 2-pass prediction type.
The reference encoder does not generate any streams using this, but the
reference decoder can handle it, so we should as well.
Justin Ruggles [Wed, 7 Dec 2011 18:01:01 +0000 (13:01 -0500)]
alacenc: implement the 2-pass prediction type.
This isn't used by the reference encoder, but it is supported by the decoder.
Justin Ruggles [Wed, 7 Dec 2011 17:04:21 +0000 (12:04 -0500)]
alacenc: do not generate invalid multi-channel ALAC files
Justin Ruggles [Wed, 7 Dec 2011 16:55:24 +0000 (11:55 -0500)]
alacdec: fill in missing or guessed info about the extradata format.
Now that there is official documentation from Apple about this, we don't have
to guess anymore.
Kostya Shishkov [Sun, 1 Jan 2012 16:44:08 +0000 (17:44 +0100)]
utvideo: proper median prediction for interlaced videos
Janne Grunau [Tue, 3 Jan 2012 14:30:30 +0000 (15:30 +0100)]
lavu: bump lavu minor for av_popcount64
Add it to doc/APIchanges and update and correct other entries.
Shitiz Garg [Tue, 3 Jan 2012 10:49:28 +0000 (16:19 +0530)]
dca: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Aneesh Dogra [Sun, 1 Jan 2012 16:46:37 +0000 (22:16 +0530)]
dct: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Anton Khirnov [Mon, 2 Jan 2012 08:01:02 +0000 (09:01 +0100)]
lavf: flush decoders in avformat_find_stream_info().
This means that avformat_find_stream_info() now works properly with
multiple threads, so there's no need to force thread count to 1.
Daniel Verkamp [Sun, 1 Jan 2012 23:54:40 +0000 (23:54 +0000)]
win32: detect number of CPUs using affinity
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Daniel Verkamp [Tue, 3 Jan 2012 01:23:48 +0000 (01:23 +0000)]
Add av_popcount64
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diego Biurrun [Mon, 2 Jan 2012 16:29:10 +0000 (17:29 +0100)]
snow: Restore three mistakenly removed casts.
Janne Grunau [Sun, 1 Jan 2012 19:24:24 +0000 (20:24 +0100)]
mpegenc: use avctx->slices as number of slices
Adds a new member to MpegEncContext to hold the number of used slice
contexts. Fixes segfaults with '-threads 17 -thread_type slice' and
fate-vsynth{1,2}-mpeg{2,4}thread{,_ilace} with --disable-pthreads.
Janne Grunau [Mon, 2 Jan 2012 14:47:26 +0000 (15:47 +0100)]
v410enc: fix undefined signed left shift caused by integer promotion
Reinhard Tartler [Mon, 2 Jan 2012 16:01:56 +0000 (17:01 +0100)]
Release notes: mention cleaned up header includes
A rebuild in debian revealed that this broke compilation of a number packages:
http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=siretart@tauware.de;tag=ftbfs-libav0.8
Reinhard Tartler [Mon, 2 Jan 2012 15:58:16 +0000 (16:58 +0100)]
fix Changelog file
Both the Indeo 4 decoder and the SMJPEG demuxer were included in the
0.8_beta1 release.
Diego Biurrun [Tue, 20 Dec 2011 14:39:22 +0000 (15:39 +0100)]
Fix a bunch of typos.
Diego Biurrun [Sat, 31 Dec 2011 15:30:59 +0000 (16:30 +0100)]
Drop some pointless void* return value casts from av_malloc() invocations.
Justin Ruggles [Mon, 2 Jan 2012 13:54:30 +0000 (08:54 -0500)]
wavpack: fix typos in previous cosmetic clean-up commit
Justin Ruggles [Mon, 2 Jan 2012 05:14:16 +0000 (00:14 -0500)]
wavpack: cosmetics: K&R pretty-printing
Anton Khirnov [Sat, 24 Dec 2011 14:08:07 +0000 (15:08 +0100)]
avconv: remove the 'codec framerate is different from stream' warning
Codec timebase is not framerate and the situation when it's different
from AVStream.r_frame_rate is quite common, nothing to warn about.
Hendrik Leppkes [Fri, 16 Dec 2011 21:41:29 +0000 (22:41 +0100)]
wavpack: determine sample_fmt before requesting a buffer
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Justin Ruggles [Sat, 31 Dec 2011 20:47:30 +0000 (15:47 -0500)]
bmv audio: implement new audio decoding API
Justin Ruggles [Sun, 1 Jan 2012 00:24:30 +0000 (19:24 -0500)]
mpegaudiodec: skip all channels when skipping granules
Also fix calculation of new position when switching buffers.
This fixes "overread" error messages when seeking.
Janne Grunau [Sun, 1 Jan 2012 22:32:15 +0000 (23:32 +0100)]
mpegenc: simplify muxrate calculation
The fate-h264-bsf-mp4toannexb failures were caused by an integer
overflow of the unneeded multiplication.
Inspired by patch by: Michael Niedermayer <michaelni@gmx.at>
Anton Khirnov [Sun, 1 Jan 2012 20:51:26 +0000 (21:51 +0100)]
avconv: make -frames work for all types of streams, not just video.
Aneesh Dogra [Sun, 1 Jan 2012 16:37:54 +0000 (22:07 +0530)]
bfi: K&R cosmetics
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Aneesh Dogra [Sat, 31 Dec 2011 12:30:22 +0000 (18:00 +0530)]
bgmc: K&R cleanup
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Reimar Döffinger [Wed, 28 Dec 2011 05:50:32 +0000 (00:50 -0500)]
rawdec: Set start_time to 0 for raw audio files.
None of the raw audio files have timestamps, thus setting
start_time to 0 should be reasonable.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Carl Eugen Hoyos [Wed, 28 Dec 2011 05:50:31 +0000 (00:50 -0500)]
Detect 'yuv2' as rawvideo also in avi.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Wed, 28 Dec 2011 05:50:28 +0000 (00:50 -0500)]
rawdec: propagate pict_type information to the output frame
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Piotr Bandurski [Wed, 28 Dec 2011 05:50:25 +0000 (00:50 -0500)]
rawdec: Support more QT 1bpp rawvideo files.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Janne Grunau [Sun, 1 Jan 2012 16:56:28 +0000 (17:56 +0100)]
avconv: free bitstream filters
Janne Grunau [Sun, 1 Jan 2012 16:35:16 +0000 (17:35 +0100)]
threads: limit the number of automatic threads to MAX_AUTO_THREADS
The extra thread added in {frame_}*thread_init was not taken into
account. Explicitly sets thread_count to 1 if only one CPU core was
detected. Also fixes two typos in comments.
Aneesh Dogra [Sun, 1 Jan 2012 12:21:26 +0000 (17:51 +0530)]
avplay: K&R cleanup
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Janne Grunau [Sun, 1 Jan 2012 15:32:25 +0000 (16:32 +0100)]
fate: use rgb24 as output format for dfa tests
Palette is as supposed in native endianness. Converting the pal8 output
to rgb24 is thus necessary for identical CRCs on big and little endian
systems.
Janne Grunau [Sun, 1 Jan 2012 13:17:32 +0000 (14:17 +0100)]
threads: set thread_count to 1 when thread support is disabled
Janne Grunau [Sun, 1 Jan 2012 13:21:50 +0000 (14:21 +0100)]
threads: introduce CODEC_CAP_AUTO_THREADS and add it to libx264
Some external codecs have their own code to determine the best number
of threads. This number is not necessary the number of cpu cores.
Thread_count will be only 0 if the codec has CODEC_CAP_AUTO_THREADS.
Oana Stratulat [Thu, 29 Dec 2011 20:47:59 +0000 (22:47 +0200)]
FATE: add tests for dfa
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Ronald S. Bultje [Fri, 30 Dec 2011 21:08:21 +0000 (13:08 -0800)]
mpegaudiodec: fix seeking.
The safe bitstream reader does not allow using skip_bits_long() to seek to a
point before the start of the buffer, which was needed by the mp3 decoder.
This change instead calculates the start point of the first valid granule and
skips to that position.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Justin Ruggles [Sat, 31 Dec 2011 18:36:48 +0000 (13:36 -0500)]
mpegaudiodec: fix compilation when testing the unchecked bitstream reader
Janne Grunau [Fri, 23 Dec 2011 23:27:12 +0000 (00:27 +0100)]
threads: add sysconf based number of CPUs detection
Can act as fallback and should work on a couple of Unix systems.
Janne Grunau [Fri, 23 Dec 2011 23:04:16 +0000 (00:04 +0100)]
threads: always include necessary headers for number of CPUs detection
Since the conditions for the actual usage are more specific a less
preferred method can be used. This would cause compilation errors
because necessary headers are not included.
Janne Grunau [Sun, 25 Dec 2011 10:45:05 +0000 (11:45 +0100)]
threads: default to automatic thread count detection
Janne Grunau [Sat, 31 Dec 2011 16:31:02 +0000 (17:31 +0100)]
Changelog: restore version <next> header
Indeo 4 decoder and SMJPEG demuxer are not included in 0.8_beta1. Move
them to version <next>.
Shitiz Garg [Fri, 30 Dec 2011 22:18:53 +0000 (03:48 +0530)]
cook: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Tue, 27 Dec 2011 16:11:15 +0000 (17:11 +0100)]
fate: whitespace cosmetics
Diego Biurrun [Tue, 27 Dec 2011 16:00:18 +0000 (17:00 +0100)]
fate: split off video codec FATE tests into their own file
Diego Biurrun [Tue, 27 Dec 2011 15:48:56 +0000 (16:48 +0100)]
fate: split off audio codec FATE tests into their own file
Diego Biurrun [Tue, 27 Dec 2011 13:57:48 +0000 (14:57 +0100)]
fate: split off Electronic Arts codec FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 15:27:12 +0000 (16:27 +0100)]
fate: split off QuickTime codec FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 14:07:55 +0000 (15:07 +0100)]
fate: split off voice codec FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 20:47:23 +0000 (21:47 +0100)]
fate: split off demuxer FATE tests into their own file
Diego Biurrun [Thu, 29 Dec 2011 21:23:16 +0000 (22:23 +0100)]
cosmetics: Drop unnecessary parentheses around return values.
Diego Biurrun [Fri, 30 Dec 2011 17:43:26 +0000 (18:43 +0100)]
fate: drop pointless _audio and _video suffixes from xan tests
Diego Biurrun [Fri, 30 Dec 2011 15:54:52 +0000 (16:54 +0100)]
qt-faststart: K&R reformatting; fix comment typos
Mike Melanson [Fri, 30 Dec 2011 19:03:37 +0000 (11:03 -0800)]
FATE: Add test for H.264 MP4->annex.B bitstream filter.
This test uses an existing FATE sample (h264/interlaced_crop.mp4).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diego Biurrun [Thu, 29 Dec 2011 13:03:03 +0000 (14:03 +0100)]
fate: split off DPCM codec FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 21:10:36 +0000 (22:10 +0100)]
fate: split off PCM codec FATE tests into their own file
Diego Biurrun [Thu, 29 Dec 2011 20:37:05 +0000 (21:37 +0100)]
libvorbis: K&R reformatting cosmetics
Aneesh Dogra [Thu, 29 Dec 2011 21:19:55 +0000 (02:49 +0530)]
libmp3lame: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Aneesh Dogra [Thu, 29 Dec 2011 18:58:12 +0000 (00:28 +0530)]
fate: Add a video test for xxan decoder
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Aneesh Dogra [Thu, 29 Dec 2011 18:53:54 +0000 (00:23 +0530)]
mpegvideo_enc: K&R cosmetics (line 1000-2000).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Aneesh Dogra [Thu, 29 Dec 2011 20:28:29 +0000 (01:58 +0530)]
avconv: K&R cosmetics
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Martin Storsjö [Thu, 29 Dec 2011 16:43:30 +0000 (18:43 +0200)]
qt-faststart: Fix up indentation
This restores indentation after
65b875d8fcc.
Signed-off-by: Martin Storsjö <martin@martin.st>
Kostya Shishkov [Thu, 29 Dec 2011 16:25:26 +0000 (17:25 +0100)]
indeo4: remove two unused variables
Luca Barbato [Tue, 27 Dec 2011 03:51:39 +0000 (04:51 +0100)]
doxygen: cleanup style to support older doxy
Doxygen 1.7.5.1 had been used as reference while certain distributions
provide older and not fully compatible versions.