projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
298e52c
)
H.264: use fill_rectangle in CABAC decoding
author
Jason Garrett-Glaser
<jason@x264.com>
Wed, 6 Jul 2011 20:25:13 +0000
(13:25 -0700)
committer
Jason Garrett-Glaser
<jason@x264.com>
Fri, 8 Jul 2011 23:12:39 +0000
(16:12 -0700)
libavcodec/h264_cabac.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_cabac.c
b/libavcodec/h264_cabac.c
index 6dacf7a3366d6d1aaa4ec3cb2098a8d63949f5b0..390a7b6587e1bda115ea7bed988a9c84efdcc55b 100644
(file)
--- a/
libavcodec/h264_cabac.c
+++ b/
libavcodec/h264_cabac.c
@@
-1818,8
+1818,7
@@
static av_always_inline void decode_cabac_luma_residual( H264Context *h, const u
}
}
} else {
- uint8_t * const nnz= &h->non_zero_count_cache[ scan8[4*i8x8+16*p] ];
- nnz[0] = nnz[1] = nnz[8] = nnz[9] = 0;
+ fill_rectangle(&h->non_zero_count_cache[scan8[4*i8x8+16*p]], 2, 2, 8, 0, 1);
}
}
}