Lines Matching refs:palettes
97 PGSSubPalettes palettes;
113 ctx->palettes.count = 0;
127 static PGSSubPalette * find_palette(int id, PGSSubPalettes *palettes)
131 for (i = 0; i < palettes->count; i++) {
132 if (palettes->palette[i].id == id)
133 return &palettes->palette[i];
341 palette = find_palette(id, &ctx->palettes);
343 if (ctx->palettes.count >= MAX_EPOCH_PALETTES) {
344 av_log(avctx, AV_LOG_ERROR, "Too many palettes in epoch\n");
347 palette = &ctx->palettes.palette[ctx->palettes.count++];
416 * 00 - Normal, previously defined objects and palettes are still valid
417 * 01 - Acquisition point, previous objects and palettes can be released
418 * 10 - Epoch start, previous objects and palettes can be released
419 * 11 - Epoch continue, previous objects and palettes can be released
523 palette = find_palette(ctx->presentation.palette_id, &ctx->palettes);