summaryrefslogtreecommitdiff
path: root/libavcodec/ra288.c
Commit message (Collapse)AuthorAge
* ra288: log an error message when output buffer is too small.Justin Ruggles2011-10-10
| | | | also return AVERROR(EINVAL) instead of -1.
* ra288: use a more descriptive calculation for output data sizeJustin Ruggles2011-10-10
|
* Use explicit struct initializers for AVCodec declarations.Diego Biurrun2011-09-24
|
* 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>
* 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
* ra288: convert VLAs to fixed sizeMåns Rullgård2010-06-27
| | | | Originally committed as revision 23832 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
* 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
* 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
* Do not reimplement ff_celp_lp_synthesis_filterf().Vitor Sessak2009-02-24
| | | | Originally committed as revision 17562 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use ff_dot_productf() in ra288.cVitor Sessak2008-10-30
| | | | Originally committed as revision 15757 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify: avoid duplication backward_filter()Vitor Sessak2008-09-26
| | | | Originally committed as revision 15428 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do instead of divising a float by a constant, multiply by its inverseVitor Sessak2008-09-25
| | | | Originally committed as revision 15417 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move constant multiplication out of the loopVitor Sessak2008-09-24
| | | | Originally committed as revision 15404 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: move convolve() together with the other DSP functionsVitor Sessak2008-09-24
| | | | Originally committed as revision 15403 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify: move division by constant off the loopVitor Sessak2008-09-24
| | | | Originally committed as revision 15402 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge the 2 lpc loops.Michael Niedermayer2008-09-23
| | | | | | | | This changes the output by (stddev: 0.21 PSNR:109.51, file:ddinterview28.ra), the changes are due to float rounding inaccuracies and do not happen if doubles are used. Originally committed as revision 15394 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize lpc code slightly.Michael Niedermayer2008-09-23
| | | | Originally committed as revision 15393 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use SAMPLE_FMT_FLT instead of doing the float->int conversion in theVitor Sessak2008-09-17
| | | | | | | decoder. This changes the output very little and any difference should be inaudible. Originally committed as revision 15343 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: line breaksVitor Sessak2008-09-13
| | | | Originally committed as revision 15308 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify: use a single history buffer for gain and a single one forVitor Sessak2008-09-13
| | | | | | speech instead of having two for each in the context. Originally committed as revision 15307 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: align spec referencesVitor Sessak2008-09-11
| | | | Originally committed as revision 15300 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename function: s/colmult/apply_window/Vitor Sessak2008-09-11
| | | | Originally committed as revision 15299 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling/wording/grammar fixesDiego Biurrun2008-09-11
| | | | Originally committed as revision 15296 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert table to integer.Vitor Sessak2008-09-10
| | | | Originally committed as revision 15292 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid duplicating compute_lpc_coefs() function in both the RA288 and AAC ↵Vitor Sessak2008-09-04
| | | | | | decoders. Originally committed as revision 15193 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check *data_size in decode_frame()Vitor Sessak2008-08-06
| | | | Originally committed as revision 14636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: alignmentVitor Sessak2008-08-06
| | | | Originally committed as revision 14635 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Flip (by making buf[i] -> buf[size-i-1]) two buffers: {sp,gain}_block. ThisVitor Sessak2008-08-06
| | | | | | needs duplicating a few loops, but now the code is clearer. Originally committed as revision 14634 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename prodsum() function to convolve()Vitor Sessak2008-08-05
| | | | Originally committed as revision 14615 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-31
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not declare a counter as unsigned when it is not neededVitor Sessak2008-07-29
| | | | Originally committed as revision 14469 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: rename loop counter vars to i,jVitor Sessak2008-07-29
| | | | Originally committed as revision 14468 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: new lineVitor Sessak2008-07-28
| | | | Originally committed as revision 14457 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the now useless phase variable from contextVitor Sessak2008-07-28
| | | | Originally committed as revision 14456 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: make comment match var nameVitor Sessak2008-07-28
| | | | Originally committed as revision 14454 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: align commentsVitor Sessak2008-07-28
| | | | Originally committed as revision 14453 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename two context vars: s/sb/sp_block/, s/lhist/gain_block/Vitor Sessak2008-07-28
| | | | Originally committed as revision 14452 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Declare temporary buffers to be only of the necessary sizeVitor Sessak2008-07-28
| | | | Originally committed as revision 14451 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant commentsVitor Sessak2008-07-28
| | | | Originally committed as revision 14450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: do not align with now removed next instructionVitor Sessak2008-07-28
| | | | Originally committed as revision 14449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: remove braces and useless newlineVitor Sessak2008-07-28
| | | | Originally committed as revision 14448 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the way the input is passed to do_hybrid_filter(). Before, in[0] wasVitor Sessak2008-07-28
| | | | | | | the oldest input sample passed and in[n-1] was the latest. Now it is the contrary. This allows making backward_filter() somewhat simpler. Originally committed as revision 14447 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove RA288Context.output buffer. This buffer is just RA288Context.sbVitor Sessak2008-07-28
| | | | | | | | backwards (output[i] == sb[N-i], where N is the buffer length). This makes the code slower, this will be fixed in my next commit. Originally committed as revision 14446 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a few comments pointing to the G.728 specificationVitor Sessak2008-07-27
| | | | Originally committed as revision 14444 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the history buffer from the context. It can easily be evaluatedVitor Sessak2008-07-27
| | | | | | from the lhist buffer. Originally committed as revision 14443 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename two context buffers: pr{1,2} -> {sp,gain}_lpc. Also add a few doxyVitor Sessak2008-07-27
| | | | | | comments. Originally committed as revision 14437 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove st1 and st2 temporary buffers in backward_filter() and use insteadVitor Sessak2008-07-27
| | | | | | | | RA288Context.pr{1,2}. Note that the pr{1,2} buffers are one unity smaller than the st{1,2} buffers. My guess is that the original coder decided to add one to the array sizes "just to be sure". Originally committed as revision 14435 to svn://svn.ffmpeg.org/ffmpeg/trunk