Skip to content

Commit

Permalink
[Encode] Replace CodecHalDump with FastDump
Browse files Browse the repository at this point in the history
Replace CodecHalDump with FastDump.
  • Loading branch information
walter-bai authored and intel-mediadev committed Apr 28, 2023
1 parent bd86a6e commit 64e4fad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ void MediaDebugConfigMgr::GenerateDefaultConfig(std::string configFileName)
ofs << "#" << MediaDbgAttr::attrDumpBufferInBinary << ":0" << std::endl;
ofs << "#" << MediaDbgAttr::attrDumpToThreadFolder << ":0" << std::endl;
ofs << "#" << MediaDbgAttr::attrDumpCmdBufInBinary << ":0" << std::endl;
ofs << "#" << MediaDbgAttr::attrEnableFastDump << ":0" << std::endl;
ofs << "#" << MediaDbgAttr::attrEnableFastDump << ":1" << std::endl;
ofs << "#" << MediaDbgAttr::attrStatusReport << ":0" << std::endl;
ofs << std::endl;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ struct MediaKernelDumpConfig

struct MediaDbgCfg
{
MediaDbgCfg()
{
cmdAttribs[MediaDbgAttr::attrEnableFastDump] = 1;
}

int32_t frameIndex;
std::map<std::string, int32_t> cmdAttribs;
std::map<std::string, MediaKernelDumpConfig> kernelAttribs;
Expand Down

0 comments on commit 64e4fad

Please sign in to comment.