Commit 65e159b8 authored by Debargha Mukherjee's avatar Debargha Mukherjee

Turn off global motion compute for scaled frames

Change-Id: I472775a6877721f5ebee6b14f760227546110b7a
parent 405c857c
......@@ -4899,6 +4899,8 @@ static void encode_frame_internal(AV1_COMP *cpi) {
memcpy(&cm->global_motion[frame], &cm->global_motion[pframe],
sizeof(WarpedMotionParams));
} else if (ref_buf[frame] &&
ref_buf[frame]->y_crop_width == cpi->source->y_crop_width &&
ref_buf[frame]->y_crop_height == cpi->source->y_crop_height &&
do_gm_search_logic(&cpi->sf, num_refs_using_gm, frame)) {
TransformationType model;
const int64_t ref_frame_error = av1_frame_error(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment