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 "./vpx_scale_rtcd.h" |
13 #include "vp8/common/onyxc_int.h" | 13 #include "vp8/common/onyxc_int.h" |
14 #include "onyx_int.h" | 14 #include "onyx_int.h" |
15 #include "quantize.h" | 15 #include "quantize.h" |
16 #include "vpx_mem/vpx_mem.h" | 16 #include "vpx_mem/vpx_mem.h" |
17 #include "vpx_scale/vpxscale.h" | 17 #include "vpx_scale/vpx_scale.h" |
18 #include "vp8/common/alloccommon.h" | 18 #include "vp8/common/alloccommon.h" |
19 #include "vp8/common/loopfilter.h" | 19 #include "vp8/common/loopfilter.h" |
20 #if ARCH_ARM | 20 #if ARCH_ARM |
21 #include "vpx_ports/arm.h" | 21 #include "vpx_ports/arm.h" |
22 #endif | 22 #endif |
23 | 23 |
24 extern int vp8_calc_ss_err(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest)
; | 24 extern int vp8_calc_ss_err(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest)
; |
25 | 25 |
26 void vp8_yv12_copy_partial_frame_c(YV12_BUFFER_CONFIG *src_ybc, | 26 void vp8_yv12_copy_partial_frame_c(YV12_BUFFER_CONFIG *src_ybc, |
27 YV12_BUFFER_CONFIG *dst_ybc) | 27 YV12_BUFFER_CONFIG *dst_ybc) |
(...skipping 370 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 |