Home
last modified time | relevance | path

Searched refs:jpegBuf (Results 1 – 3 of 3) sorted by relevance

/external/libvncserver/test/
Dtjunittest.c224 void writeJPEG(unsigned char *jpegBuf, unsigned long jpegSize, char *filename) in writeJPEG() argument
227 if(!file || fwrite(jpegBuf, jpegSize, 1, file)!=1) in writeJPEG()
272 void _decompTest(tjhandle handle, unsigned char *jpegBuf, in _decompTest() argument
288 _tj(tjDecompressHeader2(handle, jpegBuf, jpegSize, &_hdrw, &_hdrh, in _decompTest()
299 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, in _decompTest()
313 void decompTest(tjhandle handle, unsigned char *jpegBuf, in decompTest() argument
324 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp, in decompTest()
328 _decompTest(handle, jpegBuf, jpegSize, w, h, pf, basename, subsamp, flags, in decompTest()
380 unsigned char *srcBuf=NULL, *jpegBuf=NULL; in bufSizeTest() local
397 if((jpegBuf=(unsigned char *)malloc(tjBufSize(w, h, subsamp))) in bufSizeTest()
[all …]
/external/libvncserver/common/
Dturbojpeg.h353 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf,
407 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height,
467 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf,
514 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height);
517 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf,
Dturbojpeg.c535 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, in tjCompress2() argument
548 || pixelFormat>=TJ_NUMPF || jpegBuf==NULL || jpegSize==NULL in tjCompress2()
581 this->jdst.next_output_byte=*jpegBuf; in tjCompress2()
611 int width, int pitch, int height, int pixelSize, unsigned char *jpegBuf, in tjCompress() argument
616 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, in tjCompress()
681 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height, in tjDecompressHeader2() argument
690 if(jpegBuf==NULL || jpegSize<=0 || width==NULL || height==NULL in tjDecompressHeader2()
701 this->jsrc.next_input_byte=jpegBuf; in tjDecompressHeader2()
720 unsigned char *jpegBuf, unsigned long jpegSize, int *width, int *height) in tjDecompressHeader() argument
723 return tjDecompressHeader2(handle, jpegBuf, jpegSize, width, height, in tjDecompressHeader()
[all …]