Home
last modified time | relevance | path

Searched refs:column_width (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_debug_mem_view.c63 unsigned int column_width; member
159 switch (mem_data->column_width) { in debug_mem_show()
264 mem_data->column_width = kctx->mem_view_column_width; in debug_mem_open()
358 unsigned int column_width = 0; in debug_mem_write() local
363 ret = kstrtouint_from_user(ubuf, count, 0, &column_width); in debug_mem_write()
367 if (!is_power_of_2(column_width)) { in debug_mem_write()
369 "Column width %u not a multiple of power of 2", column_width); in debug_mem_write()
372 if (column_width > 8) { in debug_mem_write()
374 "Column width %u greater than 8 not supported", column_width); in debug_mem_write()
379 kctx->mem_view_column_width = column_width; in debug_mem_write()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_rkv.c394 RK_U16 column_width[20]; in hal_h265d_v345_output_pps_packet() local
397 memset(column_width, 0, sizeof(column_width)); in hal_h265d_v345_output_pps_packet()
410 column_width[i] = dxva_cxt->pp.column_width_minus1[i] + 1; in hal_h265d_v345_output_pps_packet()
411 sum += column_width[i] ; in hal_h265d_v345_output_pps_packet()
413 column_width[i] = ctu_width_in_pic - sum; in hal_h265d_v345_output_pps_packet()
436column_width[i] = ((i + 1) * pic_in_cts_width) / (dxva_cxt->pp.num_tile_columns_minus1 + 1) - in hal_h265d_v345_output_pps_packet()
446 column_width[0] = (width + MaxCUWidth - 1) / MaxCUWidth; in hal_h265d_v345_output_pps_packet()
451 if (column_width[j] > 0) in hal_h265d_v345_output_pps_packet()
452 column_width[j]--; in hal_h265d_v345_output_pps_packet()
453 mpp_put_bits(&bp, column_width[j], 8); in hal_h265d_v345_output_pps_packet()
[all …]
H A Dhal_h265d_vdpu34x.c344 RK_U16 column_width[20]; in hal_h265d_v345_output_pps_packet() local
347 memset(column_width, 0, sizeof(column_width)); in hal_h265d_v345_output_pps_packet()
360 column_width[i] = dxva_cxt->pp.column_width_minus1[i] + 1; in hal_h265d_v345_output_pps_packet()
361 sum += column_width[i] ; in hal_h265d_v345_output_pps_packet()
363 column_width[i] = ctu_width_in_pic - sum; in hal_h265d_v345_output_pps_packet()
386column_width[i] = ((i + 1) * pic_in_cts_width) / (dxva_cxt->pp.num_tile_columns_minus1 + 1) - in hal_h265d_v345_output_pps_packet()
396 column_width[0] = (width + MaxCUWidth - 1) / MaxCUWidth; in hal_h265d_v345_output_pps_packet()
401 if (column_width[j] > 0) in hal_h265d_v345_output_pps_packet()
402 column_width[j]--; in hal_h265d_v345_output_pps_packet()
403 mpp_put_bits(&bp, column_width[j], 12); in hal_h265d_v345_output_pps_packet()
[all …]
H A Dhal_h265d_vdpu382.c348 RK_U16 column_width[20]; in hal_h265d_v382_output_pps_packet() local
351 memset(column_width, 0, sizeof(column_width)); in hal_h265d_v382_output_pps_packet()
364 column_width[i] = dxva_cxt->pp.column_width_minus1[i] + 1; in hal_h265d_v382_output_pps_packet()
365 sum += column_width[i] ; in hal_h265d_v382_output_pps_packet()
367 column_width[i] = ctu_width_in_pic - sum; in hal_h265d_v382_output_pps_packet()
390column_width[i] = ((i + 1) * pic_in_cts_width) / (dxva_cxt->pp.num_tile_columns_minus1 + 1) - in hal_h265d_v382_output_pps_packet()
400 column_width[0] = (width + MaxCUWidth - 1) / MaxCUWidth; in hal_h265d_v382_output_pps_packet()
405 if (column_width[j] > 0) in hal_h265d_v382_output_pps_packet()
406 column_width[j]--; in hal_h265d_v382_output_pps_packet()
407 mpp_put_bits(&bp, column_width[j], 12); in hal_h265d_v382_output_pps_packet()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h265/
H A Dh265d_ps.c1880 MPP_FREE(pps->bufs.column_width); in mpp_hevc_pps_free()
2046 bufs->column_width = mpp_malloc_size(RK_U32, buf_size); in mpp_hevc_decode_nal_pps()
2056 if (!bufs->column_width || !bufs->row_height) { in mpp_hevc_decode_nal_pps()
2065 READ_UE(gb, &bufs->column_width[i]); in mpp_hevc_decode_nal_pps()
2066 bufs->column_width[i] += 1; in mpp_hevc_decode_nal_pps()
2067 sum += bufs->column_width[i]; in mpp_hevc_decode_nal_pps()
2074 bufs->column_width[pps->num_tile_columns - 1] = sps->ctb_width - sum; in mpp_hevc_decode_nal_pps()
2166 bufs->column_width = mpp_malloc_size(RK_U32, buf_size); in mpp_hevc_decode_nal_pps()
2175 if (!bufs->column_width || !bufs->row_height) { in mpp_hevc_decode_nal_pps()
2181 bufs->column_width[i] = ((i + 1) * sps->ctb_width) / pps->num_tile_columns - in mpp_hevc_decode_nal_pps()
H A Dh265d_parser.h283 RK_U32 *column_width; ///< ColumnWidth member
H A Dh265d_parser2_syntax.c155 pp->column_width_minus1[i] = pps->bufs.column_width[i] - 1; in fill_picture_parameters()