From 65605303016df12d6edcd896f21eb9c48e447d50 Mon Sep 17 00:00:00 2001 From: Tiger Meng Date: Wed, 20 Oct 2021 14:11:31 +0800 Subject: [PATCH] revert in low-res scale in GenerateRwpkInfo partial revert bbad95b41fadcba0c8bc4b0f11297e603a82c9be --- src/360SCVP/360SCVPImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/360SCVP/360SCVPImpl.cpp b/src/360SCVP/360SCVPImpl.cpp index df0d9306..79aaf919 100644 --- a/src/360SCVP/360SCVPImpl.cpp +++ b/src/360SCVP/360SCVPImpl.cpp @@ -1442,8 +1442,8 @@ int TstitchStream::GenerateRwpkInfo(RegionWisePacking *dstRwpk) rwpk->packedRegWidth = lowRes_tile_width; rwpk->packedRegHeight = lowRes_tile_height; - rwpk->projRegWidth = lowRes_tile_width * m_mergeStreamParam.highRes.width / m_mergeStreamParam.lowRes.width; - rwpk->projRegHeight = lowRes_tile_height * m_mergeStreamParam.highRes.height / m_mergeStreamParam.lowRes.height; + rwpk->projRegWidth = lowRes_tile_width; + rwpk->projRegHeight = lowRes_tile_height; rwpk->projRegTop = (lowIdx / m_tileWidthCountOri[1] * rwpk->projRegHeight); rwpk->projRegLeft = (lowIdx % m_tileWidthCountOri[1] * rwpk->projRegWidth); rwpk->packedRegTop = (lowIdx % m_lrTilesInCol) * lowRes_tile_height;