Mercurial > libavcodec.hg
changeset 11307:eefbe8dadcd2 libavcodec
Merge h->slice_table[left_xy[0/1] ] checks, 4 cpu cycles speedup
author | michael |
---|---|
date | Sat, 27 Feb 2010 04:09:48 +0000 |
parents | c3d8a8eb1a45 |
children | 06e2ff1295bd |
files | h264.h |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.h Sat Feb 27 03:46:16 2010 +0000 +++ b/h264.h Sat Feb 27 04:09:48 2010 +0000 @@ -821,8 +821,7 @@ 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){