Cross Reference: cconvAYUV.c
xref
: /
vbox
/
src
/
VBox
/
Frontends
/
VirtualBox
/
shaders
/
cconvAYUV.c
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
cconvAYUV.c revision 496cad9dc2e9f79fccf15e5e0a9abeb4bf8be136
#
extension
GL_ARB_texture_rectangle
:
enable
uniform
sampler2DRect
uSrcTex
;
void
vboxCConvApplyAYUV
(
vec4
color
);
void
vboxCConv
()
{
vec2
srcCoord
=
vec2
(
gl_TexCoord
[0]);
vec4
color
=
texture2DRect
(
uSrcTex
,
srcCoord
);
vboxCConvApplyAYUV
(
color
);
}