X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fxfer.h;h=84098b511f6563af6a6b575fb32aa26226313eaa;hb=38cb4182e11e57fc426bede3825e825e9d61433b;hp=bb69407fcf912cf87295f8b22e82cf8f9db5646f;hpb=1f78d86b5532943b2a3ea51f409a1fe5bd961e02;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/xfer.h b/cinelerra-5.1/guicast/xfer.h index bb69407f..84098b51 100644 --- a/cinelerra-5.1/guicast/xfer.h +++ b/cinelerra-5.1/guicast/xfer.h @@ -103,9 +103,35 @@ ZTYP(float); oty_t *vop = (oty_t *)(out_vp + out_rofs); \ #define xfer_yuv420p_row_in(ity_t) \ - int in_rofs = row_table[i] * total_in_w; \ + int in_r = row_table[i]; \ + int in_rofs = in_r * total_in_w; \ + uint8_t *yip_row = in_yp + in_rofs; \ + in_rofs = in_r / 2 * total_in_w / 2; \ + uint8_t *uip_row = in_up + in_rofs; \ + uint8_t *vip_row = in_vp + in_rofs; \ + for( unsigned j=0; j, public Mutex { public: int count; - Condition *waiting; Slicer *get_slicer(BC_Xfer *xp); void reset(); SlicerList();