Home
last modified time | relevance | path

Searched refs:aligned_height (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
36 XCAM_ASSERT (!aligned_height || aligned_height >= height); in xcam_video_buffer_info_reset()
40 if (!aligned_height) in xcam_video_buffer_info_reset()
41 aligned_height = XCAM_ALIGN_UP (height, 2); in xcam_video_buffer_info_reset()
47 info->aligned_height = aligned_height; in xcam_video_buffer_info_reset()
55 image_size = info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
64 info->offsets [1] = info->offsets [0] + info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
65 image_size = info->strides [0] * aligned_height + info->strides [1] * aligned_height / 2; in xcam_video_buffer_info_reset()
72 image_size = info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
79 image_size = info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
[all …]
H A Dvideo_buffer.cpp40 aligned_height = 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()
69 aligned_height = info.aligned_height; in fill()
83 return format && aligned_width && aligned_height && size; in is_valid()
H A Dv4l2_buffer_proxy.cpp103 info.aligned_height = 0; in v4l2_format_to_video_info()
175 if (!info.aligned_height) in v4l2_format_to_video_info()
176 info.aligned_height = info.height; 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.c66 unsigned int aligned_height = from->grid.aligned_height * in ia_css_sdis2_vertcoef_vmem_encode() local
69 int padding = aligned_height - height; in ia_css_sdis2_vertcoef_vmem_encode()
71 unsigned int total_bytes = aligned_height * IA_CSS_DVS2_NUM_COEF_TYPES * in ia_css_sdis2_vertcoef_vmem_encode()
240 table_size = table_width * host_stats->grid.aligned_height; in ia_css_translate_dvs2_statistics()
244 for (height = 0; height < host_stats->grid.aligned_height; height++) { in ia_css_translate_dvs2_statistics()
294 * grid->aligned_height * IA_CSS_DVS2_NUM_COEF_TYPES; 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
183 aligned_height = height; in vc4_check_tex_size()
187 aligned_height = round_up(height, utile_h * 8); in vc4_check_tex_size()
191 aligned_height = round_up(height, utile_h); in vc4_check_tex_size()
199 size = stride * aligned_height; 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
701 aligned_height = round_up(level_height, utile_h * 8); in reloc_tex()
705 aligned_height = round_up(level_height, utile_h); in reloc_tex()
709 aligned_height = level_height; 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.c72 unsigned int aligned_height = from->grid.aligned_height * in ia_css_sdis_vertcoef_vmem_encode() local
75 int padding = aligned_height - height; in ia_css_sdis_vertcoef_vmem_encode()
77 unsigned int total_bytes = aligned_height * IA_CSS_DVS_NUM_COEF_TYPES * in ia_css_sdis_vertcoef_vmem_encode()
286 hor_num_isp = host_stats->grid.aligned_height; in ia_css_translate_dvs_statistics()
327 grid->aligned_height, in ia_css_isp_dvs_statistics_allocate()
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dv4l2-common.c378 unsigned int aligned_height; in v4l2_fill_pixfmt_mp() local
381 aligned_height = ALIGN(height, v4l2_format_block_height(info, i)); in v4l2_fill_pixfmt_mp()
385 DIV_ROUND_UP(aligned_height, vdiv); in v4l2_fill_pixfmt_mp()
392 unsigned int aligned_height; in v4l2_fill_pixfmt_mp() local
395 aligned_height = ALIGN(height, v4l2_format_block_height(info, i)); in v4l2_fill_pixfmt_mp()
401 plane->bytesperline * DIV_ROUND_UP(aligned_height, vdiv); in v4l2_fill_pixfmt_mp()
432 unsigned int aligned_height; in v4l2_fill_pixfmt() local
435 aligned_height = ALIGN(height, v4l2_format_block_height(info, i)); in v4l2_fill_pixfmt()
439 DIV_ROUND_UP(aligned_height, vdiv); in v4l2_fill_pixfmt()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/
H A Dia_css_sdis_common_types.h69 u32 aligned_height;/** Stride of each grid column. member
97 u32 aligned_height;/** Stride of each grid column. member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/xcore/base/
H A Dxcam_buffer.h84 uint32_t aligned_height; member
138 uint32_t aligned_width, uint32_t aligned_height, uint32_t size, bool compacted);
/OK3568_Linux_fs/kernel/drivers/media/platform/coda/
H A Dcoda-jpeg.c1070 u16 aligned_width, aligned_height; in coda9_jpeg_prepare_encode() local
1103 aligned_height = round_up(q_data_src->height, in coda9_jpeg_prepare_encode()
1153 aligned_width = aligned_height; in coda9_jpeg_prepare_encode()
1154 aligned_height = q_data_src->bytesperline; 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
1364 aligned_height = round_up(q_data_src->height, height_align[chroma_format]); in coda9_jpeg_prepare_decode()
1382 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_decode()
1429 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_decode()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/aiq_core/
H A Dthumbnails.cpp416 info.aligned_height = XCAM_ALIGN_UP(info.height, 4); 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()
472 (int)info.aligned_height, in convert()
H A Dscaler_service.cpp39 .hstride = (int)info.aligned_height, in convert()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_gem_framebuffer_helper.c380 afbc_fb->aligned_height = ALIGN(mode_cmd->height, h_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.h88 u32 aligned_height; /** Vertical stride (for alloc).
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/aeis/
H A Dscaler_service.cpp42 .hstride = (int)info.aligned_height, in convert()
/OK3568_Linux_fs/kernel/drivers/media/platform/sti/delta/
H A Ddelta-debug.c43 f->aligned_width, f->aligned_height, in delta_frameinfo_str()
H A Ddelta-v4l2.c253 frameinfo->aligned_height = ALIGN(frameinfo->height, in set_default_params()
256 frameinfo->aligned_height, in set_default_params()
470 pix->height = frameinfo->aligned_height; in delta_g_fmt_frame()
684 frameinfo.aligned_height = pix->height; in delta_s_fmt_frame()
709 pix->height = frameinfo.aligned_height; in delta_s_fmt_frame()
754 s->r.height = frameinfo->aligned_height; in delta_g_selection()
1191 frameinfo->aligned_height = ALIGN(streaminfo->height, in delta_get_frameinfo_default()
1194 frameinfo->aligned_height, in delta_get_frameinfo_default()
H A Ddelta.h138 u32 aligned_height; member
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_framebuffer.h325 u32 aligned_height; member
/OK3568_Linux_fs/kernel/drivers/media/platform/sti/hva/
H A Dhva.h45 u32 aligned_height; member
H A Dhva-v4l2.c101 frameinfo->aligned_height = ALIGN(frameinfo->height, in set_default_params()
104 frameinfo->aligned_height, in set_default_params()
240 frame->aligned_width, frame->aligned_height, in hva_dbg_summary()
507 ctx->frameinfo.aligned_height = ALIGN(pix->height, in hva_s_fmt_frame()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c2253 grid->aligned_height; in ia_css_isp_3a_statistics_allocate()
2256 grid->aligned_height; in ia_css_isp_3a_statistics_allocate()
4482 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4489 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4496 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4503 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4510 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4517 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4524 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4531 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/include/linux/
H A Datomisp.h181 u32 aligned_height; member
199 u32 aligned_height; member

12