Jump to content
  • Advertisement
Sign in to follow this  
Dave1024

Lossless Conversion for Direct X

This topic is 3709 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!