Home
last modified time | relevance | path

Searched refs:ALIGN (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/utils/
DMacros.h43 #define ALIGN(x) (((x) + ALIGN_SZ - 1) & ~(ALIGN_SZ - 1)) macro
44 #define ALIGN_PTR(p) ((void*)(ALIGN((size_t)(p))))
DLinearAllocator.cpp141 mPageSize = ALIGN(mPageSize); in ensureNext()
156 size = ALIGN(size); in allocImpl()
211 allocSize = ALIGN(allocSize); in rewindIfLastAlloc()
220 pageSize = ALIGN(pageSize + sizeof(LinearAllocator::Page)); in newPage()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
Dmedia_c2_video_hidl_test_common.h26 #define ALIGN(_sz, _align) ((_sz + (_align - 1)) & ~(_align - 1)) macro
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp385 auto alignedSize = ALIGN(size, PAGE_SIZE); in decodeNFrames()
/frameworks/compile/mclinker/lib/Script/
DScriptParser.yy124 %token ALIGN
335 [ALIGN(section_align)]
424 opt_align : ALIGN '(' script_exp ')'
787 | ALIGN '(' exp ')'
793 &Operator::create<Operator::ALIGN>());
796 | ALIGN '(' exp ',' exp ')'
799 &Operator::create<Operator::ALIGN>());
815 &Operator::create<Operator::ALIGN>());
DOperator.cpp269 Operator& Operator::create<Operator::ALIGN>() { in create()
270 static BinaryOp<Operator::ALIGN> op; in create()
DScriptScanner.ll113 <LDSCRIPT,EXPRESSION>"ALIGN" { return token::ALIGN; }
DBinaryOp.cpp176 IntOperand* BinaryOp<Operator::ALIGN>::eval(const Module& pModule, in eval()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.h26 #define ALIGN(_sz, _align) (((_sz) + ((_align) - 1)) & ~((_align) - 1)) macro
DC2Decoder.cpp107 int alignedSize = ALIGN(size, PAGE_SIZE); in decodeFrames()
/frameworks/compile/mclinker/include/mcld/Script/
DOperator.h67 ALIGN = 34, enumerator
200 Operator& Operator::create<Operator::ALIGN>();
DBinaryOp.h102 IntOperand* BinaryOp<Operator::ALIGN>::eval(const Module&,
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp24 #define ALIGN(x, mask) ( ((x) + (mask) - 1) & ~((mask) - 1) ) macro
186 cStride = ALIGN(buffer->stride / 2, 16); in getLockedImageInfo()
199 rStride = (idx == 0) ? buffer->stride : ALIGN(buffer->stride / 2, 16); in getLockedImageInfo()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCallbackProcessor.cpp29 #define ALIGN(x, mask) ( ((x) + (mask) - 1) & ~((mask) - 1) ) macro
355 destYStride = ALIGN(imgBuffer.width, 16); in processNewCallback()
356 destCStride = ALIGN(destYStride / 2, 16); in processNewCallback()
/frameworks/av/media/ndk/
DNdkImage.cpp32 #define ALIGN(x, mask) ( ((x) + (mask) - 1) & ~((mask) - 1) ) macro
318 : ALIGN(mLockedBuffer->stride / 2, 16); in getPlaneRowStride()
468 cStride = ALIGN(mLockedBuffer->stride / 2, 16); in getPlaneData()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp50 #define ALIGN(x, mask) ( ((x) + (mask) - 1) & ~((mask) - 1) ) macro
298 uint32_t cStride = ALIGN(stride / 2, 16); in produceFrame()