Searched refs:tmp_frames (Results 1 – 2 of 2) sorted by relevance
1071 s->tmp_frames[i] = av_frame_alloc(); in ff_mpv_encode_init()1072 if (!s->tmp_frames[i]) in ff_mpv_encode_init()1075 s->tmp_frames[i]->format = AV_PIX_FMT_YUV420P; in ff_mpv_encode_init()1076 s->tmp_frames[i]->width = s->width >> s->brd_scale; in ff_mpv_encode_init()1077 s->tmp_frames[i]->height = s->height >> s->brd_scale; in ff_mpv_encode_init()1079 ret = av_frame_get_buffer(s->tmp_frames[i], 0); in ff_mpv_encode_init()1110 for (i = 0; i < FF_ARRAY_ELEMS(s->tmp_frames); i++) in ff_mpv_encode_end()1111 av_frame_free(&s->tmp_frames[i]); in ff_mpv_encode_end()1435 s->mpvencdsp.shrink[scale](s->tmp_frames[i]->data[0], in estimate_best_b_count()1436 s->tmp_frames[i]->linesize[0], in estimate_best_b_count()[all …]
576 AVFrame *tmp_frames[MAX_B_FRAMES + 2]; member