OLD | NEW |
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/decoder/vp9_reader.h" | 16 #include "vp9/decoder/vp9_reader.h" |
16 #include "vp9/decoder/vp9_thread.h" | |
17 | 17 |
18 struct VP9Common; | 18 struct VP9Common; |
19 struct VP9Decoder; | 19 struct VP9Decoder; |
20 | 20 |
21 typedef struct TileWorkerData { | 21 typedef struct TileWorkerData { |
22 struct VP9Common *cm; | 22 struct VP9Common *cm; |
23 vp9_reader bit_reader; | 23 vp9_reader bit_reader; |
24 DECLARE_ALIGNED(16, struct macroblockd, xd); | 24 DECLARE_ALIGNED(16, struct macroblockd, xd); |
25 | 25 |
26 // Row-based parallel loopfilter data | 26 // Row-based parallel loopfilter data |
(...skipping 21 matching lines...) Expand all Loading... |
48 void vp9_loop_filter_dealloc(VP9LfSync *lf_sync, int rows); | 48 void vp9_loop_filter_dealloc(VP9LfSync *lf_sync, int rows); |
49 | 49 |
50 // Multi-threaded loopfilter that uses the tile threads. | 50 // Multi-threaded loopfilter that uses the tile threads. |
51 void vp9_loop_filter_frame_mt(YV12_BUFFER_CONFIG *frame, | 51 void vp9_loop_filter_frame_mt(YV12_BUFFER_CONFIG *frame, |
52 struct VP9Decoder *pbi, | 52 struct VP9Decoder *pbi, |
53 struct VP9Common *cm, | 53 struct VP9Common *cm, |
54 int frame_filter_level, | 54 int frame_filter_level, |
55 int y_only); | 55 int y_only); |
56 | 56 |
57 #endif // VP9_DECODER_VP9_DTHREAD_H_ | 57 #endif // VP9_DECODER_VP9_DTHREAD_H_ |
OLD | NEW |