summaryrefslogtreecommitdiffstats
path: root/libavcodec/ra144.c
Commit message (Collapse)AuthorAgeFilesLines
* Correct few "ffmpeg" typosPaul B Mahol2014-08-241-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Merge commit '9a9e2f1c8aa4539a261625145e5c1f46a8106ac2'Michael Niedermayer2014-06-221-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9a9e2f1c8aa4539a261625145e5c1f46a8106ac2': dsputil: Split audio operations off into a separate context Conflicts: configure libavcodec/takdec.c libavcodec/x86/Makefile libavcodec/x86/dsputil.asm libavcodec/x86/dsputil_init.c libavcodec/x86/dsputil_mmx.c libavcodec/x86/dsputil_x86.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ra144: use scalarproduct_int16Christophe Gisquet2014-02-101-9/+5
| | | | | | | | | | | | | | | | The buffer holding the coefficients must be padded with 0 so as to use DSP functions that may overread. Currently, the SSE2/3 versions is an example, as they process batches of 16 bytes. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '088f38a4f9f54bb923405c67c9e72d96d90aa284'Michael Niedermayer2013-05-011-4/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * commit '088f38a4f9f54bb923405c67c9e72d96d90aa284': avcodec: Drop unnecessary ff_ name prefixes from static functions Conflicts: libavcodec/ass.c libavcodec/h264_parser.c libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-301-4/+4
| |
* | ra144: Try to fix int16/uint16 warnings from pgcMichael Niedermayer2013-04-171-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '9734b8ba56d05e970c353dfd5baafa43fdb08024'Michael Niedermayer2012-10-121-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '9734b8ba56d05e970c353dfd5baafa43fdb08024': Move avutil tables only used in libavcodec to libavcodec. Conflicts: libavcodec/mathtables.c libavutil/intmath.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move avutil tables only used in libavcodec to libavcodec.Diego Biurrun2012-10-111-1/+1
| |
* | ra144: fix code with ftrapv.Michael Niedermayer2012-10-091-1/+7
| | | | | | | | | | | | A better solution is welcome! Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ra144: factor division outMichael Niedermayer2012-09-231-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-161-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Fix even more missing includes after the common.h removal build: Factor out rangecoder dependencies to CONFIG_RANGECODER build: Factor out error resilience dependencies to CONFIG_ERROR_RESILIENCE x86: avcodec: Consistently name all init files Add more missing includes after removing the implicit common.h Add some more missing includes after removing the implicit common.h Don't include common.h from avutil.h rtmp: Automatically compute the hash for SWFVerification Conflicts: configure doc/APIchanges doc/examples/decoding_encoding.c libavcodec/Makefile libavcodec/assdec.c libavcodec/audio_frame_queue.c libavcodec/avpacket.c libavcodec/dv_profile.c libavcodec/dwt.c libavcodec/libtheoraenc.c libavcodec/rawdec.c libavcodec/rv40dsp.c libavcodec/tiff.c libavcodec/tiffenc.c libavcodec/v210dec.h libavcodec/vc1dsp.c libavcodec/x86/Makefile libavfilter/asrc_anullsrc.c libavfilter/avfilter.c libavfilter/buffer.c libavfilter/formats.c libavfilter/vf_ass.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_select.c libavfilter/video.c libavfilter/vsrc_testsrc.c libavformat/version.h libavutil/audioconvert.c libavutil/error.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Don't include common.h from avutil.hMartin Storsjö2012-08-151-0/+1
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * Add a shift parameter to celp_lp_synthesis_filter()Mohamed Naufal Basheer2012-07-221-1/+1
| | | | | | | | | | | | This is intended for reuse by the G.723.1 decoder Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-111-20/+20
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * ra144: use macro constants to make the code more understandable.Justin Ruggles2011-10-101-20/+20
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Make ff_add_wav static to ra144.cDiego Elio Pettenò2011-01-251-2/+2
| | | | | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* | Add a shift parameter to celp_lp_synthesis_filter for reuse by the G.723.1 ↵Mohamed Naufal Basheer2011-09-291-1/+1
| | | | | | | | decoder
* | Make ff_add_wav static to ra144.cDiego Elio Pettenò2011-01-261-2/+2
|/ | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 1a8867486215abe3b705f7d189723d528cea2b70)
* Split do_output_subblock() into common code and decoder specific partsFrancesco Lavra2010-06-111-0/+34
| | | | | | Patch by Francesco Lavra (firstnamelastname@interfree.it) Originally committed as revision 23576 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: indentFrancesco Lavra2010-06-111-2/+2
| | | | | | Patch by Francesco Lavra (firstnamelastname@interfree.it) Originally committed as revision 23575 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ff_ prefix to non-static functionsFrancesco Lavra2010-06-111-25/+25
| | | | | | Patch by Francesco Lavra (firstnamelastname@interfree.it) Originally committed as revision 23574 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split ra144.c in common code (to be shared with the future encoder) andFrancesco Lavra2010-06-111-234/+1556
| | | | | | | | decoder. Patch by Francesco Lavra (firstnamelastname@interfree.it) Originally committed as revision 23573 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
* Move ff_sqrt() to libavutil/intmath.hMåns Rullgård2010-03-081-0/+1
| | | | Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix reading beyond buffer end on RA144Context.lpc_tables.Francesco Lavra2010-02-131-3/+3
| | | | | | Patch by Francesco Lavra (francescolavra -at- interfree -dot- it) Originally committed as revision 21796 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use correct context for av_log(), should prevent a crash for malformed files.Francesco Lavra2010-01-051-3/+7
| | | | | | Patch by Francesco Lavra (francescolavra at interfree dot it). Originally committed as revision 21031 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-1/+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
* RA144: work around gcc bug/oddity on ARMMåns Rullgård2009-03-011-1/+1
| | | | | | | | | This should not make any difference, yet some gcc versions on ARM produce incorrect output without this fix. Approved by Vitor. Originally committed as revision 17698 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after last commitVitor Sessak2009-03-011-3/+3
| | | | Originally committed as revision 17678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not read uninitialized buffer, no matter if it will be multiplied byVitor Sessak2009-03-011-0/+5
| | | | | | | zero later. This should fix some valgrind warnings and hopefully FATE ra144 test on ARM. Originally committed as revision 17677 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split off celp_filters.[ch] from acelp_filters.[ch] for the QCELP decoder.Kenan Gillet2008-10-241-3/+3
| | | | | | patch by Kenan Gillet, kenan.gillet gmail com Originally committed as revision 15680 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling/wording/grammar fixesDiego Biurrun2008-09-111-9/+9
| | | | Originally committed as revision 15296 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just anVitor Sessak2008-09-081-1/+1
| | | | | | one-dimensional array. Originally committed as revision 15273 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pass directly variable 'a' to interp instead of evaluating it from num_blocksVitor Sessak2008-09-081-5/+4
| | | | Originally committed as revision 15269 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify if() in copy_and_dup()Vitor Sessak2008-09-081-5/+2
| | | | Originally committed as revision 15268 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_cold attribute to decode_init()Vitor Sessak2008-09-081-1/+1
| | | | Originally committed as revision 15267 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Make the two additional units in size more clearVitor Sessak2008-09-081-1/+1
| | | | Originally committed as revision 15266 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Test a var for overflow just after it is setVitor Sessak2008-09-061-2/+2
| | | | Originally committed as revision 15223 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless parentheses.Vitor Sessak2008-09-061-1/+1
| | | | Originally committed as revision 15222 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: rename loop counters in eval_refl()Vitor Sessak2008-08-061-8/+7
| | | | Originally committed as revision 14653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify eval_refl(): do not store a buffer value in a var when the buffer ↵Vitor Sessak2008-08-061-5/+5
| | | | | | could be used directly Originally committed as revision 14652 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify eval_refl(): s/b == 0/!b/Vitor Sessak2008-08-061-1/+1
| | | | Originally committed as revision 14651 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify range checking in eval_refl(). Before theVitor Sessak2008-08-061-7/+1
| | | | | | | | | condition b == 0 could never be true, because it would have already been caught in the previous ifs. Also the condition b == 0x1000 could never be true (it would triggered the return). Originally committed as revision 14650 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: reindentVitor Sessak2008-08-061-5/+2
| | | | Originally committed as revision 14649 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify do_output_subblock(): Remove a unneeded memcpyVitor Sessak2008-08-061-3/+1
| | | | Originally committed as revision 14648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify eval_refl(): return directly when needed instead of storing the ↵Vitor Sessak2008-08-061-3/+2
| | | | | | return value in a variable Originally committed as revision 14640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify rms(): merge a few operations in the same statementVitor Sessak2008-08-061-5/+2
| | | | Originally committed as revision 14639 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetical simplification in t_sqrt()Vitor Sessak2008-08-061-1/+1
| | | | Originally committed as revision 14638 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud