Home
last modified time | relevance | path

Searched refs:AVPALETTE_SIZE (Results 1 – 25 of 63) sorted by relevance

123

/third_party/ffmpeg/libavcodec/
Dmsrle.c77 for (i = 0; i < FFMIN(avctx->extradata_size, AVPALETTE_SIZE)/4; i++) in msrle_decode_init()
103 if (pal && size == AVPALETTE_SIZE) { in msrle_decode_frame()
105 memcpy(s->pal, pal, AVPALETTE_SIZE); in msrle_decode_frame()
110 memcpy(s->frame->data[1], s->pal, AVPALETTE_SIZE); in msrle_decode_frame()
Dmsvideo1.c72 if (avctx->extradata_size >= AVPALETTE_SIZE) in msvideo1_decode_init()
73 memcpy(s->pal, avctx->extradata, AVPALETTE_SIZE); in msvideo1_decode_init()
183 memcpy(s->frame->data[1], s->pal, AVPALETTE_SIZE); in msvideo1_decode_8bit()
320 if (pal && size == AVPALETTE_SIZE) { in msvideo1_decode_frame()
321 memcpy(s->pal, pal, AVPALETTE_SIZE); in msvideo1_decode_frame()
Drawdec.c97 context->palette = av_buffer_alloc(AVPALETTE_SIZE); in raw_init_decoder()
105 memset(context->palette->data, 0, AVPALETTE_SIZE); in raw_init_decoder()
265 buf_size = context->frame_size - (context->is_pal8 ? AVPALETTE_SIZE : 0); in MKSCALE16()
355 len = context->frame_size - (avctx->pix_fmt==AV_PIX_FMT_PAL8 ? AVPALETTE_SIZE : 0); in MKSCALE16()
375 if (pal && pal_size != AVPALETTE_SIZE) { in MKSCALE16()
381 context->palette = av_buffer_alloc(AVPALETTE_SIZE); in MKSCALE16()
393 memcpy(context->palette->data, pal, AVPALETTE_SIZE); in MKSCALE16()
399 if (avpkt->size > vid_size && pal_size <= AVPALETTE_SIZE) { in MKSCALE16()
D8bps.c129 if (pal && size == AVPALETTE_SIZE) { in decode_frame()
131 memcpy(c->pal, pal, AVPALETTE_SIZE); in decode_frame()
136 memcpy (frame->data[1], c->pal, AVPALETTE_SIZE); in decode_frame()
Dtscc.c78 if (pal && size == AVPALETTE_SIZE) { in decode_frame()
80 memcpy(c->pal, pal, AVPALETTE_SIZE); in decode_frame()
118 memcpy(frame->data[1], c->pal, AVPALETTE_SIZE); in decode_frame()
Didcinvideo.c231 if (pal && pal_size == AVPALETTE_SIZE) { in idcin_decode_frame()
233 memcpy(s->pal, pal, AVPALETTE_SIZE); in idcin_decode_frame()
238 memcpy(frame->data[1], s->pal, AVPALETTE_SIZE); in idcin_decode_frame()
Drscc.c62 uint8_t palette[AVPALETTE_SIZE];
353 if (palette && size == AVPALETTE_SIZE) { in rscc_decode_frame()
355 memcpy(ctx->palette, palette, AVPALETTE_SIZE); in rscc_decode_frame()
359 memcpy (frame->data[1], ctx->palette, AVPALETTE_SIZE); in rscc_decode_frame()
Dimx.c61 if (pal && pal_size == AVPALETTE_SIZE) { in imx_decode_frame()
72 memcpy(frame->data[1], imx->pal, AVPALETTE_SIZE); in imx_decode_frame()
Dqpeg.c303 if (pal && pal_size == AVPALETTE_SIZE) { in decode_frame()
305 memcpy(a->pal, pal, AVPALETTE_SIZE); in decode_frame()
309 memcpy(p->data[1], a->pal, AVPALETTE_SIZE); in decode_frame()
Dsmc.c115 memcpy(s->frame->data[1], s->pal, AVPALETTE_SIZE); in smc_decode_stream()
451 if (pal && pal_size == AVPALETTE_SIZE) { in smc_decode_frame()
453 memcpy(s->pal, pal, AVPALETTE_SIZE); in smc_decode_frame()
Dmscc.c158 if (pal && size == AVPALETTE_SIZE) { in decode_frame()
165 memcpy(frame->data[1], s->pal, AVPALETTE_SIZE); in decode_frame()
Dtmv.c65 memset(frame->data[1] + 16 * 4, 0, AVPALETTE_SIZE - 16 * 4); in tmv_decode_frame()
Dcinepak.c482 if (pal && size == AVPALETTE_SIZE) { in cinepak_decode_frame()
484 memcpy(s->pal, pal, AVPALETTE_SIZE); in cinepak_decode_frame()
495 memcpy (s->frame->data[1], s->pal, AVPALETTE_SIZE); in cinepak_decode_frame()
Dqtrle.c546 if (pal && size == AVPALETTE_SIZE) { in qtrle_decode_frame()
548 memcpy(s->pal, pal, AVPALETTE_SIZE); in qtrle_decode_frame()
554 memcpy(s->frame->data[1], s->pal, AVPALETTE_SIZE); in qtrle_decode_frame()
Dpsd.c64 uint8_t palette[AVPALETTE_SIZE];
166 memset(s->palette, 0xff, AVPALETTE_SIZE); in decode_header()
537 memcpy(picture->data[1], s->palette, AVPALETTE_SIZE); in decode_frame()
Dgdv.c482 if (pal && pal_size == AVPALETTE_SIZE) in gdv_decode_frame()
483 memcpy(gdv->pal, pal, AVPALETTE_SIZE); in gdv_decode_frame()
521 memcpy(frame->data[1], gdv->pal, AVPALETTE_SIZE); in gdv_decode_frame()
Dgif.c313 memset(shrunk_palette, 0xff, AVPALETTE_SIZE); in gif_image_write_image()
492 memcpy(s->palette, palette, AVPALETTE_SIZE); in gif_encode_frame()
495 } else if (!memcmp(s->palette, palette, AVPALETTE_SIZE)) { in gif_encode_frame()
Dcdgraphics.c290 memset(cc->frame->data[1], 0, AVPALETTE_SIZE); in cdg_decode_frame()
377 memset(cc->frame->data[1], 0, AVPALETTE_SIZE); in cdg_decode_flush()
Daasc.c56 s->palette_size = FFMIN(avctx->extradata_size, AVPALETTE_SIZE); in aasc_decode_init()
Dinterplayvideo.c960 memcpy(frame->data[1], s->pal, AVPALETTE_SIZE); in ipvideo_decode_format_06_opcodes()
1033 memcpy(frame->data[1], s->pal, AVPALETTE_SIZE); in ipvideo_decode_format_10_opcodes()
1114 memcpy(frame->data[1], s->pal, AVPALETTE_SIZE); in ipvideo_decode_format_11_opcodes()
1322 if (pal && size == AVPALETTE_SIZE) { in ipvideo_decode_frame()
1324 memcpy(s->pal, pal, AVPALETTE_SIZE); in ipvideo_decode_frame()
Danm.c175 memcpy(s->frame->data[1], s->palette, AVPALETTE_SIZE); in decode_frame()
/third_party/ffmpeg/libavformat/
Dimx.c32 uint8_t pal[AVPALETTE_SIZE];
141 AVPALETTE_SIZE); in simbiosis_imx_read_packet()
144 memcpy(pal, imx->pal, AVPALETTE_SIZE); in simbiosis_imx_read_packet()
Dgdv.c183 AVPALETTE_SIZE); in gdv_read_packet()
187 memcpy(pal, gdv->pal, AVPALETTE_SIZE); in gdv_read_packet()
Didcin.c322 AVPALETTE_SIZE); in idcin_read_packet()
326 memcpy(pal, palette, AVPALETTE_SIZE); in idcin_read_packet()
/third_party/ffmpeg/libavfilter/
Dvf_pixdesctest.c85 memcpy(out->data[1], in->data[1], AVPALETTE_SIZE); in filter_frame()

123