diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-01-22 02:13:55 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-01-22 02:13:55 +0000 |
commit | 0231ba5d2e9a8d3581287bef411ea0b5e82c317f (patch) | |
tree | 135d648e1c6672980acf68fdcddc3addb54c9d9f | |
parent | 5776ed88be6ed7381e137e8d4e96a3b390ab3384 (diff) | |
download | xine-lib-0231ba5d2e9a8d3581287bef411ea0b5e82c317f.tar.gz xine-lib-0231ba5d2e9a8d3581287bef411ea0b5e82c317f.tar.bz2 |
cr and cb swapped
CVS patchset: 1438
CVS date: 2002/01/22 02:13:55
-rw-r--r-- | src/video_out/alphablend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_out/alphablend.c b/src/video_out/alphablend.c index ce50a7b21..8646d2864 100644 --- a/src/video_out/alphablend.c +++ b/src/video_out/alphablend.c @@ -414,9 +414,9 @@ void blend_yuv (uint8_t *dst_base[3], vo_overlay_t * img_overl, 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); |