| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 | 11 |
| 12 #include "./vpx_scale_rtcd.h" |
| 12 #include "vp8/common/onyxc_int.h" | 13 #include "vp8/common/onyxc_int.h" |
| 13 #include "onyx_int.h" | 14 #include "onyx_int.h" |
| 14 #include "quantize.h" | 15 #include "quantize.h" |
| 15 #include "vpx_mem/vpx_mem.h" | 16 #include "vpx_mem/vpx_mem.h" |
| 16 #include "vpx_scale/vpxscale.h" | 17 #include "vpx_scale/vpxscale.h" |
| 17 #include "vp8/common/alloccommon.h" | 18 #include "vp8/common/alloccommon.h" |
| 18 #include "vp8/common/loopfilter.h" | 19 #include "vp8/common/loopfilter.h" |
| 19 #if ARCH_ARM | 20 #if ARCH_ARM |
| 20 #include "vpx_ports/arm.h" | 21 #include "vpx_ports/arm.h" |
| 21 #endif | 22 #endif |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 filt_direction = (filt_best < filt_mid) ? -1 : 1; | 398 filt_direction = (filt_best < filt_mid) ? -1 : 1; |
| 398 filt_mid = filt_best; | 399 filt_mid = filt_best; |
| 399 } | 400 } |
| 400 } | 401 } |
| 401 | 402 |
| 402 cm->filter_level = filt_best; | 403 cm->filter_level = filt_best; |
| 403 | 404 |
| 404 /* restore unfiltered frame pointer */ | 405 /* restore unfiltered frame pointer */ |
| 405 cm->frame_to_show = saved_frame; | 406 cm->frame_to_show = saved_frame; |
| 406 } | 407 } |
| OLD | NEW |