Lines Matching refs:picture
46 AVFrame *picture;
104 "'-strict %d' if you want to try to decode the picture.\n",
113 "'-strict %d' if you want to try to decode the picture.\n",
292 static int decode_frame(AVCodecContext *avctx, AVFrame *picture,
420 if ((ret = ff_get_buffer(avctx, picture, 0)) < 0)
423 /* decode picture if need */
447 ptr = picture->data[0];
451 index_out = y * picture->linesize[0] + x * s->channel_count * s->pixel_size + c * s->pixel_size;
460 uint8_t *dst[4] = { picture->data[0], picture->data[1], picture->data[2], picture->data[3] };
477 dst[0] += picture->linesize[0];
478 dst[1] += picture->linesize[1];
479 dst[2] += picture->linesize[2];
489 dst[3] += picture->linesize[3];
503 dst[0] += picture->linesize[0];
504 dst[1] += picture->linesize[1];
505 dst[2] += picture->linesize[2];
515 dst[3] += picture->linesize[3];
525 ptr = picture->data[plane_number];/* get the right plane */
528 ptr += picture->linesize[plane_number];
535 picture->palette_has_changed = 1;
536 memcpy(picture->data[1], s->palette, AVPALETTE_SIZE);
541 picture->pict_type = AV_PICTURE_TYPE_I;