Home
last modified time | relevance | path

Searched refs:aligned_width (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
H A Dia_css_sdis2.host.c32 unsigned int aligned_width = from->grid.aligned_width * in ia_css_sdis2_horicoef_vmem_encode() local
35 int padding = aligned_width - width; in ia_css_sdis2_horicoef_vmem_encode()
37 unsigned int total_bytes = aligned_width * IA_CSS_DVS2_NUM_COEF_TYPES * in ia_css_sdis2_horicoef_vmem_encode()
225 size_bytes = host_stats->grid.aligned_width * sizeof(*htemp_ptr); in ia_css_translate_dvs2_statistics()
257 dst_offset += host_stats->grid.aligned_width; in ia_css_translate_dvs2_statistics()
284 size = CEIL_MUL(sizeof(int) * grid->aligned_width, HIVE_ISP_DDR_WORD_BYTES) in ia_css_isp_dvs2_statistics_allocate()
/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
H A Dia_css_sdis.host.c36 unsigned int aligned_width = from->grid.aligned_width * in ia_css_sdis_horicoef_vmem_encode() local
39 int padding = aligned_width - width; in ia_css_sdis_horicoef_vmem_encode()
41 unsigned int total_bytes = aligned_width * IA_CSS_DVS_NUM_COEF_TYPES * sizeof( in ia_css_sdis_horicoef_vmem_encode()
277 ver_num_isp = host_stats->grid.aligned_width; in ia_css_translate_dvs_statistics()
320 grid->aligned_width, in ia_css_isp_dvs_statistics_allocate()
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_plat_bufs_v6.c289 u32 aligned_width = ALIGN(width, 16); in h264d_scratch_size() local
294 size = size_h264d_hw_bin_buffer(aligned_width, aligned_height); in h264d_scratch_size()
319 u32 aligned_width = ALIGN(width, 16); in h265d_scratch_size() local
324 size = size_h265d_hw_bin_buffer(aligned_width, aligned_height); in h265d_scratch_size()
331 u32 aligned_width = ALIGN(width, 16); in vpxd_scratch_size() local
333 u32 size_yuv = aligned_width * aligned_height * 3 / 2; in vpxd_scratch_size()
363 u32 aligned_width, aligned_height; in calculate_enc_output_frame_size() local
374 aligned_width = ALIGN(width, 32); in calculate_enc_output_frame_size()
377 ALIGN(aligned_width, 16)) / 256; in calculate_enc_output_frame_size()
407 u32 aligned_width, aligned_height, bitstream_size; in calculate_enc_scratch_size() local
[all …]
H A Dhelpers.h72 int venus_helper_set_stride(struct venus_inst *inst, unsigned int aligned_width,
/linux/drivers/media/platform/chips-media/coda/
H A Dcoda-jpeg.c1076 u16 aligned_width, aligned_height; in coda9_jpeg_prepare_encode() local
1108 aligned_width = round_up(q_data_src->width, width_align[chroma_format]); in coda9_jpeg_prepare_encode()
1111 if (aligned_width != q_data_src->bytesperline) { in coda9_jpeg_prepare_encode()
1113 aligned_width, q_data_src->bytesperline); in coda9_jpeg_prepare_encode()
1159 aligned_width = aligned_height; in coda9_jpeg_prepare_encode()
1167 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_encode()
1188 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_encode()
1330 int aligned_width, aligned_height; in coda9_jpeg_prepare_decode() local
1367 aligned_width = round_up(q_data_src->width, width_align[chroma_format]); in coda9_jpeg_prepare_decode()
1369 if (aligned_width != q_data_dst->bytesperline) { in coda9_jpeg_prepare_decode()
[all …]
/linux/drivers/media/platform/qcom/iris/
H A Diris_buffer.c234 u32 aligned_width, aligned_height, bitstream_size, yuv_size; in iris_enc_bitstream_buffer_size() local
243 aligned_width = ALIGN(f->fmt.pix_mp.width, 32); in iris_enc_bitstream_buffer_size()
245 bitstream_size = aligned_width * aligned_height * 3; in iris_enc_bitstream_buffer_size()
246 yuv_size = (aligned_width * aligned_height * 3) >> 1; in iris_enc_bitstream_buffer_size()
247 if (aligned_width * aligned_height > (4096 * 2176)) in iris_enc_bitstream_buffer_size()
250 else if (aligned_width * aligned_height > (1280 * 720)) in iris_enc_bitstream_buffer_size()
/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c1074 unsigned int i, j, aligned_width; in ia_css_params_alloc_convert_sctbl() local
1088 aligned_width = binary->sctbl_aligned_width_per_color; in ia_css_params_alloc_convert_sctbl()
1089 sctbl_size = shading_table->height * IA_CSS_SC_NUM_COLORS * aligned_width * in ia_css_params_alloc_convert_sctbl()
1107 ptr += aligned_width; in ia_css_params_alloc_convert_sctbl()
2145 grid->aligned_width * in ia_css_isp_3a_statistics_allocate()
2882 unsigned int aligned_width) in convert_allocate_morph_plane() argument
2894 if (width > aligned_width) { in convert_allocate_morph_plane()
2896 w = aligned_width; in convert_allocate_morph_plane()
2898 padding = aligned_width - width; in convert_allocate_morph_plane()
2931 unsigned int aligned_width) in store_morph_plane() argument
[all …]
/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-v4l2.c255 frameinfo->aligned_width = ALIGN(frameinfo->width, in set_default_params()
259 frameinfo->size = frame_size(frameinfo->aligned_width, in set_default_params()
473 pix->width = frameinfo->aligned_width; in delta_g_fmt_frame()
476 pix->bytesperline = frame_stride(frameinfo->aligned_width, in delta_g_fmt_frame()
687 frameinfo.aligned_width = pix->width; in delta_s_fmt_frame()
712 pix->width = frameinfo.aligned_width; in delta_s_fmt_frame()
757 s->r.width = frameinfo->aligned_width; in delta_g_selection()
1190 frameinfo->aligned_width = ALIGN(streaminfo->width, in delta_get_frameinfo_default()
1194 frameinfo->size = frame_size(frameinfo->aligned_width, in delta_get_frameinfo_default()
H A Ddelta.h137 u32 aligned_width; member
H A Ddelta-mjpeg-dec.c281 + frame->info.aligned_width * frame->info.aligned_height); in delta_mjpeg_ipc_decode()
/linux/drivers/gpu/drm/
H A Ddrm_gem_framebuffer_helper.c561 afbc_fb->aligned_width = ALIGN(mode_cmd->width, w_alignment); in drm_gem_afbc_min_size()
571 n_blocks = (afbc_fb->aligned_width * afbc_fb->aligned_height) in drm_gem_afbc_min_size()
/linux/include/drm/
H A Ddrm_framebuffer.h311 u32 aligned_width; member
/linux/drivers/staging/media/atomisp/include/linux/
H A Datomisp.h160 u32 aligned_width; member
179 u32 aligned_width; member
/linux/drivers/media/platform/st/sti/hva/
H A Dhva-v4l2.c102 frameinfo->aligned_width = ALIGN(frameinfo->width, in set_default_params()
106 frameinfo->size = frame_size(frameinfo->aligned_width, in set_default_params()
243 frame->aligned_width, frame->aligned_height, in hva_dbg_summary()
331 f->fmt.pix.bytesperline = frame_stride(frameinfo->aligned_width, in hva_g_fmt_frame()
509 ctx->frameinfo.aligned_width = ALIGN(pix->width, HVA_WIDTH_ALIGNMENT); in hva_s_fmt_frame()
H A Dhva-h264.c607 u32 frame_width = frame->info.aligned_width; in hva_h264_prepare_task()
894 u32 frame_width = pctx->frameinfo.aligned_width; in hva_h264_open()
H A Dhva-debugfs.c31 frame->aligned_width, frame->aligned_height); in format_ctx()
/linux/drivers/media/platform/rockchip/rkvdec/
H A Drkvdec-vp9.c667 unsigned int aligned_width, aligned_height; in validate_dec_params() local
676 aligned_width = round_up(dec_params->frame_width_minus_1 + 1, 64); in validate_dec_params()
683 if (aligned_width != ctx->decoded_fmt.fmt.pix_mp.width || in validate_dec_params()
/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A Dbinary.c330 dvs_info->aligned_width = binary->dis.grid.pad.width; in ia_css_binary_dvs_grid_info()
368 s3a_info->aligned_width = binary->s3atbl_isp_width; in ia_css_binary_3a_grid_info()