diff options
author | Boyuan Yang <byang@debian.org> | 2021-11-07 08:50:20 -0500 |
---|---|---|
committer | Boyuan Yang <byang@debian.org> | 2021-11-07 08:50:20 -0500 |
commit | 513fcf1cd0dca1a6cbef9ff6e38e22237e75ba44 (patch) | |
tree | 249280ac94eb2b871de89cd1b166fff4ee00ab09 /src/gav1/decoder_buffer.h | |
parent | 3c21ceac2f6a5adfab07d3d458880561543d0a31 (diff) | |
parent | 320ef65362608ee1148c299d8d5d7618af34e470 (diff) | |
download | libgav1-513fcf1cd0dca1a6cbef9ff6e38e22237e75ba44.tar.gz libgav1-513fcf1cd0dca1a6cbef9ff6e38e22237e75ba44.tar.bz2 libgav1-513fcf1cd0dca1a6cbef9ff6e38e22237e75ba44.zip |
Update upstream source from tag 'upstream/0.17.0'
Update to upstream version '0.17.0'
with Debian dir 5b612b6a2d67788b0c85bac59e50edc1545bfd7e
Diffstat (limited to 'src/gav1/decoder_buffer.h')
-rw-r--r-- | src/gav1/decoder_buffer.h | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/gav1/decoder_buffer.h b/src/gav1/decoder_buffer.h index 37bcb29..880c320 100644 --- a/src/gav1/decoder_buffer.h +++ b/src/gav1/decoder_buffer.h @@ -129,24 +129,17 @@ typedef struct Libgav1DecoderBuffer { Libgav1TransferCharacteristics transfer_characteristics; Libgav1MatrixCoefficients matrix_coefficients; - // Image storage dimensions. - // NOTE: These fields are named w and h in vpx_image_t and aom_image_t. - // uint32_t width; // Stored image width. - // uint32_t height; // Stored image height. int bitdepth; // Stored image bitdepth. - // Image display dimensions. - // NOTES: - // 1. These fields are named d_w and d_h in vpx_image_t and aom_image_t. - // 2. libvpx and libaom clients use d_w and d_h much more often than w and h. - // 3. These fields can just be stored for the Y plane and the clients can - // calculate the values for the U and V planes if the image format or - // subsampling is exposed. + // Image display dimensions in Y/U/V order. int displayed_width[3]; // Displayed image width. int displayed_height[3]; // Displayed image height. - int stride[3]; - uint8_t* plane[3]; + // Values are given in Y/U/V order. + int stride[3]; // The width in bytes of one row of the |plane| buffer. + // This may include padding bytes for alignment or + // internal use by the decoder. + uint8_t* plane[3]; // The reconstructed image plane(s). // Spatial id of this frame. int spatial_id; |