Lines Matching refs:SnapShotUtils
83 void SnapShotUtils::PrintUsage(const std::string& cmdLine)
89 std::string SnapShotUtils::GenerateFileName(std::string fileType, int offset)
111 bool SnapShotUtils::CheckFileNameValid(const std::string& fileName, std::string fileType)
149 bool SnapShotUtils::CheckWHValid(int32_t param)
154 bool SnapShotUtils::CheckWidthAndHeightValid(int32_t w, int32_t h)
159 bool SnapShotUtils::CheckParamValid(const WriteToJpegParam& param)
191 bool SnapShotUtils::RGBA8888ToRGB888(const uint8_t* rgba8888Buf, uint8_t* rgb888Buf, int32_t size)
206 bool SnapShotUtils::RGB565ToRGB888(const uint8_t* rgb565Buf, uint8_t* rgb888Buf, int32_t size)
225 bool SnapShotUtils::WriteRgb888ToJpeg(FILE* file, uint32_t width, uint32_t height, const uint8_t* data)
270 bool SnapShotUtils::WriteToJpeg(const std::string& fileName, const WriteToJpegParam& param)
318 bool SnapShotUtils::WriteToJpeg(int fd, const WriteToJpegParam& param)
361 bool SnapShotUtils::SaveSnapShot(const std::string& fileName, Media::PixelMap& pixelMap, std::string fileType)
386 bool SnapShotUtils::WriteToJpegWithPixelMap(const std::string& fileName, Media::PixelMap& pixelMap)
397 return SnapShotUtils::WriteToJpeg(fileName, param);
400 bool SnapShotUtils::WriteToJpegWithPixelMap(int fd, Media::PixelMap& pixelMap)
408 return SnapShotUtils::WriteToJpeg(fd, param);
411 bool SnapShotUtils::ProcessDisplayId(Rosen::DisplayId& displayId, bool isDisplayIdSet)
436 bool SnapShotUtils::ProcessArgs(int argc, char* const argv[], CmdArguments& cmdArguments)
470 SnapShotUtils::PrintUsage(argv[0]);
485 if (!SnapShotUtils::CheckFileNameValid(cmdArguments.fileName, cmdArguments.fileType)) {