Commit 999bc003 authored by Adrian Grange's avatar Adrian Grange

Made temporal filter default to use centered mode

If temporal filtering is enabled but a filter type is not specified
centered filter mode is used by default.

Change-Id: I87306f267c1390074c806c506a69b4ba914d92a2
parent 0faa8a08
......@@ -3916,6 +3916,7 @@ static void vp8cx_temp_filter_c
break;
case 3:
default:
/////////////////////////////////////////
// Center Blur
frames_to_blur_forward = num_frames_forward;
......@@ -3936,29 +3937,6 @@ static void vp8cx_temp_filter_c
frames_to_blur = frames_to_blur_backward + frames_to_blur_forward + 1;
break;
default:
/////////////////////////////////////////
// At most 4 frames forward Blur
frames_to_blur_forward = 4;
frames_to_blur_backward = num_frames_backward;
if (max_frames > 5)
{
if ((frames_to_blur_backward + frames_to_blur_forward) >= max_frames)
{
frames_to_blur_backward
= max_frames - frames_to_blur_forward - 1;
}
}
else
{
frames_to_blur_forward = max_frames - 1;
frames_to_blur_backward = 0;
}
frames_to_blur = frames_to_blur_backward + frames_to_blur_forward + 1;
break;
}
start_frame = (cpi->last_alt_ref_sei
......
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