summaryrefslogtreecommitdiff
path: root/libavcodec/h264_cavlc.c
Commit message (Collapse)AuthorAge
* 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
* Check level_prefix a bit (this just checks the max our bitreader can handle,Michael Niedermayer2010-03-10
| | | | | | | as i did nt find a limit in the spec) This should stop cavlc_decode_residual() on a zero bitstream Originally committed as revision 22429 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove some unneeded fill_rectangle() for 16x16 blocks.Michael Niedermayer2010-02-28
| | | | Originally committed as revision 22124 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
* 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
* Branchless setting of MB_TYPE_8x8DCT.Michael Niedermayer2010-01-24
| | | | | | Not benchmarked as i failed to find a sample that uses this one. But it should be faster. Originally committed as revision 21435 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove cruft.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21434 to svn://svn.ffmpeg.org/ffmpeg/trunk
* a[b-1] -> (a-1)[b].Michael Niedermayer2010-01-24
| | | | | | Helps gcc not to add seperate -1 instructions. Originally committed as revision 21432 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize suffix_length computation, 1 cpu cycle speedup.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21431 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify suffix_length computation, same speed.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize level_code computation, 6cpu cycles speedup.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21428 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1 cpu cycle faster suffix_length calculation.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21425 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move dquant check into qscale overflow check.Michael Niedermayer2010-01-21
| | | | | | | This should be faster (couldnt meassue a difference), and its less picky on slightly out of spec dquant. Originally committed as revision 21373 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge multiple IS_* macro uses where possible.Michael Niedermayer2010-01-20
| | | | Originally committed as revision 21340 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with -O0.Michael Niedermayer2010-01-18
| | | | Originally committed as revision 21308 to svn://svn.ffmpeg.org/ffmpeg/trunk
* filter_mb_fast needs cbp_table to be set.Michael Niedermayer2010-01-18
| | | | Originally committed as revision 21290 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
* Move golomb_to_int*cbp tables back to h264_data.h as svq3.c used them.Michael Niedermayer2010-01-13
| | | | | | Yes i did compile&test, no svq3.c was not recompiled. Originally committed as revision 21180 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split cavlc out of h264.c.Michael Niedermayer2010-01-13
Seems to speed the code up a little... The placement of many generic functions between h264.c and h264.h is still open Currently they are a little randomly placed between them. Originally committed as revision 21178 to svn://svn.ffmpeg.org/ffmpeg/trunk