/third_party/ffmpeg/libavcodec/ |
D | msrle.c | 77 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()
|
D | msvideo1.c | 72 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()
|
D | rawdec.c | 97 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()
|
D | 8bps.c | 129 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()
|
D | tscc.c | 78 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()
|
D | idcinvideo.c | 231 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()
|
D | rscc.c | 62 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()
|
D | imx.c | 61 if (pal && pal_size == AVPALETTE_SIZE) { in imx_decode_frame() 72 memcpy(frame->data[1], imx->pal, AVPALETTE_SIZE); in imx_decode_frame()
|
D | qpeg.c | 303 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()
|
D | smc.c | 115 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()
|
D | mscc.c | 158 if (pal && size == AVPALETTE_SIZE) { in decode_frame() 165 memcpy(frame->data[1], s->pal, AVPALETTE_SIZE); in decode_frame()
|
D | tmv.c | 65 memset(frame->data[1] + 16 * 4, 0, AVPALETTE_SIZE - 16 * 4); in tmv_decode_frame()
|
D | cinepak.c | 482 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()
|
D | qtrle.c | 546 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()
|
D | psd.c | 64 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()
|
D | gdv.c | 482 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()
|
D | gif.c | 313 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()
|
D | cdgraphics.c | 290 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()
|
D | aasc.c | 56 s->palette_size = FFMIN(avctx->extradata_size, AVPALETTE_SIZE); in aasc_decode_init()
|
D | interplayvideo.c | 960 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()
|
D | anm.c | 175 memcpy(s->frame->data[1], s->palette, AVPALETTE_SIZE); in decode_frame()
|
/third_party/ffmpeg/libavformat/ |
D | imx.c | 32 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()
|
D | gdv.c | 183 AVPALETTE_SIZE); in gdv_read_packet() 187 memcpy(pal, gdv->pal, AVPALETTE_SIZE); in gdv_read_packet()
|
D | idcin.c | 322 AVPALETTE_SIZE); in idcin_read_packet() 326 memcpy(pal, palette, AVPALETTE_SIZE); in idcin_read_packet()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_pixdesctest.c | 85 memcpy(out->data[1], in->data[1], AVPALETTE_SIZE); in filter_frame()
|