summaryrefslogtreecommitdiff
path: root/libavcodec/x86/h264_intrapred_init.c
Commit message (Collapse)AuthorAge
* Update Fiona's name in copyright statements.Diego Biurrun2014-07-01
|
* On2 VP7 decoderPeter Ross2014-04-04
| | | | | | | | | Further performance improvements and security fixes by Vittorio Giovara, Luca Barbato and Diego Biurrun. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264: do not use 422 functions for monochromeAnton Khirnov2014-01-06
| | | | | | | Fixes invalid memory access. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* Consistently use "cpu_flags" as variable/parameter name for CPU flagsDiego Biurrun2013-07-18
|
* Add av_cold attributes to arch-specific init functionsDiego Biurrun2013-02-05
|
* Drop DCTELEM typedefDiego Biurrun2013-01-22
| | | | | | It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* x86: mmx2 ---> mmxext in asm constructsDiego Biurrun2012-11-14
|
* Use ptrdiff_t instead of int for intra pred "stride" function parameter.Ronald S. Bultje2012-10-29
| | | | | This way, SIMD-optimized functions don't have to sign-extend their stride argument manually to be able to do pointer arithmetic.
* x86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes.Ronald S. Bultje2012-10-29
|
* Remove usage of INIT_AVX in h264_intrapred_10bit.asm.Ronald S. Bultje2012-10-29
| | | | | | | Replace INIT_AVX by INIT_XMM avx. Port the whole file to use cpuflag based function declarations. Remove (now unused) cputype argument in function declaration macros. Change function prototypes to have mmx2 instead of mmxext as suffix, since that's required by cpuflags.
* x86: Replace checks for CPU extensions and flags by convenience macrosDiego Biurrun2012-09-08
| | | | | This separates code relying on inline from that relying on external assembly and fixes instances where the coalesced check was incorrect.
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* x86: build: replace mmx2 by mmxextDiego Biurrun2012-08-03
| | | | | | | Refactoring mmx2/mmxext YASM code with cpuflags will force renames. So switching to a consistent naming scheme beforehand is sensible. The name "mmxext" is more official and widespread and also the name of the CPU flag, as reported e.g. by the Linux kernel.
* x86: h264_intrapred: port to cpuflag macrosDiego Biurrun2012-07-05
|
* x86: Only use optimizations with cmov if the CPU supports the instructionDiego Biurrun2012-06-23
|
* h264: 4:2:2 intra decoding supportBaptiste Coudurier2011-10-21
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* x86: Move some variable declarations below the appropriat #ifdef.Diego Biurrun2011-10-20
| | | | This avoids some unused variable warnings with YASM disabled.
* H.264: Add optimizations to predict x86 assembly.Daniel Kang2011-07-22
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* H.264: Add more x86 assembly for 10-bit H.264 predict functionsDaniel Kang2011-07-13
| | | | | | | | Mainly ported from 8-bit H.264 predict. Some code ported from x264. LGPL ok by author. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* H.264: Add x86 assembly for 10-bit H.264 predict functionsDaniel Kang2011-07-08
| | | | | | | | Mainly ported from 8-bit H.264 predict. Some code ported from x264. LGPL ok by author. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* H264: x86 predict init cosmetics.Daniel Kang2011-06-08
| | | | | | Change indentation and whitespace; also move HAVE_YASM blocks. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Add x86 assembly for some 10-bit H.264 intra predict functions.Daniel Kang2011-06-06
| | | | | | | Parts are inspired from the 8-bit H.264 predict code in Libav. Other parts ported from x264 with relicensing permission from author. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264: remove CONFIG_GPL from x86 intra prediction code.Ronald S. Bultje2011-06-02
| | | | | The authors permitted relicensing to LGPL a long time ago (Holger, Loren and Jason).
* Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 ↵Oskar Arvidsson2011-05-10
| | | | | | | | | | | | | | | | | decoder. This patch lets e.g. dsputil_init chose dsp functions with respect to the bit depth to decode. The naming scheme of bit depth dependent functions is <base name>_<bit depth>[_<prefix>] (i.e. the old clear_blocks_c is now named clear_blocks_8_c). Note: Some of the functions for high bit depth is not dependent on the bit depth, but only on the pixel size. This leaves some room for optimizing binary size. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Port pred8x8l_down_left_mmxext (H.264 intra prediction) from x264 (authors:Daniel Kang2010-12-29
| | | | | | | Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26162 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred4x4_down_right_mmxext (H.264 intra prediction) from x264 (authors:Daniel Kang2010-12-29
| | | | | | | Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26159 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred4x4_vertical_right_mmxext (H.264 intra prediction) from x264 (authors:Daniel Kang2010-12-29
| | | | | | | Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26158 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred4x4_horizontal_down_mmxext (H.264 intra prediction) from x264Daniel Kang2010-12-29
| | | | | | | (authors:Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26157 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred4x4_horizontal_up_mmxext (H.264 intra prediction) from x264 (authors:Daniel Kang2010-12-29
| | | | | | | Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26156 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred4x4_vertical_left_mmxext (H.264 intra prediction) from x264 (authors:Daniel Kang2010-12-29
| | | | | | | Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26155 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Whitespace cosmetics.Ronald S. Bultje2010-12-29
| | | | Originally committed as revision 26152 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_horizontal_down_sse2/ssse3 (H.264 intra prediction) from x264Daniel Kang2010-12-29
| | | | | | | (authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26151 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_horizontal_down_mmxext (H.264 intra prediction) from x264Daniel Kang2010-12-29
| | | | | | | (authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26150 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_horizontal_up_mmxext/ssse3 (H.264 intra prediction) from x264Daniel Kang2010-12-29
| | | | | | | (authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26149 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_vertical_left_sse2/ssse3 (H.264 intra prediction) from x264Daniel Kang2010-12-29
| | | | | | | (authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26148 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_vertical_right_sse2/ssse3 (H.264 intra prediction) from x264Daniel Kang2010-12-29
| | | | | | | (authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26147 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_vertical_right_mmxext (H.264 intra prediction) from x264Daniel Kang2010-12-29
| | | | | | | (authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26146 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_down_right_sse2/ssse3 (H.264 intra prediction) from x264Daniel Kang2010-12-29
| | | | | | | (authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26145 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_down_right_mmxext (H.264 intra prediction) from x264 (authors:Daniel Kang2010-12-29
| | | | | | | Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26143 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_down_left_sse2/ssse3 (H.264 intra prediction) from x264 (authors:Daniel Kang2010-12-29
| | | | | | | Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26142 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_vertical_mmxext/ssse3 (H.264 intra prediction) from x264 toDaniel Kang2010-12-29
| | | | | | | | | | FFmpeg. Original authors: Holger Lubitz <holger lubitz org>, Jason Garrett- Glaser <darkshikari gmail com> (approves LGPL relicensing for this code) and Loren Merritt <lorenm at u dot washington dot edu> (approves LGPL relicensing for this code). Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26140 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_horizontal_mmxext/ssse3 (H.264 intra prediction) from x264 toDaniel Kang2010-12-29
| | | | | | | | | | FFmpeg. Original authors: Holger Lubitz <holger lubitz org>, Jason Garrett- Glaser <darkshikari gmail com> (approves LGPL relicensing for this code) and Loren Merritt <lorenm at u dot washington dot edu> (approves LGPL relicensing for this code). Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26139 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_dc_mmx/ssse3 (H.264 intra prediction) from x264 to FFmpeg.Daniel Kang2010-12-29
| | | | | | | | | | Original authors: Holger Lubitz <holger lubitz org>, Jason Garrett-Glaser <darkshikari gmail com> (approves LGPL relicensing for this code) and Loren Merritt <lorenm at u dot washington dot edu> (approves LGPL relicensing for this code). Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26138 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8l_top_dc_mmxext/ssse3 (H.264 intra prediction) from x264 to FFmpeg.Daniel Kang2010-12-29
| | | | | | | | | | Original authors: Holger Lubitz <holger lubitz org>, Jason Garrett-Glaser <darkshikari gmail com> (approves LGPL relicensing for this code) and Loren Merritt <lorenm at u dot washington dot edu> (approves LGPL relicensing for this code). Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26137 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8_dc_mmxext (H.264 intra prediction) from x264 to FFmpeg. OriginalRonald S. Bultje2010-12-29
| | | | | | | | | | authors: Holger Lubitz <holger lubitz org>, Jason Garrett-Glaser <darkshikari gmail com> (approves LGPL relicensing for this code) and Loren Merritt <lorenm at u dot washington dot edu> (approves LGPL relicensing for this code). Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26135 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred8x8_top_dc_mmxext (H.264 intra prediction) from x264 to FFmpeg.Daniel Kang2010-12-29
| | | | | | | | | | Original authors: Holger Lubitz <holger lubitz org>, Jason Garrett-Glaser <darkshikari gmail com> (approves LGPL relicensing for this code) and Loren Merritt <lorenm at u dot washington dot edu> (approves LGPL relicensing for this code). Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26132 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark recently added pred4x4_down_left_mmxext as CONFIG_GPL. Although HolgerRonald S. Bultje2010-12-29
| | | | | | | | initially said he'd be OK with relicensing, he also said he wanted to have another look at the patch, and then he went on vacation, so let's play it safe for now. We can consider removing this again later. Originally committed as revision 26131 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port pred4x4_down_left_mmxext (H.264 intra prediction) from x264 to FFmpeg.Daniel Kang2010-12-24
| | | | | | | | | LGPL relicensing approved by original authors: Holger Lubitz <holger lubitz org>, Jason Garrett-Glaser <darkshikari gmail com> and Loren Merritt <lorenm at u dot washington dot edu>. Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI 2010. Originally committed as revision 26087 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MMX, MMX2, SSE2 and SSSE3 optimizations for pred16x16/8x8_plane H264 intraRonald S. Bultje2010-10-05
| | | | | | | prediction (plus some with different rounding for svq3/rv40). Speedup (for SSSE3) about ~6-fold, 3.6% faster overall with cathedral sample. Originally committed as revision 25361 to svn://svn.ffmpeg.org/ffmpeg/trunk