Andreas Rheinhardt
b15a2f2504
avcodec/adx: Move ff_adx_decode_header() to adxdec.c
...
Possible since 9325d88eba
.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Vittorio Giovara
4407054ff0
adx: convert to new channel layout API
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
9325d88eba
lavc: remove obsolete and disabled avpriv functions
10 years ago
Anton Khirnov
d5cf5afabb
adxdec: get rid of an avpriv function
...
The only thing the demuxer needs is the sample rate to set the timebase,
which can be simply read with AV_RB32.
11 years ago
Anton Khirnov
5569146d48
adx: check that the offset is not negative
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
11 years ago
Thilo Borgmann
d814a839ac
Reinstate proper FFmpeg license for all files.
11 years ago
Diego Biurrun
6d97484d72
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
12 years ago
Michael Niedermayer
30bce34b67
vpriv_adx_decode_header: avoid underreading the array.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Justin Ruggles
6fd075f180
adxdec: Validate channel count to fix a division by zero.
13 years ago
Justin Ruggles
9d2dd356c2
adx: rename ff_adx_decode_header() to avpriv_adx_decode_header()
...
It is used by the ADX decoder, and therefore needs to be exported in order to
work with shared libs.
13 years ago
Justin Ruggles
d8cec2d7fc
adx: move header decoding to ADX common code
13 years ago
Justin Ruggles
b237248e29
adx: calculate correct LPC coeffs
...
Instead of using fixed coefficients, the correct way is to calculate the
coefficients using the highpass cutoff frequency from the ADX stream header
and the sample rate.
13 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Pettenò
350120d269
tablegen: implement and use WRITE_ARRAY macros
...
Two macros (WRITE_ARRAY and WRITE_ARRAY_2D) take the prefix (modifiers)
(not all tables are static, and they might not be constant either), the
type, and the name of the array. It'll be copied with same name and type,
and with the correct size of the currently-defined object.
Originally committed as revision 23821 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Pettenò
ac014798ff
tableprint: use the type name as-is for the functions' names.
...
This drops one parameter from the functions' macros, and require structures
to be typedeffed, but ensures that it is possible to map 1-to-1 the type to
the function name.
Originally committed as revision 23820 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
8eaa6e0e04
Change/simplify the tableprint/tablegen API.
...
Originally committed as revision 22761 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c26bce1070
Allow hard-coding of the 32kB cubic-root table for AAC.
...
Originally committed as revision 22527 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
a7c6e76638
Add support for hardcoding the motionpixels rgb to yuv table.
...
Originally committed as revision 20627 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
eadaa00c6f
Add support for hardcoding the mpegaudiodec tables.
...
Reduces .bss size by about 194 kB.
Originally committed as revision 20400 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago