Diego Biurrun
8fd35b1aac
Fix a bunch of typos.
14 years ago
Diego Biurrun
44b0edda3f
Drop some pointless void* return value casts from av_malloc() invocations.
14 years ago
Michael Niedermayer
a2a12e3358
vp3: fix regression with mplayer-crash.ogv
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Justin Ruggles
3a1867deac
wavpack: fix typos in previous cosmetic clean-up commit
14 years ago
Justin Ruggles
513c238fa9
wavpack: cosmetics: K&R pretty-printing
14 years ago
Hendrik Leppkes
14165fe125
wavpack: determine sample_fmt before requesting a buffer
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
14 years ago
Justin Ruggles
8893fbdf7a
bmv audio: implement new audio decoding API
14 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.
14 years ago
Paul B Mahol
dfa77dead2
y41p encoder and decoder
y41p is a packed 12-bit 4:1:1 YUV format used by Brooktree.
Fixes issue 1123 / ticket #102 .
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Jean First
b103156235
j2kdec: av_log formatting use %tx instead of %x
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
157f29f9a6
Revert "mpegvideo: Do not error out on default values of thread_count."
This is not needed anymore.
This reverts commit ca0350f49b .
14 years ago
Carl Eugen Hoyos
ef611095f0
Add missing PIX_FMT_NONE to libopenjpegenc
fixes ticket #813
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Reviewed-by: Jean First <jeanfirst@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Paul B Mahol
c0f7c574e9
Cosmetics: Replace -1 with PIX_FMT_NONE.
14 years ago
Aneesh Dogra
f7e30cc13b
bfi: K&R cosmetics
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Aneesh Dogra
87d9874864
bgmc: K&R cleanup
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
28b4af8e38
rawdec: propagate pict_type information to the output frame
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Piotr Bandurski
d3a5c26986
rawdec: Support more QT 1bpp rawvideo files.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Michael Niedermayer
9ba43e50ef
h264: Fix frame sync / random access handling.
It seems I have misunderstood the spec when I implemented this
originally.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
fba6777363
h264: Fix recovery_frame initialization when recovery_frame is -1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
36fa781bd6
h264: reset picture->sync on allocation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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.
14 years ago
Michael Niedermayer
ecb14b8af7
h264: add forgotten \n to "Invalid mix of idr and non-idr slices"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
393253b4b3
h264: Print pass in NAL debug output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Janne Grunau
b6064d9a59
threads: set thread_count to 1 when thread support is disabled
14 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.
14 years ago
Mashiat Sarker Shakkhar
3d84495128
Use quantizer value read from bitstream
Currently the code initializes quantizer even
before reading it from bitstream and uses that
to dequantize samples.
14 years ago
Carl Eugen Hoyos
03d7d8faef
Support gray8a pam encoding.
14 years ago
Michael Niedermayer
57581e4110
pthread: dont autoenable frame threads with visualization
This combination doesnt work
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
e404eee1e1
pthread: Limit automatic threads to mb_height.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
9c1f0493d5
Revert 464f26889c
The code is not needed for us and it doesnt work completely.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
099d6813c2
svq3: Fix memory corruption introduced by automatic thread_count.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
ca0350f49b
mpegvideo: Do not error out on default values of thread_count.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
714d2f9796
Only expand raw and packed 1bpp tiff horizontally if it is palettised.
14 years ago
Michael Niedermayer
9d9316ae34
h264: Fix seeking in 00017.MTS
Fixes Ticket852
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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>
14 years ago
Justin Ruggles
481a7ff5bd
mpegaudiodec: fix compilation when testing the unchecked bitstream reader
14 years ago
Mashiat Sarker Shakkhar
a6da23f146
Cosmetics: Remove two empty lines and realign some code
14 years ago
Mashiat Sarker Shakkhar
8dc8dd9f6f
Reset acfilter_prevvalues buffer in clear_codec_buffers()
14 years ago
Mashiat Sarker Shakkhar
001a74ff53
Fix AC filter buffers and AC filter reversion
14 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.
14 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.
14 years ago
Janne Grunau
e4e30256f8
threads: default to automatic thread count detection
14 years ago
Michael Niedermayer
810a14dbcc
aacdec: Evaluate further PCE elements.
Fixes Music\ Station\ Super\ Live\ -\ 2011.12.23.mkv
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
f69a766d11
Fix mono* pam encoding.
14 years ago
Nicolas George
0098e79f8a
libvorbis: proper error logging and return.
14 years ago
Reimar Döffinger
42a1f1d7a8
Avoid uninitialized data in lcldec when ofs is 0 in MSZH.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Michael Niedermayer
91ab557b68
Revert "aacdec: Avoid unneeded reinit due to ADTS headers"
This has been fixed differently and its revert avoids error messages
when decoding xx.flv. This also reduces the difference to qatar.
This reverts commit 5a2b3f3a52 .
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
4392b3d11e
tiffdec: hotfix for fate failure.
Only use pal8 as output if the file has a palette or more than 2 colors.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Jean First
9bfaeee5f3
8svx: remove unused variable in eightsvx_decode_frame
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
7ee0649f95
Fix decoding some 1bpp tiff files, they are palettized.
Fixes ticket #830 .
14 years ago