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

Side by Side Diff: source/libvpx/vp9/decoder/vp9_dthread.h

Issue 554673004: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 3 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
« no previous file with comments | « source/libvpx/vp9/decoder/vp9_decoder.c ('k') | source/libvpx/vp9/decoder/vp9_dthread.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 20 matching lines...) Expand all
31 typedef struct VP9LfSyncData { 31 typedef struct VP9LfSyncData {
32 #if CONFIG_MULTITHREAD 32 #if CONFIG_MULTITHREAD
33 pthread_mutex_t *mutex_; 33 pthread_mutex_t *mutex_;
34 pthread_cond_t *cond_; 34 pthread_cond_t *cond_;
35 #endif 35 #endif
36 // Allocate memory to store the loop-filtered superblock index in each row. 36 // Allocate memory to store the loop-filtered superblock index in each row.
37 int *cur_sb_col; 37 int *cur_sb_col;
38 // The optimal sync_range for different resolution and platform should be 38 // The optimal sync_range for different resolution and platform should be
39 // determined by testing. Currently, it is chosen to be a power-of-2 number. 39 // determined by testing. Currently, it is chosen to be a power-of-2 number.
40 int sync_range; 40 int sync_range;
41 int rows;
41 } VP9LfSync; 42 } VP9LfSync;
42 43
43 // Allocate memory for loopfilter row synchronization. 44 // Allocate memory for loopfilter row synchronization.
44 void vp9_loop_filter_alloc(struct VP9Common *cm, VP9LfSync *lf_sync, 45 void vp9_loop_filter_alloc(struct VP9Common *cm, VP9LfSync *lf_sync,
45 int rows, int width); 46 int rows, int width);
46 47
47 // Deallocate loopfilter synchronization related mutex and data. 48 // Deallocate loopfilter synchronization related mutex and data.
48 void vp9_loop_filter_dealloc(VP9LfSync *lf_sync, int rows); 49 void vp9_loop_filter_dealloc(VP9LfSync *lf_sync);
49 50
50 // Multi-threaded loopfilter that uses the tile threads. 51 // Multi-threaded loopfilter that uses the tile threads.
51 void vp9_loop_filter_frame_mt(YV12_BUFFER_CONFIG *frame, 52 void vp9_loop_filter_frame_mt(YV12_BUFFER_CONFIG *frame,
52 struct VP9Decoder *pbi, 53 struct VP9Decoder *pbi,
53 struct VP9Common *cm, 54 struct VP9Common *cm,
54 int frame_filter_level, 55 int frame_filter_level,
55 int y_only); 56 int y_only);
56 57
57 #endif // VP9_DECODER_VP9_DTHREAD_H_ 58 #endif // VP9_DECODER_VP9_DTHREAD_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/decoder/vp9_decoder.c ('k') | source/libvpx/vp9/decoder/vp9_dthread.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698