Skip to content

Commit

Permalink
デバッグログの拡充。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Oct 11, 2024
1 parent adab058 commit c1511a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions NVEncCore/NVEncFilterColorspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1706,6 +1706,8 @@ std::string NVEncFilterColorspace::genKernelCode() {

RGY_ERR NVEncFilterColorspace::setupCustomFilter(const RGY_CSP cspIn, const RGYFrameInfo& frameInfo, shared_ptr<NVEncFilterParamColorspace> prm) {
#if ENABLE_NVRTC
AddMessage(RGY_LOG_DEBUG, _T("setupCustomFilter\n%s\n"), opCtrl->printInfoAll().c_str());

VppCustom customPrms;
customPrms.enable = true;
customPrms.compile_options = "--use_fast_math";
Expand Down
4 changes: 2 additions & 2 deletions NVEncCore/NVEncFilterNGX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ RGY_ERR NVEncFilterNGX::initCommon(shared_ptr<NVEncFilterParam> pParam) {
if (!m_srcColorspace
|| m_srcColorspace->GetFilterParam()->frameIn.width != pParam->frameIn.width
|| m_srcColorspace->GetFilterParam()->frameIn.height != pParam->frameIn.height) {
AddMessage(RGY_LOG_DEBUG, _T("Create input csp conversion filter.\n"));
AddMessage(RGY_LOG_DEBUG, _T("Create input colorspace conversion filter.\n"));
VppColorspace colorspace;
colorspace.enable = true;
// DXGI_FORMAT_R8G8B8A8_UNORM に合わせてRGBに変換する
Expand Down Expand Up @@ -311,7 +311,7 @@ RGY_ERR NVEncFilterNGX::initCommon(shared_ptr<NVEncFilterParam> pParam) {
if (!m_dstColorspace
|| m_dstColorspace->GetFilterParam()->frameOut.width != m_dstCrop->GetFilterParam()->frameIn.width
|| m_dstColorspace->GetFilterParam()->frameOut.height != m_dstCrop->GetFilterParam()->frameIn.height) {
AddMessage(RGY_LOG_DEBUG, _T("Create output csp conversion filter.\n"));
AddMessage(RGY_LOG_DEBUG, _T("Create output colorspace conversion filter.\n"));
VppColorspace colorspace;
colorspace.enable = true;
if (getNGXFeature() == NVSDK_NVX_TRUEHDR) {
Expand Down

0 comments on commit c1511a7

Please sign in to comment.