Lines Matching refs:cg
616 int cg = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 1];
622 if (cr == s->cursor[0] && cg == s->cursor[1] && cb == s->cursor[2])
631 dist = FFABS(cr - pr) + FFABS(cg - pg) + FFABS(cb - pb);
644 int cg = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 1];
647 if (cr == s->cursor[0] && cg == s->cursor[1] && cb == s->cursor[2])
650 cr >>= 3; cg >>=3; cb >>= 3;
652 AV_WL16(dst, cr | cg << 5 | cb << 10);
659 int cg = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 1];
662 if (cr == s->cursor[0] && cg == s->cursor[1] && cb == s->cursor[2])
667 dst[1] = cg;