/hardware/qcom/msm8x84/kernel-headers/media/ |
H A D | msm_media_info.h | 34 * X X X X X X X X X X X X X X X X --> Buffer size alignment 70 * X X X X X X X X X X X X X X X X --> Padding & Buffer size alignment 126 * X X X X X X X X X X X X X X X X --> Buffer size alignment 154 unsigned int alignment, stride = 0; local 162 alignment = 128; 163 stride = MSM_MEDIA_ALIGN(width, alignment); 174 unsigned int alignment, stride = 0; local 182 alignment = 128; 183 stride = MSM_MEDIA_ALIGN(width, alignment); 194 unsigned int alignment, scline local 214 unsigned int alignment, sclines = 0; local [all...] |
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
H A D | msm_media_info.h | 34 * X X X X X X X X X X X X X X X X --> Buffer size alignment 70 * X X X X X X X X X X X X X X X X --> Padding & Buffer size alignment 126 * X X X X X X X X X X X X X X X X --> Buffer size alignment 154 unsigned int alignment, stride = 0; local 162 alignment = 128; 163 stride = MSM_MEDIA_ALIGN(width, alignment); 174 unsigned int alignment, stride = 0; local 182 alignment = 128; 183 stride = MSM_MEDIA_ALIGN(width, alignment); 194 unsigned int alignment, scline local 214 unsigned int alignment, sclines = 0; local [all...] |
/hardware/qcom/msm8996/kernel-headers/media/ |
H A D | msm_media_info.h | 42 * . . . . . . . . . . . . . . . . --> Buffer size alignment 80 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment 138 * . . . . . . . . . . . . . . . . --> Buffer size alignment 418 unsigned int alignment, stride = 0; local 427 alignment = 128; 428 stride = MSM_MEDIA_ALIGN(width, alignment); 431 alignment = 256; 433 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); 444 unsigned int alignment, stride = 0; local 453 alignment 470 unsigned int alignment, sclines = 0; local 494 unsigned int alignment, sclines = 0; local 620 unsigned int alignment = 0, stride = 0; local 643 unsigned int alignment = 0, scanlines = 0; local [all...] |
/hardware/qcom/msm8996/original-kernel-headers/media/ |
H A D | msm_media_info.h | 42 * . . . . . . . . . . . . . . . . --> Buffer size alignment 80 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment 138 * . . . . . . . . . . . . . . . . --> Buffer size alignment 418 unsigned int alignment, stride = 0; local 427 alignment = 128; 428 stride = MSM_MEDIA_ALIGN(width, alignment); 431 alignment = 256; 433 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); 444 unsigned int alignment, stride = 0; local 453 alignment 470 unsigned int alignment, sclines = 0; local 494 unsigned int alignment, sclines = 0; local 620 unsigned int alignment = 0, stride = 0; local 643 unsigned int alignment = 0, scanlines = 0; local [all...] |
/hardware/intel/common/libwsbm/src/ |
H A D | wsbm_mm.h | 65 unsigned alignment, 69 unsigned alignment);
|
H A D | wsbm_mm.c | 134 unsigned long size, unsigned alignment) 141 if (alignment) 142 tmp = parent->start % alignment; 145 align_splitoff = wsbmMMSplitAtStart(parent, alignment - tmp); 216 unsigned long size, unsigned alignment, int best_match) 236 if (alignment) { 237 register unsigned tmp = entry->start % alignment; 240 wasted += alignment - tmp; 133 wsbmMMGetBlock(struct _WsbmMMNode *parent, unsigned long size, unsigned alignment) argument 215 wsbmMMSearchFree(const struct _WsbmMM *mm, unsigned long size, unsigned alignment, int best_match) argument
|
H A D | wsbm_userpool.c | 71 unsigned long alignment; member in struct:_WsbmUserBuffer 205 unsigned long size, uint32_t placement, unsigned alignment) 217 vBuf->alignment = alignment; 224 vBuf->node = wsbmMMSearchFree(&p->agpMM, size, alignment, 1); 226 vBuf->node = wsbmMMGetBlock(vBuf->node, size, alignment); 238 vBuf->node = wsbmMMSearchFree(&p->vramMM, size, alignment, 1); 240 vBuf->node = wsbmMMGetBlock(vBuf->node, size, alignment); 317 wsbmMMSearchFree(&p->agpMM, vBuf->size, vBuf->alignment, 1); 320 wsbmMMGetBlock(vBuf->node, vBuf->size, vBuf->alignment); 204 pool_create(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment) argument [all...] |
H A D | wsbm_manager.c | 77 unsigned alignment; member in struct:_WsbmBufferObject 529 newPool->create(newPool, size, placement, buf->alignment); 549 curPool->create(curPool, size, placement, buf->alignment); 626 unsigned long size, uint32_t placement, unsigned alignment, 662 ttm_pool_ub_create(newPool, size, placement, buf->alignment, user_ptr, fd); 684 ttm_pool_ub_create(curPool, size, placement, buf->alignment, user_ptr, fd); 750 buf->alignment); 932 unsigned alignment, size_t extra_size, size_t * offset) 947 storage = pool->create(pool, size, placement, alignment); 955 buf->alignment 929 wsbmBOCreateSimple(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment, size_t extra_size, size_t * offset) argument 968 wsbmGenBuffers(struct _WsbmBufferPool *pool, unsigned n, struct _WsbmBufferObject *buffers[], unsigned alignment, uint32_t placement) argument [all...] |
H A D | wsbm_manager.h | 121 unsigned alignment, uint32_t placement); 126 unsigned alignment,
|
H A D | wsbm_ttmpool.c | 111 unsigned long size, uint32_t placement, unsigned alignment) 123 if ((alignment > pageSize) && (alignment % pageSize)) 136 arg.req.page_alignment = alignment / pageSize; 532 ttm_pool_ub_create(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment, const unsigned long *user_ptr, int fd) argument 544 if ((alignment > pageSize) && (alignment % pageSize)) 557 arg.req.page_alignment = alignment / pageSize; 110 pool_create(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment) argument
|
H A D | wsbm_mallocpool.c | 57 unsigned long size, uint32_t placement, unsigned alignment __attribute__ ((unused)))
|
H A D | wsbm_pool.h | 71 unsigned alignment);
|
/hardware/qcom/msm8994/kernel-headers/media/ |
H A D | msm_media_info.h | 38 * . . . . . . . . . . . . . . . . --> Buffer size alignment 75 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment 132 * . . . . . . . . . . . . . . . . --> Buffer size alignment 333 unsigned int alignment, stride = 0; local 342 alignment = 128; 343 stride = MSM_MEDIA_ALIGN(width, alignment); 346 alignment = 128; 347 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); 358 unsigned int alignment, stride = 0; local 367 alignment 383 unsigned int alignment, sclines = 0; local 405 unsigned int alignment, sclines = 0; local [all...] |
/hardware/qcom/msm8994/original-kernel-headers/media/ |
H A D | msm_media_info.h | 38 * . . . . . . . . . . . . . . . . --> Buffer size alignment 75 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment 132 * . . . . . . . . . . . . . . . . --> Buffer size alignment 333 unsigned int alignment, stride = 0; local 342 alignment = 128; 343 stride = MSM_MEDIA_ALIGN(width, alignment); 346 alignment = 128; 347 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); 358 unsigned int alignment, stride = 0; local 367 alignment 383 unsigned int alignment, sclines = 0; local 405 unsigned int alignment, sclines = 0; local [all...] |
/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
H A D | FormatConvert.cpp | 24 // Round up to the nearest multiple of the given alignment value 25 template<unsigned alignment> 27 static_assert((alignment && !(alignment & (alignment - 1))), 28 "alignment must be a power of 2"); 30 unsigned mask = alignment - 1; 154 // Skip over any extra data or end of row alignment padding
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/ |
H A D | video_encoder_device_copper.h | 55 unsigned long alignment; member in struct:msm_venc_allocatorproperty 204 int alignment; member in struct:venc_dev::recon_buffer 255 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
|
H A D | video_encoder_device.h | 91 int alignment; member in struct:venc_dev::recon_buffer 149 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
|
/hardware/libhardware/modules/gralloc/ |
H A D | gralloc.cpp | 199 inline size_t align(size_t value, size_t alignment) argument 201 return ((value + alignment - 1) / alignment) * alignment;
|
/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_allocator.cpp | 242 // The GPU needs 4K alignment, but the video decoder needs 8K 319 unsigned int alignment = 4096; local 323 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); 327 y_size = ALIGN((y_stride * y_height), alignment); 331 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); 795 unsigned int alignment = 32; local 801 alignment = adreno_helper_->GetGpuPixelAlignment(); 802 aligned_w = ALIGN(width, alignment); 805 aligned_w = ALIGN(width, alignment);
|
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_allocator.cpp | 230 // The GPU needs 4K alignment, but the video decoder needs 8K 307 unsigned int alignment = 4096; local 311 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); 315 y_size = ALIGN((y_stride * y_height), alignment); 319 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); 762 unsigned int alignment = 32; local 768 alignment = adreno_helper_->GetGpuPixelAlignment(); 769 aligned_w = ALIGN(width, alignment); 772 aligned_w = ALIGN(width, alignment);
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/ |
H A D | video_encoder_device.h | 97 int alignment; member in struct:venc_dev::recon_buffer 163 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
|
H A D | video_encoder_device_v4l2.h | 63 unsigned long alignment; member in struct:msm_venc_allocatorproperty 318 int alignment; member in struct:venc_dev::recon_buffer 421 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/ |
H A D | video_encoder_device.h | 97 int alignment; member in struct:venc_dev::recon_buffer 163 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/ |
H A D | video_encoder_device.h | 97 int alignment; member in struct:venc_dev::recon_buffer 163 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
|
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | alloc_controller.cpp | 190 int alignment = 32; local 196 alignment = LINK_adreno_get_gpu_pixel_alignment(); 198 aligned_w = ALIGN(width, alignment); 201 aligned_w = ALIGN(width, alignment); 436 // The GPU needs 4K alignment, but the video decoder needs 8K
|