Searched refs:alignedSize (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorIon.cpp | 415 size_t alignedSize = align == 0 ? size : (size + align - 1) & ~(align - 1); in Alloc() local 419 ret = ion_alloc(ionFd, alignedSize, align, heapMask, flags, &buffer); in Alloc() 422 ionFd, alignedSize, align, heapMask, flags, ret, buffer); in Alloc() 431 return new Impl(ionFd, alignedSize, bufferFd, buffer, id, ret); in Alloc() 434 ret = ion_alloc_fd(ionFd, alignedSize, align, heapMask, flags, &bufferFd); in Alloc() 437 ionFd, alignedSize, align, heapMask, flags, ret, bufferFd); in Alloc() 439 return new ImplV2(ionFd, alignedSize, bufferFd, id, ret); in Alloc()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 385 auto alignedSize = ALIGN(size, PAGE_SIZE); in decodeNFrames() local 390 alignedSize, {C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}, in decodeNFrames() 400 ASSERT_EQ((size_t)alignedSize, view.capacity()); in decodeNFrames() 402 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()
|