summaryrefslogtreecommitdiff
path: root/libavcodec/qcelpdec.c
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-05
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: qcelpdec: cosmetics: do not add line break before opening bracket in 'for', 'while', 'if/else', and 'switch' statements. qcelp: check output buffer size before decoding qcelpdec: fix the return value of qcelp_decode_frame(). sipr: fix the output data size check and only calculate it once. Synchronize various 4CCs and codec tags from FFmpeg. qdm2: check output buffer size before decoding Fix out of bound reads in the QDM2 decoder. Check for out of bound writes in the QDM2 decoder. ogg/celt: do not set sample_fmt in the demuxer Conflicts: libavcodec/avcodec.h libavcodec/qdm2.c libavformat/oggparsecelt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * qcelpdec: cosmetics: do not add line break before opening bracket in 'for',Justin Ruggles2011-10-04
| | | | | | | | | | | | 'while', 'if/else', and 'switch' statements. also fixes some spacing, but only if already changing a line
| * qcelp: check output buffer size before decodingJustin Ruggles2011-10-04
| |
| * qcelpdec: fix the return value of qcelp_decode_frame().Chris Rankin2011-10-04
| | | | | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* | qcelpdec: fix the return value of qcelp_decode_frame().Chris Rankin2011-09-08
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doxygen: Consistently use '@' instead of '\' for Doxygen markup. Use av_printf_format to check the usage of printf style functions Add av_printf_format, for marking printf style format strings and their parameters ARM: enable thumb for Cortex-M* CPUs nsvdec: Propagate error values instead of returning 0 in nsv_read_header(). build: remove SRC_PATH_BARE variable build: move basic rules and variables to main Makefile build: move special targets to end of main Makefile lavdev: improve feedback in case of invalid frame rate/size vfwcap: prefer "framerate_q" over "fps" in vfw_read_header() v4l2: prefer "framerate_q" over "fps" in v4l2_set_parameters() fbdev: prefer "framerate_q" over "fps" in device context bktr: prefer "framerate" over "fps" for grab_read_header() ALSA: implement channel layout for playback. alsa: support unsigned variants of already supported signed formats. alsa: add support for more formats. ARM: allow building in Thumb2 mode Conflicts: common.mak doc/APIchanges libavcodec/vdpau.h libavdevice/alsa-audio-common.c libavdevice/fbdev.c libavdevice/libdc1394.c libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxygen: Consistently use '@' instead of '\' for Doxygen markup.Diego Biurrun2011-06-24
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-28
|/ | | | | | | | 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 d36beb3f6902b1217beda576aa18abf7eb72b03c)
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Grammar fixesMåns Rullgård2010-07-02
| | | | Originally committed as revision 23961 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move clipping of audio samples (for those codecs outputting float) from decoderRonald S. Bultje2010-04-21
| | | | | | to the audio conversion routines. Originally committed as revision 22937 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement QCELP postfilter.Ronald S. Bultje2010-04-21
| | | | Originally committed as revision 22935 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after last commitVitor Sessak2010-01-04
| | | | Originally committed as revision 21019 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing "static" qualifierVitor Sessak2010-01-04
| | | | Originally committed as revision 21018 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not hardcode filter order in ff_acelp_lspd2lpc()Vitor Sessak2009-11-09
| | | | Originally committed as revision 20485 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement ff_scale_vector_to_given_sum_of_squares()Reynaldo H. Verdejo Pinochet2009-11-04
| | | | | | | 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
* Expose QCELP's floating-point LSP-to-LPC functionColin McQuillan2009-08-03
| | | | | | | | | | 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
* Make the LSP naming more consistentColin McQuillan2009-08-03
| | | | | | | | | | 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
* Rename ff_log_missing_feature() to av_log_missing_feature().Ronald S. Bultje2009-06-29
| | | | Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix bandwith vs. bandwiDth typo.Diego Biurrun2009-05-12
| | | | Originally committed as revision 18804 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Properly handle SILENCE frame. Patch by Kenan Gillet.Kenan Gillet2009-05-04
| | | | Originally committed as revision 18734 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | 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
* Move scale factor computation to its own function. Patch by KenanKenan Gillet2009-04-07
| | | | | | Gillet. Originally committed as revision 18345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing static qualifier from function declaration. Patch by KenanKenan Gillet2009-04-04
| | | | | | Gillet. Originally committed as revision 18331 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics from Kenan Gillet's 'extract and share weighted_vector_sumf'Reynaldo H. Verdejo Pinochet2009-03-09
| | | | | | patchset. Just a reindent. Originally committed as revision 17917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Functional part Kenan Gillet's 'extract and share weighted_vector_sumf'Reynaldo H. Verdejo Pinochet2009-03-09
| | | | | | | 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
* Part 2 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpcReynaldo H. Verdejo Pinochet2009-03-04
| | | | | | | 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
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* Split ff_log_missing_feature into ff_log_missing_featureKenan Gillet2009-01-16
| | | | | | | 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
* Silence one warning when compiling with icc:Carl Eugen Hoyos2008-12-28
| | | | | | | | 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
* COSMETICS Part 3 and final of Kenan Gillet's QCELP silence handling patch.Reynaldo H. Verdejo Pinochet2008-12-26
| | | | Originally committed as revision 16338 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Part 2 of Kenan Gillet's QCELP silence handling patch.Reynaldo H. Verdejo Pinochet2008-12-26
| | | | Originally committed as revision 16337 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics by Kenan Gillet. Part 1 of 3 of his 'qcelp: silence handling'Reynaldo H. Verdejo Pinochet2008-12-20
| | | | | | changeset. Originally committed as revision 16244 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid the 'Claimed bitrate and buffer size mismatch' warning storm.Kenan Gillet2008-12-11
| | | | | | - Patch by Kenan Gillet Originally committed as revision 16046 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_log_missing_feature an internal function, and change its nameStefano Sabatini2008-12-08
| | | | | | to ff_log_missing_feature. Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence some ICC warnings. Patch by Vitor Sessak.Vitor Sessak2008-12-04
| | | | Originally committed as revision 16006 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add expected const qualifier on 'buf' to match AVCodec.decode's declaration.Reynaldo H. Verdejo Pinochet2008-12-04
| | | | | | This change gets rid of another compiler warning. Originally committed as revision 16005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS, add missing remarks crediting Ben and KenanReynaldo H. Verdejo Pinochet2008-12-04
| | | | Originally committed as revision 16003 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Removes misleading const qualifier, gets rid of two compiler warningsReynaldo H. Verdejo Pinochet2008-12-04
| | | | Originally committed as revision 15997 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Trivial rephrasing, avoids too long lineReynaldo H. Verdejo Pinochet2008-12-02
| | | | Originally committed as revision 15985 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Trivial, Cosmetics, mostly brace placement changesReynaldo H. Verdejo Pinochet2008-12-02
| | | | Originally committed as revision 15984 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Commit last ok'ed parts of QCELP decoder and enable it.Kenan Gillet2008-12-02
| | | | | | patch by Kenan Gillet, kenan.gillet gmail com Originally committed as revision 15978 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More OKed parts of the QCELP decoderKenan Gillet2008-12-01
| | | | | | patch by Kenan Gillet, kenan.gillet gmail com Originally committed as revision 15975 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More OKed parts of the QCELP decoderKenan Gillet2008-11-30
| | | | | | patch by Kenan Gillet, kenan.gillet gmail com Originally committed as revision 15961 to svn://svn.ffmpeg.org/ffmpeg/trunk