diff --git a/vpx/internal/vpx_codec_internal.h b/vpx/internal/vpx_codec_internal.h
index 5ab32567e2645f4716a897be0230e82f90b2d0e0..6404b987276d59172e96be65cf9a00f1e8b42905 100644
--- a/vpx/internal/vpx_codec_internal.h
+++ b/vpx/internal/vpx_codec_internal.h
@@ -238,8 +238,9 @@ typedef vpx_image_t *(*vpx_codec_get_frame_fn_t)(vpx_codec_alg_priv_t *ctx,
  *     using external frame buffers.
  *
  * \note
- * When decoding VP9, the application must pass in at least 8 external
- * frame buffers, as VP9 can have up to 8 reference frames.
+ * When decoding VP9, the application must pass in at least
+ * #VP9_MAXIMUM_REF_BUFFERS external frame buffers, as VP9 can have up to
+ * that many reference frames.
  */
 typedef vpx_codec_err_t (*vpx_codec_set_frame_buffers_fn_t)(
     vpx_codec_alg_priv_t *ctx,
diff --git a/vpx/vpx_decoder.h b/vpx/vpx_decoder.h
index 30a74ea92aadf39b64e09da59a0f3a13291c031f..f28a07fb37b908d9eb6aa6007dc314c574751b81 100644
--- a/vpx/vpx_decoder.h
+++ b/vpx/vpx_decoder.h
@@ -362,8 +362,9 @@ extern "C" {
    *     using external frame buffers.
    *
    * \note
-   * When decoding VP9, the application must pass in at least 8 external
-   * frame buffers, as VP9 can have up to 8 reference frames.
+   * When decoding VP9, the application must pass in at least
+   * #VP9_MAXIMUM_REF_BUFFERS external frame buffers, as VP9 can have up to
+   * that many reference frames.
    */
   vpx_codec_err_t vpx_codec_set_frame_buffers(
       vpx_codec_ctx_t *ctx,
diff --git a/vpx/vpx_external_frame_buffer.h b/vpx/vpx_external_frame_buffer.h
index 0b787b8f533670c32c7e604622eb2c45dc9f5857..98ce5fdfe395537119d1c6fbfa3c7d8d4f2e959c 100644
--- a/vpx/vpx_external_frame_buffer.h
+++ b/vpx/vpx_external_frame_buffer.h
@@ -17,6 +17,14 @@ extern "C" {
 
 #include "./vpx_integer.h"
 
+/*!\brief The maximum number of work buffers used by libvpx.
+ */
+#define VPX_MAXIMUM_WORK_BUFFERS 1
+
+/*!\brief The maximum number of reference buffers that a VP9 encoder may use.
+ */
+#define VP9_MAXIMUM_REF_BUFFERS 8
+
 /*!\brief External frame buffer
  *
  * This structure is used to hold external frame buffers passed into the