修改图片格式为jpeg

Signed-off-by: j00383476 <jinhai2@huawei.com>
This commit is contained in:
j00383476 2024-04-18 11:43:18 +08:00
parent 268ade4151
commit c9333437ed
3 changed files with 1 additions and 9 deletions

View File

@ -31,7 +31,7 @@ using namespace OHOS::Rosen;
std::map<std::string, std::string> Capture::ItemData()
{
callNum++;
std::map<std:: string, std::string> result;
std::map<std::string, std::string> result;
int two = 2;
if (callNum % two != 0) {
long long curTime = SPUtils::GetCurTime();

View File

@ -79,8 +79,6 @@ enum class CommandType {
CT_G,
CT_D,
CT_F,
CT_F1,
CT_F2,
CT_T,
CT_P,
CT_R,
@ -109,8 +107,6 @@ const std::unordered_map<std::string, CommandType> commandMap = {
{ std::string("-c"), CommandType::CT_C },
{ std::string("-g"), CommandType::CT_G },
{ std::string("-f"), CommandType::CT_F },
{ std::string("-f1"), CommandType::CT_F1 },
{ std::string("-f2"), CommandType::CT_F1 },
{ std::string("-t"), CommandType::CT_T },
{ std::string("-p"), CommandType::CT_P },
{ std::string("-r"), CommandType::CT_R },
@ -135,8 +131,6 @@ const std::unordered_map<CommandType, std::string> COMMAND_MAP_REVERSE = {
{ CommandType::CT_C, std::string("-c") },
{ CommandType::CT_G, std::string("-g") },
{ CommandType::CT_F, std::string("-f") },
{ CommandType::CT_F1, std::string("-f1") },
{ CommandType::CT_F1, std::string("-f2") },
{ CommandType::CT_T, std::string("-t") },
{ CommandType::CT_P, std::string("-p") },
{ CommandType::CT_R, std::string("-r") },

View File

@ -137,8 +137,6 @@ SpProfiler *SpProfilerFactory::GetCmdProfilerItem(CommandType commandType, bool
profiler = &GPU::GetInstance();
break;
case CommandType::CT_F:
case CommandType::CT_F1:
case CommandType::CT_F2:
if (cmdFlag) {
profiler = &FPS::GetInstance();
}