mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
[871/906] upload: fix texture scaling for YUY2/UYVY with GLES2
Another artifact from the transition to GL_TEXTURE_2D
This commit is contained in:
parent
1f4d041d5b
commit
bc8b4085b5
1 changed files with 2 additions and 2 deletions
|
@ -336,8 +336,8 @@ static const gchar *frag_YUY2_UYVY_gles2 =
|
|||
" fx = v_texcoord.x;\n"
|
||||
" fy = v_texcoord.y;\n"
|
||||
" yuv.x = texture2D(Ytex,vec2(fx,fy)).%c;\n"
|
||||
" yuv.y = texture2D(UVtex,vec2(fx*0.5,fy)).%c;\n"
|
||||
" yuv.z = texture2D(UVtex,vec2(fx*0.5,fy)).%c;\n"
|
||||
" yuv.y = texture2D(UVtex,vec2(fx,fy)).%c;\n"
|
||||
" yuv.z = texture2D(UVtex,vec2(fx,fy)).%c;\n"
|
||||
" yuv+=offset;\n"
|
||||
" r = dot(yuv, rcoeff);\n"
|
||||
" g = dot(yuv, gcoeff);\n"
|
||||
|
|
Loading…
Reference in a new issue