[xiph-commits] r16324 - branches/theora-thusnelda/lib/enc
tterribe at svn.xiph.org
tterribe at svn.xiph.org
Wed Jul 22 21:01:29 PDT 2009
Author: tterribe
Date: 2009-07-22 21:01:29 -0700 (Wed, 22 Jul 2009)
New Revision: 16324
Modified:
branches/theora-thusnelda/lib/enc/analyze.c
Log:
Disable early skip detection for chroma until aforementioned problems can be
sorted out.
Modified: branches/theora-thusnelda/lib/enc/analyze.c
===================================================================
--- branches/theora-thusnelda/lib/enc/analyze.c 2009-07-23 03:21:26 UTC (rev 16323)
+++ branches/theora-thusnelda/lib/enc/analyze.c 2009-07-23 04:01:29 UTC (rev 16324)
@@ -673,15 +673,16 @@
borderi=frags[_fragi].borderi;
qii=frags[_fragi].qii;
if(qii&~3){
-#if 1
- /*Enable early skip detection.*/
- frags[_fragi].coded=0;
- return 0;
-#else
- /*Try and code the fragment anyway.*/
- qii&=3;
- frags[_fragi].qii=qii;
-#endif
+ if(!_pli){
+ /*Enable early skip detection only for luma blocks.*/
+ frags[_fragi].coded=0;
+ return 0;
+ }
+ else{
+ /*Try and code chroma blocks anyway.*/
+ qii&=3;
+ frags[_fragi].qii=qii;
+ }
}
mb_mode=frags[_fragi].mb_mode;
ref=_enc->state.ref_frame_data[
More information about the commits
mailing list