Searched refs:free_colours (Results 1 – 4 of 4) sorted by relevance
126 uint32_t *pal = ctx->pal + 256 - ctx->free_colours; in decode_pal()128 if (!ctx->free_colours) in decode_pal()131 ncol = arith_get_number(acoder, ctx->free_colours + 1); in decode_pal()
88 int free_colours; member
621 c->free_colours = AV_RB32(avctx->extradata + 48); in ff_mss12_decode_init()622 if ((unsigned)c->free_colours > 256) { in ff_mss12_decode_init()625 c->free_colours); in ff_mss12_decode_init()628 av_log(avctx, AV_LOG_DEBUG, "%d free colour(s)\n", c->free_colours); in ff_mss12_decode_init()
164 uint32_t *pal = ctx->pal + 256 - ctx->free_colours; in decode_pal_v2()166 if (!ctx->free_colours) in decode_pal_v2()170 if (ncol > ctx->free_colours || buf_size < 2 + ncol * 3) in decode_pal_v2()843 avctx->pix_fmt = c->free_colours == 127 ? AV_PIX_FMT_RGB555 in mss2_decode_init()