I want to convert yuv to rgb in opengl es shader with just one sampler which contains yuv data. My code is below:
1) I send yuv data to texture:
GLES20.g
Maybe is out-of-topics, but here I implemented a YUV 4:2:2 v210 10-bit decoder in GLSL.