[xiph-commits] r16317 - branches/theora-thusnelda/lib/dec

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Tue Jul 21 23:23:26 PDT 2009


Author: xiphmont
Date: 2009-07-21 23:23:26 -0700 (Tue, 21 Jul 2009)
New Revision: 16317

Modified:
   branches/theora-thusnelda/lib/dec/decode.c
Log:
Another minor cosmetic change to make the AQ icons easier to read in the frame.


Modified: branches/theora-thusnelda/lib/dec/decode.c
===================================================================
--- branches/theora-thusnelda/lib/dec/decode.c	2009-07-22 06:14:48 UTC (rev 16316)
+++ branches/theora-thusnelda/lib/dec/decode.c	2009-07-22 06:23:26 UTC (rev 16317)
@@ -2530,6 +2530,7 @@
         }
         /*qii illustration.*/
         if(_dec->telemetry_qi&0x2){
+          cairo_set_line_cap(c,CAIRO_LINE_CAP_SQUARE);
           for(bi=0;bi<4;bi++){
             ptrdiff_t fragi;
             int       qiv;
@@ -2540,6 +2541,8 @@
             fragi=mb_maps[mbi][0][bi];
             if(fragi>=0&&frags[fragi].coded){
               qiv=qim[frags[fragi].qii];
+              cairo_set_line_width(c,3.);
+              cairo_set_source_rgba(c,0.,0.,0.,.5);
               switch(qiv){
                 /*Double plus:*/
                 case 2:{
@@ -2601,8 +2604,6 @@
               }
               cairo_set_line_width(c,1.);
               cairo_stroke(c);
-              cairo_set_line_width(c,3.);
-              cairo_set_source_rgba(c,0.,0.,0.,.5);
             }
           }
         }



More information about the commits mailing list