ref: 999bc003018877a992ce59c1e26cbd6bb45b7991
parent: 0faa8a0861a827bdaff6d4839bebf7531a891cda
author: Adrian Grange <agrange@google.com>
date: Fri Oct 1 06:14:01 EDT 2010
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
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -3916,6 +3916,7 @@
break;
case 3:
+ default:
/////////////////////////////////////////
// Center Blur
frames_to_blur_forward = num_frames_forward;
@@ -3933,29 +3934,6 @@
if (frames_to_blur_backward > (max_frames / 2))
frames_to_blur_backward = (max_frames / 2);
-
- 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;