Lines Matching refs:pic
39 static int decode_frame(AVCodecContext *avctx, AVFrame *pic,
57 if ((ret = ff_get_buffer(avctx, pic, 0)) < 0)
60 ydst = (uint16_t *)pic->data[0];
61 udst = (uint16_t *)pic->data[1];
62 vdst = (uint16_t *)pic->data[2];
64 pic->pict_type = AV_PICTURE_TYPE_I;
65 pic->key_frame = 1;
77 ydst += pic->linesize[0] / 2 - width;
78 udst += pic->linesize[1] / 2 - width / 2;
79 vdst += pic->linesize[2] / 2 - width / 2;
93 ydst += pic->linesize[0] / 2 - width;
94 udst += pic->linesize[1] / 2 - width / 2;
95 vdst += pic->linesize[2] / 2 - width / 2;
108 ydst += pic->linesize[0] / 2 - width;
109 udst += pic->linesize[1] / 2 - width / 2;
110 vdst += pic->linesize[2] / 2 - width / 2;