Lines Matching refs:picture
36 AVFrame *picture[2]; /* pictures array */
87 s->picture[0] = av_frame_alloc();
88 if (!s->picture[0])
91 s->picture[1] = av_frame_alloc();
92 if (!s->picture[1])
95 s->jpg.picture_ptr = s->picture[0];
131 AVFrame* mjpeg_data = s->picture[0];
163 s->picture[1]->extended_data = NULL;
164 s->picture[1]->width = avctx->width;
165 s->picture[1]->height = avctx->height;
166 s->picture[1]->format = avctx->pix_fmt;
167 /* ff_init_buffer_info(avctx, &s->picture[1]); */
168 smv_img_pnt(s->picture[1]->data, mjpeg_data->data, mjpeg_data->linesize,
171 s->picture[1]->linesize[i] = mjpeg_data->linesize[i];
173 ret = av_frame_ref(data, s->picture[1]);
186 av_frame_free(&s->picture[0]);
187 av_frame_free(&s->picture[1]);