Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dtjexample.c170 unsigned char *imgBuf = NULL, *jpegBuf = NULL; in main() local
331 if ((imgBuf = (unsigned char *)tjAlloc(width * height * in main()
335 if (tjDecompress2(tjInstance, jpegBuf, jpegSize, imgBuf, width, 0, height, in main()
342 if ((imgBuf = tjLoadImage(argv[1], &width, 1, &height, &pixelFormat, in main()
368 if (tjCompress2(tjInstance, imgBuf, width, 0, height, pixelFormat, in main()
385 if (tjSaveImage(argv[2], imgBuf, width, 0, height, pixelFormat, 0) < 0) in main()
390 if (imgBuf) tjFree(imgBuf); in main()
/external/webrtc/webrtc/modules/video_processing/
Dcontent_analysis_sse2.cc120 const uint8_t* imgBuf = orig_frame_ + border_ * width_; in ComputeSpatialMetrics_SSE2() local
150 const uint8_t* lineTop = imgBuf - width_ + border_; in ComputeSpatialMetrics_SSE2()
151 const uint8_t* lineCen = imgBuf + border_; in ComputeSpatialMetrics_SSE2()
152 const uint8_t* lineBot = imgBuf + width_ + border_; in ComputeSpatialMetrics_SSE2()
224 imgBuf += width_ * skip_num_; in ComputeSpatialMetrics_SSE2()
/external/libjpeg-turbo/java/
DTJExample.java164 byte[] imgBuf = null; in main()
337 imgBuf = tjd.decompress(width, 0, height, TJ.PF_BGRX, flags); in main()
379 tjc.setSourceImage(imgBuf, 0, 0, width, 0, height, TJ.PF_BGRX); in main()