OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3749076
)
Skip chroma handling when there is no coded chroma.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Dec 2008 00:46:54 +0000
(
00:46
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Dec 2008 00:46:54 +0000
(
00:46
+0000)
0.5% overall speedup for the cathedral sample.
Originally committed as revision 16201 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
1b32645
..
341b9a8
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-2547,7
+2547,7
@@
static av_always_inline void hl_decode_mb_internal(H264Context *h, int simple){
}
}
- if(
simple || !ENABLE_GRAY || !(s->flags&CODEC_FLAG_GRAY
)){
+ if(
(simple || !ENABLE_GRAY || !(s->flags&CODEC_FLAG_GRAY)) && (h->cbp&0x30
)){
uint8_t *dest[2] = {dest_cb, dest_cr};
if(transform_bypass){
idct_add = idct_dc_add = s->dsp.add_pixels4;