summaryrefslogtreecommitdiffstats
path: root/libavcodec/ra288.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-091-20/+22
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: tls: Use ERR_get_error() in do_tls_poll indeo3: Fix a fencepost error. mxfdec: Fix comparison of unsigned expression < 0. mpegts: set stream id on just created stream, not an unrelated variable ra288: return error if input buffer is too small ra288: utilize DSPContext.vector_fmul() ra288: use memcpy() to copy decoded samples to output mace: only calculate output buffer size once Remove redundant filename self-references inside files. indeo3data: add missing config.h #include for HAVE_BIGENDIAN x86: drop pointless ARCH_X86 #ifdef from files in x86 subdirectory avplay: reset rdft when closing stream. doc/git-howto: expand format-patch and send-email notes. lavf: expand doxy for some AVFormatContext fields. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ra288: return error if input buffer is too smallJustin Ruggles2011-11-081-1/+1
| |
| * ra288: utilize DSPContext.vector_fmul()Justin Ruggles2011-11-081-16/+18
| |
| * ra288: use memcpy() to copy decoded samples to outputJustin Ruggles2011-11-081-3/+3
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-111-6/+13
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (34 commits) h264: reset h->ref_count in case of errors in ff_h264_decode_ref_pic_list_reordering() error_resilience: fix the check for missing references in ff_er_frame_end() for H264 4xm: prevent NULL dereference with invalid huffman table 4xmdemux: prevent use of uninitialized memory 4xm: clear FF_INPUT_BUFFER_PADDING_SIZE bytes in temporary buffers ptx: check for out of bound reads tiffdec: fix out of bound reads/writes eacmv: check for out of bound reads eacmv: fix potential pointer arithmetic overflows adpcm: fix out of bound reads due to integer overflow anm: prevent infinite loop avsdemux: check for out of bound writes avs: check for out of bound reads avsdemux: check for corrupted data AVOptions: refactor set_number/write_number AVOptions: cosmetics, rename static av_set_number2() to write_number(). AVOptions: cosmetics, move and rename static av_set_number(). AVOptions: split av_set_string3 into opt type-specific functions avidec: fix signed overflow in avi_sync() mxfdec: Fix some buffer overreads caused by the misuse of AVPacket related functions. ... Conflicts: Changelog configure libavcodec/ptx.c libavcodec/ra144.c libavcodec/vaapi_vc1.c libavcodec/vc1.c libavcodec/version.h libavformat/4xm.c libavformat/avidec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ra288: log an error message when output buffer is too small.Justin Ruggles2011-10-101-2/+4
| | | | | | | | also return AVERROR(EINVAL) instead of -1.
| * ra288: use a more descriptive calculation for output data sizeJustin Ruggles2011-10-101-5/+10
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-241-11/+8
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: flvdec: Fix invalid pointer deferences when parsing index configure: disable hardware capabilities ELF section with suncc on Solaris x86 Use explicit struct initializers for AVCodec declarations. Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations. adpcmenc: Set bits_per_coded_sample adpcmenc: fix QT IMA ADPCM encoder adpcmdec: Fix QT IMA ADPCM decoder permit decoding of multichannel ADPCM_EA_XAS Fix input buffer size check in adpcm_ea decoder. fft: avoid a signed overflow mpegps: Handle buffer exhaustion when reading packets. Conflicts: libavcodec/adpcm.c libavcodec/adpcmenc.c libavdevice/alsa-audio-enc.c libavformat/flvdec.c libavformat/mpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Use explicit struct initializers for AVCodec declarations.Diego Biurrun2011-09-241-11/+8
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | 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-261-1/+1
| | | | | | | | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | ra288: avoid one multiplyMichael Niedermayer2011-08-091-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-281-1/+1
|/ | | | | | | | 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-121-1/+1
| | | | | | 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-271-4/+8
| | | | 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-211-4/+0
| | | | | | 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-301-1/+1
| | | | | | 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-131-1/+1
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-2/+3
| | | | | | | | | | | 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-241-6/+3
| | | | Originally committed as revision 17562 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use ff_dot_productf() in ra288.cVitor Sessak2008-10-301-13/+3
| | | | Originally committed as revision 15757 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify: avoid duplication backward_filter()Vitor Sessak2008-09-261-20/+15
| | | | 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-251-2/+2
| | | | Originally committed as revision 15417 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move constant multiplication out of the loopVitor Sessak2008-09-241-4/+4
| | | | Originally committed as revision 15404 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: move convolve() together with the other DSP functionsVitor Sessak2008-09-241-7/+7
| | | | Originally committed as revision 15403 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify: move division by constant off the loopVitor Sessak2008-09-241-2/+3
| | | | Originally committed as revision 15402 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge the 2 lpc loops.Michael Niedermayer2008-09-231-4/+2
| | | | | | | | 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-231-9/+7
| | | | 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-171-4/+4
| | | | | | | 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-131-3/+2
| | | | 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-131-22/+25
| | | | | | 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-111-7/+7
| | | | Originally committed as revision 15300 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename function: s/colmult/apply_window/Vitor Sessak2008-09-111-4/+4
| | | | Originally committed as revision 15299 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling/wording/grammar fixesDiego Biurrun2008-09-111-15/+15
| | | | Originally committed as revision 15296 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert table to integer.Vitor Sessak2008-09-101-1/+1
| | | | 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-041-40/+3
| | | | | | decoders. Originally committed as revision 15193 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check *data_size in decode_frame()Vitor Sessak2008-08-061-0/+3
| | | | Originally committed as revision 14636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: alignmentVitor Sessak2008-08-061-2/+2
| | | | 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-061-21/+18
| | | | | | 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-051-3/+3
| | | | 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-311-1/+7
| | | | 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-291-1/+1
| | | | Originally committed as revision 14469 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: rename loop counter vars to i,jVitor Sessak2008-07-291-33/+33
| | | | Originally committed as revision 14468 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: new lineVitor Sessak2008-07-281-0/+1
| | | | Originally committed as revision 14457 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the now useless phase variable from contextVitor Sessak2008-07-281-3/+1
| | | | Originally committed as revision 14456 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: make comment match var nameVitor Sessak2008-07-281-1/+1
| | | | Originally committed as revision 14454 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: align commentsVitor Sessak2008-07-281-3/+3
| | | | 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-281-11/+13
| | | | Originally committed as revision 14452 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Declare temporary buffers to be only of the necessary sizeVitor Sessak2008-07-281-3/+3
| | | | Originally committed as revision 14451 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant commentsVitor Sessak2008-07-281-2/+0
| | | | Originally committed as revision 14450 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud