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 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 TileData *tile_data; | 51 TileData *tile_data; |
52 int total_tiles; | 52 int total_tiles; |
53 | 53 |
54 VP9LfSync lf_row_sync; | 54 VP9LfSync lf_row_sync; |
55 | 55 |
56 vpx_decrypt_cb decrypt_cb; | 56 vpx_decrypt_cb decrypt_cb; |
57 void *decrypt_state; | 57 void *decrypt_state; |
58 | 58 |
59 int max_threads; | 59 int max_threads; |
60 int inv_tile_order; | 60 int inv_tile_order; |
| 61 int need_resync; // wait for key/intra-only frame |
61 } VP9Decoder; | 62 } VP9Decoder; |
62 | 63 |
63 int vp9_receive_compressed_data(struct VP9Decoder *pbi, | 64 int vp9_receive_compressed_data(struct VP9Decoder *pbi, |
64 size_t size, const uint8_t **dest); | 65 size_t size, const uint8_t **dest); |
65 | 66 |
66 int vp9_get_raw_frame(struct VP9Decoder *pbi, YV12_BUFFER_CONFIG *sd, | 67 int vp9_get_raw_frame(struct VP9Decoder *pbi, YV12_BUFFER_CONFIG *sd, |
67 vp9_ppflags_t *flags); | 68 vp9_ppflags_t *flags); |
68 | 69 |
69 vpx_codec_err_t vp9_copy_reference_dec(struct VP9Decoder *pbi, | 70 vpx_codec_err_t vp9_copy_reference_dec(struct VP9Decoder *pbi, |
70 VP9_REFFRAME ref_frame_flag, | 71 VP9_REFFRAME ref_frame_flag, |
(...skipping 24 matching lines...) Expand all Loading... |
95 size_t data_sz, | 96 size_t data_sz, |
96 uint32_t sizes[8], int *count, | 97 uint32_t sizes[8], int *count, |
97 vpx_decrypt_cb decrypt_cb, | 98 vpx_decrypt_cb decrypt_cb, |
98 void *decrypt_state); | 99 void *decrypt_state); |
99 | 100 |
100 #ifdef __cplusplus | 101 #ifdef __cplusplus |
101 } // extern "C" | 102 } // extern "C" |
102 #endif | 103 #endif |
103 | 104 |
104 #endif // VP9_DECODER_VP9_DECODER_H_ | 105 #endif // VP9_DECODER_VP9_DECODER_H_ |
OLD | NEW |