# HG changeset patch # User arpi_esp # Date 984278702 0 # Node ID 74064c2929a1ef63fda67e8f9d79442ad6f32bf8 # Parent b7b038ee3fde4fdd8c8511901d4f0dee42692d50 updated to opendivx 0.48 diff -r b7b038ee3fde -r 74064c2929a1 libvo/vo_odivx.c --- a/libvo/vo_odivx.c Sun Mar 11 01:28:31 2001 +0000 +++ b/libvo/vo_odivx.c Sun Mar 11 02:45:02 2001 +0000 @@ -93,11 +93,34 @@ d+=image_width*image_height/4; memcpy(d,src[2],image_width*image_height/4); break; -// case IMGFMT_YUY2: - case IMGFMT_BGR|24: - memcpy(d,src[0],image_width*image_height*3); + case IMGFMT_YUY2: { + uint8_t *dY=image; + uint8_t *dU=image+image_width*image_height; + uint8_t *dV=dU+image_width*image_height/4; + uint8_t *s=src[0]; + int y; + for(y=0;y