Skip to content

Commit

Permalink
deps: update vpx to 1.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Jun 1, 2024
1 parent 9f18c47 commit f0634c9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
11 changes: 10 additions & 1 deletion deps/vpx/include/vpx/vpx_encoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <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
*
* \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);

Expand Down
18 changes: 12 additions & 6 deletions deps/vpx/include/vpx/vpx_image.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Binary file modified deps/vpx/lib/libvpx.a
Binary file not shown.
4 changes: 2 additions & 2 deletions deps/vpx/lib/pkgconfig/vpx.pc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# pkg-config file from libvpx v1.14.0
# pkg-config file from libvpx v1.14.1
prefix=
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
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
Expand Down

0 comments on commit f0634c9

Please sign in to comment.