[cvs] / xvidcore / src / image / colorspace.c Repository:
ViewVC logotype

Diff of /xvidcore/src/image/colorspace.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11, Tue Nov 22 10:23:01 2005 UTC revision 1.12, Sun Oct 29 08:04:02 2006 UTC
# Line 487  Line 487 
487                  y_dst += y_dst_stride;                  y_dst += y_dst_stride;
488          }          }
489    
490            if (u_src)
491          for (y = height2; y; y--) {          for (y = height2; y; y--) {
492                  memcpy(u_dst, u_src, width2);                  memcpy(u_dst, u_src, width2);
493                  u_src += uv_src_stride;                  u_src += uv_src_stride;
494                  u_dst += uv_dst_stride;                  u_dst += uv_dst_stride;
495          }          }
496            else
497                    for (y = height2; y; y--) {
498                            memset(u_dst, 0x80, width2);
499                            u_dst += uv_dst_stride;
500                    }
501    
502            if (v_src)
503          for (y = height2; y; y--) {          for (y = height2; y; y--) {
504                  memcpy(v_dst, v_src, width2);                  memcpy(v_dst, v_src, width2);
505                  v_src += uv_src_stride;                  v_src += uv_src_stride;
506                  v_dst += uv_dst_stride;                  v_dst += uv_dst_stride;
507          }          }
508            else
509                    for (y = height2; y; y--) {
510                            memset(v_dst, 0x80, width2);
511                            v_dst += uv_dst_stride;
512                    }
513  }  }
514    
515    

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4