Searched defs:ALIGN (Results 1 - 21 of 21) sorted by relevance

/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/include/exynos/
H A DExynos_OMX_Macros.h37 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
/hardware/qcom/display/msm8960/libgralloc/
H A Dgr.h41 inline size_t ALIGN(size_t x, size_t align) { function
/hardware/qcom/display/msm8974/libgralloc/
H A Dgr.h41 inline size_t ALIGN(size_t x, size_t align) { function
/hardware/qcom/display/msm8084/libgralloc/
H A Dgr.h41 inline Type ALIGN(Type x, Type align) { function
/hardware/qcom/display/msm8226/libgralloc/
H A Dgr.h41 inline Type ALIGN(Type x, Type align) { function
/hardware/ti/omap4-aah/hwc/
H A Dhal_public.h33 #define ALIGN(x,a) (((x) + (a) - 1L) & ~((a) - 1L)) macro
H A Drgz_2d.c39 #define ALIGN(x,a) (((x) + (a) - 1L) & ~((a) - 1L)) macro
1163 int stride = ALIGN(h->iWidth, HW_ALIGN) * bpp;
/hardware/ti/omap4xxx/hwc/
H A Dhal_public.h33 #define ALIGN(x,a) (((x) + (a) - 1L) & ~((a) - 1L)) macro
/hardware/intel/common/libmix/videoencoder/
H A DPVSoftMPEG4Encoder.cpp36 #define ALIGN(x, align) (((x) + (align) - 1) & (~((align) - 1))) macro
431 ALIGN(mVideoHeight, 32), ALIGN(mVideoWidth, 128));
/hardware/samsung_slsi/exynos5/include/
H A Dexynos_format.h79 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
H A DExynosCamera.h74 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
/hardware/intel/common/omx-components/videocodec/
H A DOMXVideoDecoderVP9Hybrid.cpp298 static int ALIGN(int x, int y) { function
H A DOMXVideoDecoderVP9HWR.cpp474 static int ALIGN(int x, int y) function
607 size_t dst_c_stride = ALIGN(paramPortDefinitionOutput->format.video.nStride / 2, 16);
/hardware/intel/img/hwcomposer/include/pvr/hal/
H A Dhal_public.h37 #define ALIGN(x,a) (((x) + (a) - 1L) & ~((a) - 1L)) macro
/hardware/libhardware/tests/camera2/
H A DCameraStreamFixture.h33 #define ALIGN(x, mask) ( ((x) + (mask) - 1) & ~((mask) - 1) ) macro
307 chromaStride = ALIGN(img.width / 2, 16);
/hardware/samsung_slsi/exynos5/libcsc/
H A Dcsc.c70 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
436 ALIGN(csc_handle->src_format.width, GSCALER_IMG_ALIGN),
437 ALIGN(csc_handle->src_format.height, GSCALER_IMG_ALIGN),
448 ALIGN(csc_handle->dst_format.width, GSCALER_IMG_ALIGN),
449 ALIGN(csc_handle->dst_format.height, GSCALER_IMG_ALIGN),
465 g2d->src.width = ALIGN(csc_handle->src_format.width,
479 g2d->dst.width = ALIGN(csc_handle->dst_format.width,
/hardware/qcom/media/libc2dcolorconvert/
H A DC2DColorConverter.cpp40 #define ALIGN( num, to ) (((num) + (to-1)) & (~(to-1))) macro
391 return ALIGN(width, ALIGN32) * 2; // RGB565 has width as twice
396 return ALIGN(width, ALIGN32) * 4;
398 return ALIGN(width, ALIGN128);
400 return ALIGN(width, ALIGN16);
402 return ALIGN(width, ALIGN16);
404 return ALIGN(width, ALIGN128);
408 return ALIGN(width, ALIGN16);
418 return (ALIGN(width, ALIGN16) * height);
422 return ALIGN(widt
[all...]
/hardware/intel/img/libdrm/libdrm/intel/
H A Dintel_bufmgr_fake.c54 #define ALIGN(value, alignment) ((value + alignment - 1) & ~(alignment - 1)) macro
1201 bo_fake->child_size += ALIGN(target_bo->size, target_fake->alignment);
1424 sz += ALIGN(bo_array[i]->size, bo_fake->alignment);
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
H A Domx_video_base.cpp80 #define ALIGN( num, to ) (((num) + (to-1)) & (~(to-1))) macro
3455 chromaOffset = ALIGN(chromaOffset,SZ_2K);
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp49 #define ALIGN(x, to_align) ((((unsigned long) x) + (to_align - 1)) & ~(to_align - 1)) macro
472 p_extra = (OMX_OTHER_EXTRADATATYPE *)ALIGN(p_bufhdr->pBuffer +
476 p_bufhdr->nAllocLen - ALIGN(p_bufhdr->nOffset + p_bufhdr->nFilledLen, 4)) {
496 p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE) + payloadSize, 4);
504 p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE), 4);
521 p_extra = (OMX_OTHER_EXTRADATATYPE *)ALIGN(p_bufhdr->pBuffer +
566 extradata_info.size = ALIGN(extradata_info.size, SZ_4K);
1119 m_sInput_buff_property.datasize = ALIGN(m_sInput_buff_property.datasize, SZ_4K);
3426 resynchMarkerSpacingBytes = ALIGN(resynchMarkerSpacingBytes, 8) >> 3;
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
H A Domx_vdec.cpp149 #define ALIGN( num, to ) (((num) + (to-1)) & (~(to-1))) macro
9279 return ALIGN(omx->drv_ctx.video_resolution.frame_width, ALIGN16);

Completed in 3589 milliseconds