mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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
31eb2f5f0d
commit
721a5d4c36
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