Index: source/libvpx/vpx/vp8dx.h |
=================================================================== |
--- source/libvpx/vpx/vp8dx.h (revision 240950) |
+++ source/libvpx/vpx/vp8dx.h (working copy) |
@@ -73,9 +73,19 @@ |
*/ |
VP8D_SET_DECRYPTOR, |
+ /** control function to get the display dimensions for the current frame. */ |
+ VP9D_GET_DISPLAY_SIZE, |
+ |
/** For testing. */ |
VP9_INVERT_TILE_DECODE_ORDER, |
+ /** control function to set the vp9 decoder into using the least recently |
+ * used frame buffer when a new buffer is requested. Takes an int and if |
+ * the value is zero will turn off using lru cache. The value of zero is |
+ * the default. If the value is anything besides zero, then that will turn |
+ * on lru cache.*/ |
+ VP9D_SET_FRAME_BUFFER_LRU_CACHE, |
+ |
VP8_DECODER_CTRL_ID_MAX |
}; |
@@ -105,7 +115,9 @@ |
VPX_CTRL_USE_TYPE(VP8D_GET_FRAME_CORRUPTED, int *) |
VPX_CTRL_USE_TYPE(VP8D_GET_LAST_REF_USED, int *) |
VPX_CTRL_USE_TYPE(VP8D_SET_DECRYPTOR, vp8_decrypt_init *) |
+VPX_CTRL_USE_TYPE(VP9D_GET_DISPLAY_SIZE, int *) |
VPX_CTRL_USE_TYPE(VP9_INVERT_TILE_DECODE_ORDER, int) |
+VPX_CTRL_USE_TYPE(VP9D_SET_FRAME_BUFFER_LRU_CACHE, int) |
/*! @} - end defgroup vp8_decoder */ |