Skip to content
Snippets Groups Projects
Commit 38e3073c authored by Chaoyi Lin's avatar Chaoyi Lin
Browse files

JVET-AD0091: add one CHECK for nnpfc_padding_type

parent ba832a39
No related branches found
No related tags found
No related merge requests found
......@@ -3132,6 +3132,7 @@ void SEIReader::xParseSEINNPostFilterCharacteristics(SEINeuralNetworkPostFilterC
sei.m_paddingType = val;
#if JVET_AD0091
CHECK((sei.m_paddingType >= 5) && (sei.m_paddingType <= 15), "Reserved nnpfc_padding_type value, shall ignore the SEI message");
CHECK(sei.m_paddingType > 15, "Values of nnpfc_padding_type greater than 15 shall not be present in bitstreams");
#endif
if (sei.m_paddingType == NNPC_PaddingType::FIXED_PADDING)
......
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