| 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 #include <math.h> | 11 #include <math.h> |
| 12 #include <limits.h> | 12 #include <limits.h> |
| 13 | 13 |
| 14 #include "vp9/common/vp9_alloccommon.h" | 14 #include "vp9/common/vp9_alloccommon.h" |
| 15 #include "vp9/common/vp9_onyxc_int.h" | 15 #include "vp9/common/vp9_onyxc_int.h" |
| 16 #include "vp9/common/vp9_quant_common.h" | 16 #include "vp9/common/vp9_quant_common.h" |
| 17 #include "vp9/common/vp9_reconinter.h" | 17 #include "vp9/common/vp9_reconinter.h" |
| 18 #include "vp9/encoder/vp9_extend.h" | 18 #include "vp9/encoder/vp9_extend.h" |
| 19 #include "vp9/encoder/vp9_firstpass.h" | 19 #include "vp9/encoder/vp9_firstpass.h" |
| 20 #include "vp9/encoder/vp9_mcomp.h" | 20 #include "vp9/encoder/vp9_mcomp.h" |
| 21 #include "vp9/encoder/vp9_encoder.h" | 21 #include "vp9/encoder/vp9_encoder.h" |
| 22 #include "vp9/encoder/vp9_quantize.h" | 22 #include "vp9/encoder/vp9_quantize.h" |
| 23 #include "vp9/encoder/vp9_ratectrl.h" | 23 #include "vp9/encoder/vp9_ratectrl.h" |
| 24 #include "vp9/encoder/vp9_segmentation.h" | 24 #include "vp9/encoder/vp9_segmentation.h" |
| 25 #include "vp9/encoder/vp9_temporal_filter.h" | 25 #include "vp9/encoder/vp9_temporal_filter.h" |
| 26 #include "vpx_dsp/vpx_dsp_common.h" |
| 26 #include "vpx_mem/vpx_mem.h" | 27 #include "vpx_mem/vpx_mem.h" |
| 27 #include "vpx_ports/mem.h" | 28 #include "vpx_ports/mem.h" |
| 28 #include "vpx_ports/vpx_timer.h" | 29 #include "vpx_ports/vpx_timer.h" |
| 29 #include "vpx_scale/vpx_scale.h" | 30 #include "vpx_scale/vpx_scale.h" |
| 30 | 31 |
| 31 static int fixed_divide[512]; | 32 static int fixed_divide[512]; |
| 32 | 33 |
| 33 static void temporal_filter_predictors_mb_c(MACROBLOCKD *xd, | 34 static void temporal_filter_predictors_mb_c(MACROBLOCKD *xd, |
| 34 uint8_t *y_mb_ptr, | 35 uint8_t *y_mb_ptr, |
| 35 uint8_t *u_mb_ptr, | 36 uint8_t *u_mb_ptr, |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 frames[0]->y_crop_height, | 743 frames[0]->y_crop_height, |
| 743 frames[0]->y_crop_width, | 744 frames[0]->y_crop_width, |
| 744 frames[0]->y_crop_height); | 745 frames[0]->y_crop_height); |
| 745 #endif // CONFIG_VP9_HIGHBITDEPTH | 746 #endif // CONFIG_VP9_HIGHBITDEPTH |
| 746 } | 747 } |
| 747 } | 748 } |
| 748 | 749 |
| 749 temporal_filter_iterate_c(cpi, frames, frames_to_blur, | 750 temporal_filter_iterate_c(cpi, frames, frames_to_blur, |
| 750 frames_to_blur_backward, strength, &sf); | 751 frames_to_blur_backward, strength, &sf); |
| 751 } | 752 } |
| OLD | NEW |