Lines Matching defs:colors
117 int first_clr, colors, csize;
128 colors = bytestream2_get_le16(&s->gb);
137 if (!pal && (first_clr || colors || csize)) {
140 first_clr = colors = csize = 0;
143 if (bytestream2_get_bytes_left(&s->gb) < idlen + 2*colors) {
171 if (colors && (colors + first_clr) > 256) {
172 av_log(avctx, AV_LOG_ERROR, "Incorrect palette: %i colors with offset %i\n", colors, first_clr);
207 if (colors) {
219 pal_size = colors * pal_sample_size;
233 for (t = 0; t < colors; t++)
238 for (t = 0; t < colors; t++)
243 for (t = 0; t < colors; t++) {