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 763 unsigned char *rgbBuf=NULL;
780 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE);
781 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure");
782 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf);
828 if(rgbBuf) free(rgbBuf);
870 unsigned char *rgbBuf=NULL;
899 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE);
900 if(!rgbBuf) _throw("tjEncodeYUVPlanes(): Memory allocation failure");
901 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf);
    [all...]
  /frameworks/base/core/jni/
android_hardware_camera2_legacy_LegacyCameraDevice.cpp 71 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, uint8_t* yPlane,
81 R = rgbBuf[index++];
82 G = rgbBuf[index++];
83 B = rgbBuf[index++];
102 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, android_ycbcr* ycbcr) {
108 rgbToYuv420(rgbBuf, width, height, reinterpret_cast<uint8_t*>(ycbcr->y),

Completed in 74 milliseconds