| 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_dsp_rtcd.h" | 12 #include "./vpx_dsp_rtcd.h" |
| 13 #include "./vpx_scale_rtcd.h" | 13 #include "./vpx_scale_rtcd.h" |
| 14 #include "vp8/common/onyxc_int.h" | 14 #include "vp8/common/onyxc_int.h" |
| 15 #include "onyx_int.h" | 15 #include "onyx_int.h" |
| 16 #include "quantize.h" | 16 #include "vp8/encoder/quantize.h" |
| 17 #include "vpx_mem/vpx_mem.h" | 17 #include "vpx_mem/vpx_mem.h" |
| 18 #include "vpx_scale/vpx_scale.h" | 18 #include "vpx_scale/vpx_scale.h" |
| 19 #include "vp8/common/alloccommon.h" | 19 #include "vp8/common/alloccommon.h" |
| 20 #include "vp8/common/loopfilter.h" | 20 #include "vp8/common/loopfilter.h" |
| 21 #if ARCH_ARM | 21 #if ARCH_ARM |
| 22 #include "vpx_ports/arm.h" | 22 #include "vpx_ports/arm.h" |
| 23 #endif | 23 #endif |
| 24 | 24 |
| 25 extern int vp8_calc_ss_err(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest)
; | 25 extern int vp8_calc_ss_err(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest)
; |
| 26 | 26 |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 filt_direction = (filt_best < filt_mid) ? -1 : 1; | 398 filt_direction = (filt_best < filt_mid) ? -1 : 1; |
| 399 filt_mid = filt_best; | 399 filt_mid = filt_best; |
| 400 } | 400 } |
| 401 } | 401 } |
| 402 | 402 |
| 403 cm->filter_level = filt_best; | 403 cm->filter_level = filt_best; |
| 404 | 404 |
| 405 /* restore unfiltered frame pointer */ | 405 /* restore unfiltered frame pointer */ |
| 406 cm->frame_to_show = saved_frame; | 406 cm->frame_to_show = saved_frame; |
| 407 } | 407 } |
| OLD | NEW |