Using opengl es shader to convert YUV to RGB

前端 未结 2 1476
不思量自难忘°
不思量自难忘° 2021-02-08 23:58

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         


        
2条回答
  •  梦毁少年i
    2021-02-09 00:29

    Maybe is out-of-topics, but here I implemented a YUV 4:2:2 v210 10-bit decoder in GLSL.

提交回复
热议问题