summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
Commit message (Collapse)AuthorAge
...
* Revert 2a1f431d38ea9c05abb215d70c7dc09cdb6888ab, it broke H264 lossless.Ronald S. Bultje2011-01-20
|
* H.264/SVQ3: make chroma DC work the same way as luma DCJason Garrett-Glaser2011-01-15
| | | | | | | No speed improvement, but necessary for some future stuff. Also opens up the possibility of asm chroma dc idct/dequant. Originally committed as revision 26349 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: switch to x264-style tracking of luma/chroma DC NNZJason Garrett-Glaser2011-01-14
| | | | | | | Useful so that we don't have to run the hierarchical DC iDCT if there aren't any coefficients. Opens up some future opportunities for optimization as well. Originally committed as revision 26337 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: split luma dc idct out and implement MMX/SSE2 versionsJason Garrett-Glaser2011-01-14
| | | | | | | | | | About 2.5x the speed. NOTE: the way that the asm code handles large qmuls is a bit suboptimal. If x264-style dequant was used (separate shift and qmul values), it might be possible to get some extra speed. Originally committed as revision 26336 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_unused to decode_mb_skip declaration to fix the following warning:Eli Friedman2010-07-06
| | | | | | | libavcodec/h264.h:1260: warning: ‘decode_mb_skip’ defined but not used patch by Eli Friedman, eli.friedman gmail com Originally committed as revision 24069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize ff_generate_sliding_window_mmcos() out.Michael Niedermayer2010-07-05
| | | | Originally committed as revision 24056 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
* Cleanup prev commit, flag variable should start with 0Howard Chu2010-05-28
| | | | Originally committed as revision 23364 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Parse avctx->extradata if available.Howard Chu2010-05-28
| | | | | | Fixes many "non-existing PPS referenced" error messages Originally committed as revision 23363 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize ff_h264_decode_extradata().Howard Chu2010-05-26
| | | | | | Patch by Howard Chu, hyc highlandsun com Originally committed as revision 23340 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
* Move static function fill_filter_caches() from h264.h to h264.c.Diego Biurrun2010-04-13
| | | | | | | | The function is only used within that file, so it makes sense to place it there. This fixes many warnings of the type: h264.h:1170: warning: ‘fill_filter_caches’ defined but not used Originally committed as revision 22876 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix implicit weight for b frames in mbaff.Michael Niedermayer2010-03-30
| | | | Originally committed as revision 22733 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace @returns by @return.Benoit Fouet2010-03-30
| | | | Originally committed as revision 22729 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
* H264: fix signed overflow in constant multiplicationMåns Rullgård2010-03-15
| | | | | | This fixes libavcodec/h264.h:1100: warning: integer overflow in expression Originally committed as revision 22558 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
* Port Optimizations about *_type init from decode to filter code.Michael Niedermayer2010-03-04
| | | | | | 1 cpu cycle faster Originally committed as revision 22193 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize *_type init, 1.5 cpu cycles faster.Michael Niedermayer2010-03-04
| | | | Originally committed as revision 22192 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorder indexes in weight tables.Michael Niedermayer2010-03-03
| | | | | | 5 cpu cycles faster. Originally committed as revision 22183 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move all context fields that are not used in the mb and block layersMichael Niedermayer2010-03-03
| | | | | | | to the end of the structure. 4 cpu cycles faster in 3k cpu cycles Originally committed as revision 22181 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unused left_border field from context.Michael Niedermayer2010-03-03
| | | | Originally committed as revision 22179 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Note about luma/chroma_weight tables and their datatype.Michael Niedermayer2010-03-03
| | | | Originally committed as revision 22177 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move svq3 specific fields to the end of the contextMichael Niedermayer2010-03-03
| | | | Originally committed as revision 22171 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge weight & offset tables, 15 cpu cycles faster.Michael Niedermayer2010-03-03
| | | | Originally committed as revision 22169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Another 3 useless zeroing instructions.Michael Niedermayer2010-03-03
| | | | Originally committed as revision 22162 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Load the whole left side of mv&ref only when needed.Michael Niedermayer2010-03-03
| | | | | | 30 cpu cycles faster Originally committed as revision 22161 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge h->slice_table[left_xy[0/1] ] checks, 4 cpu cycles speedupMichael Niedermayer2010-02-27
| | | | Originally committed as revision 22086 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split *_type setting up, 4 cpu cycles faster.Michael Niedermayer2010-02-27
| | | | Originally committed as revision 22085 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only load the topleft mv/ref when the topright is unavailable.Michael Niedermayer2010-02-26
| | | | | | 8 cpu cycles faster. Originally committed as revision 22079 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove some useless operations from the code setting left_cbp.Michael Niedermayer2010-02-26
| | | | | | maybe 0.5 cpu cycles faster Originally committed as revision 22078 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify code to set cbp_*Michael Niedermayer2010-02-26
| | | | | | | | this seems 1 cpu cycle slower even though we practically just remove code. Speed loss seems caused by the merge of if(left_type), iam commiting this anyway as i cant imagine this to be anything but compiler messup. Originally committed as revision 22073 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move init of right side of ref_cache from fill_caches() to ↵Michael Niedermayer2010-02-26
| | | | | | init_the_darn_decoder(). Originally committed as revision 22071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove 3 mv_cache zeroing instructions that zeroed the right side.Michael Niedermayer2010-02-26
| | | | | | This seems unneeded as nothing seems to ever set it to non zero values. Originally committed as revision 22070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless check of the 2 left MBs of a pair being in the same slice.Michael Niedermayer2010-02-26
| | | | Originally committed as revision 22069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unneeded line of code from the neighbor setting code in h264.Michael Niedermayer2010-02-26
| | | | Originally committed as revision 22067 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of mb2b8_xy and b8_stride, change arrays organized based on b8_stride toMichael Niedermayer2010-02-25
| | | | | | | ones based on mb_stride in h264. about 20 cpu cycles faster overall per MB Originally committed as revision 22065 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store data in direct_table interleaved.Michael Niedermayer2010-02-25
| | | | | | seems 20cpu cycles faster Originally committed as revision 22055 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify intra4x4_pred_mode_cache init.Michael Niedermayer2010-02-25
| | | | Originally committed as revision 22054 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorder intra4x4_pred_mode so that we can read/write 4 values at once.Michael Niedermayer2010-02-25
| | | | | | 3-7 cpu cycles faster Originally committed as revision 22053 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store intra4x4_pred_mode per row only.Michael Niedermayer2010-02-25
| | | | | | | | about 5 cpu cycles slower in the local code but should be overall faster due to reduced cache use. (my sample though has too few intra4x4 blocks for this to be meassureable easily either way) Originally committed as revision 22052 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unroll tiny and trivial loop. Same speed but clearer.Michael Niedermayer2010-02-25
| | | | Originally committed as revision 22051 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cut the size of mvd_table by yet another factor of 2.Michael Niedermayer2010-02-25
| | | | | | | The code read/write code itself was 1 cycle faster, overall its likely more due to cache effects Originally committed as revision 22048 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Keep mvd_table values of only 2 mb rows.Michael Niedermayer2010-02-25
| | | | Originally committed as revision 22047 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change mvd_cache & mvd_table to 8bit, this is overall a bit fasterMichael Niedermayer2010-02-24
| | | | | | | for high resolution videos. about 20cycles faster per MB for cathederal. Originally committed as revision 22038 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace /2 by faster >>1 as the mvd values are now all positive.Michael Niedermayer2010-02-24
| | | | Originally committed as revision 22013 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable. Seems i forgot to commit this.Michael Niedermayer2010-02-24
| | | | Originally committed as revision 22012 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable, fixes warnings of the type:Diego Biurrun2010-02-21
| | | | | | libavcodec/h264.h:816: warning: unused variable `mb_xy' Originally committed as revision 21941 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
* Move predict_field_decoding_flag() from h264.h to .c as its only used there ↵Michael Niedermayer2010-02-17
| | | | | | | | and belongs there as well. Originally committed as revision 21861 to svn://svn.ffmpeg.org/ffmpeg/trunk