Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/
H A Dxcam_buffer.cpp29 uint32_t aligned_width, uint32_t aligned_height, uint32_t size, bool compacted) in xcam_video_buffer_info_reset() argument
35 XCAM_ASSERT (!aligned_width || aligned_width >= width); in xcam_video_buffer_info_reset()
38 if (!aligned_width) in xcam_video_buffer_info_reset()
39 aligned_width = XCAM_ALIGN_UP (width, 4); in xcam_video_buffer_info_reset()
46 info->aligned_width = aligned_width; in xcam_video_buffer_info_reset()
53 info->strides [0] = aligned_width; in xcam_video_buffer_info_reset()
61 info->strides [0] = aligned_width; in xcam_video_buffer_info_reset()
70 info->strides [0] = aligned_width * 2; in xcam_video_buffer_info_reset()
77 info->strides [0] = aligned_width * 2; in xcam_video_buffer_info_reset()
84 info->strides [0] = aligned_width * 3; in xcam_video_buffer_info_reset()
[all …]
H A Dvideo_buffer.cpp39 aligned_width = 0; in VideoBufferInfo()
51 uint32_t aligned_width, uint32_t aligned_height, in init() argument
58 …info, format, width, height, aligned_width, aligned_height, size, compacted) == XCAM_RETURN_NO_ERR… in init()
68 aligned_width = info.aligned_width; in fill()
83 return format && aligned_width && aligned_height && size; in is_valid()
H A Dv4l2_buffer_proxy.cpp102 info.aligned_width = 0; in v4l2_format_to_video_info()
127 info.aligned_width = info.strides [0] / 2; in v4l2_format_to_video_info()
172 if (!info.aligned_width) in v4l2_format_to_video_info()
173 info.aligned_width = info.strides [0]; in v4l2_format_to_video_info()
H A Ddrm_buffer.cpp126 out_info.init(info.format, info.width, info.height, info.aligned_width, info.aligned_height); in fixate_video_info()
135 auto bo = drm_device_->CreateDumbObject(buffer_info.aligned_width, buffer_info.aligned_height, in allocate_data()
H A Dvideo_buffer.h47 …uint32_t aligned_width = 0, uint32_t aligned_height = 0, uint32_t size = 0, bool compacted = false…
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
H A Dia_css_sdis2.host.c41 unsigned int aligned_width = from->grid.aligned_width * in ia_css_sdis2_horicoef_vmem_encode() local
44 int padding = aligned_width - width; in ia_css_sdis2_horicoef_vmem_encode()
46 unsigned int total_bytes = aligned_width * IA_CSS_DVS2_NUM_COEF_TYPES * in ia_css_sdis2_horicoef_vmem_encode()
234 size_bytes = host_stats->grid.aligned_width * sizeof(*htemp_ptr); in ia_css_translate_dvs2_statistics()
266 dst_offset += host_stats->grid.aligned_width; in ia_css_translate_dvs2_statistics()
293 size = CEIL_MUL(sizeof(int) * grid->aligned_width, HIVE_ISP_DDR_WORD_BYTES) in ia_css_isp_dvs2_statistics_allocate()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/
H A Dvc4_validate.c163 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local
182 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
186 aligned_width = round_up(width, utile_w * 8); in vc4_check_tex_size()
190 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
198 stride = aligned_width * cpp; in vc4_check_tex_size()
205 aligned_width, aligned_height, in vc4_check_tex_size()
689 uint32_t aligned_width, aligned_height; in reloc_tex() local
700 aligned_width = round_up(level_width, utile_w * 8); in reloc_tex()
704 aligned_width = round_up(level_width, utile_w); in reloc_tex()
708 aligned_width = round_up(level_width, utile_w); in reloc_tex()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
H A Dia_css_sdis.host.c45 unsigned int aligned_width = from->grid.aligned_width * in ia_css_sdis_horicoef_vmem_encode() local
48 int padding = aligned_width - width; in ia_css_sdis_horicoef_vmem_encode()
50 unsigned int total_bytes = aligned_width * IA_CSS_DVS_NUM_COEF_TYPES * sizeof( in ia_css_sdis_horicoef_vmem_encode()
287 ver_num_isp = host_stats->grid.aligned_width; in ia_css_translate_dvs_statistics()
330 grid->aligned_width, in ia_css_isp_dvs_statistics_allocate()
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dv4l2-common.c377 unsigned int aligned_width; in v4l2_fill_pixfmt_mp() local
380 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); in v4l2_fill_pixfmt_mp()
384 DIV_ROUND_UP(aligned_width, hdiv) * in v4l2_fill_pixfmt_mp()
391 unsigned int aligned_width; in v4l2_fill_pixfmt_mp() local
394 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); in v4l2_fill_pixfmt_mp()
399 info->bpp[i] * DIV_ROUND_UP(aligned_width, hdiv); in v4l2_fill_pixfmt_mp()
431 unsigned int aligned_width; in v4l2_fill_pixfmt() local
434 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); in v4l2_fill_pixfmt()
438 DIV_ROUND_UP(aligned_width, hdiv) * in v4l2_fill_pixfmt()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/
H A Dia_css_sdis_common_types.h59 u32 aligned_width; /** Stride of each grid line. member
87 u32 aligned_width; /** Stride of each grid line. member
/OK3568_Linux_fs/kernel/drivers/media/platform/coda/
H A Dcoda-jpeg.c1070 u16 aligned_width, aligned_height; in coda9_jpeg_prepare_encode() local
1102 aligned_width = round_up(q_data_src->width, width_align[chroma_format]); in coda9_jpeg_prepare_encode()
1105 if (aligned_width != q_data_src->bytesperline) { in coda9_jpeg_prepare_encode()
1107 aligned_width, q_data_src->bytesperline); in coda9_jpeg_prepare_encode()
1153 aligned_width = aligned_height; in coda9_jpeg_prepare_encode()
1161 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_encode()
1182 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_encode()
1324 int aligned_width, aligned_height; in coda9_jpeg_prepare_decode() local
1363 aligned_width = round_up(q_data_src->width, width_align[chroma_format]); in coda9_jpeg_prepare_decode()
1365 if (aligned_width != q_data_dst->bytesperline) { in coda9_jpeg_prepare_decode()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/xcore/base/
H A Dxcam_buffer.h83 uint32_t aligned_width; member
138 uint32_t aligned_width, uint32_t aligned_height, uint32_t size, bool compacted);
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c1099 unsigned int i, j, aligned_width; in ia_css_params_alloc_convert_sctbl() local
1113 aligned_width = binary->sctbl_aligned_width_per_color; in ia_css_params_alloc_convert_sctbl()
1114 sctbl_size = shading_table->height * IA_CSS_SC_NUM_COLORS * aligned_width * in ia_css_params_alloc_convert_sctbl()
1132 ptr += aligned_width; in ia_css_params_alloc_convert_sctbl()
2252 grid->aligned_width * in ia_css_isp_3a_statistics_allocate()
3054 unsigned int aligned_width) in convert_allocate_morph_plane() argument
3066 if (width > aligned_width) { in convert_allocate_morph_plane()
3068 w = aligned_width; in convert_allocate_morph_plane()
3070 padding = aligned_width - width; in convert_allocate_morph_plane()
3103 unsigned int aligned_width) { in store_morph_plane() argument
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/aiq_core/
H A Dthumbnails.cpp415 info.aligned_width = XCAM_ALIGN_UP(info.width, 16); in InitializeBufferPools()
420 info.init(info.format, info.width, info.height, info.aligned_width, info.aligned_height); in InitializeBufferPools()
422 info.aligned_width, info.aligned_height); in InitializeBufferPools()
471 (int)info.aligned_width, in convert()
H A Dscaler_service.cpp38 .wstride = (int)info.aligned_width, in convert()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_gem_framebuffer_helper.c379 afbc_fb->aligned_width = ALIGN(mode_cmd->width, w_alignment); in drm_gem_afbc_min_size()
389 n_blocks = (afbc_fb->aligned_width * afbc_fb->aligned_height) in drm_gem_afbc_min_size()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
H A Dia_css_s3a_types.h84 u32 aligned_width; /** Horizontal stride (for alloc).
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/aeis/
H A Dscaler_service.cpp41 .wstride = (int)info.aligned_width, in convert()
/OK3568_Linux_fs/kernel/drivers/media/platform/sti/delta/
H A Ddelta-v4l2.c251 frameinfo->aligned_width = ALIGN(frameinfo->width, in set_default_params()
255 frameinfo->size = frame_size(frameinfo->aligned_width, in set_default_params()
469 pix->width = frameinfo->aligned_width; in delta_g_fmt_frame()
472 pix->bytesperline = frame_stride(frameinfo->aligned_width, in delta_g_fmt_frame()
683 frameinfo.aligned_width = pix->width; in delta_s_fmt_frame()
708 pix->width = frameinfo.aligned_width; in delta_s_fmt_frame()
753 s->r.width = frameinfo->aligned_width; in delta_g_selection()
1189 frameinfo->aligned_width = ALIGN(streaminfo->width, in delta_get_frameinfo_default()
1193 frameinfo->size = frame_size(frameinfo->aligned_width, in delta_get_frameinfo_default()
H A Ddelta-debug.c43 f->aligned_width, f->aligned_height, in delta_frameinfo_str()
H A Ddelta.h137 u32 aligned_width; member
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_framebuffer.h321 u32 aligned_width; member
/OK3568_Linux_fs/kernel/drivers/media/platform/sti/hva/
H A Dhva-v4l2.c99 frameinfo->aligned_width = ALIGN(frameinfo->width, in set_default_params()
103 frameinfo->size = frame_size(frameinfo->aligned_width, in set_default_params()
240 frame->aligned_width, frame->aligned_height, in hva_dbg_summary()
328 f->fmt.pix.bytesperline = frame_stride(frameinfo->aligned_width, in hva_g_fmt_frame()
506 ctx->frameinfo.aligned_width = ALIGN(pix->width, HVA_WIDTH_ALIGNMENT); in hva_s_fmt_frame()
H A Dhva.h44 u32 aligned_width; member
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/include/linux/
H A Datomisp.h179 u32 aligned_width; member
198 u32 aligned_width; member

12