graphicscomposition/openwfcompositionengine/adaptation/src/Platform/Graphics/symbian/owfnativestreamstub.cpp
--- a/graphicscomposition/openwfcompositionengine/adaptation/src/Platform/Graphics/symbian/owfnativestreamstub.cpp Tue Apr 20 16:24:43 2010 +0100
+++ b/graphicscomposition/openwfcompositionengine/adaptation/src/Platform/Graphics/symbian/owfnativestreamstub.cpp Tue Apr 20 16:38:10 2010 +0100
@@ -94,6 +94,11 @@
bytesPerPixel = -8;
b.iAlignment = max(4,format->rowPadding);
break;
+ case OWF_IMAGE_UYVY:
+ b.iPixelFormat = EUidPixelFormatYUV_422Interleaved;
+ bytesPerPixel = 1;
+ b.iAlignment = max(4,format->rowPadding);
+ break;
default:
return surface;
}
@@ -291,6 +296,13 @@
aFormat.rowPadding = 4;
aFormat.pixelFormat = OWF_IMAGE_L1;
break;
+
+ case EUidPixelFormatYUV_422Interleaved :
+ aFormat.linear = OWF_FALSE;
+ aFormat.premultiplied = OWF_FALSE;
+ aFormat.rowPadding = 1;
+ aFormat.pixelFormat = OWF_IMAGE_UYVY;
+ break;
default:
aFormat.linear = OWF_FALSE;
aFormat.premultiplied = OWF_FALSE;