diff --git a/deps/vpx/include/vpx/vpx_encoder.h b/deps/vpx/include/vpx/vpx_encoder.h index c45d1a2b..e65d2722 100644 --- a/deps/vpx/include/vpx/vpx_encoder.h +++ b/deps/vpx/include/vpx/vpx_encoder.h @@ -970,12 +970,21 @@ vpx_codec_err_t vpx_codec_enc_config_set(vpx_codec_ctx_t *ctx, * * Retrieves a stream level global header packet, if supported by the codec. * + * \li VP8: Unsupported + * \li VP9: Returns a buffer of ID (1 byte)|Length (1 byte)|Length + * bytes values. The function should be called after encoding to retrieve + * the most accurate information. + * * \param[in] ctx Pointer to this instance's context * * \retval NULL * Encoder does not support global header * \retval Non-NULL - * Pointer to buffer containing global header packet + * Pointer to buffer containing global header packet. The buffer pointer + * and its contents are only valid for the lifetime of \a ctx. The contents + * may change in subsequent calls to the function. + * \sa + * https://www.webmproject.org/docs/container/#vp9-codec-feature-metadata-codecprivate */ vpx_fixed_buf_t *vpx_codec_get_global_headers(vpx_codec_ctx_t *ctx); diff --git a/deps/vpx/include/vpx/vpx_image.h b/deps/vpx/include/vpx/vpx_image.h index 1adc9b9d..a0c16c34 100644 --- a/deps/vpx/include/vpx/vpx_image.h +++ b/deps/vpx/include/vpx/vpx_image.h @@ -132,10 +132,13 @@ typedef struct vpx_image_rect { * is NULL, the storage for the descriptor will be * allocated on the heap. * \param[in] fmt Format for the image - * \param[in] d_w Width of the image - * \param[in] d_h Height of the image + * \param[in] d_w Width of the image. Must not exceed 0x08000000 + * (2^27). + * \param[in] d_h Height of the image. Must not exceed 0x08000000 + * (2^27). * \param[in] align Alignment, in bytes, of the image buffer and - * each row in the image(stride). + * each row in the image (stride). Must not exceed + * 65536. * * \return Returns a pointer to the initialized image descriptor. If the img * parameter is non-null, the value of the img parameter will be @@ -155,9 +158,12 @@ vpx_image_t *vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt, * parameter is NULL, the storage for the descriptor * will be allocated on the heap. * \param[in] fmt Format for the image - * \param[in] d_w Width of the image - * \param[in] d_h Height of the image - * \param[in] stride_align Alignment, in bytes, of each row in the image. + * \param[in] d_w Width of the image. Must not exceed 0x08000000 + * (2^27). + * \param[in] d_h Height of the image. Must not exceed 0x08000000 + * (2^27). + * \param[in] stride_align Alignment, in bytes, of each row in the image + * (stride). Must not exceed 65536. * \param[in] img_data Storage to use for the image * * \return Returns a pointer to the initialized image descriptor. If the img diff --git a/deps/vpx/lib/libvpx.a b/deps/vpx/lib/libvpx.a index 30b574a4..1ecba2ad 100644 Binary files a/deps/vpx/lib/libvpx.a and b/deps/vpx/lib/libvpx.a differ diff --git a/deps/vpx/lib/pkgconfig/vpx.pc b/deps/vpx/lib/pkgconfig/vpx.pc index c3de15e5..c1db27d1 100644 --- a/deps/vpx/lib/pkgconfig/vpx.pc +++ b/deps/vpx/lib/pkgconfig/vpx.pc @@ -1,4 +1,4 @@ -# pkg-config file from libvpx v1.14.0 +# pkg-config file from libvpx v1.14.1 prefix= exec_prefix=${prefix} libdir=${exec_prefix}/lib @@ -6,7 +6,7 @@ includedir=${prefix}/include Name: vpx Description: WebM Project VPx codec implementation -Version: 1.14.0 +Version: 1.14.1 Requires: Conflicts: Libs: -L${libdir} -lvpx -lm