Searched refs:g_pos (Results 1 – 1 of 1) sorted by relevance
/external/webrtc/talk/media/base/ |
D | videoframe_unittest.h | 261 int r_pos, g_pos, b_pos, bytes; in CreateRgbSample() local 262 if (!GetRgbPacking(fourcc, &r_pos, &g_pos, &b_pos, &bytes)) { in CreateRgbSample() 276 rgb[g_pos] = (x % 63 + y % 63) + 96; in CreateRgbSample() 331 int r_pos, g_pos, b_pos, bytes; in ConvertRgb() local 332 if (!GetRgbPacking(fourcc, &r_pos, &g_pos, &b_pos, &bytes)) { in ConvertRgb() 355 ConvertRgbPixel(rgb[i][r_pos], rgb[i][g_pos], rgb[i][b_pos], in ConvertRgb() 406 int* g_pos, in GetRgbPacking() argument 410 *r_pos = 0; *g_pos = 1; *b_pos = 2; *bytes = 3; // RGB in memory. in GetRgbPacking() 412 *r_pos = 2; *g_pos = 1; *b_pos = 0; *bytes = 3; // BGR in memory. in GetRgbPacking() 414 *r_pos = 0; *g_pos = 1; *b_pos = 2; *bytes = 4; // RGBA in memory. in GetRgbPacking() [all …]
|