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
Janne Grunau
937ff3a18a
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.
13 years ago
Janne Grunau
e4e30256f8
threads: default to automatic thread count detection
13 years ago
Janne Grunau
c11b92b304
Changelog: restore version <next> header
...
Indeo 4 decoder and SMJPEG demuxer are not included in 0.8_beta1. Move
them to version <next>.
13 years ago
Shitiz Garg
c3513477bb
cook: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
9afc025bff
fate: whitespace cosmetics
13 years ago
Diego Biurrun
628637f67b
fate: split off video codec FATE tests into their own file
13 years ago
Diego Biurrun
ab2d11f75b
fate: split off audio codec FATE tests into their own file
13 years ago
Diego Biurrun
394f0b18bf
fate: split off Electronic Arts codec FATE tests into their own file
13 years ago
Diego Biurrun
f6ba1f2641
fate: split off QuickTime codec FATE tests into their own file
13 years ago
Diego Biurrun
51150cf070
fate: split off voice codec FATE tests into their own file
13 years ago
Diego Biurrun
c7cb1730da
fate: split off demuxer FATE tests into their own file
13 years ago
Diego Biurrun
d4b63054d9
cosmetics: Drop unnecessary parentheses around return values.
13 years ago
Diego Biurrun
f486fb338e
fate: drop pointless _audio and _video suffixes from xan tests
13 years ago
Diego Biurrun
cd8d84575b
qt-faststart: K&R reformatting; fix comment typos
13 years ago
Mike Melanson
ae51b1a9ba
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>
13 years ago
Diego Biurrun
209c445267
fate: split off DPCM codec FATE tests into their own file
13 years ago
Diego Biurrun
bdda1616f4
fate: split off PCM codec FATE tests into their own file
13 years ago
Diego Biurrun
ca5ab8cd21
libvorbis: K&R reformatting cosmetics
13 years ago
Aneesh Dogra
c4db344664
libmp3lame: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Aneesh Dogra
8ca903ebcb
fate: Add a video test for xxan decoder
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Aneesh Dogra
9342ecf02e
mpegvideo_enc: K&R cosmetics (line 1000-2000).
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Aneesh Dogra
7636c8c6a3
avconv: K&R cosmetics
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Martin Storsjö
cf4afe0be6
qt-faststart: Fix up indentation
...
This restores indentation after 65b875d8fc
.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Kostya Shishkov
1fbd3d30ae
indeo4: remove two unused variables
13 years ago
Luca Barbato
762b21f9f7
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.
13 years ago
Aneesh Dogra
ac1c27bc2b
fate: add more tests for VC-1 decoder
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Andrey Utkin
1f8bf1ef38
applehttpproto: Apply the same reload interval changes as for the demuxer
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
617475a95c
applehttp: Use half the target duration as interval if the playlist didn't update
...
This is mandated in draft-pantos-http-live-streaming-07, section
6.3.4.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Andrey Utkin
356ae5f65b
applehttp: Use the last segment duration as reload interval
...
According to draft-pantos-http-live-streaming-07, 6.3.4,
the duration of the last media segment in the playlist
should be used as initial minimum reload delay.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Thad Ward
7af507ea99
lagarith: add decode support for arith rgb24 mode
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago