Searched refs:srcBuf (Results 1 – 5 of 5) sorted by relevance
/external/libvncserver/test/ |
D | tjunittest.c | 242 char tempStr[1024]; unsigned char *srcBuf=NULL; in compTest() local 249 if((srcBuf=(unsigned char *)malloc(w*h*tjPixelSize[pf]))==NULL) in compTest() 251 initBuf(srcBuf, w, h, pf, flags); in compTest() 256 _tj(tjCompress2(handle, srcBuf, w, 0, h, pf, dstBuf, dstSize, subsamp, in compTest() 268 if(srcBuf) free(srcBuf); in compTest() 380 unsigned char *srcBuf=NULL, *jpegBuf=NULL; in bufSizeTest() local 395 if((srcBuf=(unsigned char *)malloc(w*h*4))==NULL) in bufSizeTest() 404 if(random()<RAND_MAX/2) srcBuf[i]=0; in bufSizeTest() 405 else srcBuf[i]=255; in bufSizeTest() 408 _tj(tjCompress2(handle, srcBuf, w, 0, h, TJPF_BGRX, &jpegBuf, in bufSizeTest() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fBufferCopyTests.cpp | 84 deUint32 srcBuf = 0; in iterate() local 97 srcBuf = genBuffer(); in iterate() 98 glBindBuffer(m_srcTarget, srcBuf); in iterate() 109 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; in iterate() 115 glBindBuffer(m_srcTarget, srcBuf); in iterate() 121 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; in iterate()
|
/external/libvncserver/common/ |
D | turbojpeg.c | 534 DLLEXPORT int DLLCALL tjCompress2(tjhandle handle, unsigned char *srcBuf, in tjCompress2() argument 547 if(srcBuf==NULL || width<=0 || pitch<0 || height<=0 || pixelFormat<0 in tjCompress2() 566 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjCompress2() 589 if(flags&TJFLAG_BOTTOMUP) row_pointer[i]=&srcBuf[(height-i-1)*pitch]; in tjCompress2() 590 else row_pointer[i]=&srcBuf[i*pitch]; in tjCompress2() 610 DLLEXPORT int DLLCALL tjCompress(tjhandle handle, unsigned char *srcBuf, in tjCompress() argument 615 retval=tjCompress2(handle, srcBuf, width, pitch, height, in tjCompress()
|
D | turbojpeg.h | 352 DLLEXPORT int DLLCALL tjCompress2(tjhandle handle, unsigned char *srcBuf, 509 DLLEXPORT int DLLCALL tjCompress(tjhandle handle, unsigned char *srcBuf,
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_objects.cpp | 973 FX_BYTE srcBuf[1024]; in Identical() local 983 m_pFile->ReadBlock(srcBuf, srcOffset, actualSize); in Identical() 985 if (FXSYS_memcmp32(srcBuf, destBuf, actualSize) != 0) { in Identical() 1010 FX_BYTE srcBuf[1024]; in Identical() local 1014 pFile->ReadBlock(srcBuf, offset, actualSize); in Identical() 1015 if (FXSYS_memcmp32(srcBuf, pBuf, actualSize) != 0) { in Identical()
|