summaryrefslogtreecommitdiff
path: root/chromium/third_party/libaom/source/libaom/aom
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-09-07 13:12:05 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-09 10:02:59 +0000
commit33fc33aa94d4add0878ec30dc818e34e1dd3cc2a (patch)
treef6af110909c79b2759136554f1143d8b0572af0a /chromium/third_party/libaom/source/libaom/aom
parent7d2c5d177e9813077a621df8d18c0deda73099b3 (diff)
downloadqtwebengine-chromium-33fc33aa94d4add0878ec30dc818e34e1dd3cc2a.tar.gz
BASELINE: Update Chromium to 104.0.5112.120
Change-Id: I5d2726c2ab018d75d055739b6ba64317904f05bb Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/438935 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/libaom/source/libaom/aom')
-rw-r--r--chromium/third_party/libaom/source/libaom/aom/aom_encoder.h8
-rw-r--r--chromium/third_party/libaom/source/libaom/aom/aom_image.h8
2 files changed, 14 insertions, 2 deletions
diff --git a/chromium/third_party/libaom/source/libaom/aom/aom_encoder.h b/chromium/third_party/libaom/source/libaom/aom/aom_encoder.h
index 0c3be5a5ada..09617c01b01 100644
--- a/chromium/third_party/libaom/source/libaom/aom/aom_encoder.h
+++ b/chromium/third_party/libaom/source/libaom/aom/aom_encoder.h
@@ -888,6 +888,12 @@ typedef struct aom_codec_enc_cfg {
*/
unsigned int use_fixed_qp_offsets;
+ /*!\brief Deprecated and ignored. DO NOT USE.
+ *
+ * TODO(aomedia:3269): Remove fixed_qp_offsets in libaom v4.0.0.
+ */
+ int fixed_qp_offsets[5];
+
/*!\brief Options defined per config file
*
*/
@@ -1015,6 +1021,8 @@ aom_fixed_buf_t *aom_codec_get_global_headers(aom_codec_ctx_t *ctx);
*
* \param[in] ctx Pointer to this instance's context
* \param[in] img Image data to encode, NULL to flush.
+ * Encoding sample values outside the range
+ * [0..(1<<img->bit_depth)-1] is undefined behavior.
* \param[in] pts Presentation time stamp, in timebase units. If img
* is NULL, pts is ignored.
* \param[in] duration Duration to show frame, in timebase units. If img
diff --git a/chromium/third_party/libaom/source/libaom/aom/aom_image.h b/chromium/third_party/libaom/source/libaom/aom/aom_image.h
index 154563e1234..d5f0c087e6b 100644
--- a/chromium/third_party/libaom/source/libaom/aom/aom_image.h
+++ b/chromium/third_party/libaom/source/libaom/aom/aom_image.h
@@ -129,8 +129,12 @@ typedef enum aom_matrix_coefficients {
/*!\brief List of supported color range */
typedef enum aom_color_range {
- AOM_CR_STUDIO_RANGE = 0, /**< Y [16..235], UV [16..240] */
- AOM_CR_FULL_RANGE = 1 /**< YUV/RGB [0..255] */
+ AOM_CR_STUDIO_RANGE = 0, /**<- Y [16..235], UV [16..240] (bit depth 8) */
+ /**<- Y [64..940], UV [64..960] (bit depth 10) */
+ /**<- Y [256..3760], UV [256..3840] (bit depth 12) */
+ AOM_CR_FULL_RANGE = 1 /**<- YUV/RGB [0..255] (bit depth 8) */
+ /**<- YUV/RGB [0..1023] (bit depth 10) */
+ /**<- YUV/RGB [0..4095] (bit depth 12) */
} aom_color_range_t; /**< alias for enum aom_color_range */
/*!\brief List of chroma sample positions */