@ -479,9 +479,6 @@ DEFUN(uyvytoyv12, mL3, (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8
r1 = [ f p + A R G _ s r c S t r i d e ] ;
r1 = [ f p + A R G _ s r c S t r i d e ] ;
r2 = r0 + r1 ;
r2 = r0 + r1 ;
r1 + = - 8 ; // i0,i1 is pre read need to correct
m0 = r1 ;
i0 = r0 ; // uyvy_T even
i0 = r0 ; // uyvy_T even
i1 = r2 ; // uyvy_B odd
i1 = r2 ; // uyvy_B odd
@ -494,6 +491,12 @@ DEFUN(uyvytoyv12, mL3, (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8
p4 = p4 > > 1 ;
p4 = p4 > > 1 ;
p5 = p5 > > 2 ;
p5 = p5 > > 2 ;
r2 = r0 < < 1 ;
r1 = r1 < < 1 ;
r1 = r1 - r2 ; // srcStride + (srcStride - 2*width)
r1 + = - 8 ; // i0,i1 is pre read need to correct
m0 = r1 ;
r2 = [ f p + A R G _ c h r o m S t r i d e ] ;
r2 = [ f p + A R G _ c h r o m S t r i d e ] ;
r0 = r0 > > 1 ;
r0 = r0 > > 1 ;
r2 = r2 - r0 ;
r2 = r2 - r0 ;
@ -549,8 +552,6 @@ DEFUN(yuyvtoyv12, mL3, (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8
r1 = [ f p + A R G _ s r c S t r i d e ] ;
r1 = [ f p + A R G _ s r c S t r i d e ] ;
r2 = r0 + r1 ;
r2 = r0 + r1 ;
r1 + = - 8 ; // i0,i1 is pre read need to correct
m0 = r1 ;
i0 = r0 ; // uyvy_T even
i0 = r0 ; // uyvy_T even
i1 = r2 ; // uyvy_B odd
i1 = r2 ; // uyvy_B odd
@ -564,6 +565,12 @@ DEFUN(yuyvtoyv12, mL3, (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8
p4 = p4 > > 1 ;
p4 = p4 > > 1 ;
p5 = p5 > > 2 ;
p5 = p5 > > 2 ;
r2 = r0 < < 1 ;
r1 = r1 < < 1 ;
r1 = r1 - r2 ; // srcStride + (srcStride - 2*width)
r1 + = - 8 ; // i0,i1 is pre read need to correct
m0 = r1 ;
r2 = [ f p + A R G _ c h r o m S t r i d e ] ;
r2 = [ f p + A R G _ c h r o m S t r i d e ] ;
r0 = r0 > > 1 ;
r0 = r0 > > 1 ;
r2 = r2 - r0 ;
r2 = r2 - r0 ;