Searched refs:headSize (Results 1 – 3 of 3) sorted by relevance
/ide/tools/previewer/mock/lite/ |
D | VirtualScreenImpl.cpp | 50 bufferSize = orignalResolutionWidth * orignalResolutionHeight * pixelSize + headSize; in InitAll() 135 WebSocketServer::GetInstance().firstImagebufferSize = headSize + jpgBufferSize; in ScheduleBufferSend() 138 regionBuffer + headSize + jpgBufferSize, in ScheduleBufferSend() 153 VirtualScreen::RgbToJpg(data + headSize, width, height); in Send() 154 std::copy(jpgScreenBuffer, jpgScreenBuffer + jpgBufferSize, regionBuffer + headSize); in Send() 155 WebSocketServer::GetInstance().WriteData(regionBuffer, headSize + jpgBufferSize); in Send() 162 std::copy(screenBuffer, screenBuffer + headSize, regionBuffer); in SendFullBuffer() 171 std::copy(screenBuffer, screenBuffer + headSize, regionBuffer); in SendRegionBuffer() 173 …uint8_t* startPos = screenBuffer + (i * compressionResolutionWidth + regionX1) * jpgPix + headSize; in SendRegionBuffer() 176 regionBuffer + ((i - regionY1) * regionWidth) * jpgPix + headSize); in SendRegionBuffer() [all …]
|
/ide/tools/previewer/mock/rich/ |
D | VirtualScreenImpl.cpp | 57 GetInstance().bufferSize = GetInstance().lengthTemp + GetInstance().headSize; in StartTimer() 129 GetInstance().bufferSize = length + GetInstance().headSize; in CallBack() 217 if (jpgBufferSize > bufferSize - headSize) { in Send() 218 FLOG("VirtualScreenImpl::Send length must < %d", bufferSize - headSize); in Send() 221 std::copy(jpgScreenBuffer, jpgScreenBuffer + jpgBufferSize, screenBuffer + headSize); in Send() 222 writed = WebSocketServer::GetInstance().WriteData(screenBuffer, headSize + jpgBufferSize); in Send() 229 WebSocketServer::GetInstance().firstImagebufferSize = headSize + jpgBufferSize; in Send() 231 screenBuffer + headSize + jpgBufferSize, in Send()
|
/ide/tools/previewer/mock/ |
D | VirtualScreen.h | 108 const size_t headSize = 40; // The packet header length is 40 bytes. variable
|