Michael Niedermayer
15b219fae9
jpegdec: Fix vlc table check for progressive jpegs.
Fixes Ticket834
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ronald S. Bultje
400ba1d735
h264: return index in buffer on end-of-sequence.
Fixes hangs if the last packet contains an end-of-sequence NAL unit,
bug 158.
14 years ago
Diego Biurrun
54e68fb3b8
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.
14 years ago
Diego Biurrun
9dec55748c
cabac: drop unused and disabled get_cabac_u() / get_cabac_ueg() functions
14 years ago
Diego Biurrun
e451c26c5f
cabac: drop unused STRICT_LIMITS code branch
14 years ago
Justin Ruggles
9785082c15
libspeexenc: fix pts calculations for more than 1 frame per packet
14 years ago
Justin Ruggles
730280f90d
adxdec: clear eof flag and channel states when seeking
14 years ago
Justin Ruggles
754ebd1a5b
adxenc: check output buffer size before writing
14 years ago
Justin Ruggles
1fb47728cd
adxenc: use bytestream functions for header writing.
also add more documentation about the header structure
14 years ago
Justin Ruggles
656e606cae
adxenc: use BLOCK_SIZE and BLOCK_SAMPLES macros
14 years ago
Justin Ruggles
f1be41c63d
adxenc: use a loop to encode each channel
14 years ago
Justin Ruggles
6c117bd8e0
adxenc: remove unneeded loops
avctx->frame_size is 32, so that is how many samples we process per call.
14 years ago
Justin Ruggles
613668210b
adxenc: avoid stereo deinterleaving
14 years ago
Justin Ruggles
6b77f07074
adxenc: remove unnecessary setting of coded_frame->key_frame.
It is already set by avcodec_alloc_frame().
14 years ago
Justin Ruggles
cc40c056d0
adxenc: log an error message and return AVERROR(EINVAL) for invalid channels
14 years ago
Justin Ruggles
a85ab8ad45
adxenc: cosmetics: pretty-printing
14 years ago
Justin Ruggles
25edfc88e3
adxenc: change some data types
14 years ago
Justin Ruggles
c98c6e18d8
adxenc: remove unneeded log message
14 years ago
Justin Ruggles
e3d4f59f95
adxenc: remove unneeded comments
14 years ago
Michael Niedermayer
6429269096
wmall: remove ;;
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
001567c767
Set bits_per_coded_sample when encoding Y41P.
This allows mplayer -vc bt411 to decode files
encoded with FFmpeg.
Reviewed-by: Paul B Mahol
14 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>
14 years ago
Justin Ruggles
6fd075f180
adxdec: Validate channel count to fix a division by zero.
14 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>
14 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.
14 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.
14 years ago
Justin Ruggles
149e1b0468
alacenc: do not generate invalid multi-channel ALAC files
14 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.
14 years ago
Kostya Shishkov
490dcda6b6
utvideo: proper median prediction for interlaced videos
14 years ago
Shitiz Garg
f37b4efe03
dca: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Aneesh Dogra
2e70b2de58
dct: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Daniel Verkamp
02e8f4272c
win32: detect number of CPUs using affinity
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Piotr Bandurski
912e75169b
Support 8bpp grayscale Sun Rasterfile images.
Fixes ticket #865 .
14 years ago
Diego Biurrun
418f066f8c
snow: Restore three mistakenly removed casts.
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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.
14 years ago
Mashiat Sarker Shakkhar
f7166f7d8d
Suppress dumping of residues buffer
14 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.
14 years ago
Janne Grunau
264808219d
v410enc: fix undefined signed left shift caused by integer promotion
14 years ago
Michael Niedermayer
45552371e3
jpegdec: non interleaved rgb ljpeg support.
Fixes Ticket856
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
465eb0eb48
jpegdec: 9-16 bit yuv/gray ljpeg support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
24964f21e4
jpegdec: Only enable rgb mode when there are 3 components.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
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