Michael Niedermayer
ef97d59fb3
vble: remove flags copy, its not used in any speed relevant code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
2fea60c600
vble: remove len array, its unneeded
also remove unneeded memset()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
177bcc1ad9
vble: remove unused variable len.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
dde0af2df1
vble: move get_bits_left() check out of inner loop, we can perform the check completely before the loop.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
e3618cd4a8
vble: remove vble_read_reverse_unary(), the code is a bit simpler this way
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
35fd7b2968
vble: use LUT for vble_read_reverse_unary()
slightly faster
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
c5e55e214c
vble: change variable to int, its slightly faster and int is preferable if no specific size is needed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Janne Grunau
6761b6b825
vble: remove vble_error_close
It does not make much sense to factor the error handling to its own
av_always_inline function. Fixes "format not a string literal and no
format arguments" warning in the av_log.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Derek Buitenhuis
0c251257b5
VBLE Decoder
Add a decoder for the VBLE Lossless Codec, which
still has a cult following. Used to be popular
several years ago on doom9.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Janne Grunau
29ae0565d9
vble: remove vble_error_close
It does not make much sense to factor the error handling to its own
av_always_inline function. Fixes "format not a string literal and no
format arguments" warning in the av_log.
14 years ago
Derek Buitenhuis
c433a3f9a5
VBLE Decoder
Add a decoder for the VBLE Lossless Codec, which
still has a cult following. Used to be popular
several years ago on doom9.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Justin Ruggles
b656c4d08e
tta: use an integer instead of a pointer to iterate output samples
14 years ago
Justin Ruggles
5c210e2cb9
shorten: do not modify samples pointer when interleaving
14 years ago
Justin Ruggles
befc473c00
mpc7: only support stereo input.
The Musepack SV7 reference encoder converts mono to stereo when encoding.
14 years ago
Justin Ruggles
8dbc6d03c0
dpcm: do not try to decode empty packets
14 years ago
Justin Ruggles
e79da63282
dpcm: remove unneeded buf_size==0 check.
It is already checked in avcodec_decode_audio3()
14 years ago
Justin Ruggles
9d06037d48
twinvq: add SSE/AVX optimized sum/difference stereo interleaving
14 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.
14 years ago
Justin Ruggles
a8a6da4a0e
twinvq: check for allocation failure in init_mdct_win()
14 years ago
Carl Eugen Hoyos
0b7aec5fa4
Make PAL8 pcx images opaque.
14 years ago
Carl Eugen Hoyos
e22eff964f
Set palette for 1bit pcx.
The stored palette contains zeroes only.
Fixes ticket #637 .
14 years ago
Sebastien Zwickert
89d7f92661
vda: use fast reallocation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
9ef5d707e6
Implement use_high_update_speed() and use_normal_update_speed()
(cherry picked from commit 9ebc93fa46 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
144d815912
Initialize num_logged_tiles and remove unnecessary codes
(cherry picked from commit 69bca779e5 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
9634b1c6f2
Log index for each line of output
(cherry picked from commit 9e2ccb2de8 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
2f8b8f6953
Log tile size
(cherry picked from commit 257e5c4829 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
6e4a86a3f8
Output decoded residues
14 years ago
Mashiat Sarker Shakkhar
8f8dcf4486
Replace placeholders with actual calls to clear_codec_buffers() and reset_codec()
14 years ago
Mashiat Sarker Shakkhar
80fa79a306
Implement lms_update()
(cherry picked from commit 17219c7936 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
afd930dca2
Implement lms_predict()
(cherry picked from commit 83e31db195 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
f12f189638
Implement reset_codec()
(cherry picked from commit c56313aa79 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
06b67051d5
Add missing syntax elements to WmallDecodeCtx
(cherry picked from commit 2d6ca09c0f )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
8a41fdf127
Add .recent syntax element to cdlms struct
(cherry picked from commit a7820f3c5a )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
a868b6fea9
Analysis and spec comparison
(cherry picked from commit 6b05ea8b69 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
9152866455
Implement clear_codec_buffers()
(cherry picked from commit d34e3cf342 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
fd9ea0402c
Add buffers to context necessary for reverting cdmls and mclms filter
14 years ago
Mashiat Sarker Shakkhar
1f273373ec
Analysis and spec comparison
14 years ago
Mashiat Sarker Shakkhar
7344b75c63
Cosmetics
(cherry picked from commit 3197968bed )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
K.Y.H
554caed2d3
cook: fix apparent typo in extradata parsing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Nir Ben David
083d9ba448
golomb: Fix overread in get_ur_golomb_jpegls()
Fixes Ticket600
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
0e609d7418
Fix some 1bit bmp samples, they are palletised.
Fixes ticket #632 .
14 years ago
Alex Converse
88b2436911
mpc7: Fix memset call in mpc7_decode_frame function
14 years ago
Justin Ruggles
164fca39bd
atrac1: use correct context for av_log()
14 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.
14 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.
14 years ago
Justin Ruggles
4315c7d35a
apedec: check output buffer size after calculating actual output size
14 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.
14 years ago
Justin Ruggles
59f4d1b8bb
truespeech: use memmove() in truespeech_update_filters()
14 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.
14 years ago
Justin Ruggles
e551a6f49a
vorbisdec: remove unneeded buf_size==0 check
14 years ago