[svn] / branches / dev-api-3 / xvidcore / src / image / image.c Repository:
ViewVC logotype

Diff of /branches/dev-api-3/xvidcore/src/image/image.c

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

revision 315, Fri Jul 19 11:15:21 2002 UTC revision 323, Sun Jul 21 03:30:25 2002 UTC
# Line 751  Line 751 
751    if(w > width)    if(w > width)
752      w = width;      w = width;
753    w2 = w >> 1;    w2 = w >> 1;
754  void __inline  
755    dY = (uint8_t*)out_frm->y + (mby << 4) * out_frm->stride_y + (mbx << 4);    dY = (uint8_t*)out_frm->y + (mby << 4) * out_frm->stride_y + (mbx << 4);
756    dU = (uint8_t*)out_frm->u + (mby << 3) * out_frm->stride_u + (mbx << 3);    dU = (uint8_t*)out_frm->u + (mby << 3) * out_frm->stride_u + (mbx << 3);
757    dV = (uint8_t*)out_frm->v + (mby << 3) * out_frm->stride_v + (mbx << 3);    dV = (uint8_t*)out_frm->v + (mby << 3) * out_frm->stride_v + (mbx << 3);
# Line 761  Line 761 
761    
762    for(i = 0 ; i < 16 ; i++) {    for(i = 0 ; i < 16 ; i++) {
763      memcpy(dY,sY,w);      memcpy(dY,sY,w);
764    dY = out_frm->y + (mby << 4) * out_frm->stride_y + (mbx << 4);      dY += out_frm->stride_y;
765    dU = out_frm->u + (mby << 3) * out_frm->stride_u + (mbx << 3);      sY += std;
766    dV = out_frm->v + (mby << 3) * out_frm->stride_v + (mbx << 3);    }
767    for(i = 0 ; i < 8 ; i++) {    for(i = 0 ; i < 8 ; i++) {
768      memcpy(dU,sU,w2);      memcpy(dU,sU,w2);
769      dU += out_frm->stride_u;      dU += out_frm->stride_u;

Legend:
Removed from v.315  
changed lines
  Added in v.323

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