Lines Matching defs:retWidth
296 void VirtualScreenImpl::Send(const void* data, int32_t retWidth, int32_t retHeight)
303 if (retWidth < 1 || retHeight < 1) {
304 FLOG("VirtualScreenImpl::RgbToJpg the retWidth or height is invalid value");
307 unsigned char* dataTemp = new(std::nothrow) unsigned char[retWidth * retHeight * jpgPix];
313 for (int j = 0; j < retWidth; j++) {
314 int inputBasePos = i * retWidth * pixelSize + j * pixelSize;
315 int nowBasePos = i * retWidth * jpgPix + j * jpgPix;
321 VirtualScreen::RgbToJpg(dataTemp, retWidth, retHeight);
348 bool VirtualScreenImpl::SendPixmap(const void* data, size_t length, int32_t retWidth, int32_t retHeight)
371 WriteBuffer(retWidth);
373 WriteBuffer(retWidth);
382 uint16_t width = static_cast<uint16_t>(retWidth);
393 Send(data, retWidth, retHeight);