YV12 to ARGB using D3D StretchRect

Discussion created by kcm1700 on Jun 7, 2011
perhaps bug ?

I'm trying to StretchRect from YV12 surface to ARGB32 (not XRGB nor RGB)

I created the YV12 surface using fourcc, and filled up with some image.

then I used StretchRect method to convert colors with exactly same rect.

The result was 100% transparent image.

I expected 0xFF in alpha channel, but got 0x00. RGB was absolutely fine, but A wasn't.

Any help?

I'm using ATI Radeon HD 3800 Series