summaryrefslogtreecommitdiff
path: root/libavcodec/h264_cabac.c
Commit message (Collapse)AuthorAge
* get rid of an if() 1 cpu cycle faster.Michael Niedermayer2010-02-19
| | | | Originally committed as revision 21889 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of a local variable, 10 cpu cycles faster.Michael Niedermayer2010-02-19
| | | | Originally committed as revision 21888 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move abs() from decode_cabac_mb_mvd() to the code that writes mvd_cache.Michael Niedermayer2010-02-18
| | | | | | 4-8 cycles faster Originally committed as revision 21887 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Speedup decode_cabac_field_decoding_flag() by 9 cpu cycles.Michael Niedermayer2010-02-18
| | | | Originally committed as revision 21875 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move check for and call of predict_field_decoding_flag() from the mb code toMichael Niedermayer2010-02-17
| | | | | | the row code. This function would only be needed on a MB basis for MBAFF+FMO Originally committed as revision 21860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 2x faster ff_h264_init_cabac_states(), 4k cpu cycles less.Michael Niedermayer2010-02-16
| | | | | | Sadly this is just per slice so the speedup with normal files should be negligible. Originally committed as revision 21859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 2 cpu cycles faster context calculation for decode_cabac_intra_mb_type()Michael Niedermayer2010-02-16
| | | | Originally committed as revision 21845 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop a few redundant slice_num checks.Michael Niedermayer2010-02-16
| | | | Originally committed as revision 21844 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop compute_mb_neighbors() and move fill_decode_neighbors() up to take itsMichael Niedermayer2010-02-15
| | | | | | | role. Should be faster as this is a strict code removial. Originally committed as revision 21843 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split setting neighboring MBs from fill_decode_caches()Michael Niedermayer2010-02-15
| | | | | | no speed change. Originally committed as revision 21842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify decode_cabac_mb_intra4x4_pred_mode().Michael Niedermayer2010-02-15
| | | | | | same speed Originally committed as revision 21839 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge decode_cabac_mb_type_b() into calling code.Michael Niedermayer2010-02-15
| | | | | | This avoids a conditional branch and is about 3 cpu cyclues faster. Originally committed as revision 21838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge the single line function decode_cabac_mb_transform_size()Michael Niedermayer2010-02-15
| | | | | | | into the calling code. 8 cpu cycles faster Originally committed as revision 21828 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2010-02-14
| | | | Originally committed as revision 21827 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge decode_cabac_mb_dqp() with surronding code.Michael Niedermayer2010-02-14
| | | | | | ~20 cpu cycles faster Originally committed as revision 21826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set sub_mb_type in direct_cache instead of just the direct flag.Michael Niedermayer2010-02-14
| | | | | | Simpler, cleaner and faster. Originally committed as revision 21822 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store sub_mb_type in direct_cache/direct_table.Michael Niedermayer2010-02-14
| | | | | | This is equal complexity but could be more usefull. Originally committed as revision 21821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove slice_table checks from decode_cabac_mb_cbp_luma() and set ↵Michael Niedermayer2010-02-14
| | | | | | | | left/top_cbp so these checks arent needed. Originally committed as revision 21819 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize decode_cabac_field_decoding_flag().Michael Niedermayer2010-01-25
| | | | | | ~4 cpu cycles faster Originally committed as revision 21447 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetic, get rid of &x[0]Michael Niedermayer2010-01-18
| | | | Originally committed as revision 21309 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split fill_caches() between filter and decoder.Michael Niedermayer2010-01-17
| | | | Originally committed as revision 21271 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rearchitecturing the stiched up goose part 1Michael Niedermayer2010-01-17
| | | | | | | | | | | Run loop filter per row instead of per MB, this also should make it much easier to switch to per frame filtering and also doing so in a seperate thread in the future if some volunteer wants to try. Overall decoding speedup of 1.7% (single thread on pentium dual / cathedral sample) This change also allows some optimizations to be tried that would not have been possible before. Originally committed as revision 21270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace cabac checks in inline functions from h264.h with constants.Michael Niedermayer2010-01-16
| | | | | | | No benchmark because its just replacing variables with litteral constants (so no risk for slowdown outside gcc silliness) and i need sleep. Originally committed as revision 21237 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split cabac decoding code out of h264.c.Michael Niedermayer2010-01-13
not slower according to benchmarks. Originally committed as revision 21181 to svn://svn.ffmpeg.org/ffmpeg/trunk