summaryrefslogtreecommitdiff
path: root/libavcodec/h264_loopfilter.c
Commit message (Collapse)AuthorAge
* avcodec: Drop silly and/or broken printf debug outputDiego Biurrun2012-10-01
|
* cosmetics: Move static and inline attributes to more standard places.Diego Biurrun2012-01-14
| | | | Fixes several "‘static’ is not at beginning of declaration" warnings.
* 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>
* H.264: add filter_mb_fast support for >8-bit decodingJason Garrett-Glaser2011-07-11
| | | | Much faster high bit depth deblocking.
* H.264: avoid redundant alpha/beta calculations in loopfilterJason Garrett-Glaser2011-07-11
|
* H.264: optimize intra/inter loopfilter decisionJason Garrett-Glaser2011-07-11
|
* Eliminate FF_COMMON_FRAME macro.Diego Biurrun2011-07-11
| | | | | FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
* H.264: fix filter_mb_fast with 4:4:4 + 8x8dctJason Garrett-Glaser2011-07-09
|
* H.264: improve qp_thresh checkJason Garrett-Glaser2011-07-08
| | | | Eliminate redundant check in filter_mb_fast, consider bit depth in calculating qp_thresh.
* H.264: make loopfilter bS const where applicableJason Garrett-Glaser2011-07-05
|
* H.264: template left MB handlingJason Garrett-Glaser2011-07-03
| | | | Faster H.264 decoding with ALLOW_INTERLACE off.
* H.264: make filter_mb_fast support the case of unavailable top mbJason Garrett-Glaser2011-07-03
| | | | Significantly faster deblocking in streams with lots of slices.
* H.264: make filter_mb_fast support 4:4:4Jason Garrett-Glaser2011-06-26
|
* H.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFFJason Garrett-Glaser2011-06-22
|
* H.264: fix 4:4:4 + deblocking + MBAFFJason Garrett-Glaser2011-06-22
|
* H.264: fix CODEC_FLAG_GRAYJason Garrett-Glaser2011-06-13
| | | | It was broken in 4:4:4, and still did chroma deblocking for no reason in 4:2:0.
* 4:4:4 H.264 decoding supportJason Garrett-Glaser2011-06-13
| | | | Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264.
* Roll back 4:4:4 H.264 for nowJason Garrett-Glaser2011-06-13
| | | | Needs some ARM/PPC asm modifications.
* H.264: fix CODEC_FLAG_GRAYJason Garrett-Glaser2011-06-13
| | | | It was broken in 4:4:4, and still did chroma deblocking for no reason in 4:2:0.
* 4:4:4 H.264 decoding supportJason Garrett-Glaser2011-06-13
| | | | Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264.
* Add the notion of pixel size in h264 related functions.Oskar Arvidsson2011-05-10
| | | | | | | | | | In high bit depth the pixels will not be stored in uint8_t like in the normal case, but in uint16_t. The pixel size is thus 1 in normal bit depth and 2 in high bit depth. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Make the h264 loop filter bit depth aware.Oskar Arvidsson2011-05-10
| | | | | | Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* h264: DSP'ize MBAFF loopfilter.Ronald S. Bultje2011-05-10
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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
* Move H264 dsputil functions into their own structMåns Rullgård2010-03-16
| | | | | | | | | | | This moves the H264-specific functions from DSPContext to the new H264DSPContext. The code is made conditional on CONFIG_H264DSP which is set by the codecs requiring it. The qpel and chroma MC functions are not moved as these are used by non-h264 code. Originally committed as revision 22565 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-06
| | | | | | | These macros are redundant. All uses are replaced with the generic DECLARE_ALIGNED macro instead. Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H264: use alias-safe macrosMåns Rullgård2010-02-18
| | | | | | | This eliminates all aliasing violation warnings in h264 code. No measurable speed difference with gcc-4.4.3 on i7. Originally committed as revision 21881 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use LOCAL_ALIGNED macro for local arraysMåns Rullgård2010-02-17
| | | | Originally committed as revision 21866 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264: Remove unused variables.Alexander Strange2010-02-13
| | | | Originally committed as revision 21815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix CAVLC+8x8DCT+MBAFF loopfiltering.Michael Niedermayer2010-02-07
| | | | | | Fixes issue1250 Originally committed as revision 21665 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of a check in one direction that cant be true in it in that partMichael Niedermayer2010-01-31
| | | | | | | of the code. No meassureable speed change. Originally committed as revision 21566 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split first reference list comparission from mv comparission.Michael Niedermayer2010-01-30
| | | | | | about 0.5% faster MBAFF loop filtering Originally committed as revision 21552 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace h->left_type[0] by the local variable for it we have.Michael Niedermayer2010-01-30
| | | | | | No meassureable speed effect. Originally committed as revision 21541 to svn://svn.ffmpeg.org/ffmpeg/trunk
* slightly faster bit trickery.Michael Niedermayer2010-01-30
| | | | Originally committed as revision 21540 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace ?: by branchless code.Michael Niedermayer2010-01-30
| | | | | | about 0.5% faster loop filtering Originally committed as revision 21539 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize first filter call out, this makes the code somewhatMichael Niedermayer2010-01-28
| | | | | | smaller without any speed loss. Originally committed as revision 21514 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change wraper functions to always inline, they are faster now that way.Michael Niedermayer2010-01-28
| | | | | | 1% faster MBAFF decoding overall, maybe ~0.1% faster for the cathedral sample. Originally committed as revision 21507 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2010-01-28
| | | | Originally committed as revision 21506 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Restructure check_mv()Michael Niedermayer2010-01-28
| | | | | | ~20 cpu cycles faster loopfilter Originally committed as revision 21505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Restructure if() in check_mv()Michael Niedermayer2010-01-28
| | | | | | quite a bit faster Originally committed as revision 21504 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Unroll loops in check_mv()Michael Niedermayer2010-01-28
| | | | | | ~6% faster (slow path) loopfilter (should be ~2% overall) Originally committed as revision 21503 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factor mv/ref compare code out.Michael Niedermayer2010-01-28
| | | | | | | | This is a hair slower (0.15% maybe) but i really dont want to have the identical code duplicated 3 times because gcc adds odd threaded jumps with register reshuffling and register safe/restore. Originally committed as revision 21502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify first edge filter condition.Michael Niedermayer2010-01-28
| | | | Originally committed as revision 21497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics, mostly indention, 2 or so new fixme comments that i was to lazyMichael Niedermayer2010-01-28
| | | | | | to split out Originally committed as revision 21496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the fast loop filter path work with unavailable left MBs.Michael Niedermayer2010-01-28
| | | | | | | | This prevents the issue with having to switch between slow and fast code paths in each row. 0.5% faster loopfilter for cathedral Originally committed as revision 21495 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get rid of the start variable.Michael Niedermayer2010-01-28
| | | | | | a few cycles faster Originally committed as revision 21494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Unroll main loop so the edge==0 case is seperate.Michael Niedermayer2010-01-28
| | | | | | | | | | This allows many things to be simplified away. h264 decoder is overall 1% faster with a mbaff sample and 0.1% slower with the cathedral sample, probably because the slow loop filter code must be loaded into the code cache for each first MB of each row but isnt used for the following MBs. Originally committed as revision 21493 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update comment.Michael Niedermayer2010-01-27
| | | | Originally committed as revision 21479 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use table to speedup access to non_zero_count in MBAFF with differing ↵Michael Niedermayer2010-01-27
| | | | | | | | interlacing. ~4 cpu cycles speedup Originally committed as revision 21474 to svn://svn.ffmpeg.org/ffmpeg/trunk