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 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 void vp9_setup_mask(struct VP9Common *const cm, | 90 void vp9_setup_mask(struct VP9Common *const cm, |
91 const int mi_row, const int mi_col, | 91 const int mi_row, const int mi_col, |
92 MODE_INFO *mi_8x8, const int mode_info_stride, | 92 MODE_INFO *mi_8x8, const int mode_info_stride, |
93 LOOP_FILTER_MASK *lfm); | 93 LOOP_FILTER_MASK *lfm); |
94 | 94 |
95 void vp9_filter_block_plane(struct VP9Common *const cm, | 95 void vp9_filter_block_plane(struct VP9Common *const cm, |
96 struct macroblockd_plane *const plane, | 96 struct macroblockd_plane *const plane, |
97 int mi_row, | 97 int mi_row, |
98 LOOP_FILTER_MASK *lfm); | 98 LOOP_FILTER_MASK *lfm); |
99 | 99 |
| 100 void vp9_filter_block_plane_non420(struct VP9Common *cm, |
| 101 struct macroblockd_plane *plane, |
| 102 MODE_INFO *mi_8x8, |
| 103 int mi_row, int mi_col); |
| 104 |
100 void vp9_loop_filter_init(struct VP9Common *cm); | 105 void vp9_loop_filter_init(struct VP9Common *cm); |
101 | 106 |
102 // Update the loop filter for the current frame. | 107 // Update the loop filter for the current frame. |
103 // This should be called before vp9_loop_filter_rows(), vp9_loop_filter_frame() | 108 // This should be called before vp9_loop_filter_rows(), vp9_loop_filter_frame() |
104 // calls this function directly. | 109 // calls this function directly. |
105 void vp9_loop_filter_frame_init(struct VP9Common *cm, int default_filt_lvl); | 110 void vp9_loop_filter_frame_init(struct VP9Common *cm, int default_filt_lvl); |
106 | 111 |
107 void vp9_loop_filter_frame(YV12_BUFFER_CONFIG *frame, | 112 void vp9_loop_filter_frame(YV12_BUFFER_CONFIG *frame, |
108 struct VP9Common *cm, | 113 struct VP9Common *cm, |
109 struct macroblockd *mbd, | 114 struct macroblockd *mbd, |
(...skipping 20 matching lines...) Expand all Loading... |
130 LFWorkerData *lf_data, YV12_BUFFER_CONFIG *frame_buffer, | 135 LFWorkerData *lf_data, YV12_BUFFER_CONFIG *frame_buffer, |
131 struct VP9Common *cm, const struct macroblockd_plane planes[MAX_MB_PLANE]); | 136 struct VP9Common *cm, const struct macroblockd_plane planes[MAX_MB_PLANE]); |
132 | 137 |
133 // Operates on the rows described by 'lf_data'. | 138 // Operates on the rows described by 'lf_data'. |
134 int vp9_loop_filter_worker(LFWorkerData *const lf_data, void *unused); | 139 int vp9_loop_filter_worker(LFWorkerData *const lf_data, void *unused); |
135 #ifdef __cplusplus | 140 #ifdef __cplusplus |
136 } // extern "C" | 141 } // extern "C" |
137 #endif | 142 #endif |
138 | 143 |
139 #endif // VP9_COMMON_VP9_LOOPFILTER_H_ | 144 #endif // VP9_COMMON_VP9_LOOPFILTER_H_ |
OLD | NEW |