Hi
How can I render high quality movies in game?
I use theora, but it's very slow
Can you give me some advices?
Video in game
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?
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?
What kind of optimizaion flags do you mean?
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.
However before doing that I'd suggest using a profiler to work out which parts of your code are going too slowly.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement