Lines Matching refs:picture
34 AVFrame *picture[2]; /* pictures array */
35 int picture_index; /* index of current picture */
42 unsigned mb_width, mb_height; /* size of picture in MB's from MXM header */
55 av_frame_free(&s->picture[i]);
68 s->picture[0] = av_frame_alloc();
69 s->picture[1] = av_frame_alloc();
70 if (!s->picture[0] || !s->picture[1]) {
75 s->jpg.picture_ptr = s->picture[0];
175 "Dimensions of current and reference picture mismatch\n");
267 "First picture has no SOF, skipping\n");
275 /* use stored SOF data to allocate current picture */
289 AVFrame *reference_ptr = s->picture[s->picture_index ^ 1];
293 /* allocate dummy reference picture if needed */
324 jpg->picture_ptr = s->picture[s->picture_index];