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, unsigned int flags); | 82 int64_t ts_start, int64_t ts_end, |
| 83 #if CONFIG_VP9_HIGHBITDEPTH |
| 84 int use_highbitdepth, |
| 85 #endif |
| 86 unsigned int flags); |
83 | 87 |
84 | 88 |
85 /**\brief Get the next source buffer to encode | 89 /**\brief Get the next source buffer to encode |
86 * | 90 * |
87 * | 91 * |
88 * \param[in] ctx Pointer to the lookahead context | 92 * \param[in] ctx Pointer to the lookahead context |
89 * \param[in] drain Flag indicating the buffer should be drained | 93 * \param[in] drain Flag indicating the buffer should be drained |
90 * (return a buffer regardless of the current queue depth) | 94 * (return a buffer regardless of the current queue depth) |
91 * | 95 * |
92 * \retval NULL, if drain set and queue is empty | 96 * \retval NULL, if drain set and queue is empty |
(...skipping 18 matching lines...) Expand all Loading... |
111 * | 115 * |
112 * \param[in] ctx Pointer to the lookahead context | 116 * \param[in] ctx Pointer to the lookahead context |
113 */ | 117 */ |
114 unsigned int vp9_lookahead_depth(struct lookahead_ctx *ctx); | 118 unsigned int vp9_lookahead_depth(struct lookahead_ctx *ctx); |
115 | 119 |
116 #ifdef __cplusplus | 120 #ifdef __cplusplus |
117 } // extern "C" | 121 } // extern "C" |
118 #endif | 122 #endif |
119 | 123 |
120 #endif // VP9_ENCODER_VP9_LOOKAHEAD_H_ | 124 #endif // VP9_ENCODER_VP9_LOOKAHEAD_H_ |
OLD | NEW |