Sign in to follow this  
Lacrimas

Video in game

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this