Home
last modified time | relevance | path

Searched refs:retWidth (Results 1 - 4 of 4) sorted by relevance

/ide/tools/previewer/mock/rich/
H A DVirtualScreenImpl.cpp296 void VirtualScreenImpl::Send(const void* data, int32_t retWidth, int32_t retHeight) in Send() argument
303 if (retWidth < 1 || retHeight < 1) { in Send()
304 FLOG("VirtualScreenImpl::RgbToJpg the retWidth or height is invalid value"); in Send()
307 unsigned char* dataTemp = new(std::nothrow) unsigned char[retWidth * retHeight * jpgPix]; in Send()
313 for (int j = 0; j < retWidth; j++) { in Send()
314 int inputBasePos = i * retWidth * pixelSize + j * pixelSize; in Send()
315 int nowBasePos = i * retWidth * jpgPix + j * jpgPix; in Send()
321 VirtualScreen::RgbToJpg(dataTemp, retWidth, retHeight); in Send()
348 bool VirtualScreenImpl::SendPixmap(const void* data, size_t length, int32_t retWidth, int32_t retHeight) in SendPixmap() argument
371 WriteBuffer(retWidth); in SendPixmap()
[all...]
H A DVirtualScreenImpl.h58 void Send(const void* data, int32_t retWidth, int32_t retHeight);
59 bool SendPixmap(const void* data, size_t length, int32_t retWidth, int32_t retHeight);
/ide/tools/previewer/test/unittest/mock_lite/
H A DVirtualScreenImplTest.cpp30 int retWidth = 100; in InitBuffer() local
36 jpgWidth = retWidth; in InitBuffer()
37 jpgBufferSize = static_cast<long>(retWidth) * static_cast<long>(retHeight) * static_cast<long>(jpgPix); in InitBuffer()
/ide/tools/previewer/test/unittest/mock/
H A DVirtualScreenImplTest.cpp36 int retWidth = 100; in InitBuffer() local
40 jpgWidth = retWidth; in InitBuffer()
42 jpgBuffSize = static_cast<long>(retWidth) * static_cast<long>(retHeight) * static_cast<long>(jpgPix); in InitBuffer()

Completed in 3 milliseconds