Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 25 of 101) sorted by relevance

12345

/hardware/qcom/msm8998/kernel-headers/media/
Dmsm_media_info.h607 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
617 alignment = 128; in VENUS_Y_STRIDE()
618 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
621 alignment = 256; in VENUS_Y_STRIDE()
623 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
626 alignment = 256; in VENUS_Y_STRIDE()
627 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE()
638 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
648 alignment = 128; in VENUS_UV_STRIDE()
649 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8998/original-kernel-headers/media/
Dmsm_media_info.h607 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
617 alignment = 128; in VENUS_Y_STRIDE()
618 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
621 alignment = 256; in VENUS_Y_STRIDE()
623 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
626 alignment = 256; in VENUS_Y_STRIDE()
627 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE()
638 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
648 alignment = 128; in VENUS_UV_STRIDE()
649 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsm_media_info.h418 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
427 alignment = 128; in VENUS_Y_STRIDE()
428 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
431 alignment = 256; in VENUS_Y_STRIDE()
433 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
444 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
453 alignment = 128; in VENUS_UV_STRIDE()
454 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
457 alignment = 256; in VENUS_UV_STRIDE()
459 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8996/kernel-headers/media/
Dmsm_media_info.h418 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
427 alignment = 128; in VENUS_Y_STRIDE()
428 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
431 alignment = 256; in VENUS_Y_STRIDE()
433 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
444 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
453 alignment = 128; in VENUS_UV_STRIDE()
454 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
457 alignment = 256; in VENUS_UV_STRIDE()
459 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8x09/kernel-headers/media/
Dmsm_media_info.h418 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
427 alignment = 128; in VENUS_Y_STRIDE()
428 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
431 alignment = 256; in VENUS_Y_STRIDE()
433 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
444 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
453 alignment = 128; in VENUS_UV_STRIDE()
454 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
457 alignment = 256; in VENUS_UV_STRIDE()
459 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8x09/original-kernel-headers/media/
Dmsm_media_info.h418 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
427 alignment = 128; in VENUS_Y_STRIDE()
428 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
431 alignment = 256; in VENUS_Y_STRIDE()
433 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
444 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
453 alignment = 128; in VENUS_UV_STRIDE()
454 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
457 alignment = 256; in VENUS_UV_STRIDE()
459 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8x84/kernel-headers/media/
Dmsm_media_info.h154 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
162 alignment = 128; in VENUS_Y_STRIDE()
163 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
174 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
182 alignment = 128; in VENUS_UV_STRIDE()
183 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
194 unsigned int alignment, sclines = 0; in VENUS_Y_SCANLINES() local
202 alignment = 32; in VENUS_Y_SCANLINES()
203 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES()
214 unsigned int alignment, sclines = 0; in VENUS_UV_SCANLINES() local
[all …]
/hardware/qcom/msm8x84/original-kernel-headers/media/
Dmsm_media_info.h154 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
162 alignment = 128; in VENUS_Y_STRIDE()
163 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
174 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
182 alignment = 128; in VENUS_UV_STRIDE()
183 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
194 unsigned int alignment, sclines = 0; in VENUS_Y_SCANLINES() local
202 alignment = 32; in VENUS_Y_SCANLINES()
203 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES()
214 unsigned int alignment, sclines = 0; in VENUS_UV_SCANLINES() local
[all …]
/hardware/qcom/msm8994/original-kernel-headers/media/
Dmsm_media_info.h333 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
342 alignment = 128; in VENUS_Y_STRIDE()
343 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
346 alignment = 128; in VENUS_Y_STRIDE()
347 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_Y_STRIDE()
358 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
367 alignment = 128; in VENUS_UV_STRIDE()
368 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
371 alignment = 128; in VENUS_UV_STRIDE()
372 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8994/kernel-headers/media/
Dmsm_media_info.h333 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
342 alignment = 128; in VENUS_Y_STRIDE()
343 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
346 alignment = 128; in VENUS_Y_STRIDE()
347 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_Y_STRIDE()
358 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
367 alignment = 128; in VENUS_UV_STRIDE()
368 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
371 alignment = 128; in VENUS_UV_STRIDE()
372 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFormatConvert.cpp23 template<unsigned alignment>
25 static_assert((alignment && !(alignment & (alignment - 1))), in align()
28 unsigned mask = alignment - 1; in align()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_utils.cpp293 unsigned int alignment = 4096; in GetYuvUbwcSPPlaneInfo() local
297 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
301 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
305 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
317 unsigned int alignment = 4096; in GetYuvUbwcInterlacedSPPlaneInfo() local
327 uv_size = ALIGN((uv_stride * uv_height), alignment); in GetYuvUbwcInterlacedSPPlaneInfo()
705 unsigned int alignment = 32; in GetAlignedWidthAndHeight() local
714 alignment = AdrenoMemInfo::GetInstance()->GetGpuPixelAlignment(); in GetAlignedWidthAndHeight()
715 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
718 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
/hardware/qcom/display/msm8909/gralloc/
Dgr_utils.cpp293 unsigned int alignment = 4096; in GetYuvUbwcSPPlaneInfo() local
297 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
301 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
305 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
317 unsigned int alignment = 4096; in GetYuvUbwcInterlacedSPPlaneInfo() local
327 uv_size = ALIGN((uv_stride * uv_height), alignment); in GetYuvUbwcInterlacedSPPlaneInfo()
705 unsigned int alignment = 32; in GetAlignedWidthAndHeight() local
714 alignment = AdrenoMemInfo::GetInstance()->GetGpuPixelAlignment(); in GetAlignedWidthAndHeight()
715 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
718 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_device_copper.h55 unsigned long alignment; member
204 int alignment; member
255 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
Dvideo_encoder_device.h91 int alignment; member
149 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp198 inline size_t align(size_t value, size_t alignment) in align() argument
200 return ((value + alignment - 1) / alignment) * alignment; in align()
/hardware/qcom/sdm845/display/gralloc/
Dgr_utils.cpp365 unsigned int alignment = 4096; in GetYuvUbwcSPPlaneInfo() local
369 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
373 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
377 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
389 unsigned int alignment = 4096; in GetYuvUbwcInterlacedSPPlaneInfo() local
399 uv_size = ALIGN((uv_stride * uv_height), alignment); in GetYuvUbwcInterlacedSPPlaneInfo()
831 unsigned int alignment = 32; in GetAlignedWidthAndHeight() local
840 alignment = AdrenoMemInfo::GetInstance()->GetGpuPixelAlignment(); in GetAlignedWidthAndHeight()
841 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
844 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp335 unsigned int alignment = 4096; in GetYuvUbwcSPPlaneInfo() local
339 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
343 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
347 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
812 unsigned int alignment = 32; in GetAlignedWidthAndHeight() local
818 alignment = adreno_helper_->GetGpuPixelAlignment(); in GetAlignedWidthAndHeight()
819 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
822 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp336 unsigned int alignment = 4096; in GetYuvUbwcSPPlaneInfo() local
340 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
344 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
348 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
814 unsigned int alignment = 32; in GetAlignedWidthAndHeight() local
820 alignment = adreno_helper_->GetGpuPixelAlignment(); in GetAlignedWidthAndHeight()
821 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
824 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp231 int alignment = 32; in getAlignedWidthAndHeight() local
237 alignment = LINK_adreno_get_gpu_pixel_alignment(); in getAlignedWidthAndHeight()
239 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
242 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
741 unsigned int alignment = 4096; in getYuvUbwcSPPlaneInfo() local
745 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in getYuvUbwcSPPlaneInfo()
749 y_size = ALIGN((y_stride * y_height), alignment); in getYuvUbwcSPPlaneInfo()
753 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in getYuvUbwcSPPlaneInfo()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device.h97 int alignment; member
163 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
Dvideo_encoder_device_v4l2.h63 unsigned long alignment; member
318 int alignment; member
421 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device.h97 int alignment; member
163 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
/hardware/qcom/display/msm8909/libgralloc/
Dalloc_controller.cpp236 int alignment = 32; in getAlignedWidthAndHeight() local
242 alignment = LINK_adreno_get_gpu_pixel_alignment(); in getAlignedWidthAndHeight()
244 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
247 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
720 unsigned int alignment = 4096; in getYuvUbwcSPPlaneInfo() local
724 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in getYuvUbwcSPPlaneInfo()
728 y_size = ALIGN((y_stride * y_height), alignment); in getYuvUbwcSPPlaneInfo()
732 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in getYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dalloc_controller.cpp236 int alignment = 32; in getAlignedWidthAndHeight() local
242 alignment = LINK_adreno_get_gpu_pixel_alignment(); in getAlignedWidthAndHeight()
244 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
247 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
720 unsigned int alignment = 4096; in getYuvUbwcSPPlaneInfo() local
724 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in getYuvUbwcSPPlaneInfo()
728 y_size = ALIGN((y_stride * y_height), alignment); in getYuvUbwcSPPlaneInfo()
732 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in getYuvUbwcSPPlaneInfo()

12345