HomeSort by relevance Sort by last modified time
    Searched refs:rgbBuf (Results 1 - 3 of 3) sorted by null

  /external/libvncserver/common/
turbojpeg.c 544 unsigned char *rgbBuf=NULL;
568 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE);
569 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure");
570 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf);
608 if(rgbBuf) free(rgbBuf);
753 unsigned char *rgbBuf=NULL;
812 rgbBuf=(unsigned char *)malloc(width*height*3);
813 if(!rgbBuf) _throw("tjDecompress2(): Memory allocation failure");
815 _dstBuf=dstBuf; dstBuf=rgbBuf;
    [all...]
  /external/libjpeg-turbo/
turbojpeg.c 737 unsigned char *rgbBuf=NULL;
761 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE);
762 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure");
763 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf);
801 if(rgbBuf) free(rgbBuf);
842 unsigned char *rgbBuf=NULL;
878 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE);
879 if(!rgbBuf) _throw("tjEncodeYUVPlanes(): Memory allocation failure");
880 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf);
    [all...]
  /frameworks/base/core/jni/
android_hardware_camera2_legacy_LegacyCameraDevice.cpp 55 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, uint8_t* yPlane,
65 R = rgbBuf[index++];
66 G = rgbBuf[index++];
67 B = rgbBuf[index++];
86 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, android_ycbcr* ycbcr) {
92 rgbToYuv420(rgbBuf, width, height, reinterpret_cast<uint8_t*>(ycbcr->y),

Completed in 57 milliseconds