Lines Matching defs:isrgb8
1891 int isrgb8 = target == AV_PIX_FMT_BGR8 || target == AV_PIX_FMT_RGB8;
1949 if (isrgb8) {
1971 r = R >> (isrgb8 ? 5 : 7);
1972 g = G >> (isrgb8 ? 5 : 6);
1973 b = B >> (isrgb8 ? 6 : 7);
1974 r = av_clip(r, 0, isrgb8 ? 7 : 1);
1975 g = av_clip(g, 0, isrgb8 ? 7 : 3);
1976 b = av_clip(b, 0, isrgb8 ? 3 : 1);
1977 err[0] = R - r*(isrgb8 ? 36 : 255);
1978 err[1] = G - g*(isrgb8 ? 36 : 85);
1979 err[2] = B - b*(isrgb8 ? 85 : 255);
1982 if (isrgb8) {
2001 if (isrgb8) {