Lossless Conversion for Direct X

Started by
0 comments, last by Adam_42 15 years, 10 months ago
To show a video using DirectX ,it support only few formats so others want to convert to the best supported format.Here i deal a 444 yuv planar file .444 ratio is not support by D3DFMT_YUY2.So force to convert to YUY2.U and V pixel strength to be reduced .How to avoid the pixels. Is arithamatic mean of the U and V value is enough to get clear output
Advertisement
You could always use a pixel shader to do the conversion manually.

Conversion formulas are available at http://www.fourcc.org/fccyvrgb.php and it should be simple to put them in a shader.

The mean will probably get reasonable results, but I'd go with the pixel shader if you can.

This topic is closed to new replies.

Advertisement