PSNR computation from reconstructed frame. CRC calculation and various build fixes.#204
Conversation
db83002 to
f1f1298
Compare
zlatinski
left a comment
There was a problem hiding this comment.
Thank you, Vassili, for the change.
Please encapsulate your CRC and PSNR code and clean it up.
Please also rebase your change to the ToT.
95e51a8 to
c76297d
Compare
zlatinski
left a comment
There was a problem hiding this comment.
I think these need a bit more work. Please see below.
| VkVideoEndCodingInfoKHR encodeEndInfo { VK_STRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHR }; | ||
| vkDevCtx->CmdEndVideoCodingKHR(cmdBuf, &encodeEndInfo); | ||
|
|
||
| if (m_psnr && m_psnr->Enabled() && (encodeFrameInfo->setupImageResource != nullptr)) { |
There was a problem hiding this comment.
Please run the validation layer against those.
Signed-off-by: Vassili Nikolaev (NVIDIA) <vnikolaev@nvidia.com>
2c7e86d to
449630b
Compare
zlatinski
left a comment
There was a problem hiding this comment.
Thank you for the changes! I'm still looking at the rest of the changes. One question:
Only the libs and the demo binaries supposed to have your code, right? Why does the test app need it? Because of the file provider containing the CRC?
449630b to
a53e4a0
Compare
zlatinski
left a comment
There was a problem hiding this comment.
Thank you for the changes, Vassili! A few minor issues left to address.
Signed-off-by: Vassili Nikolaev (NVIDIA) <vnikolaev@nvidia.com> Add support for Encoder CRC calculation Signed-off-by: Vassili Nikolaev (NVIDIA) <vnikolaev@nvidia.com> Refactor PSNR/CRC Signed-off-by: Vassili Nikolaev (NVIDIA) <vnikolaev@nvidia.com>
a53e4a0 to
2d6134b
Compare
zlatinski
left a comment
There was a problem hiding this comment.
LGTM. Thank you for the changes!
This change implements: