Ronald S. Bultje
d56668bd80
floatdsp: move scalarproduct_float from dsputil to avfloatdsp.
...
This makes the aac decoder and all voice codecs independent of dsputil.
12 years ago
Anton Khirnov
594d4d5df3
lavc: add a wrapper for AVCodecContext.get_buffer().
...
It will be useful in the upcoming transition to refcounted AVFrames.
12 years ago
Justin Ruggles
a903f8f087
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
...
Also reorder some other #include when applicable.
12 years ago
Justin Ruggles
e3d6ab5704
qcelpdec: set channel layout
12 years ago
Diego Biurrun
dafcbfe443
celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c()
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Asen Lekov
25c2d76b68
qcelpdec: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
2fd291846b
qcelpdec: cosmetics: drop some pointless parentheses
13 years ago
Justin Ruggles
0eea212943
Add avcodec_decode_audio4().
...
Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders.
13 years ago
Justin Ruggles
dd376b1a12
qcelpdec: cosmetics: do not add line break before opening bracket in 'for',
...
'while', 'if/else', and 'switch' statements.
also fixes some spacing, but only if already changing a line
13 years ago
Justin Ruggles
e43dd3d2a8
qcelp: check output buffer size before decoding
13 years ago
Chris Rankin
bde2570013
qcelpdec: fix the return value of qcelp_decode_frame().
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Chris Rankin
04c13dca88
qcelpdec: fix the return value of qcelp_decode_frame().
13 years ago
Diego Biurrun
adbfc605f6
doxygen: Consistently use '@' instead of '\' for Doxygen markup.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
e7e2df27f8
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d36beb3f69
)
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
5d6e4c160a
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
...
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
48966b02cb
Grammar fixes
...
Originally committed as revision 23961 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
b1078e9fe6
Move clipping of audio samples (for those codecs outputting float) from decoder
...
to the audio conversion routines.
Originally committed as revision 22937 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
805a83d506
Implement QCELP postfilter.
...
Originally committed as revision 22935 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
0e426b7a6c
Reindent after last commit
...
Originally committed as revision 21019 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
846b231643
Add missing "static" qualifier
...
Originally committed as revision 21018 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
e26d131845
Do not hardcode filter order in ff_acelp_lspd2lpc()
...
Originally committed as revision 20485 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reynaldo H. Verdejo Pinochet
0c50f8e6cc
Implement ff_scale_vector_to_given_sum_of_squares()
...
to aid generic gain control routines. Changes
for qcelp are included. Patch Collin McQuillan.
Originally committed as revision 20450 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Colin McQuillan
33ae681f5c
Expose QCELP's floating-point LSP-to-LPC function
...
qcelp_lsp exported a single function, ff_acelp_lspd2lpc, which was not
specific to qcelp. It can be kept with its fixed-point version
ff_acelp_lsp2lpc in lpc.c.
Patch by Colin McQuillan ( m.niloc googlemail com )
Originally committed as revision 19571 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Colin McQuillan
1e1e02eacd
Make the LSP naming more consistent
...
Use the convention from lsp.c: an LSF is a frequency, an LSP is the
cosine of an LSF, and LSP functions should have an ff_acelp prefix.
Use a "d" suffix to specify doubles.
Patch by Colin McQuillan ( m.niloc googlemail com )
Originally committed as revision 19570 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
ce863d7f36
Rename ff_log_missing_feature() to av_log_missing_feature().
...
Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e19f995263
Fix bandwith vs. bandwiDth typo.
...
Originally committed as revision 18804 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kenan Gillet
5b05059d2d
Properly handle SILENCE frame. Patch by Kenan Gillet.
...
Originally committed as revision 18734 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kenan Gillet
809e07c618
Move scale factor computation to its own function. Patch by Kenan
...
Gillet.
Originally committed as revision 18345 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kenan Gillet
3c00556f4b
Add missing static qualifier from function declaration. Patch by Kenan
...
Gillet.
Originally committed as revision 18331 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reynaldo H. Verdejo Pinochet
d2af569710
Cosmetics from Kenan Gillet's 'extract and share weighted_vector_sumf'
...
patchset. Just a reindent.
Originally committed as revision 17917 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reynaldo H. Verdejo Pinochet
95e8325771
Functional part Kenan Gillet's 'extract and share weighted_vector_sumf'
...
patchset. Idea is to share this common code between the AMR and QCELP
decoders.
Originally committed as revision 17916 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reynaldo H. Verdejo Pinochet
87574416f7
Part 2 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
...
more general' changeset. This one relocates the QCELP
especific code to the qcelpdec.* files.
Originally committed as revision 17800 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kenan Gillet
0ba39dd1a9
Split ff_log_missing_feature into ff_log_missing_feature
...
and ff_log_ask_for_sample.
Patch by Kenan Gillet: gmail_adress(author)
Originally committed as revision 16637 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
3a095bee2b
Silence one warning when compiling with icc:
...
warning #188 : enumerated type mixed with another type
if((q->bitrate = determine_bitrate(avctx, buf_size, &buf)) == I_F_Q)
^
Originally committed as revision 16374 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reynaldo H. Verdejo Pinochet
a3636fa033
COSMETICS Part 3 and final of Kenan Gillet's QCELP silence handling patch.
...
Originally committed as revision 16338 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reynaldo H. Verdejo Pinochet
4f54fb54e3
Part 2 of Kenan Gillet's QCELP silence handling patch.
...
Originally committed as revision 16337 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reynaldo H. Verdejo Pinochet
3f16ed15df
Cosmetics by Kenan Gillet. Part 1 of 3 of his 'qcelp: silence handling'
...
changeset.
Originally committed as revision 16244 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kenan Gillet
5a3e9f2c80
Avoid the 'Claimed bitrate and buffer size mismatch' warning storm.
...
- Patch by Kenan Gillet
Originally committed as revision 16046 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
dbbec0c2f2
Make av_log_missing_feature an internal function, and change its name
...
to ff_log_missing_feature.
Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
6e74619e5e
Silence some ICC warnings. Patch by Vitor Sessak.
...
Originally committed as revision 16006 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reynaldo H. Verdejo Pinochet
87a9173679
Add expected const qualifier on 'buf' to match AVCodec.decode's declaration.
...
This change gets rid of another compiler warning.
Originally committed as revision 16005 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago