Lines Matching refs:tmp_frame
1072 AVFrame *tmp_frame = &s->realigned_download_frame;
1085 if (tmp_frame->format != dst->format ||
1086 tmp_frame->width != FFALIGN(dst->linesize[0], 16) ||
1087 tmp_frame->height != FFALIGN(dst->height, 16)) {
1088 av_frame_unref(tmp_frame);
1090 tmp_frame->format = dst->format;
1091 tmp_frame->width = FFALIGN(dst->linesize[0], 16);
1092 tmp_frame->height = FFALIGN(dst->height, 16);
1093 ret = av_frame_get_buffer(tmp_frame, 0);
1099 dst_frame = realigned ? tmp_frame : dst;
1132 tmp_frame->width = dst->width;
1133 tmp_frame->height = dst->height;
1134 ret = av_frame_copy(dst, tmp_frame);
1135 tmp_frame->width = FFALIGN(dst->linesize[0], 16);
1136 tmp_frame->height = FFALIGN(dst->height, 16);
1156 AVFrame *tmp_frame = &s->realigned_upload_frame;
1169 if (tmp_frame->format != src->format ||
1170 tmp_frame->width != FFALIGN(src->width, 16) ||
1171 tmp_frame->height != FFALIGN(src->height, 16)) {
1172 av_frame_unref(tmp_frame);
1174 tmp_frame->format = src->format;
1175 tmp_frame->width = FFALIGN(src->width, 16);
1176 tmp_frame->height = FFALIGN(src->height, 16);
1177 ret = av_frame_get_buffer(tmp_frame, 0);
1181 ret = av_frame_copy(tmp_frame, src);
1183 av_frame_unref(tmp_frame);
1186 ret = qsv_fill_border(tmp_frame, src);
1188 av_frame_unref(tmp_frame);
1193 out->Info.CropW = FFMIN(out->Info.Width, tmp_frame->width);
1194 out->Info.CropH = FFMIN(out->Info.Height, tmp_frame->height);
1197 src_frame = realigned ? tmp_frame : src;