Home
last modified time | relevance | path

Searched refs:free_colours (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmss1.c126 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()
Dmss12.h88 int free_colours; member
Dmss12.c621 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()
Dmss2.c164 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()