VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/shaders/cconvAYUV.c@ 22776

Last change on this file since 22776 was 22776, checked in by vboxsync, 16 years ago

video hw accel: more accurate shaders

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 269 bytes
Line 
1#extension GL_ARB_texture_rectangle : enable
2uniform sampler2DRect uSrcTex;
3void vboxCConvApplyAYUV(vec4 color);
4void vboxCConv(int srcI)
5{
6 vec2 srcCoord = vec2(gl_TexCoord[srcI]);
7 vec4 color = texture2DRect(uSrcTex, srcCoord);
8 vboxCConvApplyAYUV(color);
9}
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette