Searched refs:alignment (Results 1 - 25 of 93) sorted by relevance

1234

/hardware/qcom/msm8x84/kernel-headers/media/
H A Dmsm_media_info.h34 * 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 Dmsm_media_info.h34 * 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 Dmsm_media_info.h42 * . . . . . . . . . . . . . . . . --> 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 Dmsm_media_info.h42 * . . . . . . . . . . . . . . . . --> 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 Dwsbm_mm.h65 unsigned alignment,
69 unsigned alignment);
H A Dwsbm_mm.c134 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 Dwsbm_userpool.c71 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 Dwsbm_manager.c77 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 Dwsbm_manager.h121 unsigned alignment, uint32_t placement);
126 unsigned alignment,
H A Dwsbm_ttmpool.c111 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 Dwsbm_mallocpool.c57 unsigned long size, uint32_t placement, unsigned alignment __attribute__ ((unused)))
H A Dwsbm_pool.h71 unsigned alignment);
/hardware/qcom/msm8994/kernel-headers/media/
H A Dmsm_media_info.h38 * . . . . . . . . . . . . . . . . --> 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 Dmsm_media_info.h38 * . . . . . . . . . . . . . . . . --> 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 DFormatConvert.cpp24 // 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 Dvideo_encoder_device_copper.h55 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 Dvideo_encoder_device.h91 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 Dgralloc.cpp199 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 Dgr_allocator.cpp242 // 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 Dgr_allocator.cpp230 // 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 Dvideo_encoder_device.h97 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 Dvideo_encoder_device_v4l2.h63 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 Dvideo_encoder_device.h97 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 Dvideo_encoder_device.h97 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 Dalloc_controller.cpp190 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

Completed in 1236 milliseconds

1234