OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 #ifndef VP9_ENCODER_VP9_LOOKAHEAD_H_ | 11 #ifndef VP9_ENCODER_VP9_LOOKAHEAD_H_ |
11 #define VP9_ENCODER_VP9_LOOKAHEAD_H_ | 12 #define VP9_ENCODER_VP9_LOOKAHEAD_H_ |
| 13 |
12 #include "vpx_scale/yv12config.h" | 14 #include "vpx_scale/yv12config.h" |
13 #include "vpx/vpx_integer.h" | 15 #include "vpx/vpx_integer.h" |
14 | 16 |
15 struct lookahead_entry { | 17 struct lookahead_entry { |
16 YV12_BUFFER_CONFIG img; | 18 YV12_BUFFER_CONFIG img; |
17 int64_t ts_start; | 19 int64_t ts_start; |
18 int64_t ts_end; | 20 int64_t ts_end; |
19 unsigned int flags; | 21 unsigned int flags; |
20 }; | 22 }; |
21 | 23 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 int index); | 96 int index); |
95 | 97 |
96 | 98 |
97 /**\brief Get the number of frames currently in the lookahead queue | 99 /**\brief Get the number of frames currently in the lookahead queue |
98 * | 100 * |
99 * \param[in] ctx Pointer to the lookahead context | 101 * \param[in] ctx Pointer to the lookahead context |
100 */ | 102 */ |
101 unsigned int | 103 unsigned int |
102 vp9_lookahead_depth(struct lookahead_ctx *ctx); | 104 vp9_lookahead_depth(struct lookahead_ctx *ctx); |
103 | 105 |
104 | 106 #endif // VP9_ENCODER_VP9_LOOKAHEAD_H_ |
105 #endif | |
OLD | NEW |