Home
last modified time | relevance | path

Searched refs:num_buffers (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api1/client2/
DCamera2Heap.h29 explicit Camera2Heap(size_t buf_size, uint_t num_buffers = 1,
32 mNumBufs(num_buffers) { in mBufSize()
33 mHeap = new MemoryHeapBase(buf_size * num_buffers, 0, name); in mBufSize()
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h321 CameraHeapMemory(int fd, size_t buf_size, uint_t num_buffers = 1) :
323 mNumBufs(num_buffers) in mBufSize()
325 mHeap = new MemoryHeapBase(fd, buf_size * num_buffers); in mBufSize()
329 explicit CameraHeapMemory(size_t buf_size, uint_t num_buffers = 1) :
331 mNumBufs(num_buffers) in mBufSize()
333 mHeap = new MemoryHeapBase(buf_size * num_buffers); in mBufSize()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp837 #define CHECK_NO_BUFFER_THEN_ALLOCATE(num_buffers) \ in TEST_F() argument
842 for (size_t i = 0; i < num_buffers; i++) { \ in TEST_F()
845 EXPECT_EQ(producer_queue_->count(), num_buffers); \ in TEST_F()
846 EXPECT_EQ(producer_queue_->capacity(), num_buffers); in TEST_F()