Re: Theora on iPhone
"Arek Korbik" <[email protected]>
| Newsgroups | gmane.comp.multimedia.ogg.theora.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Oct 7, 2008 at 9:59 PM, Ralph Giles <[email protected]> wrote: > On Tue, Oct 7, 2008 at 12:56 PM, Steven Woolley <[email protected]> wrote: > >> b) convert from YUV to RGB using pixel shading (If it sounds like I don't >> know what I'm talking about, that's correct... I've simply seen smarter >> people talk about doing the conversion on the GPU using pixel shading???) > > If you can do this with opengl-es and get gpu accelleration, this is > the way to go. Then backport your code to the sdl port so everyone > else can use it. I don't know how to do this, but there are lots of > examples. You could try asking macslow for help if you get stuck; he's > done a lot opengl media player work. Yes, these days colorspace conversion is definitely something people use pixel shaders for. Mirco's opengl video player is probably a good example or you can have a look at pigment[1] where colorspace conversion was the first use of pixel shaders. Arek [1]: https://code.fluendo.com/pigment/trac