| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 * only active macroblocks. | 56 * only active macroblocks. |
| 57 * | 57 * |
| 58 * \param[in] ctx Pointer to the lookahead context | 58 * \param[in] ctx Pointer to the lookahead context |
| 59 * \param[in] src Pointer to the image to enqueue | 59 * \param[in] src Pointer to the image to enqueue |
| 60 * \param[in] ts_start Timestamp for the start of this frame | 60 * \param[in] ts_start Timestamp for the start of this frame |
| 61 * \param[in] ts_end Timestamp for the end of this frame | 61 * \param[in] ts_end Timestamp for the end of this frame |
| 62 * \param[in] flags Flags set on this frame | 62 * \param[in] flags Flags set on this frame |
| 63 * \param[in] active_map Map that specifies which macroblock is active | 63 * \param[in] active_map Map that specifies which macroblock is active |
| 64 */ | 64 */ |
| 65 int vp9_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src, | 65 int vp9_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src, |
| 66 int64_t ts_start, int64_t ts_end, unsigned int flags, | 66 int64_t ts_start, int64_t ts_end, unsigned int flags); |
| 67 unsigned char *active_map); | |
| 68 | 67 |
| 69 | 68 |
| 70 /**\brief Get the next source buffer to encode | 69 /**\brief Get the next source buffer to encode |
| 71 * | 70 * |
| 72 * | 71 * |
| 73 * \param[in] ctx Pointer to the lookahead context | 72 * \param[in] ctx Pointer to the lookahead context |
| 74 * \param[in] drain Flag indicating the buffer should be drained | 73 * \param[in] drain Flag indicating the buffer should be drained |
| 75 * (return a buffer regardless of the current queue depth) | 74 * (return a buffer regardless of the current queue depth) |
| 76 * | 75 * |
| 77 * \retval NULL, if drain set and queue is empty | 76 * \retval NULL, if drain set and queue is empty |
| (...skipping 18 matching lines...) Expand all Loading... |
| 96 * | 95 * |
| 97 * \param[in] ctx Pointer to the lookahead context | 96 * \param[in] ctx Pointer to the lookahead context |
| 98 */ | 97 */ |
| 99 unsigned int vp9_lookahead_depth(struct lookahead_ctx *ctx); | 98 unsigned int vp9_lookahead_depth(struct lookahead_ctx *ctx); |
| 100 | 99 |
| 101 #ifdef __cplusplus | 100 #ifdef __cplusplus |
| 102 } // extern "C" | 101 } // extern "C" |
| 103 #endif | 102 #endif |
| 104 | 103 |
| 105 #endif // VP9_ENCODER_VP9_LOOKAHEAD_H_ | 104 #endif // VP9_ENCODER_VP9_LOOKAHEAD_H_ |
| OLD | NEW |