Skip to content

Commit

Permalink
Use MinCbSizeY aligned width and height to calculate conformance wind…
Browse files Browse the repository at this point in the history
…ow size
  • Loading branch information
krajunv authored and zlatinski committed Nov 27, 2024
1 parent 83b5cd1 commit 1fe8d7c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vk_video_encoder/libs/VkVideoEncoder/VkEncoderConfigH265.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -620,10 +620,6 @@ bool EncoderConfigH265::InitParamameters(VpsH265 *vpsInfo, SpsH265 *spsInfo,
<< std::endl;
}

const bool padToCtbSize = true;
if (padToCtbSize) {
GetCtbAlignedPicSizeInSamples(picWidthAlignedToMinCbsY, picHeightAlignedToMinCbsY, false);
}
uint32_t subWidthC = (encodeChromaSubsampling == 3) ? 1 : 2;
uint32_t subHeightC = (encodeChromaSubsampling == 3) ? 1 : 2;
spsInfo->sps.conf_win_left_offset = 0;
Expand Down

0 comments on commit 1fe8d7c

Please sign in to comment.