/hardware/intel/common/libwsbm/src/ |
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_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_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...] |
/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/libhardware/modules/gralloc/ |
H A D | gralloc.cpp | 198 inline size_t align(size_t value, size_t alignment) argument 200 return ((value + alignment - 1) / alignment) * alignment;
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/ |
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/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);
|
/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/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/qcom/display/msm8909/gralloc/ |
H A D | gr_utils.cpp | 224 // The GPU needs 4K alignment, but the video decoder needs 8K 293 unsigned int alignment = 4096; local 297 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); 301 y_size = ALIGN((y_stride * y_height), alignment); 305 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); 317 unsigned int alignment = 4096; local 327 uv_size = ALIGN((uv_stride * uv_height), alignment); 705 unsigned int alignment = 32; local 714 alignment = AdrenoMemInfo::GetInstance()->GetGpuPixelAlignment(); 715 aligned_w = ALIGN(width, alignment); [all...] |
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
H A D | gr_utils.cpp | 224 // The GPU needs 4K alignment, but the video decoder needs 8K 293 unsigned int alignment = 4096; local 297 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); 301 y_size = ALIGN((y_stride * y_height), alignment); 305 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); 317 unsigned int alignment = 4096; local 327 uv_size = ALIGN((uv_stride * uv_height), alignment); 705 unsigned int alignment = 32; local 714 alignment = AdrenoMemInfo::GetInstance()->GetGpuPixelAlignment(); 715 aligned_w = ALIGN(width, alignment); [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/qcom/msm8998/kernel-headers/media/ |
H A D | msm_media_info.h | 44 * . . . . . . . . . . . . . . . . --> Buffer size alignment 82 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment 140 * . . . . . . . . . . . . . . . . --> Buffer size alignment 607 unsigned int alignment, stride = 0; local 617 alignment = 128; 618 stride = MSM_MEDIA_ALIGN(width, alignment); 621 alignment = 256; 623 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); 626 alignment = 256; 627 stride = MSM_MEDIA_ALIGN(width * 2, alignment); 638 unsigned int alignment, stride = 0; local 669 unsigned int alignment, sclines = 0; local 695 unsigned int alignment, sclines = 0; local 827 unsigned int alignment = 0, stride = 0, bpp = 4; local 856 unsigned int alignment = 0, scanlines = 0; local [all...] |
/hardware/qcom/msm8998/original-kernel-headers/media/ |
H A D | msm_media_info.h | 44 * . . . . . . . . . . . . . . . . --> Buffer size alignment 82 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment 140 * . . . . . . . . . . . . . . . . --> Buffer size alignment 607 unsigned int alignment, stride = 0; local 617 alignment = 128; 618 stride = MSM_MEDIA_ALIGN(width, alignment); 621 alignment = 256; 623 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); 626 alignment = 256; 627 stride = MSM_MEDIA_ALIGN(width * 2, alignment); 638 unsigned int alignment, stride = 0; local 669 unsigned int alignment, sclines = 0; local 695 unsigned int alignment, sclines = 0; local 827 unsigned int alignment = 0, stride = 0, bpp = 4; local 856 unsigned int alignment = 0, scanlines = 0; local [all...] |
/hardware/qcom/msm8x09/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/msm8x09/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/qcom/display/msm8909/libgralloc/ |
H A D | alloc_controller.cpp | 236 int alignment = 32; local 242 alignment = LINK_adreno_get_gpu_pixel_alignment(); 244 aligned_w = ALIGN(width, alignment); 247 aligned_w = ALIGN(width, alignment); 590 // The GPU needs 4K alignment, but the video decoder needs 8K 720 unsigned int alignment = 4096; local 724 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); 728 y_size = ALIGN((y_stride * y_height), alignment); 732 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment);
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
H A D | alloc_controller.cpp | 236 int alignment = 32; local 242 alignment = LINK_adreno_get_gpu_pixel_alignment(); 244 aligned_w = ALIGN(width, alignment); 247 aligned_w = ALIGN(width, alignment); 590 // The GPU needs 4K alignment, but the video decoder needs 8K 720 unsigned int alignment = 4096; local 724 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); 728 y_size = ALIGN((y_stride * y_height), alignment); 732 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment);
|
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | alloc_controller.cpp | 231 int alignment = 32; local 237 alignment = LINK_adreno_get_gpu_pixel_alignment(); 239 aligned_w = ALIGN(width, alignment); 242 aligned_w = ALIGN(width, alignment); 600 // The GPU needs 4K alignment, but the video decoder needs 8K 741 unsigned int alignment = 4096; local 745 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); 749 y_size = ALIGN((y_stride * y_height), alignment); 753 c_meta_size = ALIGN((c_meta_stride * c_meta_height), 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 | 243 // The GPU needs 4K alignment, but the video decoder needs 8K 320 unsigned int alignment = 4096; local 324 y_meta_size = ALIGN((y_meta_stride * y_meta_height), alignment); 328 y_size = ALIGN((y_stride * y_height), alignment); 332 c_meta_size = ALIGN((c_meta_stride * c_meta_height), alignment); 797 unsigned int alignment = 32; local 803 alignment = adreno_helper_->GetGpuPixelAlignment(); 804 aligned_w = ALIGN(width, alignment); 807 aligned_w = ALIGN(width, alignment);
|
/hardware/google/av/media/codecs/avc/ |
H A D | C2SoftAvcDec.cpp | 315 static void *ivd_aligned_malloc(void *ctxt, WORD32 alignment, WORD32 size) { argument 317 return memalign(alignment, size);
|