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 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 * only active macroblocks. | 72 * only active macroblocks. |
73 * | 73 * |
74 * \param[in] ctx Pointer to the lookahead context | 74 * \param[in] ctx Pointer to the lookahead context |
75 * \param[in] src Pointer to the image to enqueue | 75 * \param[in] src Pointer to the image to enqueue |
76 * \param[in] ts_start Timestamp for the start of this frame | 76 * \param[in] ts_start Timestamp for the start of this frame |
77 * \param[in] ts_end Timestamp for the end of this frame | 77 * \param[in] ts_end Timestamp for the end of this frame |
78 * \param[in] flags Flags set on this frame | 78 * \param[in] flags Flags set on this frame |
79 * \param[in] active_map Map that specifies which macroblock is active | 79 * \param[in] active_map Map that specifies which macroblock is active |
80 */ | 80 */ |
81 int vp9_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src, | 81 int vp9_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src, |
82 int64_t ts_start, int64_t ts_end, | 82 int64_t ts_start, int64_t ts_end, unsigned int flags); |
83 #if CONFIG_VP9_HIGHBITDEPTH | |
84 int use_highbitdepth, | |
85 #endif | |
86 unsigned int flags); | |
87 | 83 |
88 | 84 |
89 /**\brief Get the next source buffer to encode | 85 /**\brief Get the next source buffer to encode |
90 * | 86 * |
91 * | 87 * |
92 * \param[in] ctx Pointer to the lookahead context | 88 * \param[in] ctx Pointer to the lookahead context |
93 * \param[in] drain Flag indicating the buffer should be drained | 89 * \param[in] drain Flag indicating the buffer should be drained |
94 * (return a buffer regardless of the current queue depth) | 90 * (return a buffer regardless of the current queue depth) |
95 * | 91 * |
96 * \retval NULL, if drain set and queue is empty | 92 * \retval NULL, if drain set and queue is empty |
(...skipping 18 matching lines...) Expand all Loading... |
115 * | 111 * |
116 * \param[in] ctx Pointer to the lookahead context | 112 * \param[in] ctx Pointer to the lookahead context |
117 */ | 113 */ |
118 unsigned int vp9_lookahead_depth(struct lookahead_ctx *ctx); | 114 unsigned int vp9_lookahead_depth(struct lookahead_ctx *ctx); |
119 | 115 |
120 #ifdef __cplusplus | 116 #ifdef __cplusplus |
121 } // extern "C" | 117 } // extern "C" |
122 #endif | 118 #endif |
123 | 119 |
124 #endif // VP9_ENCODER_VP9_LOOKAHEAD_H_ | 120 #endif // VP9_ENCODER_VP9_LOOKAHEAD_H_ |
OLD | NEW |