Searched refs:buf_size (Results 1 – 9 of 9) sorted by relevance
/frameworks/rs/cpu_ref/linkloader/lib/ |
D | MemChunk.cpp | 47 MemChunk::MemChunk() : buf(NULL), buf_size(0), bVendorBuf(true) { in MemChunk() 56 munmap(buf, buf_size); in ~MemChunk() 94 buf_size = size; in allocate() 100 dump_hex(buf, buf_size, 0, buf_size); in print() 105 if (buf_size > 0) { in protect() 106 int ret = mprotect((void *)buf, buf_size, prot); in protect() 113 FLUSH_CPU_CACHE(buf, buf + buf_size); in protect()
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | bitstream_io.cpp | 45 AVCEnc_Status BitstreamEncInit(AVCEncBitstream *stream, uint8 *buffer, int buf_size, in BitstreamEncInit() argument 48 if (stream == NULL || buffer == NULL || buf_size <= 0) in BitstreamEncInit() 55 stream->buf_size = buf_size; in BitstreamEncInit() 91 …if (stream->buf_size - stream->write_pos <= (num_bits >> 3) + 2) /* 2 more bytes for possible EPBS… in AVCBitstreamSaveWord() 299 stream->buf_size = stream->oBSize; in AVCBitstreamUseOverrunBuffer() 326 stream->buf_size = stream->oBSize; in AVCBitstreamUseOverrunBuffer()
|
D | avcenc_int.h | 134 int buf_size; /* size of the buffer memory */ member
|
D | avcenc_lib.h | 235 AVCEnc_Status BitstreamEncInit(AVCEncBitstream *bitstream, uint8 *buffer, int buf_size,
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Camera2Heap.h | 29 Camera2Heap(size_t buf_size, uint_t num_buffers = 1, 31 mBufSize(buf_size), in mBufSize() argument 33 mHeap = new MemoryHeapBase(buf_size * num_buffers, 0, name); in mBufSize()
|
/frameworks/rs/cpu_ref/linkloader/android/ |
D | librsloader.h | 31 size_t buf_size, 36 size_t buf_size);
|
D | librsloader.cpp | 51 size_t buf_size, in rsloaderCreateExec() argument 54 RSExecRef object = rsloaderLoadExecutable(buf, buf_size); in rsloaderCreateExec() 68 size_t buf_size) { in rsloaderLoadExecutable() argument 69 ArchiveReaderLE AR(buf, buf_size); in rsloaderLoadExecutable()
|
/frameworks/rs/cpu_ref/linkloader/include/ |
D | MemChunk.h | 30 size_t buf_size; variable 66 return buf_size; in size()
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.h | 502 CameraHeapMemory(int fd, size_t buf_size, uint_t num_buffers = 1) : 503 mBufSize(buf_size), in mBufSize() argument 506 mHeap = new MemoryHeapBase(fd, buf_size * num_buffers); in mBufSize() 510 CameraHeapMemory(size_t buf_size, uint_t num_buffers = 1) : 511 mBufSize(buf_size), in mBufSize() argument 514 mHeap = new MemoryHeapBase(buf_size * num_buffers); in mBufSize() 546 static camera_memory_t* __get_memory(int fd, size_t buf_size, uint_t num_bufs, in __get_memory() argument 551 mem = new CameraHeapMemory(buf_size, num_bufs); in __get_memory() 553 mem = new CameraHeapMemory(fd, buf_size, num_bufs); in __get_memory()
|