Home
last modified time | relevance | path

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

12345

/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/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/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/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/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/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/intel/common/libwsbm/src/
Dwsbm_mm.c134 unsigned long size, unsigned alignment) in wsbmMMGetBlock() argument
141 if (alignment) in wsbmMMGetBlock()
142 tmp = parent->start % alignment; in wsbmMMGetBlock()
145 align_splitoff = wsbmMMSplitAtStart(parent, alignment - tmp); in wsbmMMGetBlock()
216 unsigned long size, unsigned alignment, int best_match) in wsbmMMSearchFree() argument
236 if (alignment) { in wsbmMMSearchFree()
237 register unsigned tmp = entry->start % alignment; in wsbmMMSearchFree()
240 wasted += alignment - tmp; in wsbmMMSearchFree()
Dwsbm_mm.h65 unsigned alignment,
69 unsigned alignment);
Dwsbm_userpool.c71 unsigned long alignment; member
205 unsigned long size, uint32_t placement, unsigned alignment) in pool_create() argument
217 vBuf->alignment = alignment; in pool_create()
224 vBuf->node = wsbmMMSearchFree(&p->agpMM, size, alignment, 1); in pool_create()
226 vBuf->node = wsbmMMGetBlock(vBuf->node, size, alignment); in pool_create()
238 vBuf->node = wsbmMMSearchFree(&p->vramMM, size, alignment, 1); in pool_create()
240 vBuf->node = wsbmMMGetBlock(vBuf->node, size, alignment); in pool_create()
317 wsbmMMSearchFree(&p->agpMM, vBuf->size, vBuf->alignment, 1); in pool_validate()
320 wsbmMMGetBlock(vBuf->node, vBuf->size, vBuf->alignment); in pool_validate()
337 wsbmMMSearchFree(&p->vramMM, vBuf->size, vBuf->alignment, 1); in pool_validate()
[all …]
Dwsbm_ttmpool.c111 unsigned long size, uint32_t placement, unsigned alignment) in pool_create() argument
123 if ((alignment > pageSize) && (alignment % pageSize)) in pool_create()
136 arg.req.page_alignment = alignment / pageSize; in pool_create()
532 …_WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment, const unsigned … in ttm_pool_ub_create() argument
544 if ((alignment > pageSize) && (alignment % pageSize)) in ttm_pool_ub_create()
557 arg.req.page_alignment = alignment / pageSize; in ttm_pool_ub_create()
Dwsbm_manager.c77 unsigned alignment; member
529 newPool->create(newPool, size, placement, buf->alignment); in wsbmBOData()
549 curPool->create(curPool, size, placement, buf->alignment); in wsbmBOData()
626 unsigned long size, uint32_t placement, unsigned alignment, in wsbmBODataUB()
662 ttm_pool_ub_create(newPool, size, placement, buf->alignment, user_ptr, fd); in wsbmBODataUB()
684 ttm_pool_ub_create(curPool, size, placement, buf->alignment, user_ptr, fd); in wsbmBODataUB()
750 buf->alignment); in wsbmStorageClone()
932 unsigned alignment, size_t extra_size, size_t * offset) in wsbmBOCreateSimple() argument
947 storage = pool->create(pool, size, placement, alignment); in wsbmBOCreateSimple()
955 buf->alignment = alignment; in wsbmBOCreateSimple()
[all …]
Dwsbm_manager.h121 unsigned alignment, uint32_t placement);
126 unsigned alignment,
/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/sdm845/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()
695 unsigned int alignment = 32; in GetAlignedWidthAndHeight() local
701 alignment = AdrenoMemInfo::GetInstance()->GetGpuPixelAlignment(); in GetAlignedWidthAndHeight()
702 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
705 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/display/msm8996/libgralloc1/
Dgr_allocator.cpp319 unsigned int alignment = 4096; in GetYuvUbwcSPPlaneInfo() local
323 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
327 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
331 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
795 unsigned int alignment = 32; in GetAlignedWidthAndHeight() local
801 alignment = adreno_helper_->GetGpuPixelAlignment(); in GetAlignedWidthAndHeight()
802 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
805 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp317 unsigned int alignment = 4096; in GetYuvUbwcSPPlaneInfo() local
321 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
325 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
329 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); in GetYuvUbwcSPPlaneInfo()
794 unsigned int alignment = 32; in GetAlignedWidthAndHeight() local
800 alignment = adreno_helper_->GetGpuPixelAlignment(); in GetAlignedWidthAndHeight()
801 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
804 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);
/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/intel/bootstub/
DVERSION3 1.0 fix alignment issue in SFI mmap searching. Oct 13, 2010

12345