/external/deqp/modules/gles3/functional/ |
H A D | es3fBufferCopyTests.cpp | 85 deUint32 dstBuf = 0; local 103 dstBuf = genBuffer(); 104 glBindBuffer(m_dstTarget, dstBuf); 110 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk; 116 glBindBuffer(m_dstTarget, dstBuf); 122 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk;
|
/external/chromium_org/third_party/libjpeg_turbo/ |
H A D | tjunittest.c | 334 void compTest(tjhandle handle, unsigned char **dstBuf, argument 352 if(*dstBuf && *dstSize>0) memset(*dstBuf, 0, *dstSize); 357 _tj(tjEncodeYUV2(handle, srcBuf, w, 0, h, pf, *dstBuf, subsamp, flags)); 367 _tj(tjCompress2(handle, srcBuf, w, 0, h, pf, dstBuf, dstSize, subsamp, 379 writeJPEG(*dstBuf, *dstSize, tempStr); 382 if(checkBufYUV(*dstBuf, w, h, subsamp)) printf("Passed."); 397 unsigned char *dstBuf=NULL; local 423 if((dstBuf=(unsigned char *)malloc(dstSize))==NULL) 425 memset(dstBuf, 484 unsigned char *dstBuf=NULL; local 537 unsigned char *srcBuf=NULL, *dstBuf=NULL; local [all...] |
H A D | turbojpeg-jni.c | 216 unsigned char *srcBuf=NULL, *dstBuf=NULL; local 234 bailif0(dstBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0)); 236 if(tjEncodeYUV2(handle, srcBuf, width, pitch, height, pf, dstBuf, subsamp, 239 (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0); 241 dstBuf=srcBuf=NULL; 246 if(dstBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0); 257 unsigned char *srcBuf=NULL, *dstBuf=NULL; local 277 bailif0(dstBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0)); 280 dstBuf, subsam 392 unsigned char *jpegBuf=NULL, *dstBuf=NULL; local 441 unsigned char *jpegBuf=NULL, *dstBuf=NULL; local 492 unsigned char *jpegBuf=NULL, *dstBuf=NULL; local [all...] |
H A D | turbojpeg.c | 673 int width, int pitch, int height, int pixelFormat, unsigned char *dstBuf, 681 JSAMPLE *ptr=dstBuf; 700 || pixelFormat>=TJ_NUMPF || dstBuf==NULL || subsamp<0 797 if(yuvsize!=(unsigned long)(ptr-dstBuf)) 831 int width, int pitch, int height, int pixelSize, unsigned char *dstBuf, 835 getPixelFormat(pixelSize, flags), dstBuf, subsamp, flags); 940 unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, 954 if(jpegBuf==NULL || jpegSize<=0 || dstBuf==NULL || width<0 || pitch<0 1007 _dstBuf=dstBuf; dstBuf 672 tjEncodeYUV2(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char *dstBuf, int subsamp, int flags) argument 830 tjEncodeYUV(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelSize, unsigned char *dstBuf, int subsamp, int flags) argument 939 tjDecompress2(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, int height, int pixelFormat, int flags) argument 1040 tjDecompress(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, int height, int pixelSize, int flags) argument 1052 tjDecompressToYUV(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, int flags) argument [all...] |