diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2017-09-11 13:37:57 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-09-27 12:49:34 +0800 |
commit | f4f44df92b8307a617c7dbc867c827339a7e5404 (patch) | |
tree | b4af3b738b5d5621aa3fe9482a515105f6db4731 | |
parent | aa51288fefba208cb586d3433a604992cf807e0e (diff) | |
download | libva-f4f44df92b8307a617c7dbc867c827339a7e5404.tar.gz |
Add or update the comment for num_ref_idx_{l0,l1}_default_active_minus1
Both AVC and HEVC APIs requires application set the right
value for num_ref_idx_{l0,l1}_active_minus1 when
num_ref_idx_active_override_flag is 0.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r-- | va/va.h | 12 | ||||
-rw-r--r-- | va/va_dec_hevc.h | 4 |
2 files changed, 14 insertions, 2 deletions
@@ -2132,7 +2132,19 @@ typedef struct _VASliceParameterBufferH264 uint16_t first_mb_in_slice; uint8_t slice_type; uint8_t direct_spatial_mv_pred_flag; + /** + * H264/AVC syntax element + * + * if num_ref_idx_active_override_flag equals 0, host decoder should + * set its value to num_ref_idx_l0_default_active_minus1. + */ uint8_t num_ref_idx_l0_active_minus1; + /** + * H264/AVC syntax element + * + * if num_ref_idx_active_override_flag equals 0, host decoder should + * set its value to num_ref_idx_l1_default_active_minus1. + */ uint8_t num_ref_idx_l1_active_minus1; uint8_t cabac_init_idc; int8_t slice_qp_delta; diff --git a/va/va_dec_hevc.h b/va/va_dec_hevc.h index a5ef8a3..3c10121 100644 --- a/va/va_dec_hevc.h +++ b/va/va_dec_hevc.h @@ -279,12 +279,12 @@ typedef struct _VASliceParameterBufferHEVC uint8_t collocated_ref_idx; /** HEVC syntax element. * if num_ref_idx_active_override_flag equals 0, host decoder should - * set its value to num_ref_idx_l0_default_minus1. + * set its value to num_ref_idx_l0_default_active_minus1. */ uint8_t num_ref_idx_l0_active_minus1; /** HEVC syntax element. * if num_ref_idx_active_override_flag equals 0, host decoder should - * set its value to num_ref_idx_l1_default_minus1. + * set its value to num_ref_idx_l1_default_active_minus1. */ uint8_t num_ref_idx_l1_active_minus1; /** HEVC syntax element. */ |