summaryrefslogtreecommitdiff
path: root/libavcodec/x86/mpegvideoenc.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/mpegvideo: Move encoder-only stuff to a new headerAndreas Rheinhardt2022-02-131-1/+1
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bumpAnton Khirnov2021-01-011-0/+1
| | | | They are not properly namespaced and not intended for public use.
* lavc/mpegvideoenc: reformat inv_zigzag_direct16 so the zigzag pattern is visibleClément Bœsch2017-05-191-4/+8
|
* Merge commit 'b4a911c189962e563a09fb0efaf6fa9ab56263a4'Clément Bœsch2017-05-191-5/+6
|\ | | | | | | | | | | | | * commit 'b4a911c189962e563a09fb0efaf6fa9ab56263a4': mpegvideoenc: make a table const Merged-by: Clément Bœsch <u@pkh.me>
| * mpegvideoenc: make a table constAnton Khirnov2017-01-191-5/+6
| |
| * mpegvideo: cosmetics: Lowercase ugly uppercase MPV_ function name prefixesDiego Biurrun2014-08-151-1/+1
| |
* | avcodec/x86/mpegvideoenc: silence -Wunused-function on --disable-mmxGanesh Ajjanagadde2015-09-191-0/+4
| | | | | | | | | | | | | | | | This silences -Wunused-function when compiled with --disable-mmx, e.g http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '391ecc961ced2bde7aecb3053ac35191f838fae8'Michael Niedermayer2014-07-041-15/+15
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '391ecc961ced2bde7aecb3053ac35191f838fae8': x86: mpegvideoenc: Change SIMD optimization name suffixes to lowercase Conflicts: libavcodec/x86/mpegvideoenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: mpegvideoenc: Change SIMD optimization name suffixes to lowercaseDiego Biurrun2014-07-031-15/+15
| |
* | Fix compilation with !HAVE_6REGS.Carl Eugen Hoyos2014-04-191-2/+10
| | | | | | | | | | Can be tested with: $ ./configure --cc='cc -m32' --disable-optimizations --enable-pic
* | Merge commit 'b42f49e42f8cde25a788b2d13d03e99ca2956647'Michael Niedermayer2014-04-051-1/+0
|\ \ | |/ | | | | | | | | | | * commit 'b42f49e42f8cde25a788b2d13d03e99ca2956647': x86: dsputil: Eliminate some unnecessary dsputil_x86.h #includes Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: Eliminate some unnecessary dsputil_x86.h #includesDiego Biurrun2014-04-041-1/+0
| |
* | Merge commit 'dfc50ac85e9d68a771b556297b7c411650206f3b'Michael Niedermayer2013-12-201-2/+118
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'dfc50ac85e9d68a771b556297b7c411650206f3b': x86: mpegvideo: move denoise_dct asm to mpegvideoenc Conflicts: libavcodec/x86/mpegvideo.c libavcodec/x86/mpegvideoenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: mpegvideo: move denoise_dct asm to mpegvideoencAnton Khirnov2013-12-201-2/+118
| | | | | | | | | | | | This function is encoding-only. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-12-021-1/+6
|\ \ | |/ | | | | | | | | | | | | | | | | * qatar/master: dsputil: x86: Move ff_inv_zigzag_direct16 table init to mpegvideo If someone optimizes dct_quantize for non x86 SIMD, then this probably needs to be reverted. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: x86: Move ff_inv_zigzag_direct16 table init to mpegvideoDiego Biurrun2013-12-021-1/+6
| | | | | | | | The table is MMX-specific and used nowhere else.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-07-181-5/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Consistently use "cpu_flags" as variable/parameter name for CPU flags Conflicts: libavcodec/x86/dsputil_init.c libavcodec/x86/h264dsp_init.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/motion_est.c libavcodec/x86/mpegvideo.c libavcodec/x86/proresdsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Consistently use "cpu_flags" as variable/parameter name for CPU flagsDiego Biurrun2013-07-181-5/+5
| |
* | Merge commit '1399931d07f0f37ef4526eb8d39d33c64e09618a'Michael Niedermayer2013-05-141-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '1399931d07f0f37ef4526eb8d39d33c64e09618a': x86: dsputil: Rename dsputil_mmx.h --> dsputil_x86.h Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: Rename dsputil_mmx.h --> dsputil_x86.hDiego Biurrun2013-05-121-1/+1
| | | | | | | | The header is not (anymore) MMX-specific.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-04-231-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | * qatar/master: x86: Move some conditional code around to avoid unused variable warnings Conflicts: libavcodec/x86/dsputil_mmx.c libavfilter/x86/vf_yadif_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: Move some conditional code around to avoid unused variable warningsDiego Biurrun2013-04-221-1/+1
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-02-091-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * qatar/master: dsputil: Move fdct function declarations to dct.h Conflicts: libavcodec/dsputil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move fdct function declarations to dct.hDiego Biurrun2013-02-091-1/+1
| |
* | Merge commit '620289a20e022b9c16c10d546ef86cc0bb77cc84'Michael Niedermayer2013-02-061-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '620289a20e022b9c16c10d546ef86cc0bb77cc84': sh4: Fix silly type vs. variable name search and replace typo configure: Group all hwaccels together in a separate variable Add av_cold attributes to arch-specific init functions Conflicts: configure libavcodec/arm/mpegvideo_armv5te.c libavcodec/x86/mlpdsp.c libavcodec/x86/motion_est.c libavcodec/x86/mpegvideoenc.c libavcodec/x86/videodsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add av_cold attributes to arch-specific init functionsDiego Biurrun2013-02-051-1/+2
| |
* | Merge commit 'fa8fcab1e0d31074c0644c4ac5194474c6c26415'Michael Niedermayer2012-11-011-3/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'fa8fcab1e0d31074c0644c4ac5194474c6c26415': x86: h264_chromamc_10bit: drop pointless PAVG %define x86: mmx2 ---> mmxext in function names swscale: do not forget to swap data in formats with different endianness Conflicts: libavcodec/x86/dsputil_mmx.c libavfilter/x86/gradfun.c libswscale/input.c libswscale/utils.c libswscale/x86/swscale.c tests/ref/lavfi/pixfmts_scale Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: mmx2 ---> mmxext in function namesDiego Biurrun2012-10-311-3/+3
| |
* | mpegvideo: factorize ff_dct_encode_init()Michael Niedermayer2012-09-251-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-091-4/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swscale: Provide the right alignment for external mmx asm x86: Replace checks for CPU extensions and flags by convenience macros configure: msvc: fix/simplify setting of flags for hostcc x86: mlpdsp: mlp_filter_channel_x86 requires inline asm Conflicts: libavcodec/x86/fft_init.c libavcodec/x86/h264_intrapred_init.c libavcodec/x86/h264dsp_init.c libavcodec/x86/mpegaudiodec.c libavcodec/x86/proresdsp_init.c libavutil/x86/float_dsp_init.c libswscale/utils.c libswscale/x86/swscale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: Replace checks for CPU extensions and flags by convenience macrosDiego Biurrun2012-09-081-4/+5
| | | | | | | | | | This separates code relying on inline from that relying on external assembly and fixes instances where the coalesced check was incorrect.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-311-18/+12
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: MSS1 and MSS2: set final pixel format after common stuff has been initialised MSS2 decoder configure: handle --disable-asm before check_deps x86: Split inline and external assembly #ifdefs configure: x86: Separate inline from standalone assembler capabilities pktdumper: Use a custom define instead of PATH_MAX for buffers pktdumper: Use av_strlcpy instead of strncpy pktdumper: Use sizeof(variable) instead of the direct buffer length Conflicts: Changelog configure libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/dct-test.c libavcodec/imgconvert.c libavcodec/mss12.c libavcodec/version.h libavfilter/x86/gradfun.c libswscale/x86/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: Split inline and external assembly #ifdefsDiego Biurrun2012-08-311-18/+12
| |
* | Merge commit 'ec36aa69448f20a78d8c4588265022e0b2272ab5'Michael Niedermayer2012-08-311-10/+20
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ec36aa69448f20a78d8c4588265022e0b2272ab5': x86: Fix linking with some or all of yasm, mmx, optimizations disabled configure: Add more fine-grained SSE CPU capabilities flags avfilter: x86: Use more precise compile template names x86: cosmetics: Comment some #endifs for better readability g723_1: add comfort noise generation utvideoenc: Switch to dsputils' median prediction utvideoenc: Avoid writing into the input picture avtools: remove the distinction between func_arg and func2_arg. avconv: make the -passlogfile option per-stream. avconv: make the -pass option per-stream. cmdutils: make -codecs print lossy/lossless flags. lavc: add lossy/lossless codec properties. Conflicts: Changelog cmdutils.c configure doc/APIchanges ffmpeg.h ffmpeg_opt.c ffprobe.c libavcodec/codec_desc.c libavcodec/g723_1.c libavcodec/utvideoenc.c libavcodec/version.h libavcodec/x86/mpegaudiodec.c libavcodec/x86/rv40dsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: Fix linking with some or all of yasm, mmx, optimizations disabledDiego Biurrun2012-08-301-10/+20
| | | | | | | | | | Some optimized template functions reference optimized symbols, so they must be explicitly disabled when those symbols are unavailable.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-291-20/+25
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: export filtered -lz flag in config.mak build: add separate setting for host linker configure: probe_cc: use separate variable for linker output flag x86: Always compile files with functions that are called unconditionally x86: mpegvideoenc: fix linking with --disable-mmx x86: mpegvideoenc: Do not abuse HAVE_ variables for template instantiation Conflicts: Makefile configure libavcodec/x86/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: mpegvideoenc: fix linking with --disable-mmxDiego Biurrun2012-08-291-3/+3
| | | | | | | | | | | | The optimized dct_quantize template functions reference optimized fdct symbols, so these functions must only be enabled if the relevant optimizations have been enabled by configure.
| * x86: mpegvideoenc: Do not abuse HAVE_ variables for template instantiationDiego Biurrun2012-08-291-17/+22
| | | | | | | | This avoids trouble if HAVE_ variables are used elsewhere in the file.
* | Merge commit 'a1bcc76e6036e78f25cbb7323c145056cfca9d93'Michael Niedermayer2012-08-241-4/+4
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a1bcc76e6036e78f25cbb7323c145056cfca9d93': (21 commits) cmdutils: fix a memleak when specifying an option twice. x86: mpegvideo: more sensible names for optimization file and init function x86: mpegvideoenc: Split optimizations off into a separate file dnxhdenc: x86: more sensible names for optimization file and init function svq1/svq3: Move common code out of SVQ1 decoder-specific file dirac: add Comments and references to the standard lavr: x86: optimized 6-channel flt to fltp conversion lavr: x86: optimized 2-channel flt to fltp conversion lavr: x86: optimized 6-channel flt to s16p conversion lavr: x86: optimized 2-channel flt to s16p conversion lavr: x86: optimized 6-channel s16 to fltp conversion lavr: x86: optimized 2-channel s16 to fltp conversion lavr: x86: optimized 6-channel s16 to s16p conversion lavr: x86: optimized 2-channel s16 to s16p conversion lavr: x86: optimized 2-channel fltp to flt conversion lavr: x86: optimized 6-channel fltp to s16 conversion lavr: x86: optimized 2-channel fltp to s16 conversion lavr: x86: optimized 6-channel s16p to flt conversion lavr: x86: optimized 2-channel s16p to flt conversion lavr: x86: optimized 6-channel s16p to s16 conversion ... Conflicts: libavcodec/dirac.c libavcodec/mpegvideo.h libavcodec/x86/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
* x86: mpegvideoenc: Split optimizations off into a separate fileDiego Biurrun2012-08-241-0/+96