Skip to content
Snippets Groups Projects
Commit 31fffded authored by Karsten Suehring's avatar Karsten Suehring
Browse files

Merge branch 'bytealign_encoder' into 'master'

fix byte alignment for PTL also at encoder

See merge request !399
parents bd6a3e16 23dbb913
No related branches found
No related tags found
No related merge requests found
......@@ -1549,7 +1549,7 @@ void HLSWriter::codeProfileTierLevel ( const ProfileTierLevel* ptl, int maxN
WRITE_FLAG( ptl->getSubLayerLevelPresentFlag(i), "sub_layer_level_present_flag[i]" );
}
while (!xIsByteAligned())
while (!isByteAligned())
{
WRITE_FLAG(0, "ptl_alignment_zero_bit");
}
......
......@@ -89,7 +89,7 @@ protected:
#endif
void xWriteRbspTrailingBits();
#if JVET_M0101_HLS
bool xIsByteAligned() {return (m_pcBitIf->getNumBitsUntilByteAligned() != 0); } ;
bool isByteAligned() { return (m_pcBitIf->getNumBitsUntilByteAligned() == 0); } ;
#endif
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment