[FFmpeg-cvslog] r22086 - trunk/libavcodec/h264.h

michael subversion
Sat Feb 27 05:09:48 CET 2010


Author: michael
Date: Sat Feb 27 05:09:48 2010
New Revision: 22086

Log:
Merge h->slice_table[left_xy[0/1] ] checks, 4 cpu cycles speedup

Modified:
   trunk/libavcodec/h264.h

Modified: trunk/libavcodec/h264.h
==============================================================================
--- trunk/libavcodec/h264.h	Sat Feb 27 04:46:16 2010	(r22085)
+++ trunk/libavcodec/h264.h	Sat Feb 27 05:09:48 2010	(r22086)
@@ -821,8 +821,7 @@ static void fill_decode_neighbors(H264Co
     if(h->slice_table[topleft_xy ] != h->slice_num) h->topleft_type = 0;
     if(h->slice_table[top_xy     ] != h->slice_num) h->top_type     = 0;
     if(h->slice_table[topright_xy] != h->slice_num) h->topright_type= 0;
-    if(h->slice_table[left_xy[0] ] != h->slice_num) h->left_type[0] = 0;
-    if(h->slice_table[left_xy[1] ] != h->slice_num) h->left_type[1] = 0;
+    if(h->slice_table[left_xy[0] ] != h->slice_num) h->left_type[0] = h->left_type[1] = 0;
 }
 
 static void fill_decode_caches(H264Context *h, int mb_type){



More information about the ffmpeg-cvslog mailing list