Lines Matching refs:frame
35 int (*decode)(AVCodecContext *avctx, AVFrame *frame,
40 static int bitpacked_decode_uyvy422(AVCodecContext *avctx, AVFrame *frame,
47 frame->buf[0] = av_buffer_ref(avpkt->buf);
48 ret = av_image_fill_arrays(frame->data, frame->linesize, avpkt->data,
51 av_buffer_unref(&frame->buf[0]);
58 static int bitpacked_decode_yuv422p10(AVCodecContext *avctx, AVFrame *frame,
67 ret = ff_get_buffer(avctx, frame, 0);
82 y = (uint16_t*)(frame->data[0] + i * frame->linesize[0]);
83 u = (uint16_t*)(frame->data[1] + i * frame->linesize[1]);
84 v = (uint16_t*)(frame->data[2] + i * frame->linesize[2]);
125 AVFrame *frame = data;
128 frame->pict_type = AV_PICTURE_TYPE_I;
129 frame->key_frame = 1;
131 res = bc->decode(avctx, frame, avpkt);