Changeset 1479 in SHVCSoftware for branches/SHM-dev/source/Lib
- Timestamp:
- 12 Oct 2015, 18:26:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/SEIEncoder.cpp
r1475 r1479 541 541 readTokenValueAndValidate(seiColourRemappingInfo->m_colourRemapBitDepth, failed, fic, "colour_remap_bit_depth", Int(8), Int(16) ); 542 542 543 const Int maximumInputValue = (1 <<seiColourRemappingInfo->m_colourRemapInputBitDepth)-1;544 const Int maximumRemappedValue = (1 <<seiColourRemappingInfo->m_colourRemapBitDepth)-1;543 const Int maximumInputValue = (1 << (((seiColourRemappingInfo->m_colourRemapInputBitDepth + 7) >> 3) << 3)) - 1; 544 const Int maximumRemappedValue = (1 << (((seiColourRemappingInfo->m_colourRemapBitDepth + 7) >> 3) << 3)) - 1; 545 545 546 546 for( Int c=0 ; c<3 ; c++ )
Note: See TracChangeset for help on using the changeset viewer.