Lines Matching refs:palette
44 * codebooks, palette information, and code maps for rendering vectors onto
99 uint32_t palette[PALETTE_COUNT];
373 /* next, deal with the palette */
381 /* decompress the palette chunk */
388 /* convert the RGB palette into the machine's endian format */
393 /* sanity check the palette size */
395 av_log(s->avctx, AV_LOG_ERROR, " VQA video: problem: found a palette chunk with %d colors\n",
400 /* scale by 4 to transform 6-bit palette -> 8-bit */
404 s->palette[i] = (r << 16) | (g << 8) | (b);
591 /* make the palette available on the way out */
592 memcpy(s->frame.data[1], s->palette, PALETTE_COUNT * 4);