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 #ifndef loopfilter_h | 12 #ifndef loopfilter_h |
13 #define loopfilter_h | 13 #define loopfilter_h |
14 | 14 |
15 #include "vpx_ports/mem.h" | 15 #include "vpx_ports/mem.h" |
16 #include "vpx_config.h" | 16 #include "vpx_config.h" |
17 #include "vpx_rtcd.h" | 17 #include "vp8_rtcd.h" |
18 | 18 |
19 #define MAX_LOOP_FILTER 63 | 19 #define MAX_LOOP_FILTER 63 |
20 /* fraction of total macroblock rows to be used in fast filter level picking */ | 20 /* fraction of total macroblock rows to be used in fast filter level picking */ |
21 /* has to be > 2 */ | 21 /* has to be > 2 */ |
22 #define PARTIAL_FRAME_FRACTION 8 | 22 #define PARTIAL_FRAME_FRACTION 8 |
23 | 23 |
24 typedef enum | 24 typedef enum |
25 { | 25 { |
26 NORMAL_LOOPFILTER = 0, | 26 NORMAL_LOOPFILTER = 0, |
27 SIMPLE_LOOPFILTER = 1 | 27 SIMPLE_LOOPFILTER = 1 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 int mb_row, int post_ystride, int post_uvstride, | 96 int mb_row, int post_ystride, int post_uvstride, |
97 unsigned char *y_ptr, unsigned char *u_ptr, | 97 unsigned char *y_ptr, unsigned char *u_ptr, |
98 unsigned char *v_ptr); | 98 unsigned char *v_ptr); |
99 | 99 |
100 void vp8_loop_filter_row_simple(struct VP8Common *cm, | 100 void vp8_loop_filter_row_simple(struct VP8Common *cm, |
101 struct modeinfo *mode_info_context, | 101 struct modeinfo *mode_info_context, |
102 int mb_row, int post_ystride, int post_uvstride, | 102 int mb_row, int post_ystride, int post_uvstride, |
103 unsigned char *y_ptr, unsigned char *u_ptr, | 103 unsigned char *y_ptr, unsigned char *u_ptr, |
104 unsigned char *v_ptr); | 104 unsigned char *v_ptr); |
105 #endif | 105 #endif |
OLD | NEW |