Aneesh Dogra
2e70b2de58
dct: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
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
Piotr Bandurski
912e75169b
Support 8bpp grayscale Sun Rasterfile images.
...
Fixes ticket #865 .
13 years ago
Diego Biurrun
418f066f8c
snow: Restore three mistakenly removed casts.
13 years ago
Michael Bradshaw
2ba3416362
Added yuva420p decoding support for libopenjpeg
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Bradshaw
3f07ef1dff
Added RGBA and YUV440 decoding support for libopenjpeg decoder
...
Reviewed-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Bradshaw
d1669e5fe3
Fixed openjpeg decoding bug with width/linesize issue
...
The original code wasn't taking into account the fact that linesize may not equal the frame's width. This is to correct that.
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
69d766daa0
lavc: replace rest of deprecated SAMPLE_FMT_* with AV_SAMPLE_FMT_*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
7099f36578
lavc: replace rest of deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jean First
f86c348d46
vp3: remove redeclaration of vp3_decode_flush
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
2083a10abf
Fix audio output
...
Up until now, the decoder didn't output anything
in the data buffer. This fixes all the issues
related to sample format, removes leftover code
and actually outputs some audio to data buffer.
With this, the only sample we have can be played.
Seeking is still broken though.
13 years ago
Mashiat Sarker Shakkhar
f7166f7d8d
Suppress dumping of residues buffer
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
Michael Niedermayer
45552371e3
jpegdec: non interleaved rgb ljpeg support.
...
Fixes Ticket856
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
465eb0eb48
jpegdec: 9-16 bit yuv/gray ljpeg support.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
24964f21e4
jpegdec: Only enable rgb mode when there are 3 components.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Michael Niedermayer
a2a12e3358
vp3: fix regression with mplayer-crash.ogv
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
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
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>
13 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>
13 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
.
13 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>
13 years ago
Paul B Mahol
c0f7c574e9
Cosmetics: Replace -1 with PIX_FMT_NONE.
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
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
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>
13 years ago
Michael Niedermayer
fba6777363
h264: Fix recovery_frame initialization when recovery_frame is -1
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
36fa781bd6
h264: reset picture->sync on allocation.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Michael Niedermayer
ecb14b8af7
h264: add forgotten \n to "Invalid mix of idr and non-idr slices"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
393253b4b3
h264: Print pass in NAL debug output
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
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.
13 years ago
Carl Eugen Hoyos
03d7d8faef
Support gray8a pam encoding.
13 years ago
Michael Niedermayer
57581e4110
pthread: dont autoenable frame threads with visualization
...
This combination doesnt work
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e404eee1e1
pthread: Limit automatic threads to mb_height.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 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>
13 years ago
Michael Niedermayer
099d6813c2
svq3: Fix memory corruption introduced by automatic thread_count.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ca0350f49b
mpegvideo: Do not error out on default values of thread_count.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
714d2f9796
Only expand raw and packed 1bpp tiff horizontally if it is palettised.
13 years ago