summaryrefslogtreecommitdiff
path: root/libavcodec/h264pred.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264: aarch64: intra prediction optimisationsJanne Grunau2015-07-20
|
* Remove a number of unnecessary dsputil.h #includesDiego Biurrun2014-04-04
|
* 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>
* dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl namesDiego Biurrun2014-03-13
| | | | Also switch from "tbl" to "tab" name suffixes.
* 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
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* h264pred: Add a few missing const declarations for ff_cropTbl derived pointersMartin Storsjö2013-04-08
| | | | | | | | The pointers that get assigned ff_cropTbl were made const in 9e0f14f1, but other variables that transitively are assigned based on these variables were missed. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Make pointers to ff_cropTbl constMartin Storsjö2013-04-08
| | | | | | There's no point in these pointers not being const. Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove unnecessary dsputil.h #includesDiego Biurrun2013-02-26
|
* h264: deMpegEncContextizeAnton Khirnov2013-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the changes are just trivial are just trivial replacements of fields from MpegEncContext with equivalent fields in H264Context. Everything in h264* other than h264.c are those trivial changes. The nontrivial parts are: 1) extracting a simplified version of the frame management code from mpegvideo.c. We don't need last/next_picture anymore, since h264 uses its own more complex system already and those were set only to appease the mpegvideo parts. 2) some tables that need to be allocated/freed in appropriate places. 3) hwaccels -- mostly trivial replacements. for dxva, the draw_horiz_band() call is moved from ff_dxva2_common_end_frame() to per-codec end_frame() callbacks, because it's now different for h264 and MpegEncContext-based decoders. 4) svq3 -- it does not use h264 complex reference system, so I just added some very simplistic frame management instead and dropped the use of ff_h264_frame_start(). Because of this I also had to move some initialization code to svq3. Additional fixes for chroma format and bit depth changes by Janne Grunau <janne-libav@jannau.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* 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: call most of the x86 dsp init functions under if (ARCH_X86)Janne Grunau2012-10-08
| | | | Rename the called dsp init functions to *_init_x86.
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Support for lossless and inter H264 4:2:2.Ronald S. Bultje2011-10-21
|
* 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>
* h264pred: use unsigned types for pixel values, fix signed overflowsMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* h264pred: remove unused variablesMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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>
* Move the functions in h264pred.c into a new file h264pred_template.c.Oskar Arvidsson2011-05-10
| | | | | | 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>
* Whitespace cosmetics.Ronald S. Bultje2010-12-29
| | | | Originally committed as revision 26153 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support CODEC_FLAG_EMU_EDGE in VP8 decoder.Ronald S. Bultje2010-12-28
| | | | Originally committed as revision 26117 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add more int packing macros, name them consistentlyMåns Rullgård2010-06-30
| | | | Originally committed as revision 23916 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix linking if MMX is disabled.Stefano Sabatini2010-06-27
| | | | Originally committed as revision 23839 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 16x16 and 8x8c x86 SIMD intra pred functions for VP8 and H.264Jason Garrett-Glaser2010-06-25
| | | | Originally committed as revision 23783 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r23721.Ronald S. Bultje2010-06-22
| | | | Originally committed as revision 23722 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename PACK4x8() to PACK4UINT8().Ronald S. Bultje2010-06-22
| | | | Originally committed as revision 23721 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r23716.Ronald S. Bultje2010-06-22
| | | | Originally committed as revision 23717 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add intra prediction functions for VP8.David Conrad2010-06-22
| | | | | | Patch by David Conrad <lessen42 gmail com> and myself. Originally committed as revision 23716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make "topright" argument to pred4x4() const.David Conrad2010-06-22
| | | | | | Patch by David Conrad <lessen42 gmail com>. Originally committed as revision 23714 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: NEON optimised H264 16x16, 8x8 predMåns Rullgård2009-12-02
| | | | Originally committed as revision 20704 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless assignments, at least one found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18585 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1.6x faster pred*_vertical_add_cLoren Merritt2008-12-18
| | | | Originally committed as revision 16202 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Horizontal and vertical prediction functions needed for new lossless modeMichael Niedermayer2008-12-16
| | | | | | of H.264. Originally committed as revision 16168 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused RV40 spatial intra prediction functionKostya Shishkov2008-12-02
| | | | Originally committed as revision 15979 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support MBAFF + constrained intra prediction.Michael Niedermayer2008-08-11
| | | | | | | | (no i would not have tried to implement this had i known what mess it is) fixes at least: CAMACI3_Sony_C Originally committed as revision 14687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct spatial prediction mode in RV30/40 for vertical left directionKostya Shishkov2007-12-17
| | | | | | and add its version that does not rely on down left neighbour subblock. Originally committed as revision 11252 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move H.264 intra prediction functions into their own contextKostya Shishkov2007-09-05
Originally committed as revision 10397 to svn://svn.ffmpeg.org/ffmpeg/trunk