Home
last modified time | relevance | path

Searched refs:bufSize (Results 1 – 25 of 25) sorted by relevance

/device/google/contexthub/contexthubhal/
Dmessage_buf.h60 MessageBuf(char *buf, size_t bufSize) { in MessageBuf() argument
61 size = bufSize; in MessageBuf()
66 MessageBuf(const char *buf, size_t bufSize) { in MessageBuf() argument
67 size = bufSize; in MessageBuf()
138 const void *readRaw(size_t bufSize) { in readRaw() argument
139 if (pos > (size - bufSize)) { in readRaw()
143 pos += bufSize; in readRaw()
146 void writeRaw(const void *buf, size_t bufSize) { in writeRaw() argument
147 if (pos > (size - bufSize) || readOnly) { in writeRaw()
150 memcpy(&data[pos], buf, bufSize); in writeRaw()
[all …]
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DSocketStream.cpp32 SocketStream::SocketStream(size_t bufSize) : in SocketStream() argument
33 IOStream(bufSize), in SocketStream()
35 m_bufsize(bufSize), in SocketStream()
40 SocketStream::SocketStream(int sock, size_t bufSize) : in SocketStream() argument
41 IOStream(bufSize), in SocketStream()
43 m_bufsize(bufSize), in SocketStream()
DTcpStream.cpp31 TcpStream::TcpStream(size_t bufSize) : in TcpStream() argument
32 SocketStream(bufSize) in TcpStream()
36 TcpStream::TcpStream(int sock, size_t bufSize) : in TcpStream() argument
37 SocketStream(sock, bufSize) in TcpStream()
DTcpStream.h29 TcpStream(int sock, size_t bufSize);
DSocketStream.h47 SocketStream(int sock, size_t bufSize);
/device/generic/goldfish/opengl/system/OpenglSystemCommon/
DQemuPipeStream.cpp24 QemuPipeStream::QemuPipeStream(size_t bufSize) : in QemuPipeStream() argument
25 IOStream(bufSize), in QemuPipeStream()
27 m_bufsize(bufSize), in QemuPipeStream()
32 QemuPipeStream::QemuPipeStream(int sock, size_t bufSize) : in QemuPipeStream() argument
33 IOStream(bufSize), in QemuPipeStream()
35 m_bufsize(bufSize), in QemuPipeStream()
DQemuPipeStream.h48 QemuPipeStream(int sock, size_t bufSize);
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraStream.cpp475 ssize_t bufSize = BAD_INDEX; in unMapBuf() local
480 bufSize = Buf->getSize(i); in unMapBuf()
481 if (BAD_INDEX != bufSize) { in unMapBuf()
521 ssize_t bufSize = BAD_INDEX; in mapBuf() local
526 bufSize = Buf->getSize((uint32_t)i); in mapBuf()
527 if (BAD_INDEX != bufSize) { in mapBuf()
531 Buf->getFd((uint32_t)i), (uint32_t)bufSize); in mapBuf()
534 (uint32_t)bufSize, bufType, ops_tbl->userdata); in mapBuf()
551 bufSize = Buf->getSize((uint32_t)i); in mapBuf()
552 if (BAD_INDEX != bufSize) { in mapBuf()
[all …]
DQCamera2HWI.cpp1847 size_t bufSize = 0; in allocateMiscBuf() local
1856 bufSize = mParameters.getTPMaxMetaSize(); in allocateMiscBuf()
1859 bufSize = mParameters.getRefocusMaxMetaSize(); in allocateMiscBuf()
1866 if (bufNum && bufSize) { in allocateMiscBuf()
1874 rc = miscBuf->allocate(bufNum, bufSize, NON_SECURE); in allocateMiscBuf()
4113 ssize_t bufSize = imgBuf->getSize(0); in registerFaceImage() local
4114 if (BAD_INDEX != bufSize) { in registerFaceImage()
4115 rc = pChannel->doReprocess(imgBuf->getFd(0), (size_t)bufSize, faceID); in registerFaceImage()
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraStream.cpp475 ssize_t bufSize = BAD_INDEX; in unMapBuf() local
480 bufSize = Buf->getSize(i); in unMapBuf()
481 if (BAD_INDEX != bufSize) { in unMapBuf()
521 ssize_t bufSize = BAD_INDEX; in mapBuf() local
526 bufSize = Buf->getSize((uint32_t)i); in mapBuf()
527 if (BAD_INDEX != bufSize) { in mapBuf()
531 Buf->getFd((uint32_t)i), (uint32_t)bufSize); in mapBuf()
534 (uint32_t)bufSize, bufType, ops_tbl->userdata); in mapBuf()
551 bufSize = Buf->getSize((uint32_t)i); in mapBuf()
552 if (BAD_INDEX != bufSize) { in mapBuf()
[all …]
DQCamera2HWI.cpp1847 size_t bufSize = 0; in allocateMiscBuf() local
1856 bufSize = mParameters.getTPMaxMetaSize(); in allocateMiscBuf()
1859 bufSize = mParameters.getRefocusMaxMetaSize(); in allocateMiscBuf()
1866 if (bufNum && bufSize) { in allocateMiscBuf()
1874 rc = miscBuf->allocate(bufNum, bufSize, NON_SECURE); in allocateMiscBuf()
4113 ssize_t bufSize = imgBuf->getSize(0); in registerFaceImage() local
4114 if (BAD_INDEX != bufSize) { in registerFaceImage()
4115 rc = pChannel->doReprocess(imgBuf->getFd(0), (size_t)bufSize, faceID); in registerFaceImage()
/device/generic/goldfish/opengl/host/include/libOpenglRender/
DIOStream.h27 IOStream(size_t bufSize) { in IOStream() argument
29 m_bufsize = bufSize; in IOStream()
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3Stream.cpp317 ssize_t bufSize = BAD_INDEX; in init() local
355 bufSize = mStreamInfoBuf->getSize(0); in init()
356 if (BAD_INDEX != bufSize) { in init()
359 0, -1, mStreamInfoBuf->getFd(0), (size_t)bufSize); in init()
632 ssize_t bufSize = mStreamBufs->getSize(index); in bufDone() local
634 if (BAD_INDEX != bufSize) { in bufDone()
637 (size_t)bufSize, CAM_MAPPING_BUF_TYPE_STREAM_BUF, mMemOps->userdata); in bufDone()
752 ssize_t bufSize = mStreamBufs->getSize(i); in getBufs() local
753 if (BAD_INDEX != bufSize) { in getBufs()
755 (size_t)bufSize, CAM_MAPPING_BUF_TYPE_STREAM_BUF, in getBufs()
DQCamera3PostProc.cpp302 ssize_t bufSize = mOutputMem->getSize(jpeg_settings->out_buf_index); in getFWKJpegEncodeConfig() local
303 if (BAD_INDEX == bufSize) { in getFWKJpegEncodeConfig()
354 encode_parm.dest_buf[0].buf_size = (size_t)bufSize; in getFWKJpegEncodeConfig()
391 ssize_t bufSize = 0; in getJpegEncodeConfig() local
433 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
434 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
439 encode_parm.src_main_buf[i].buf_size = (size_t)bufSize; in getJpegEncodeConfig()
463 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
464 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
469 encode_parm.src_thumb_buf[i].buf_size = (uint32_t)bufSize; in getJpegEncodeConfig()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3Stream.cpp317 ssize_t bufSize = BAD_INDEX; in init() local
355 bufSize = mStreamInfoBuf->getSize(0); in init()
356 if (BAD_INDEX != bufSize) { in init()
359 0, -1, mStreamInfoBuf->getFd(0), (size_t)bufSize); in init()
632 ssize_t bufSize = mStreamBufs->getSize(index); in bufDone() local
634 if (BAD_INDEX != bufSize) { in bufDone()
637 (size_t)bufSize, CAM_MAPPING_BUF_TYPE_STREAM_BUF, mMemOps->userdata); in bufDone()
752 ssize_t bufSize = mStreamBufs->getSize(i); in getBufs() local
753 if (BAD_INDEX != bufSize) { in getBufs()
755 (size_t)bufSize, CAM_MAPPING_BUF_TYPE_STREAM_BUF, in getBufs()
DQCamera3PostProc.cpp302 ssize_t bufSize = mOutputMem->getSize(jpeg_settings->out_buf_index); in getFWKJpegEncodeConfig() local
303 if (BAD_INDEX == bufSize) { in getFWKJpegEncodeConfig()
354 encode_parm.dest_buf[0].buf_size = (size_t)bufSize; in getFWKJpegEncodeConfig()
391 ssize_t bufSize = 0; in getJpegEncodeConfig() local
433 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
434 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
439 encode_parm.src_main_buf[i].buf_size = (size_t)bufSize; in getJpegEncodeConfig()
463 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
464 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
469 encode_parm.src_thumb_buf[i].buf_size = (uint32_t)bufSize; in getJpegEncodeConfig()
[all …]
/device/generic/goldfish/opengl/system/renderControl_enc/
DrenderControl_entry.cpp14 EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer);
77 EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer) in rcGetConfigs() argument
80 return ctx->rcGetConfigs(ctx, bufSize, buffer); in rcGetConfigs()
DrenderControl.attrib25 len buffer bufSize
DREADME28 EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer);
31 bufSize is the size of buffer, the size should be at least equal to
34 rcGetNumConfigs. if bufSize is not big enough then the negative number
DrenderControl.in6 GL_ENTRY(EGLint, rcGetConfigs, uint32_t bufSize, GLuint *buffer)
DrenderControl_enc.cpp230 EGLint rcGetConfigs_enc(void *self , uint32_t bufSize, GLuint* buffer) in rcGetConfigs_enc() argument
238 const unsigned int __size_buffer = bufSize; in rcGetConfigs_enc()
249 memcpy(ptr, &bufSize, 4); ptr += 4; in rcGetConfigs_enc()
/device/generic/goldfish/opengl/system/GLESv2_enc/
Dgl2_entry.cpp153 …void glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat,…
172 …void glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei* length, GLchar* groupS…
173 …void glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei* leng…
193 …void glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei* length, GLchar* …
1098 void glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, … in glGetProgramBinaryOES() argument
1101 ctx->glGetProgramBinaryOES(ctx, program, bufSize, length, binaryFormat, binary); in glGetProgramBinaryOES()
1214 void glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei* length, GLchar* groupSt… in glGetPerfMonitorGroupStringAMD() argument
1217 ctx->glGetPerfMonitorGroupStringAMD(ctx, group, bufSize, length, groupString); in glGetPerfMonitorGroupStringAMD()
1220 void glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei* lengt… in glGetPerfMonitorCounterStringAMD() argument
1223 ctx->glGetPerfMonitorCounterStringAMD(ctx, group, counter, bufSize, length, counterString); in glGetPerfMonitorCounterStringAMD()
[all …]
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Dgles.cpp1326 void glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *d… in glGetDriverControlStringQCOM() argument
1328 … getDispatch()->glGetDriverControlStringQCOM(driverControl, bufSize, length, driverControlString); in glGetDriverControlStringQCOM()
/device/generic/goldfish/opengl/system/GLESv1_enc/
Dgl_entry.cpp283 …void glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei* length, GLchar* …
1965 void glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei* length, GLchar* d… in glGetDriverControlStringQCOM() argument
1968 ctx->glGetDriverControlStringQCOM(ctx, driverControl, bufSize, length, driverControlString); in glGetDriverControlStringQCOM()
Dgl_enc.cpp7621 void glGetDriverControlStringQCOM_enc(void *self , GLuint driverControl, GLsizei bufSize, GLsizei* … in glGetDriverControlStringQCOM_enc() argument
7642 memcpy(ptr, &bufSize, 4); ptr += 4; in glGetDriverControlStringQCOM_enc()