Home
last modified time | relevance | path

Searched refs:width (Results 1 – 13 of 13) sorted by relevance

/ide/tools/previewer/mock/
DVirtualScreen.cpp209 int VirtualScreen::GetJpgQualityValue(int32_t width, int32_t height) const in GetJpgQualityValue() argument
211 long long pixCount = static_cast<long long>(width) * static_cast<long long>(height); in GetJpgQualityValue()
294 void VirtualScreen::RgbToJpg(unsigned char* data, const int32_t width, const int32_t height) in RgbToJpg() argument
296 if (width < 1 || height < 1) { in RgbToJpg()
304 jpeg.image_width = width; in RgbToJpg()
309 jpeg_set_quality(&jpeg, GetJpgQualityValue(width, height), TRUE); in RgbToJpg()
312 int rowStride = width * jpgPix; in RgbToJpg()
357 void VirtualScreen::SetCurrentResolution(int32_t width, int32_t height) in SetCurrentResolution() argument
359 currentWidth = width; in SetCurrentResolution()
DVirtualScreen.h70 int GetJpgQualityValue(int32_t width, int32_t height) const;
90 void RgbToJpg(unsigned char* data, const int32_t width, const int32_t height);
101 void SetCurrentResolution(int32_t width, int32_t height);
/ide/tools/previewer/util/
DTimeTool.cpp53 string TimeTool::FixedTime(int32_t time, int32_t width) in FixedTime() argument
57 if (len < width) { in FixedTime()
58 for (int i = 0; i < width - len; i++) { in FixedTime()
DTimeTool.h28 static std::string FixedTime(int32_t time, int32_t width);
/ide/tools/previewer/mock/rich/
DVirtualScreenImpl.cpp72 const int32_t width, in LoadDocCallback() argument
83 GetInstance().widthTemp = width; in LoadDocCallback()
104 const int32_t width, const int32_t height) in CallBack() argument
121 if (!LoadDocCallback(data, length, width, height)) { in CallBack()
129 return GetInstance().SendPixmap(data, length, width, height); in CallBack()
267 uint16_t width = static_cast<uint16_t>(retWidth); in SendPixmap() local
272 WriteBuffer(width); in SendPixmap()
DVirtualScreenImpl.h28 const int32_t width, const int32_t height);
29 …static bool CallBack(const void* data, const size_t length, const int32_t width, const int32_t hei…
/ide/tools/previewer/mock/lite/
DVirtualScreenImpl.cpp146 void VirtualScreenImpl::Send(unsigned char* data, int32_t width, int32_t height) in Send() argument
153 VirtualScreen::RgbToJpg(data + headSize, width, height); in Send()
274 bufferInfo->width = orignalResolutionWidth; in GetFBBufferInfo()
DVirtualScreenImpl.h53 void Send(unsigned char* data, int32_t width, int32_t height);
/ide/tools/previewer/jsapp/
DJsApp.h73 …virtual void FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t height);
DJsApp.cpp186 void JsApp::FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t height) {} in FoldStatusChanged() argument
/ide/tools/previewer/jsapp/rich/
DJsAppImpl.h79 …void FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t height) overrid…
136 int32_t width = 0; variable
DJsAppImpl.cpp121 aceRunArgs.deviceHeight = width; in OrientationChanged()
135 glfwRenderContext->SetWindowSize(width, height); in OrientationChanged()
605 width = compWidth; in AssignValueForWidthAndHeight()
607 ILOG("AssignValueForWidthAndHeight: %d %d %d %d", orignalWidth, orignalHeight, width, height); in AssignValueForWidthAndHeight()
917 void JsAppImpl::FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t heigh… in FoldStatusChanged() argument
930 ResolutionParam param(width, height, width, height); in FoldStatusChanged()
/ide/tools/previewer/cli/
DCommandLine.cpp474 int32_t width = args["width"].asInt(); in RunSet() local
481 ResolutionParam param(originWidth, originHeight, width, height); in RunSet()
614 int width = previewParam["width"].asInt(); in IsIntValValid() local
617 if (width < minLoadDocWidth || width > maxLoadDocWidth || height < minLoadDocWidth || in IsIntValValid()
1517 int32_t width = args["width"].asInt(); in RunSet() local
1521 JsAppImpl::GetInstance().FoldStatusChanged(commandStatus, width, height); in RunSet()