summaryrefslogtreecommitdiff
path: root/libavcodec/g723_1.c
Commit message (Collapse)AuthorAge
...
| * g723_1: clip argument for 15-bit version of normalize_bits()Kostya Shishkov2012-08-08
| | | | | | | | | | | | It expects maximum value to be 32767 but calculations in scale_vector() which uses this function can give it ABS(-32768) which leads to wrong result and thus clipping is needed.
| * g723_1: use all LPC vectors in formant postfilterKostya Shishkov2012-08-08
| | | | | | | | | | Due to some mistake LPC vector for the first subframe was used for all subframes instead of their own LPC vectors.
* | Merge commit '36ef5369ee9b336febc2c270f8718cec4476cb85'Michael Niedermayer2012-08-07
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '36ef5369ee9b336febc2c270f8718cec4476cb85': Replace all CODEC_ID_* with AV_CODEC_ID_* lavc: add AV prefix to codec ids. Conflicts: doc/APIchanges doc/examples/decoding_encoding.c doc/examples/muxing.c ffmpeg.c ffprobe.c ffserver.c libavcodec/8svx.c libavcodec/avcodec.h libavcodec/dnxhd_parser.c libavcodec/dvdsubdec.c libavcodec/error_resilience.c libavcodec/h263dec.c libavcodec/libvorbisenc.c libavcodec/mjpeg_parser.c libavcodec/mjpegenc.c libavcodec/mpeg12.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/pcm.c libavcodec/r210dec.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/version.h libavdevice/alsa-audio-dec.c libavdevice/bktr.c libavdevice/v4l2.c libavformat/asfdec.c libavformat/asfenc.c libavformat/avformat.h libavformat/avidec.c libavformat/caf.c libavformat/electronicarts.c libavformat/flacdec.c libavformat/flvdec.c libavformat/flvenc.c libavformat/framecrcenc.c libavformat/img2.c libavformat/img2dec.c libavformat/img2enc.c libavformat/ipmovie.c libavformat/isom.c libavformat/matroska.c libavformat/matroskadec.c libavformat/matroskaenc.c libavformat/mov.c libavformat/movenc.c libavformat/mp3dec.c libavformat/mpeg.c libavformat/mpegts.c libavformat/mxf.c libavformat/mxfdec.c libavformat/mxfenc.c libavformat/nsvdec.c libavformat/nut.c libavformat/oggenc.c libavformat/pmpdec.c libavformat/rawdec.c libavformat/rawenc.c libavformat/riff.c libavformat/sdp.c libavformat/utils.c libavformat/vocenc.c libavformat/wtv.c libavformat/xmv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
| |
* | g732_1: reduce difference to qatarMichael Niedermayer2012-08-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: vc1dec: Remove separate scaling function for interlaced field MVs vc1dec: Invoke edge_emulation regardless of MV precision x86: Use consistent 3dnowext function and macro name suffixes g723_1: scale output as supposed for the case with postfilter disabled g723_1: increase excitation storage by 4 g723_1: fix upper bound parameter from inverse maximum autocorrelation g723_1: make scale_vector() behave like the reference g723_1: fix off-by-one error in normalize_bits() g723_1: save/restore excitation with offset to store LPC history wmapro: prevent division by zero when sample rate is unspecified x86: proresdsp: improve SIGNEXTEND macro comments x86: h264dsp: K&R formatting cosmetics LICENSE: Document all GPL files Conflicts: libavcodec/g723_1.c libavcodec/wmaprodec.c libavcodec/x86/h264dsp_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * g723_1: scale output as supposed for the case with postfilter disabledKostya Shishkov2012-08-03
| |
| * g723_1: increase excitation storage by 4Kostya Shishkov2012-08-03
| | | | | | | | | | | | Fixed codebook mode in 5300 rate may write up to SUBFRAME_LEN + 4 and that is considered normal by the reference decoder. Without that additional padding it might overwrite first elements of LPC history.
| * g723_1: fix upper bound parameter from inverse maximum autocorrelationKostya Shishkov2012-08-03
| |
| * g723_1: make scale_vector() behave like the referenceKostya Shishkov2012-08-03
| |
| * g723_1: fix off-by-one error in normalize_bits()Kostya Shishkov2012-08-03
| |
| * g723_1: save/restore excitation with offset to store LPC historyKostya Shishkov2012-08-03
| | | | | | | | | | The same buffer with saved data is used later in LPC reconstruction, so it should have some head space for LPC history.
* | g723.1dec: Make postfilter user switchableMichael Niedermayer2012-07-23
| | | | | | | | | | | | | | Code from qatar (55c3a4f617171ad1138df684cbafa570807bc6a9) Author of the code was probably Mohamed or Kostya Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | g723.1: various cosmetics and changes that should have no user vissible effect.Michael Niedermayer2012-07-23
| | | | | | | | | | | | | | code from qatar (55c3a4f617171ad1138df684cbafa570807bc6a9) Author of the code was probably Mohamed or Kostya Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '1470ce21cec5ee26e106e2a884c26bbf84e5aaea'Michael Niedermayer2012-07-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1470ce21cec5ee26e106e2a884c26bbf84e5aaea': Bump libavcodec and libavformat minor versions for G.723.1 decoder and demuxer G.723.1 demuxer and decoder Add a shift parameter to celp_lp_synthesis_filter() libopenjpeg: K&R formatting cosmetics yadif: use emms_c() instead of inline assembly for emms invocations. ac3: don't use different names for option tables in the template file. lavfi: use const for AVFilterPad declarations in all filters. adpcm: don't duplicate identical AVSampleFmt array for each encoder. configure: cosmetics: Group test dependencies together configure: add more passthrough flags in tms470 filter configure: move flag filtering functions out of if/else blocks Conflicts: Changelog configure doc/general.texi libavcodec/Makefile libavcodec/ac3enc_fixed.c libavcodec/allcodecs.c libavcodec/eac3enc.c libavcodec/g723_1.c libavcodec/g723_1_data.h libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/v210dec.h libavcodec/version.h libavfilter/af_anull.c libavfilter/asrc_anullsrc.c libavfilter/f_settb.c libavfilter/fifo.c libavfilter/split.c libavfilter/src_movie.c libavfilter/vf_aspect.c libavfilter/vf_blackframe.c libavfilter/vf_boxblur.c libavfilter/vf_copy.c libavfilter/vf_crop.c libavfilter/vf_cropdetect.c libavfilter/vf_delogo.c libavfilter/vf_drawbox.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_fieldorder.c libavfilter/vf_format.c libavfilter/vf_frei0r.c libavfilter/vf_gradfun.c libavfilter/vf_hflip.c libavfilter/vf_hqdn3d.c libavfilter/vf_libopencv.c libavfilter/vf_lut.c libavfilter/vf_null.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_pixdesctest.c libavfilter/vf_scale.c libavfilter/vf_select.c libavfilter/vf_setpts.c libavfilter/vf_showinfo.c libavfilter/vf_slicify.c libavfilter/vf_transpose.c libavfilter/vf_unsharp.c libavfilter/vf_vflip.c libavfilter/vf_yadif.c libavfilter/vsrc_color.c libavfilter/vsrc_testsrc.c libavformat/Makefile libavformat/allformats.c libavformat/g723_1.c libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * G.723.1 demuxer and decoderMohamed Naufal Basheer2012-07-22
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* g723_1: add CODEC_CAP_DR1Paul B Mahol2012-07-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* g723_1: change to encode2()Michael Niedermayer2012-05-08
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (71 commits) movenc: Allow writing to a non-seekable output if using empty moov movenc: Support adding isml (smooth streaming live) metadata libavcodec: Don't crash in avcodec_encode_audio if time_base isn't set sunrast: Document the different Sun Raster file format types. sunrast: Add a check for experimental type. libspeexenc: use AVSampleFormat instead of deprecated/removed SampleFormat lavf: remove disabled FF_API_SET_PTS_INFO cruft lavf: remove disabled FF_API_OLD_INTERRUPT_CB cruft lavf: remove disabled FF_API_REORDER_PRIVATE cruft lavf: remove disabled FF_API_SEEK_PUBLIC cruft lavf: remove disabled FF_API_STREAM_COPY cruft lavf: remove disabled FF_API_PRELOAD cruft lavf: remove disabled FF_API_NEW_STREAM cruft lavf: remove disabled FF_API_RTSP_URL_OPTIONS cruft lavf: remove disabled FF_API_MUXRATE cruft lavf: remove disabled FF_API_FILESIZE cruft lavf: remove disabled FF_API_TIMESTAMP cruft lavf: remove disabled FF_API_LOOP_OUTPUT cruft lavf: remove disabled FF_API_LOOP_INPUT cruft lavf: remove disabled FF_API_AVSTREAM_QUALITY cruft ... Conflicts: doc/APIchanges libavcodec/8bps.c libavcodec/avcodec.h libavcodec/libx264.c libavcodec/mjpegbdec.c libavcodec/options.c libavcodec/sunrast.c libavcodec/utils.c libavcodec/version.h libavcodec/x86/h264_deblock.asm libavdevice/libdc1394.c libavdevice/v4l2.c libavformat/avformat.h libavformat/avio.c libavformat/avio.h libavformat/aviobuf.c libavformat/dv.c libavformat/mov.c libavformat/utils.c libavformat/version.h libavformat/wtv.c libavutil/Makefile libavutil/file.c libswscale/x86/input.asm libswscale/x86/swscale_mmx.c libswscale/x86/swscale_template.c tests/ref/lavf/ffm Merged-by: Michael Niedermayer <michaelni@gmx.at>
* g723_1: Fix "libavcodec/g723_1.c:988:8: warning: assignment from ↵Michael Niedermayer2012-01-08
| | | | | | incompatible pointer type [enabled by default]" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavc: replace rest of deprecated SAMPLE_FMT_* with AV_SAMPLE_FMT_*Paul B Mahol2012-01-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: fix standalone compilation of OMA muxer build: fix standalone compilation of Microsoft XMV demuxer build: fix standalone compilation of Core Audio Format demuxer kvmc: fix invalid reads 4xm: Add a check in decode_i_frame to prevent buffer overreads adpcm: fix IMA SMJPEG decoding options: set minimum for "threads" to zero bsd: use number of logical CPUs as automatic thread count windows: use number of CPUs as automatic thread count linux: use number of CPUs as automatic thread count pthreads: reset active_thread_type when slice thread_init returrns early v410dec: include correct headers Drop ALT_ prefix from BITSTREAM_READER_LE name. lavfi: always build vsrc_buffer. ra144enc: zero the reflection coeffs if the filter is unstable sws: readd PAL8 to isPacked() mov: Don't stick the QuickTime field ordering atom in extradata. truespeech: fix invalid reads in truespeech_apply_twopoint_filter() Conflicts: configure libavcodec/4xm.c libavcodec/avcodec.h libavfilter/Makefile libavfilter/allfilters.c libavformat/Makefile libswscale/swscale_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* g723_1dec: update to new APIMichael Niedermayer2011-12-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* g723.1: use memmove() where overlapping src and dst can happen.Michael Niedermayer2011-10-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* g723.1 encoderMohamed Naufal2011-10-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Remove unused variable.Reimar Döffinger2011-09-30
| | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* g723.1: very minor simplify of gen_acb_excitation()Michael Niedermayer2011-09-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* g723.1: use MULL(a,b,15) for MULL2()Michael Niedermayer2011-09-29
| | | | | idea by vitor Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* g723.1: simplify scale_vector()Michael Niedermayer2011-09-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* g723.1: replace loop of normalize_bits( by av_log2()Michael Niedermayer2011-09-29
| | | | | idea by vitor Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* g723.1: cleanup square_root()Vitor Sessak2011-09-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* g723.1_ use skip_bits1()Michael Niedermayer2011-09-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* g723.1: use get_bits1()Michael Niedermayer2011-09-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* celp_math: cleanup ff_dot_product()Michael Niedermayer2011-09-29
| | | | | | based on code & idea by vitor Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Add the G723.1 demuxer and decoderMohamed Naufal Basheer2011-09-29