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 |
11 #ifndef VP9_DECODER_VP9_ONYXD_INT_H_ | 11 #ifndef VP9_DECODER_VP9_ONYXD_INT_H_ |
12 #define VP9_DECODER_VP9_ONYXD_INT_H_ | 12 #define VP9_DECODER_VP9_ONYXD_INT_H_ |
13 | 13 |
14 #include "./vpx_config.h" | 14 #include "./vpx_config.h" |
15 | 15 |
16 #include "vp9/common/vp9_onyxc_int.h" | 16 #include "vp9/common/vp9_onyxc_int.h" |
17 | |
18 #include "vp9/decoder/vp9_idct_blk.h" | |
19 #include "vp9/decoder/vp9_onyxd.h" | 17 #include "vp9/decoder/vp9_onyxd.h" |
20 #include "vp9/decoder/vp9_treereader.h" | 18 #include "vp9/decoder/vp9_thread.h" |
21 | 19 |
22 typedef struct VP9Decompressor { | 20 typedef struct VP9Decompressor { |
23 DECLARE_ALIGNED(16, MACROBLOCKD, mb); | 21 DECLARE_ALIGNED(16, MACROBLOCKD, mb); |
24 | 22 |
25 DECLARE_ALIGNED(16, VP9_COMMON, common); | 23 DECLARE_ALIGNED(16, VP9_COMMON, common); |
26 | 24 |
27 VP9D_CONFIG oxcf; | 25 VP9D_CONFIG oxcf; |
28 | 26 |
29 const uint8_t *source; | 27 const uint8_t *source; |
30 uint32_t source_sz; | 28 uint32_t source_sz; |
31 | 29 |
32 int64_t last_time_stamp; | 30 int64_t last_time_stamp; |
33 int ready_for_new_data; | 31 int ready_for_new_data; |
34 | 32 |
35 int refresh_frame_flags; | 33 int refresh_frame_flags; |
36 | 34 |
37 int decoded_key_frame; | 35 int decoded_key_frame; |
38 | 36 |
39 int initial_width; | 37 int initial_width; |
40 int initial_height; | 38 int initial_height; |
41 | 39 |
42 int do_loopfilter_inline; // apply loopfilter to available rows immediately | 40 int do_loopfilter_inline; // apply loopfilter to available rows immediately |
| 41 VP9Worker lf_worker; |
43 } VP9D_COMP; | 42 } VP9D_COMP; |
44 | 43 |
45 #endif // VP9_DECODER_VP9_TREEREADER_H_ | 44 #endif // VP9_DECODER_VP9_TREEREADER_H_ |
OLD | NEW |