Searched refs:buffer_size_ (Results 1 – 2 of 2) sorted by relevance
19 buffer_size_(0), in FrameBuffer()27 if (data_size > buffer_size_) { in SetDataSize()28 LOGF(ERROR) << "Buffer overflow: Buffer only has " << buffer_size_ in SetDataSize()38 buffer_size_ = buffer_size; in AllocatedFrameBuffer()44 buffer_size_ = buffer_size; in AllocatedFrameBuffer()51 if (size > buffer_size_) { in SetDataSize()53 buffer_size_ = size; in SetDataSize()60 void AllocatedFrameBuffer::Reset() { memset(data_, 0, buffer_size_); } in Reset()66 buffer_size_ = buffer_size; in V4L2FrameBuffer()84 void* addr = mmap(NULL, buffer_size_, PROT_READ, MAP_SHARED, fd_.get(), 0); in Map()[all …]
32 size_t GetBufferSize() const { return buffer_size_; } in GetBufferSize()47 size_t buffer_size_; variable