diff options
Diffstat (limited to 'vp8/encoder/lookahead.h')
-rw-r--r-- | vp8/encoder/lookahead.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vp8/encoder/lookahead.h b/vp8/encoder/lookahead.h index 32bafcd63..cf56b75b7 100644 --- a/vp8/encoder/lookahead.h +++ b/vp8/encoder/lookahead.h @@ -82,6 +82,8 @@ vp8_lookahead_pop(struct lookahead_ctx *ctx, int drain); +#define PEEK_FORWARD 1 +#define PEEK_BACKWARD -1 /**\brief Get a future source buffer to encode * * \param[in] ctx Pointer to the lookahead context @@ -92,7 +94,8 @@ vp8_lookahead_pop(struct lookahead_ctx *ctx, */ struct lookahead_entry* vp8_lookahead_peek(struct lookahead_ctx *ctx, - unsigned int index); + unsigned int index, + int direction); /**\brief Get the number of frames currently in the lookahead queue |