Lines Matching refs:scratch_frame
142 AVFrame *scratch_frame;
207 if (!(s->scratch_frame = av_frame_alloc()))
261 s->scratch_frame->data[0] = s->pict_bufs[2];
262 s->scratch_frame->linesize[0] = s->w;
273 s->scratch_frame->data[1] = s->scratch_frame->data[0] + s->w * s->h;
274 s->scratch_frame->data[2] = s->scratch_frame->data[1] + ((s->w * s->h) >> 2);
275 s->scratch_frame->linesize[1] = s->scratch_frame->linesize[2] = s->w >> 1;
296 av_frame_free(&s->scratch_frame);
1203 get_sub_picture(s, 0, y, (AVPicture*)s->scratch_frame, &scratch_pict);
1232 FFSWAP(AVFrame *, s->best_frame, s->scratch_frame);
1301 av_frame_free(&s->scratch_frame);