deps: update vpx to 1.14.1

This commit is contained in:
alexey.lysiuk 2024-06-01 11:49:17 +03:00
parent 9f18c47081
commit f0634c99b8
4 changed files with 24 additions and 9 deletions

View file

@ -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. * Retrieves a stream level global header packet, if supported by the codec.
* *
* \li VP8: Unsupported
* \li VP9: Returns a buffer of <tt>ID (1 byte)|Length (1 byte)|Length
* bytes</tt> values. The function should be called after encoding to retrieve
* the most accurate information.
*
* \param[in] ctx Pointer to this instance's context * \param[in] ctx Pointer to this instance's context
* *
* \retval NULL * \retval NULL
* Encoder does not support global header * Encoder does not support global header
* \retval Non-NULL * \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); vpx_fixed_buf_t *vpx_codec_get_global_headers(vpx_codec_ctx_t *ctx);

View file

@ -132,10 +132,13 @@ typedef struct vpx_image_rect {
* is NULL, the storage for the descriptor will be * is NULL, the storage for the descriptor will be
* allocated on the heap. * allocated on the heap.
* \param[in] fmt Format for the image * \param[in] fmt Format for the image
* \param[in] d_w Width of the image * \param[in] d_w Width of the image. Must not exceed 0x08000000
* \param[in] d_h Height of the image * (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 * \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 * \return Returns a pointer to the initialized image descriptor. If the img
* parameter is non-null, the value of the img parameter will be * 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 * parameter is NULL, the storage for the descriptor
* will be allocated on the heap. * will be allocated on the heap.
* \param[in] fmt Format for the image * \param[in] fmt Format for the image
* \param[in] d_w Width of the image * \param[in] d_w Width of the image. Must not exceed 0x08000000
* \param[in] d_h Height of the image * (2^27).
* \param[in] stride_align Alignment, in bytes, of each row in the image. * \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 * \param[in] img_data Storage to use for the image
* *
* \return Returns a pointer to the initialized image descriptor. If the img * \return Returns a pointer to the initialized image descriptor. If the img

BIN
deps/vpx/lib/libvpx.a vendored

Binary file not shown.

View file

@ -1,4 +1,4 @@
# pkg-config file from libvpx v1.14.0 # pkg-config file from libvpx v1.14.1
prefix= prefix=
exec_prefix=${prefix} exec_prefix=${prefix}
libdir=${exec_prefix}/lib libdir=${exec_prefix}/lib
@ -6,7 +6,7 @@ includedir=${prefix}/include
Name: vpx Name: vpx
Description: WebM Project VPx codec implementation Description: WebM Project VPx codec implementation
Version: 1.14.0 Version: 1.14.1
Requires: Requires:
Conflicts: Conflicts:
Libs: -L${libdir} -lvpx -lm Libs: -L${libdir} -lvpx -lm