Lines Matching full:sps

16 	const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps;  in prepare_tile_info_buffer()  local
30 max_log2_ctb_size = sps->log2_min_luma_coding_block_size_minus3 + 3 + in prepare_tile_info_buffer()
31 sps->log2_diff_max_min_luma_coding_block_size; in prepare_tile_info_buffer()
32 pic_width_in_ctbs = (sps->pic_width_in_luma_samples + in prepare_tile_info_buffer()
34 pic_height_in_ctbs = (sps->pic_height_in_luma_samples + (1 << max_log2_ctb_size) - 1) in prepare_tile_info_buffer()
110 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in compute_header_skip_length() local
118 if (sps->flags & V4L2_HEVC_SPS_FLAG_SEPARATE_COLOUR_PLANE) in compute_header_skip_length()
124 skip += sps->log2_max_pic_order_cnt_lsb_minus4 + 4; in compute_header_skip_length()
132 else if (sps->num_short_term_ref_pic_sets > 1) in compute_header_skip_length()
133 skip += fls(sps->num_short_term_ref_pic_sets - 1); in compute_header_skip_length()
144 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in set_params() local
153 hantro_reg_write(vpu, &g2_bit_depth_y_minus8, sps->bit_depth_luma_minus8); in set_params()
154 hantro_reg_write(vpu, &g2_bit_depth_c_minus8, sps->bit_depth_chroma_minus8); in set_params()
158 min_log2_cb_size = sps->log2_min_luma_coding_block_size_minus3 + 3; in set_params()
159 max_log2_ctb_size = min_log2_cb_size + sps->log2_diff_max_min_luma_coding_block_size; in set_params()
167 pic_width_in_min_cbs = sps->pic_width_in_luma_samples / min_cb_size; in set_params()
168 pic_height_in_min_cbs = sps->pic_height_in_luma_samples / min_cb_size; in set_params()
169 pic_width_aligned = ALIGN(sps->pic_width_in_luma_samples, max_ctb_size); in set_params()
170 pic_height_aligned = ALIGN(sps->pic_height_in_luma_samples, max_ctb_size); in set_params()
172 partial_ctb_x = !!(sps->pic_width_in_luma_samples != pic_width_aligned); in set_params()
173 partial_ctb_y = !!(sps->pic_height_in_luma_samples != pic_height_aligned); in set_params()
187 sps->max_transform_hierarchy_depth_inter); in set_params()
189 sps->max_transform_hierarchy_depth_intra); in set_params()
191 sps->log2_min_luma_transform_block_size_minus2 + 2); in set_params()
193 sps->log2_min_luma_transform_block_size_minus2 + 2 + in set_params()
194 sps->log2_diff_max_min_luma_transform_block_size); in set_params()
197 !!(sps->flags & V4L2_HEVC_SPS_FLAG_SPS_TEMPORAL_MVP_ENABLED) && in set_params()
200 !!(sps->flags & V4L2_HEVC_SPS_FLAG_STRONG_INTRA_SMOOTHING_ENABLED)); in set_params()
202 !!(sps->flags & V4L2_HEVC_SPS_FLAG_AMP_ENABLED)); in set_params()
204 !!(sps->flags & V4L2_HEVC_SPS_FLAG_SAMPLE_ADAPTIVE_OFFSET)); in set_params()
241 !!(sps->flags & V4L2_HEVC_SPS_FLAG_PCM_LOOP_FILTER_DISABLED)); in set_params()
243 !!(sps->flags & V4L2_HEVC_SPS_FLAG_PCM_ENABLED)); in set_params()
244 if (sps->flags & V4L2_HEVC_SPS_FLAG_PCM_ENABLED) { in set_params()
246 sps->log2_diff_max_min_pcm_luma_coding_block_size + in set_params()
247 sps->log2_min_pcm_luma_coding_block_size_minus3 + 3); in set_params()
249 sps->log2_min_pcm_luma_coding_block_size_minus3 + 3); in set_params()
251 sps->pcm_sample_bit_depth_luma_minus1 + 1); in set_params()
253 sps->pcm_sample_bit_depth_chroma_minus1 + 1); in set_params()
534 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in prepare_scaling_list_buffer() local
539 scaling_list_enabled = !!(sps->flags & V4L2_HEVC_SPS_FLAG_SCALING_LIST_ENABLED); in prepare_scaling_list_buffer()