Carl Eugen Hoyos
ef8756dab2
Support LZW and ZLIB compressed 4bpp tiff samples.
Fixes ticket #439 and ticket #440 .
13 years ago
Alexander Strasser
baad01d8b4
h264: improve checks before calling ff_h264_decode_extradata
The ff_h264_decode_extradata routine now checks for the buffer size
and pointer internally. This makes it possible to remove the external
checks in ff_h264_decode_init.
In decode_frame there was a size check missing because the buffer
gets tested prior to the invocation of ff_h264_decode_extradata().
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
13 years ago
Alexander Strasser
715f259bf9
h264: ff_h264_decode_extradata: check buffer args
The buffer size and pointer were not checked prior to testing the first
byte of the buffer. These were sometimes checked before calling, but it is
better to add it inside the function as it takes buf and size arguments.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
13 years ago
Jean First
251345a3fe
cosmetics, remove unused and rename variables for consistency
13 years ago
Justin Ruggles
4568c2bf97
vmdaudio: fix decoding of 16-bit audio format.
The initial sample of each block is raw 16-bit PCM, not DPCM.
Fixes decoding of all samples in:
http://streams.videolan.org/samples/game-formats/sierra-vmd/Lighthouse/
13 years ago
Jean First
1a0770f3f7
tiffenc: Enable RGB48LE (16-bit) encoding support
13 years ago
Jean First
72381b2b47
tiffdec: add RGB48 (16bit) support
13 years ago
Laurent Aimar
d1186ff72d
h264: check for out of bounds reads in ff_h264_decode_extradata().
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Michael Niedermayer
035320a52f
dnxhdenc: remove unneeded entries from array.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b8bad984ef
dnxhdenc: optimize whats left of dnxhd_switch_matrix()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a2eae0ffd4
amvenc: another quant table fix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2aaf32f52f
mpegvideo: support encoding with chroma intra tables that differ from luma.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a2f27818b5
amvenc: fix quant tables
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f2f28861da
AMV video encoder.
Authors are Vladimir Voroshilov and Dobrica Pavlinušić based on svn blame/log
For full details of authorship see http://code.google.com/p/amv-codec-tools/
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
35cb6854bb
Fix potential pointer arithmetic overflows in rle_unpack() of vmd video decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
4749e07498
Fix out of bound reads in rle_unpack() of vmd video decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
e07377e736
Check for out of bound reads in vmd_decode() of vmd video decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
78cb39d2b2
Fix potential pointer arithmetic overflows in lz_unpack of vmd video decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
5127f465bd
Prevent out of bound read in lz_unpack in vmd video decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
6a6383bebc
Prevent NULL dereferences when the previous frame is missing in vmd video decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
e7aed1280e
Check for invalid update parameters in vmd video decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
00cbe9e405
Fix potential overread in vmd audio decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Sascha Sommer
780d45473c
Fix segfault in save_bits:
use put_bits_count to get the buffer fill state instead of
num_saved_bits as num_saved_bits is sometimes reset when
frames are lost
(Ticket 495)
13 years ago
Michael Niedermayer
43e05685f2
g729dec: disable all cpu acceleration, the code does not provide any alignment.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
91c5f81b74
g729dec: set sample format.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Vladimir Voroshilov
5d5b3e527a
Disable MMX
16 years ago
Vladimir Voroshilov
8db3b85616
Fix comments about implemented codecs
16 years ago
Vladimir Voroshilov
682337672c
Adaptive gain control
16 years ago
Vladimir Voroshilov
aca516cd67
G.729 postfilter
16 years ago
Vladimir Voroshilov
16bbb8dfea
Replace pitch_delay_int with array
16 years ago
Vladimir Voroshilov
bfbfe56f94
G.729 build environment
16 years ago
Michael Niedermayer
ce7c954800
g729dec: Make 2 functions static that are not used outside g729dec.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Vladimir Voroshilov
c458bff934
High-pass filter
16 years ago
Vladimir Voroshilov
e610c5f383
Add G.729D decoder
16 years ago
Vladimir Voroshilov
b7c7fc3359
Synthesis filter
16 years ago
Vladimir Voroshilov
4920a1a913
Indentation fix after gain codes decoding2
16 years ago
Vladimir Voroshilov
0b42463aec
Gain pitch and gain code for G729D
16 years ago
Vladimir Voroshilov
12081d0599
Indentation fix 2
16 years ago
Vladimir Voroshilov
f7980a7bed
Convert gain pitch and gain code to arrays
16 years ago
Vladimir Voroshilov
f830d1b7da
Interolate excitation signal
16 years ago
Vladimir Voroshilov
0a3337883f
Fixed- and adaptive-codebook gains
16 years ago
Vladimir Voroshilov
7fadc0151c
Frame erasure support for fixed-codebook vectors
16 years ago
Vladimir Voroshilov
9297c7822f
Fixed-codebook vector decoding
16 years ago
Vladimir Voroshilov
70efd101f1
Add packet_type
16 years ago
Vladimir Voroshilov
50cad25625
Frame erasure support for pitch delay decoding
16 years ago
Vladimir Voroshilov
d1a643e749
Doxy for LSF erasure case
16 years ago
Vladimir Voroshilov
b29e5a6780
doxy comments for LSF array
16 years ago
Vladimir Voroshilov
cd3e2820d3
Indentation fix in LSF
16 years ago
Vladimir Voroshilov
388f225561
Frame erasure support for LSF decoding
16 years ago
Michael Niedermayer
a5e0c4ddb5
Revert "g729: Merge g729.h into g729dec.c."
This reverts commit a2077b85da
.
13 years ago