Lines Matching refs:h
25 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { in fillYV12Buffer() argument
27 const int blockHeight = h > 16 ? h / 16 : 1; in fillYV12Buffer()
30 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12Buffer()
32 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12Buffer()
35 for (int y = 0; y < h; y++) { in fillYV12Buffer()
40 if (x < w / 2 && y < h / 2) { in fillYV12Buffer()
42 if (x * 2 < w / 2 && y * 2 < h / 2) { in fillYV12Buffer()
54 void fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, in fillYV12BufferRect() argument
58 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12BufferRect()
60 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12BufferRect()
63 for (int y = 0; y < h; y++) { in fillYV12BufferRect()
67 if (x < w / 2 && y < h / 2) { in fillYV12BufferRect()
78 void fillRGBA8Buffer(uint8_t* buf, int w, int h, int stride) { in fillRGBA8Buffer() argument
81 for (int y = 0; y < h; y++) { in fillRGBA8Buffer()