Lines Matching refs:palettes
96 PGSSubPalettes palettes;
112 ctx->palettes.count = 0;
126 static PGSSubPalette * find_palette(int id, PGSSubPalettes *palettes)
130 for (i = 0; i < palettes->count; i++) {
131 if (palettes->palette[i].id == id)
132 return &palettes->palette[i];
335 palette = find_palette(id, &ctx->palettes);
337 if (ctx->palettes.count >= MAX_EPOCH_PALETTES) {
338 av_log(avctx, AV_LOG_ERROR, "Too many palettes in epoch\n");
341 palette = &ctx->palettes.palette[ctx->palettes.count++];
404 * 00 - Normal, previously defined objects and palettes are still valid
405 * 01 - Acquisition point, previous objects and palettes can be released
406 * 10 - Epoch start, previous objects and palettes can be released
407 * 11 - Epoch continue, previous objects and palettes can be released
514 palette = find_palette(ctx->presentation.palette_id, &ctx->palettes);