Justin Ruggles
8dbc6d03c0
dpcm: do not try to decode empty packets
13 years ago
Justin Ruggles
e79da63282
dpcm: remove unneeded buf_size==0 check.
...
It is already checked in avcodec_decode_audio3()
13 years ago
Justin Ruggles
9d06037d48
twinvq: add SSE/AVX optimized sum/difference stereo interleaving
13 years ago
Justin Ruggles
7b966566da
vqf/twinvq: pass vqf COMM chunk info in extradata
...
This is needed because the twinvq decoder cannot rely on bit_rate to be set.
The API documentation says that bit_rate is set by libavcodec, not by the
user.
13 years ago
Justin Ruggles
a8a6da4a0e
twinvq: check for allocation failure in init_mdct_win()
13 years ago
Carl Eugen Hoyos
0b7aec5fa4
Make PAL8 pcx images opaque.
13 years ago
Carl Eugen Hoyos
e22eff964f
Set palette for 1bit pcx.
...
The stored palette contains zeroes only.
Fixes ticket #637 .
13 years ago
Sebastien Zwickert
89d7f92661
vda: use fast reallocation.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
9ef5d707e6
Implement use_high_update_speed() and use_normal_update_speed()
...
(cherry picked from commit 9ebc93fa4623791eca9efeee4de65b23dc015de1)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
144d815912
Initialize num_logged_tiles and remove unnecessary codes
...
(cherry picked from commit 69bca779e5d8409cde336406a26b5173002cac97)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
9634b1c6f2
Log index for each line of output
...
(cherry picked from commit 9e2ccb2de8d4dc5179cd86610b129500e6223be7)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
2f8b8f6953
Log tile size
...
(cherry picked from commit 257e5c4829cd916938c9e1922e50668636346f71)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
6e4a86a3f8
Output decoded residues
13 years ago
Mashiat Sarker Shakkhar
8f8dcf4486
Replace placeholders with actual calls to clear_codec_buffers() and reset_codec()
13 years ago
Mashiat Sarker Shakkhar
80fa79a306
Implement lms_update()
...
(cherry picked from commit 17219c79360bc2bdaf3e7f47178af42fade140a8)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
afd930dca2
Implement lms_predict()
...
(cherry picked from commit 83e31db195b9d0a07b0526eab5780817d8ce9444)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
f12f189638
Implement reset_codec()
...
(cherry picked from commit c56313aa7969691f1a779e5ac5666f012676836f)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
06b67051d5
Add missing syntax elements to WmallDecodeCtx
...
(cherry picked from commit 2d6ca09c0f6ea318e439b9b073f507c802623ced)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
8a41fdf127
Add .recent syntax element to cdlms struct
...
(cherry picked from commit a7820f3c5a0f4d2a5f005f9ca3766d29b2111380)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
a868b6fea9
Analysis and spec comparison
...
(cherry picked from commit 6b05ea8b690ecab0e98924f0887f24311843d080)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
9152866455
Implement clear_codec_buffers()
...
(cherry picked from commit d34e3cf342219e9825125d4f9327cf1feab15c79)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
fd9ea0402c
Add buffers to context necessary for reverting cdmls and mclms filter
13 years ago
Mashiat Sarker Shakkhar
1f273373ec
Analysis and spec comparison
13 years ago
Mashiat Sarker Shakkhar
7344b75c63
Cosmetics
...
(cherry picked from commit 3197968bedf9f0d6d3cccf11cfbd19c23063493b)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
K.Y.H
554caed2d3
cook: fix apparent typo in extradata parsing
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nir Ben David
083d9ba448
golomb: Fix overread in get_ur_golomb_jpegls()
...
Fixes Ticket600
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
0e609d7418
Fix some 1bit bmp samples, they are palletised.
...
Fixes ticket #632 .
13 years ago
Alex Converse
88b2436911
mpc7: Fix memset call in mpc7_decode_frame function
13 years ago
Justin Ruggles
164fca39bd
atrac1: use correct context for av_log()
13 years ago
Justin Ruggles
c298b2b8db
apedec: consume the whole packet when copying to the decoder buffer.
...
This avoids artifically consuming a partial packet but ignoring remaining data
in subsequent calls.
13 years ago
Justin Ruggles
de157f2118
apedec: do not needlessly copy s->samples to nblocks.
...
also move nblocks to the local scope where it is used.
13 years ago
Justin Ruggles
4315c7d35a
apedec: check output buffer size after calculating actual output size
13 years ago
Justin Ruggles
ad17207b51
apedec: remove unneeded entropy decoder normalization.
...
The decoder already skips data at the end of the packet without this.
Also remove 2 APEContext fields that were only used for the end-of-frame
normalization.
13 years ago
Justin Ruggles
59f4d1b8bb
truespeech: use memmove() in truespeech_update_filters()
13 years ago
Justin Ruggles
41899b9acb
vorbisdec: remove AVCODEC_MAX_AUDIO_FRAME_SIZE check
...
The user could provide a larger buffer, which is already checked separately
before writing output.
13 years ago
Justin Ruggles
e551a6f49a
vorbisdec: remove unneeded buf_size==0 check
13 years ago
Justin Ruggles
f666276fa6
vorbisdec: return proper error codes instead of made-up ones
13 years ago
Michael Niedermayer
80f716cd45
mpeg4videodec: fix lml4 and frame threading without -vsync 0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
2305742b2a
sunrast: Check for invalid/corrupted bitstream
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Michael Niedermayer
525a8f3ba5
lavc: update AVCodecContext.delay documentation
...
Based on reimars suggestion
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3cc1af9dd9
pthreads: export the delay that was previously exported by mangling has_b_frames through
...
AVCodecContext.delay which was previously unused for decoders and fits better.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
f1f6d3615f
avcodec: add support for planar signed 8-bit PCM.
...
It is found in some 8svx files (e.g. ones created by SoX).
Currently the decoder reuses the 8svx functions because we already have
handling of a single large planar packet for the compressed 8svx codecs.
13 years ago
ami_stuff
dea8f6e18b
lowercase FRWU string
...
8556406d38
(lavc: lowercase the FRWU codec name)
got partially reverted by ec6402b7c5
(lavc: use designated initialisers for all codecs.)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
fed5ca255f
ra144enc: add sample_fmts list to ff_ra_144_encoder
...
This enables the user (i.e. avconv) to automatically convert to the supported
sample format if needed.
13 years ago
Justin Ruggles
818a3bdedf
smackaud: use uint8_t* for 8-bit output buffer type
...
This matches the output sample format and the range of the output values.
13 years ago
Justin Ruggles
375ca0aca8
smackaud: clip output samples
13 years ago
Justin Ruggles
c86c3c8017
smackaud: use sign_extend() for difference value instead of casting
13 years ago
Sebastien Zwickert
701e5348d4
vda: set destination image buffer attributes.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
979c8de549
sipr: use a function pointer to select the decode_frame function
13 years ago
Justin Ruggles
3468ff1060
sipr: set mode based on block_align instead of bit_rate
...
the user is not required to set bit_rate
13 years ago