Lines Matching refs:hevc
33 VAPictureParameterBufferHEVC *hevc = buf->data; in vlVaHandlePictureParameterBufferHEVC() local
37 context->desc.h265.pps->sps->chroma_format_idc = hevc->pic_fields.bits.chroma_format_idc; in vlVaHandlePictureParameterBufferHEVC()
39 hevc->pic_fields.bits.separate_colour_plane_flag; in vlVaHandlePictureParameterBufferHEVC()
40 context->desc.h265.pps->sps->pic_width_in_luma_samples = hevc->pic_width_in_luma_samples; in vlVaHandlePictureParameterBufferHEVC()
41 context->desc.h265.pps->sps->pic_height_in_luma_samples = hevc->pic_height_in_luma_samples; in vlVaHandlePictureParameterBufferHEVC()
42 context->desc.h265.pps->sps->bit_depth_luma_minus8 = hevc->bit_depth_luma_minus8; in vlVaHandlePictureParameterBufferHEVC()
43 context->desc.h265.pps->sps->bit_depth_chroma_minus8 = hevc->bit_depth_chroma_minus8; in vlVaHandlePictureParameterBufferHEVC()
45 hevc->log2_max_pic_order_cnt_lsb_minus4; in vlVaHandlePictureParameterBufferHEVC()
47 hevc->sps_max_dec_pic_buffering_minus1; in vlVaHandlePictureParameterBufferHEVC()
49 hevc->log2_min_luma_coding_block_size_minus3; in vlVaHandlePictureParameterBufferHEVC()
51 hevc->log2_diff_max_min_luma_coding_block_size; in vlVaHandlePictureParameterBufferHEVC()
53 hevc->log2_min_transform_block_size_minus2; in vlVaHandlePictureParameterBufferHEVC()
55 hevc->log2_diff_max_min_transform_block_size; in vlVaHandlePictureParameterBufferHEVC()
57 hevc->max_transform_hierarchy_depth_inter; in vlVaHandlePictureParameterBufferHEVC()
59 hevc->max_transform_hierarchy_depth_intra; in vlVaHandlePictureParameterBufferHEVC()
61 hevc->pic_fields.bits.scaling_list_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
62 context->desc.h265.pps->sps->amp_enabled_flag = hevc->pic_fields.bits.amp_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
64 hevc->slice_parsing_fields.bits.sample_adaptive_offset_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
65 context->desc.h265.pps->sps->pcm_enabled_flag = hevc->pic_fields.bits.pcm_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
66 if (hevc->pic_fields.bits.pcm_enabled_flag == 1) { in vlVaHandlePictureParameterBufferHEVC()
68 hevc->pcm_sample_bit_depth_luma_minus1; in vlVaHandlePictureParameterBufferHEVC()
70 hevc->pcm_sample_bit_depth_chroma_minus1; in vlVaHandlePictureParameterBufferHEVC()
72 hevc->log2_min_pcm_luma_coding_block_size_minus3; in vlVaHandlePictureParameterBufferHEVC()
74 hevc->log2_diff_max_min_pcm_luma_coding_block_size; in vlVaHandlePictureParameterBufferHEVC()
76 hevc->pic_fields.bits.pcm_loop_filter_disabled_flag; in vlVaHandlePictureParameterBufferHEVC()
78 context->desc.h265.pps->sps->num_short_term_ref_pic_sets = hevc->num_short_term_ref_pic_sets; in vlVaHandlePictureParameterBufferHEVC()
80 hevc->slice_parsing_fields.bits.long_term_ref_pics_present_flag; in vlVaHandlePictureParameterBufferHEVC()
81 context->desc.h265.pps->sps->num_long_term_ref_pics_sps = hevc->num_long_term_ref_pic_sps; in vlVaHandlePictureParameterBufferHEVC()
83 hevc->slice_parsing_fields.bits.sps_temporal_mvp_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
85 hevc->pic_fields.bits.strong_intra_smoothing_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
88 hevc->slice_parsing_fields.bits.dependent_slice_segments_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
90 hevc->slice_parsing_fields.bits.output_flag_present_flag; in vlVaHandlePictureParameterBufferHEVC()
91 context->desc.h265.pps->num_extra_slice_header_bits = hevc->num_extra_slice_header_bits; in vlVaHandlePictureParameterBufferHEVC()
93 hevc->pic_fields.bits.sign_data_hiding_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
95 hevc->slice_parsing_fields.bits.cabac_init_present_flag; in vlVaHandlePictureParameterBufferHEVC()
97 hevc->num_ref_idx_l0_default_active_minus1; in vlVaHandlePictureParameterBufferHEVC()
99 hevc->num_ref_idx_l1_default_active_minus1; in vlVaHandlePictureParameterBufferHEVC()
100 context->desc.h265.pps->init_qp_minus26 = hevc->init_qp_minus26; in vlVaHandlePictureParameterBufferHEVC()
102 hevc->pic_fields.bits.constrained_intra_pred_flag; in vlVaHandlePictureParameterBufferHEVC()
104 hevc->pic_fields.bits.transform_skip_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
106 hevc->pic_fields.bits.cu_qp_delta_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
107 context->desc.h265.pps->diff_cu_qp_delta_depth = hevc->diff_cu_qp_delta_depth; in vlVaHandlePictureParameterBufferHEVC()
108 context->desc.h265.pps->pps_cb_qp_offset = hevc->pps_cb_qp_offset; in vlVaHandlePictureParameterBufferHEVC()
109 context->desc.h265.pps->pps_cr_qp_offset = hevc->pps_cr_qp_offset; in vlVaHandlePictureParameterBufferHEVC()
111 hevc->slice_parsing_fields.bits.pps_slice_chroma_qp_offsets_present_flag; in vlVaHandlePictureParameterBufferHEVC()
112 context->desc.h265.pps->weighted_pred_flag = hevc->pic_fields.bits.weighted_pred_flag; in vlVaHandlePictureParameterBufferHEVC()
113 context->desc.h265.pps->weighted_bipred_flag = hevc->pic_fields.bits.weighted_bipred_flag; in vlVaHandlePictureParameterBufferHEVC()
115 hevc->pic_fields.bits.transquant_bypass_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
116 context->desc.h265.pps->tiles_enabled_flag = hevc->pic_fields.bits.tiles_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
118 hevc->pic_fields.bits.entropy_coding_sync_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
119 if (hevc->pic_fields.bits.tiles_enabled_flag == 1) { in vlVaHandlePictureParameterBufferHEVC()
120 context->desc.h265.pps->num_tile_columns_minus1 = hevc->num_tile_columns_minus1; in vlVaHandlePictureParameterBufferHEVC()
121 context->desc.h265.pps->num_tile_rows_minus1 = hevc->num_tile_rows_minus1; in vlVaHandlePictureParameterBufferHEVC()
123 context->desc.h265.pps->column_width_minus1[i] = hevc->column_width_minus1[i]; in vlVaHandlePictureParameterBufferHEVC()
125 context->desc.h265.pps->row_height_minus1[i] = hevc->row_height_minus1[i]; in vlVaHandlePictureParameterBufferHEVC()
127 hevc->pic_fields.bits.loop_filter_across_tiles_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
130 hevc->pic_fields.bits.pps_loop_filter_across_slices_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
132 hevc->slice_parsing_fields.bits.deblocking_filter_override_enabled_flag; in vlVaHandlePictureParameterBufferHEVC()
134 hevc->slice_parsing_fields.bits.pps_disable_deblocking_filter_flag; in vlVaHandlePictureParameterBufferHEVC()
135 context->desc.h265.pps->pps_beta_offset_div2 = hevc->pps_beta_offset_div2; in vlVaHandlePictureParameterBufferHEVC()
136 context->desc.h265.pps->pps_tc_offset_div2 = hevc->pps_tc_offset_div2; in vlVaHandlePictureParameterBufferHEVC()
138 hevc->slice_parsing_fields.bits.lists_modification_present_flag; in vlVaHandlePictureParameterBufferHEVC()
140 hevc->log2_parallel_merge_level_minus2; in vlVaHandlePictureParameterBufferHEVC()
142 hevc->slice_parsing_fields.bits.slice_segment_header_extension_present_flag; in vlVaHandlePictureParameterBufferHEVC()
144 context->desc.h265.IDRPicFlag = hevc->slice_parsing_fields.bits.IdrPicFlag; in vlVaHandlePictureParameterBufferHEVC()
145 context->desc.h265.RAPPicFlag = hevc->slice_parsing_fields.bits.RapPicFlag; in vlVaHandlePictureParameterBufferHEVC()
147 context->desc.h265.CurrPicOrderCntVal = hevc->CurrPic.pic_order_cnt; in vlVaHandlePictureParameterBufferHEVC()
161 context->desc.h265.PicOrderCntVal[i] = hevc->ReferenceFrames[i].pic_order_cnt; in vlVaHandlePictureParameterBufferHEVC()
163 vlVaGetReferenceFrame(drv, hevc->ReferenceFrames[i].picture_id, &context->desc.h265.ref[i]); in vlVaHandlePictureParameterBufferHEVC()
165 if ((hevc->ReferenceFrames[i].flags & VA_PICTURE_HEVC_RPS_ST_CURR_BEFORE) && (iBefore < 8)) { in vlVaHandlePictureParameterBufferHEVC()
169 if ((hevc->ReferenceFrames[i].flags & VA_PICTURE_HEVC_RPS_ST_CURR_AFTER) && (iAfter < 8)) { in vlVaHandlePictureParameterBufferHEVC()
173 if ((hevc->ReferenceFrames[i].flags & VA_PICTURE_HEVC_RPS_LT_CURR) && (iCurr < 8)) { in vlVaHandlePictureParameterBufferHEVC()
178 context->desc.h265.pps->st_rps_bits = hevc->st_rps_bits; in vlVaHandlePictureParameterBufferHEVC()