[FFmpeg-devel] [PATCH] h264: hl_decode_mb_internal optimisation

Paul Kendall paul
Mon Jul 28 07:51:47 CEST 2008

In the hl_decode_mb_internal function, the access pattern for h->mb is 
seqential, so we can simplify the code to get the value into a local and use 
*mb++ pattern.

Also, we can simplify the copy destination logic by calculating values at 
various parts of the loop rather then for each store action.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264-hl_decode_mb_internal-optimisation.patch
Type: text/x-diff
Size: 1545 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080728/71fbada3/attachment.patch>

More information about the ffmpeg-devel mailing list