diff options
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; |