Searched refs:alignedSize (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorIon.cpp | 379 size_t alignedSize = align == 0 ? size : (size + align - 1) & ~(align - 1); in Alloc() local 383 ret = ion_alloc(ionFd, alignedSize, align, heapMask, flags, &buffer); in Alloc() 386 ionFd, alignedSize, align, heapMask, flags, ret, buffer); in Alloc() 395 return new Impl(ionFd, alignedSize, bufferFd, buffer, id, ret); in Alloc() 398 ret = ion_alloc_fd(ionFd, alignedSize, align, heapMask, flags, &bufferFd); in Alloc() 401 ionFd, alignedSize, align, heapMask, flags, ret, bufferFd); in Alloc() 403 return new ImplV2(ionFd, alignedSize, bufferFd, id, ret); in Alloc()
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | C2Decoder.cpp | 109 int alignedSize = ALIGN(size, PAGE_SIZE); in decodeFrames() local 113 alignedSize, {C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}, &block); in decodeFrames()
|
/frameworks/ml/nn/tools/test_generator/test_harness/include/ |
D | TestHarness.h | 213 mBuffer.reset(aligned_alloc(kAlignment, alignedSize()), free); in mSize() 234 const size_t adjustedSize = testBuffer.alignedSize() / sizeof(T); in createFromRng() 253 size_t alignedSize() const { return ((mSize + kAlignment - 1) / kAlignment) * kAlignment; } in alignedSize() function
|
/frameworks/ml/nn/runtime/test/ |
D | GeneratedTestUtils.cpp | 93 size += operand.data.alignedSize(); in createConstantReferenceMemory() 123 *memoryOffset += operand.data.alignedSize(); in createModelFromSubgraph()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 481 auto alignedSize = ALIGN(size, PAGE_SIZE); in decodeNFrames() local 485 alignedSize, in decodeNFrames() 495 ASSERT_EQ((size_t)alignedSize, view.capacity()); in decodeNFrames() 497 ASSERT_EQ((size_t)alignedSize, view.size()); in decodeNFrames()
|
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 915 size_t alignedSize = align(bufSize, alignment); in allocateBuffersOnPort() local 917 if (def.nBufferCountActual > SIZE_MAX / (alignedSize + alignedConvSize)) { in allocateBuffersOnPort()
|