SmartAudio/package/utils/ShaderYUVtoRGB/src
lijie02 bfd7b335ea init 2018-07-13 09:31:50 +08:00
..
Makefile init 2018-07-13 09:31:50 +08:00
README init 2018-07-13 09:31:50 +08:00
ShaderYUVtoRGB.c init 2018-07-13 09:31:50 +08:00
ShaderYUVtoRGB.h init 2018-07-13 09:31:50 +08:00
ShaderYUVtoRGB_test.c init 2018-07-13 09:31:50 +08:00

README

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ShaderYUVtoRGB test usage notes

ShaderYUVtoRGB(const char *yuv_path, SCRresource * scr_resource, YuvResource * yuv_resource, Position *position)

ShaderYUVtoRGB:Convert YUV resource file to RGBA data in opengl es shader and painted in /dev/fb1. The position of the display can be controlled by the (x,y,w,h) coordinates of the position structure.

Important explanation: This involves texture coordinates, the coordinates of the lower left corner of the (0,0) origin. Therefore, set display range (x, y, w, h) is left the lower corner is the coordinate origin. w means wide, h means high.