Lines Matching refs:r_pos
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()
275 rgb[r_pos] = ((x / 63) & 1) ? 224 : 32; 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()
405 int* r_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()
416 *r_pos = 1; *g_pos = 2; *b_pos = 3; *bytes = 4; // ARGB in memory. in GetRgbPacking()
418 *r_pos = 2; *g_pos = 1; *b_pos = 0; *bytes = 4; // BGRA in memory. in GetRgbPacking()