Home
last modified time | relevance | path

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

1234

/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/libhardware/modules/gralloc/
Dgralloc.cpp199 inline size_t align(size_t value, size_t alignment) in align() argument
201 return ((value + alignment - 1) / alignment) * alignment; in align()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ppc/
Dencodemb_altivec.asm37 lvsl v5, 0, r4 ;# permutate value for alignment
49 lvsl v5, 0, r4 ;# permutate value for alignment
74 lvsl v5, 0, r5 ;# permutate value for alignment
86 lvsl v5, 0, r5 ;# permutate value for alignment
/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/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp223 int alignment = 32; in getAlignedWidthAndHeight() local
229 alignment = LINK_adreno_get_gpu_pixel_alignment(); in getAlignedWidthAndHeight()
231 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
234 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
731 unsigned int alignment = 4096; in getYuvUbwcSPPlaneInfo() local
737 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); in getYuvUbwcSPPlaneInfo()
741 y_size = ALIGN((y_stride * y_height), alignment); in getYuvUbwcSPPlaneInfo()
745 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
306 int alignment; member
406 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);
Dvideo_encoder_device_v4l2.h68 unsigned long alignment; member
394 int alignment; member
514 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
Dmem.h23 #warning No alignment directives known for this compiler.
/hardware/intel/bootstub/
DVERSION3 1.0 fix alignment issue in SFI mmap searching. Oct 13, 2010
/hardware/qcom/display/msm8909/libgralloc/
Dalloc_controller.cpp190 int alignment = 32; in getAlignedWidthAndHeight() local
196 alignment = LINK_adreno_get_gpu_pixel_alignment(); in getAlignedWidthAndHeight()
198 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
201 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ppc/
Dcopy_altivec.asm31 lvsl v0, 0, r3 ;# permutate value for alignment

1234