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

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

Issue 812033011: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 5 years, 11 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) 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
11 #ifndef VP9_DECODER_VP9_DTHREAD_H_ 11 #ifndef VP9_DECODER_VP9_DTHREAD_H_
12 #define VP9_DECODER_VP9_DTHREAD_H_ 12 #define VP9_DECODER_VP9_DTHREAD_H_
13 13
14 #include "./vpx_config.h" 14 #include "./vpx_config.h"
15 #include "vp9/common/vp9_thread.h" 15 #include "vp9/common/vp9_thread.h"
16 #include "vp9/decoder/vp9_reader.h" 16 #include "vp9/decoder/vp9_reader.h"
17 #include "vpx/internal/vpx_codec_internal.h"
17 18
18 struct VP9Common; 19 struct VP9Common;
19 struct VP9Decoder; 20 struct VP9Decoder;
20 21
21 typedef struct TileWorkerData { 22 typedef struct TileWorkerData {
22 struct VP9Common *cm; 23 struct VP9Common *cm;
23 vp9_reader bit_reader; 24 vp9_reader bit_reader;
24 DECLARE_ALIGNED(16, struct macroblockd, xd); 25 DECLARE_ALIGNED(16, struct macroblockd, xd);
26 struct vpx_internal_error_info error_info;
25 } TileWorkerData; 27 } TileWorkerData;
26 28
27 // Loopfilter row synchronization 29 // Loopfilter row synchronization
28 typedef struct VP9LfSyncData { 30 typedef struct VP9LfSyncData {
29 #if CONFIG_MULTITHREAD 31 #if CONFIG_MULTITHREAD
30 pthread_mutex_t *mutex_; 32 pthread_mutex_t *mutex_;
31 pthread_cond_t *cond_; 33 pthread_cond_t *cond_;
32 #endif 34 #endif
33 // Allocate memory to store the loop-filtered superblock index in each row. 35 // Allocate memory to store the loop-filtered superblock index in each row.
34 int *cur_sb_col; 36 int *cur_sb_col;
(...skipping 17 matching lines...) Expand all
52 // Multi-threaded loopfilter that uses the tile threads. 54 // Multi-threaded loopfilter that uses the tile threads.
53 void vp9_loop_filter_frame_mt(VP9LfSync *lf_sync, 55 void vp9_loop_filter_frame_mt(VP9LfSync *lf_sync,
54 YV12_BUFFER_CONFIG *frame, 56 YV12_BUFFER_CONFIG *frame,
55 struct macroblockd_plane planes[MAX_MB_PLANE], 57 struct macroblockd_plane planes[MAX_MB_PLANE],
56 struct VP9Common *cm, 58 struct VP9Common *cm,
57 VP9Worker *workers, int num_workers, 59 VP9Worker *workers, int num_workers,
58 int frame_filter_level, 60 int frame_filter_level,
59 int y_only); 61 int y_only);
60 62
61 #endif // VP9_DECODER_VP9_DTHREAD_H_ 63 #endif // VP9_DECODER_VP9_DTHREAD_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/decoder/vp9_detokenize.c ('k') | source/libvpx/vp9/decoder/vp9_read_bit_buffer.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698