|
|
YUV video rendering
Hi there,
I have to render YUV Pixel data with OpenGL.
As far as I know, there is no direct support for this (or at least only
on macs)
What would be the best way to transform it into RGB-data?
Possibly using Hardware acceleration?
Or is there some other way than rgb -> texture -> quad?
Thanks for any advice!
Greetings, Dave
|
|
0
|
|
|
|
Reply
|
David
|
9/7/2009 4:10:35 PM |
|
"David Uebler" <dave5689@gulli.com> wrote in message
news:y82dnepPOpLmrTjXnZ2dnUVZ8sxi4p2d@giganews.com...
> Hi there,
>
> I have to render YUV Pixel data with OpenGL.
> As far as I know, there is no direct support for this (or at least only
> on macs)
>
> What would be the best way to transform it into RGB-data?
> Possibly using Hardware acceleration?
>
> Or is there some other way than rgb -> texture -> quad?
EXT_color_matrix:
http://www.opengl.org/registry/specs/SGI/color_matrix.txt
GLSL shader:
http://www.fourcc.org/source/YUV420P-OpenGL-GLSLang.c
--
Charles E Hardwidge
|
|
0
|
|
|
|
Reply
|
Charles
|
9/7/2009 4:24:33 PM
|
|
On Sep 7, 6:24=A0pm, "Charles E Hardwidge" <bo...@invalid.invalid>
wrote:
> "David Uebler" <dave5...@gulli.com> wrote in message
>
> news:y82dnepPOpLmrTjXnZ2dnUVZ8sxi4p2d@giganews.com...
>
> > Hi there,
>
> > I have to render YUV Pixel data with OpenGL.
> > As far as I know, there is no direct support for this (or at least only
> > on macs)
>
> > What would be the best way to transform it into RGB-data?
> > Possibly using Hardware acceleration?
>
Why can't you transform it on the main CPU before uploading
to the graphics card? Pentiums are "hardware" too.
> > Or is there some other way than rgb -> texture -> quad?
>
> EXT_color_matrix:http://www.opengl.org/registry/specs/SGI/color_matrix.tx=
t
>
Almost no graphics cards support that extension....
> GLSL shader:http://www.fourcc.org/source/YUV420P-OpenGL-GLSLang.c
>
If you insist on doing it with the graphics card then I
think that's the only option.
--
<\___/>
/ O O \
\_____/ FTB.
http://www.topaz3d.com/
|
|
0
|
|
|
|
Reply
|
fungus
|
9/7/2009 4:42:05 PM
|
|
On Mon, 07 Sep 2009 09:42:05 -0700, fungus wrote:
> On Sep 7, 6:24 pm, "Charles E Hardwidge" <bo...@invalid.invalid> wrote:
>> "David Uebler" <dave5...@gulli.com> wrote in message
>>
>> news:y82dnepPOpLmrTjXnZ2dnUVZ8sxi4p2d@giganews.com...
>>
>> > Hi there,
>>
>> > I have to render YUV Pixel data with OpenGL. As far as I know, there
>> > is no direct support for this (or at least only on macs)
>>
>> > What would be the best way to transform it into RGB-data? Possibly
>> > using Hardware acceleration?
>>
>>
> Why can't you transform it on the main CPU before uploading to the
> graphics card? Pentiums are "hardware" too.
>
>> > Or is there some other way than rgb -> texture -> quad?
>>
>> EXT_color_matrix:http://www.opengl.org/registry/specs/SGI/
color_matrix.txt
>>
>>
> Almost no graphics cards support that extension....
>
>> GLSL shader:http://www.fourcc.org/source/YUV420P-OpenGL-GLSLang.c
>>
>>
> If you insist on doing it with the graphics card then I think that's the
> only option.
Thanks for your answers!
I'll see if I get it to work, and whine some more if it won't ;)
|
|
0
|
|
|
|
Reply
|
David
|
9/7/2009 11:27:38 PM
|
|
David,
I had to do the same thing. The GLSL shader is the way to go.
Akhil
|
|
0
|
|
|
|
Reply
|
pro
|
9/10/2009 6:03:27 AM
|
|
|
4 Replies
704 Views
(page loaded in 0.081 seconds)
Similiar Articles: YUV video rendering - comp.graphics.api.openglHi there, I have to render YUV Pixel data with OpenGL. As far as I know, there is no direct support for this (or at least only on macs) What would ... OpenGL video rendering - comp.graphics.api.openglYUV video rendering - comp.graphics.api.opengl Hi there, I have to render YUV Pixel data with OpenGL. As far as I know, there is no direct support for this (or at least ... using opengl to play videos? - comp.graphics.api.openglYUV video rendering - comp.graphics.api.opengl using opengl to play videos? - comp.graphics.api.opengl Rendering YUV video - comp.graphics.api.opengl using opengl to play ... rendering textures libraries? - comp.cad.solidworksYUV video rendering - comp.graphics.api.opengl Hi there, I have to render YUV Pixel data with OpenGL. As far as I know, there is ... Pentiums are "hardware" too. > >> > Or ... Shaders and Optimization - comp.graphics.api.openglYUV video rendering - comp.graphics.api.opengl Shaders and Optimization - comp.graphics.api.opengl YUV video rendering - comp.graphics.api.opengl Shaders and Optimization ... help about glsl - comp.graphics.api.openglYUV video rendering - comp.graphics.api.opengl help about glsl - comp.graphics.api.opengl YUV video rendering - comp.graphics.api.opengl As far as I know, there is no ... Framebuffer readback, preferrable faster then glReadPixels - comp ...YUV video rendering - comp.graphics.api.opengl Framebuffer readback, preferrable faster then glReadPixels - comp ... YUV video rendering - comp.graphics.api.opengl ... RGB to YIQ using matix (code optimization) - comp.soft-sys.matlab ...YUV video rendering - comp.graphics.api.opengl RGB to YIQ using matix (code optimization) - comp.soft-sys.matlab ... YUV video rendering - comp.graphics.api.opengl... best ... Pixel Calculation - comp.soft-sys.matlabColor gradient calculation - comp.graphics.api.opengl Pixel Calculation - comp.soft-sys.matlab YUV video rendering - comp.graphics.api.opengl Hi there, I have to render ... Question about texture using glsl - comp.graphics.api.opengl ...YUV video rendering - comp.graphics.api.opengl... Post Question | Groups ... opengl.org/registry/specs/SGI/color_matrix.txt GLSL ... Or is there some other way than rgb ... Recommended 8-Bit YUV Formats for Video RenderingGary Sullivan and Stephen Estrop. Microsoft Corporation. April 2002, updated November 2008. This topic describes the 8-bit YUV color formats that are ... Yong Wang's Homepage - YUV Genius: A Smart YUV RendererAs you might know, YUV video is pure pixel level information with luminance ... October 3rd, 2003 (Q10032003)--- It was found that YUV Genius can't render YUV ... 7/20/2012 4:12:18 PM
|
|
|
|
|
|
|
|
|