Justin Ruggles
c98c6e18d8
adxenc: remove unneeded log message
13 years ago
Justin Ruggles
e3d4f59f95
adxenc: remove unneeded comments
13 years ago
Jonathan Nieder
96d8e18a98
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>
13 years ago
Oana Stratulat
fd16f56798
fate: add dxtory test
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Michael Niedermayer
b024209b1f
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>
13 years ago
Justin Ruggles
6fd075f180
adxdec: Validate channel count to fix a division by zero.
13 years ago
Michael Niedermayer
4f1a787744
adxdec: Do not require extradata.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Aneesh Dogra
cbaef7d16e
cmdutils: K&R reformatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Justin Ruggles
e49d21306a
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.
13 years ago
Justin Ruggles
bb63475aec
alacenc: implement the 2-pass prediction type.
...
This isn't used by the reference encoder, but it is supported by the decoder.
13 years ago
Justin Ruggles
149e1b0468
alacenc: do not generate invalid multi-channel ALAC files
13 years ago
Justin Ruggles
e76c7b856f
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.
13 years ago
Kostya Shishkov
490dcda6b6
utvideo: proper median prediction for interlaced videos
13 years ago
Janne Grunau
c04a954da6
lavu: bump lavu minor for av_popcount64
...
Add it to doc/APIchanges and update and correct other entries.
13 years ago
Shitiz Garg
f37b4efe03
dca: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Aneesh Dogra
2e70b2de58
dct: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Anton Khirnov
212fd3a1f1
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.
13 years ago
Daniel Verkamp
02e8f4272c
win32: detect number of CPUs using affinity
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Daniel Verkamp
b73ec05473
Add av_popcount64
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Diego Biurrun
418f066f8c
snow: Restore three mistakenly removed casts.
13 years ago
Janne Grunau
881a5e047d
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.
13 years ago
Janne Grunau
264808219d
v410enc: fix undefined signed left shift caused by integer promotion
13 years ago
Reinhard Tartler
302371c055
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
13 years ago
Reinhard Tartler
4fb930a800
fix Changelog file
...
Both the Indeo 4 decoder and the SMJPEG demuxer were included in the
0.8_beta1 release.
13 years ago
Diego Biurrun
8fd35b1aac
Fix a bunch of typos.
13 years ago
Diego Biurrun
44b0edda3f
Drop some pointless void* return value casts from av_malloc() invocations.
13 years ago
Justin Ruggles
3a1867deac
wavpack: fix typos in previous cosmetic clean-up commit
13 years ago
Justin Ruggles
513c238fa9
wavpack: cosmetics: K&R pretty-printing
13 years ago
Anton Khirnov
c88d53199b
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.
13 years ago
Hendrik Leppkes
14165fe125
wavpack: determine sample_fmt before requesting a buffer
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Justin Ruggles
8893fbdf7a
bmv audio: implement new audio decoding API
13 years ago
Justin Ruggles
03fafdec82
mpegaudiodec: skip all channels when skipping granules
...
Also fix calculation of new position when switching buffers.
This fixes "overread" error messages when seeking.
13 years ago
Janne Grunau
af9240cd3c
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>
13 years ago
Anton Khirnov
f15f02c204
avconv: make -frames work for all types of streams, not just video.
13 years ago
Aneesh Dogra
f7e30cc13b
bfi: K&R cosmetics
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Aneesh Dogra
87d9874864
bgmc: K&R cleanup
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Reimar Döffinger
c914038d38
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>
13 years ago
Carl Eugen Hoyos
835af79b05
Detect 'yuv2' as rawvideo also in avi.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Stefano Sabatini
28b4af8e38
rawdec: propagate pict_type information to the output frame
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Piotr Bandurski
d3a5c26986
rawdec: Support more QT 1bpp rawvideo files.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Janne Grunau
1135a07146
avconv: free bitstream filters
13 years ago
Janne Grunau
b12d217339
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.
13 years ago
Aneesh Dogra
da7c65f0ce
avplay: K&R cleanup
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Janne Grunau
60d626650a
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.
13 years ago
Janne Grunau
b6064d9a59
threads: set thread_count to 1 when thread support is disabled
13 years ago
Janne Grunau
b4d44a45f9
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.
13 years ago
Oana Stratulat
febd022228
FATE: add tests for dfa
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Ronald S. Bultje
464f26889c
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>
13 years ago
Justin Ruggles
481a7ff5bd
mpegaudiodec: fix compilation when testing the unchecked bitstream reader
13 years ago
Janne Grunau
bcc7396065
threads: add sysconf based number of CPUs detection
...
Can act as fallback and should work on a couple of Unix systems.
13 years ago