From: Miguel F. <mig...@us...> - 2002-01-22 02:13:57
|
Update of /cvsroot/xine/xine-lib/src/video_out In directory usw-pr-cvs1:/tmp/cvs-serv29499/src/video_out Modified Files: alphablend.c Log Message: cr and cb swapped Index: alphablend.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/video_out/alphablend.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- alphablend.c 2002/01/22 01:43:13 1.23 +++ alphablend.c 2002/01/22 02:13:55 1.24 @@ -414,9 +414,9 @@ uint8_t clr=0; uint8_t *dst_y = dst_base[0] + dst_width * y_off + x_off; - uint8_t *dst_cr = dst_base[1] + + uint8_t *dst_cr = dst_base[2] + (y_off / 2) * (dst_width / 2) + (x_off / 2) + 1; - uint8_t *dst_cb = dst_base[2] + + uint8_t *dst_cb = dst_base[1] + (y_off / 2) * (dst_width / 2) + (x_off / 2) + 1; #ifdef LOG_BLEND_YUV printf("overlay_blend started x=%d, y=%d, w=%d h=%d\n",img_overl->x,img_overl->y,img_overl->width,img_overl->height); |