Jump to content
  • Advertisement
Sign in to follow this  
Lacrimas

Video in game

This topic is 2789 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

Advertisement
I have used theora and didn't found it slow. Have you compiled the library with all optimizaion flags set? How do you convert from YCbCr to RGB? How do you display a frame? Have you done some profiling?

Share this post


Link to post
Share on other sites
To convert from YCbCr to RGB i use ingeter transformations and some table precalculates. So I think that problem is not here.
What kind of optimizaion flags do you mean?

Share this post


Link to post
Share on other sites
If you want YCbCr to RGB conversion to be really efficient the best option is to do it in a pixel shader.

However before doing that I'd suggest using a profiler to work out which parts of your code are going too slowly.

Share this post


Link to post
Share on other sites
Quote:
Original post by Lacrimas
To convert from YCbCr to RGB i use ingeter transformations and some table precalculates. So I think that problem is not here.
What kind of optimizaion flags do you mean?


You need to do some profiling. I did the color conversation in shader not wasting any cpu cycles. You still have not answered the other questions.
The flags depend on the compiler you are using. See the documentations.

Share this post


Link to post
Share on other sites
I doubt, that profiling and theora optimization can give me cardinal changes...
And I can't use pixel shaders for this...
Perhaps You know some paying libs, that can help me?)
Do not propose bink)

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!