Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Side by Side Diff: source/libvpx/vp9/common/vp9_loopfilter.h

Issue 290613006: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void vp9_loop_filter_frame_init(struct VP9Common *cm, int default_filt_lvl); 105 void vp9_loop_filter_frame_init(struct VP9Common *cm, int default_filt_lvl);
106 106
107 void vp9_loop_filter_frame(YV12_BUFFER_CONFIG *frame, 107 void vp9_loop_filter_frame(YV12_BUFFER_CONFIG *frame,
108 struct VP9Common *cm, 108 struct VP9Common *cm,
109 struct macroblockd *mbd, 109 struct macroblockd *mbd,
110 int filter_level, 110 int filter_level,
111 int y_only, int partial_frame); 111 int y_only, int partial_frame);
112 112
113 // Apply the loop filter to [start, stop) macro block rows in frame_buffer. 113 // Apply the loop filter to [start, stop) macro block rows in frame_buffer.
114 void vp9_loop_filter_rows(const YV12_BUFFER_CONFIG *frame_buffer, 114 void vp9_loop_filter_rows(const YV12_BUFFER_CONFIG *frame_buffer,
115 struct VP9Common *cm, struct macroblockd *xd, 115 struct VP9Common *cm,
116 struct macroblockd_plane planes[MAX_MB_PLANE],
116 int start, int stop, int y_only); 117 int start, int stop, int y_only);
117 118
118 typedef struct LoopFilterWorkerData { 119 typedef struct LoopFilterWorkerData {
119 const YV12_BUFFER_CONFIG *frame_buffer; 120 const YV12_BUFFER_CONFIG *frame_buffer;
120 struct VP9Common *cm; 121 struct VP9Common *cm;
121 struct macroblockd xd; // TODO(jzern): most of this is unnecessary to the 122 struct macroblockd_plane planes[MAX_MB_PLANE];
122 // loopfilter. the planes are necessary as their state 123
123 // is changed during decode.
124 int start; 124 int start;
125 int stop; 125 int stop;
126 int y_only; 126 int y_only;
127 127
128 struct VP9LfSyncData *lf_sync; 128 struct VP9LfSyncData *lf_sync;
129 int num_lf_workers; 129 int num_lf_workers;
130 } LFWorkerData; 130 } LFWorkerData;
131 131
132 // Operates on the rows described by LFWorkerData passed as 'arg1'. 132 // Operates on the rows described by LFWorkerData passed as 'arg1'.
133 int vp9_loop_filter_worker(void *arg1, void *arg2); 133 int vp9_loop_filter_worker(void *arg1, void *arg2);
134 #ifdef __cplusplus 134 #ifdef __cplusplus
135 } // extern "C" 135 } // extern "C"
136 #endif 136 #endif
137 137
138 #endif // VP9_COMMON_VP9_LOOPFILTER_H_ 138 #endif // VP9_COMMON_VP9_LOOPFILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698