Home | History | Annotate | Download | only in base

Lines Matching refs:g_pos

231     int r_pos, g_pos, b_pos, bytes;
232 if (!GetRgbPacking(fourcc, &r_pos, &g_pos, &b_pos, &bytes)) {
246 rgb[g_pos] = (x % 63 + y % 63) + 96;
297 int r_pos, g_pos, b_pos, bytes;
298 if (!GetRgbPacking(fourcc, &r_pos, &g_pos, &b_pos, &bytes)) {
321 ConvertRgbPixel(rgb[i][r_pos], rgb[i][g_pos], rgb[i][b_pos],
364 int* r_pos, int* g_pos, int* b_pos, int* bytes) {
366 *r_pos = 0; *g_pos = 1; *b_pos = 2; *bytes = 3; // RGB in memory.
368 *r_pos = 2; *g_pos = 1; *b_pos = 0; *bytes = 3; // BGR in memory.
370 *r_pos = 0; *g_pos = 1; *b_pos = 2; *bytes = 4; // RGBA in memory.
372 *r_pos = 1; *g_pos = 2; *b_pos = 3; *bytes = 4; // ARGB in memory.
374 *r_pos = 2; *g_pos = 1; *b_pos = 0; *bytes = 4; // BGRA in memory.