Skip to content

Commit

Permalink
[Encode] Refinement for QualityInfo block level DDI
Browse files Browse the repository at this point in the history
  • Loading branch information
Christa03 authored and intel-mediadev committed Sep 3, 2024
1 parent 3a161d0 commit c1b9da6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions media_driver/agnostic/common/codec/hal/codechal_encoder_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -886,12 +886,12 @@ struct EncodeStatusReport

struct BLOCK_QUALITY_INFO
{
BLOCK_SSIM_INFO* BlockSsim2DS; /*!< for 2X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO* BlockSsim4DS; /*!< for 4X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO* BlockSsim8DS; /*!< for 8X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO* BlockSsim16DS; /*!< for 16X DS ssim per 4*4 piexl block. */
uint32_t reserved1[32];
uint64_t reserved2[12];
BLOCK_SSIM_INFO BlockSsim2DS; /*!< for 2X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO BlockSsim4DS; /*!< for 4X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO BlockSsim8DS; /*!< for 8X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO BlockSsim16DS; /*!< for 16X DS ssim per 4*4 piexl block.*/
uint32_t reserved1[32];
uint64_t reserved2[12];
};

CODECHAL_STATUS CodecStatus; //!< Status for the picture associated with this status report
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,12 @@ namespace encode {

struct BLOCK_QUALITY_INFO
{
BLOCK_SSIM_INFO* BlockSsim2DS; /*!< for 2X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO* BlockSsim4DS; /*!< for 4X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO* BlockSsim8DS; /*!< for 8X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO* BlockSsim16DS; /*!< for 16X DS ssim per 4*4 piexl block. */
uint32_t reserved1[32];
uint64_t reserved2[12];
BLOCK_SSIM_INFO BlockSsim2DS; /*!< for 2X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO BlockSsim4DS; /*!< for 4X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO BlockSsim8DS; /*!< for 8X DS ssim per 4*4 piexl block. */
BLOCK_SSIM_INFO BlockSsim16DS; /*!< for 16X DS ssim per 4*4 piexl block.*/
uint32_t reserved1[32];
uint64_t reserved2[12];
};

CODECHAL_STATUS codecStatus; //!< Status for the picture associated with this status report
Expand Down

0 comments on commit c1b9da6

Please sign in to comment.