Changeset 868 in SHVCSoftware for branches/SHM-dev/source/Lib
- Timestamp:
- 13 Aug 2014, 18:37:06 (11 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 6 edited
-
TLibCommon/SEI.h (modified) (1 diff)
-
TLibDecoder/SEIread.cpp (modified) (5 diffs)
-
TLibDecoder/TDecGop.cpp (modified) (6 diffs)
-
TLibEncoder/SEIwrite.cpp (modified) (3 diffs)
-
TLibEncoder/TEncCfg.h (modified) (2 diffs)
-
TLibEncoder/TEncGOP.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/SEI.h
r856 r868 458 458 Bool m_colourRemapCancelFlag; 459 459 Bool m_colourRemapPersistenceFlag; 460 Bool m_colourRemapVideoSignal TypePresentFlag;461 Bool m_colourRemap VideoFullRangeFlag;460 Bool m_colourRemapVideoSignalInfoPresentFlag; 461 Bool m_colourRemapFullRangeFlag; 462 462 Int m_colourRemapPrimaries; 463 Int m_colourRemapTransfer Characteristics;464 Int m_colourRemapMatrixCoeff s;465 Int m_colourRemap CodedDataBitDepth;466 Int m_colourRemap TargetBitDepth;463 Int m_colourRemapTransferFunction; 464 Int m_colourRemapMatrixCoefficients; 465 Int m_colourRemapInputBitDepth; 466 Int m_colourRemapBitDepth; 467 467 Int m_preLutNumValMinus1[3]; 468 468 std::vector<Int> m_preLutCodedValue[3]; -
branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp
r856 r868 936 936 { 937 937 READ_FLAG( uiVal, "colour_remap_persistence_flag" ); sei.m_colourRemapPersistenceFlag = uiVal; 938 READ_FLAG( uiVal, "colour_remap_video_signal_ type_present_flag" ); sei.m_colourRemapVideoSignalTypePresentFlag = uiVal;939 if ( sei.m_colourRemapVideoSignal TypePresentFlag )940 { 941 READ_FLAG( uiVal, "colour_remap_ video_full_range_flag" ); sei.m_colourRemapVideoFullRangeFlag = uiVal;938 READ_FLAG( uiVal, "colour_remap_video_signal_info_present_flag" ); sei.m_colourRemapVideoSignalInfoPresentFlag = uiVal; 939 if ( sei.m_colourRemapVideoSignalInfoPresentFlag ) 940 { 941 READ_FLAG( uiVal, "colour_remap_full_range_flag" ); sei.m_colourRemapFullRangeFlag = uiVal; 942 942 READ_CODE( 8, uiVal, "colour_remap_primaries" ); sei.m_colourRemapPrimaries = uiVal; 943 READ_CODE( 8, uiVal, "colour_remap_transfer_ characteristics" ); sei.m_colourRemapTransferCharacteristics= uiVal;944 READ_CODE( 8, uiVal, "colour_remap_matrix_coeff s" ); sei.m_colourRemapMatrixCoeffs = uiVal;945 } 946 READ_CODE( 8, uiVal, "colour_remap_ coded_data_bit_depth" ); sei.m_colourRemapCodedDataBitDepth = uiVal;947 READ_CODE( 8, uiVal, "colour_remap_ target_bit_depth" ); sei.m_colourRemapTargetBitDepth = uiVal;943 READ_CODE( 8, uiVal, "colour_remap_transfer_function" ); sei.m_colourRemapTransferFunction = uiVal; 944 READ_CODE( 8, uiVal, "colour_remap_matrix_coefficients" ); sei.m_colourRemapMatrixCoefficients = uiVal; 945 } 946 READ_CODE( 8, uiVal, "colour_remap_input_bit_depth" ); sei.m_colourRemapInputBitDepth = uiVal; 947 READ_CODE( 8, uiVal, "colour_remap_bit_depth" ); sei.m_colourRemapBitDepth = uiVal; 948 948 949 949 for( Int c=0 ; c<3 ; c++ ) … … 955 955 for ( Int i=0 ; i<=sei.m_preLutNumValMinus1[c] ; i++ ) 956 956 { 957 READ_CODE( (( sei.m_colourRemap CodedDataBitDepth + 7 ) >> 3 ) << 3, uiVal, "pre_lut_coded_value[c][i]" ); sei.m_preLutCodedValue[c][i] = uiVal;958 READ_CODE( (( sei.m_colourRemap TargetBitDepth + 7 ) >> 3 ) << 3, uiVal, "pre_lut_target_value[c][i]" ); sei.m_preLutTargetValue[c][i] = uiVal;957 READ_CODE( (( sei.m_colourRemapInputBitDepth + 7 ) >> 3 ) << 3, uiVal, "pre_lut_coded_value[c][i]" ); sei.m_preLutCodedValue[c][i] = uiVal; 958 READ_CODE( (( sei.m_colourRemapBitDepth + 7 ) >> 3 ) << 3, uiVal, "pre_lut_target_value[c][i]" ); sei.m_preLutTargetValue[c][i] = uiVal; 959 959 } 960 960 else // pre_lut_num_val_minus1[c] == 0 … … 962 962 sei.m_preLutCodedValue[c][0] = 0; 963 963 sei.m_preLutTargetValue[c][0] = 0; 964 sei.m_preLutCodedValue[c][1] = (1 << sei.m_colourRemap CodedDataBitDepth) - 1 ;965 sei.m_preLutTargetValue[c][1] = (1 << sei.m_colourRemap TargetBitDepth) - 1 ;964 sei.m_preLutCodedValue[c][1] = (1 << sei.m_colourRemapInputBitDepth) - 1 ; 965 sei.m_preLutTargetValue[c][1] = (1 << sei.m_colourRemapBitDepth) - 1 ; 966 966 } 967 967 } … … 992 992 for ( Int i=0 ; i<=sei.m_postLutNumValMinus1[c] ; i++ ) 993 993 { 994 READ_CODE( (( sei.m_colourRemap TargetBitDepth + 7 ) >> 3 ) << 3, uiVal, "post_lut_coded_value[c][i]" ); sei.m_postLutCodedValue[c][i] = uiVal;995 READ_CODE( (( sei.m_colourRemap TargetBitDepth + 7 ) >> 3 ) << 3, uiVal, "post_lut_target_value[c][i]" ); sei.m_postLutTargetValue[c][i] = uiVal;994 READ_CODE( (( sei.m_colourRemapBitDepth + 7 ) >> 3 ) << 3, uiVal, "post_lut_coded_value[c][i]" ); sei.m_postLutCodedValue[c][i] = uiVal; 995 READ_CODE( (( sei.m_colourRemapBitDepth + 7 ) >> 3 ) << 3, uiVal, "post_lut_target_value[c][i]" ); sei.m_postLutTargetValue[c][i] = uiVal; 996 996 } 997 997 else … … 999 999 sei.m_postLutCodedValue[c][0] = 0; 1000 1000 sei.m_postLutTargetValue[c][0] = 0; 1001 sei.m_postLutTargetValue[c][1] = (1 << sei.m_colourRemap TargetBitDepth) - 1;1002 sei.m_postLutCodedValue[c][1] = (1 << sei.m_colourRemap TargetBitDepth) - 1;1001 sei.m_postLutTargetValue[c][1] = (1 << sei.m_colourRemapBitDepth) - 1; 1002 sei.m_postLutCodedValue[c][1] = (1 << sei.m_colourRemapBitDepth) - 1; 1003 1003 } 1004 1004 } -
branches/SHM-dev/source/Lib/TLibDecoder/TDecGop.cpp
r856 r868 367 367 Int bitDepth = c ? bitDepthC : bitDepthY ; 368 368 preLut[c].resize(1 << bitDepth); 369 postLut[c].resize(1 << pCriSEI->m_colourRemap TargetBitDepth);369 postLut[c].resize(1 << pCriSEI->m_colourRemapBitDepth); 370 370 371 Int bitDepthDiff = pCriSEI->m_colourRemap TargetBitDepth - bitDepth;372 Int iShift1 = (bitDepthDiff>0) ? bitDepthDiff : 0; //bit scale from bitdepth to TargetBitdepth (manage only case colourRemapTargetBitDepth>= bitdepth)371 Int bitDepthDiff = pCriSEI->m_colourRemapBitDepth - bitDepth; 372 Int iShift1 = (bitDepthDiff>0) ? bitDepthDiff : 0; //bit scale from bitdepth to ColourRemapBitdepth (manage only case colourRemapBitDepth>= bitdepth) 373 373 if( bitDepthDiff<0 ) 374 printf ("Warning: CRI SEI - colourRemap TargetBitDepth (%d) <bitDepth (%d) - case not handled\n", pCriSEI->m_colourRemapTargetBitDepth, bitDepth);375 bitDepthDiff = pCriSEI->m_colourRemap TargetBitDepth - pCriSEI->m_colourRemapCodedDataBitDepth;376 Int iShift2 = (bitDepthDiff>0) ? bitDepthDiff : 0; //bit scale from codedDataBitdepth to TargetBitdepth (manage only case colourRemapTargetBitDepth>= colourRemapCodedDataBitDepth)374 printf ("Warning: CRI SEI - colourRemapBitDepth (%d) <bitDepth (%d) - case not handled\n", pCriSEI->m_colourRemapBitDepth, bitDepth); 375 bitDepthDiff = pCriSEI->m_colourRemapBitDepth - pCriSEI->m_colourRemapInputBitDepth; 376 Int iShift2 = (bitDepthDiff>0) ? bitDepthDiff : 0; //bit scale from ColourRemapInputBitdepth to ColourRemapBitdepth (manage only case colourRemapBitDepth>= colourRemapInputBitDepth) 377 377 if( bitDepthDiff<0 ) 378 printf ("Warning: CRI SEI - colourRemap TargetBitDepth (%d) <colourRemapCodedDataBitDepth (%d) - case not handled\n", pCriSEI->m_colourRemapTargetBitDepth, pCriSEI->m_colourRemapCodedDataBitDepth);378 printf ("Warning: CRI SEI - colourRemapBitDepth (%d) <colourRemapInputBitDepth (%d) - case not handled\n", pCriSEI->m_colourRemapBitDepth, pCriSEI->m_colourRemapInputBitDepth); 379 379 380 380 //Fill preLut … … 384 384 for ( Int iPivot=0 ; iPivot<=pCriSEI->m_preLutNumValMinus1[c] ; iPivot++ ) 385 385 { 386 Int iCodedPrev = pCriSEI->m_preLutCodedValue[c][iPivot] << iShift2; //Coded in C odedDataBitdepth387 Int iCodedNext = pCriSEI->m_preLutCodedValue[c][iPivot+1] << iShift2; //Coded in C odedDataBitdepth388 Int iTargetPrev = pCriSEI->m_preLutTargetValue[c][iPivot]; //Coded in TargetBitdepth389 Int iTargetNext = pCriSEI->m_preLutTargetValue[c][iPivot+1]; //Coded in TargetBitdepth386 Int iCodedPrev = pCriSEI->m_preLutCodedValue[c][iPivot] << iShift2; //Coded in CRInputBitdepth 387 Int iCodedNext = pCriSEI->m_preLutCodedValue[c][iPivot+1] << iShift2; //Coded in CRInputBitdepth 388 Int iTargetPrev = pCriSEI->m_preLutTargetValue[c][iPivot]; //Coded in CRBitdepth 389 Int iTargetNext = pCriSEI->m_preLutTargetValue[c][iPivot+1]; //Coded in CRBitdepth 390 390 if ( iCodedPrev <= iSample && iSample <= iCodedNext ) 391 391 { … … 398 398 399 399 //Fill postLut 400 for ( Int k=0 ; k<(1<<pCriSEI->m_colourRemap TargetBitDepth) ; k++ )400 for ( Int k=0 ; k<(1<<pCriSEI->m_colourRemapBitDepth) ; k++ ) 401 401 { 402 402 Int iSample = k; 403 403 for ( Int iPivot=0 ; iPivot<=pCriSEI->m_postLutNumValMinus1[c] ; iPivot++ ) 404 404 { 405 Int iCodedPrev = pCriSEI->m_postLutCodedValue[c][iPivot]; //Coded in TargetBitdepth406 Int iCodedNext = pCriSEI->m_postLutCodedValue[c][iPivot+1]; //Coded in TargetBitdepth407 Int iTargetPrev = pCriSEI->m_postLutTargetValue[c][iPivot]; //Coded in TargetBitdepth408 Int iTargetNext = pCriSEI->m_postLutTargetValue[c][iPivot+1]; //Coded in TargetBitdepth405 Int iCodedPrev = pCriSEI->m_postLutCodedValue[c][iPivot]; //Coded in CRBitdepth 406 Int iCodedNext = pCriSEI->m_postLutCodedValue[c][iPivot+1]; //Coded in CRBitdepth 407 Int iTargetPrev = pCriSEI->m_postLutTargetValue[c][iPivot]; //Coded in CRBitdepth 408 Int iTargetNext = pCriSEI->m_postLutTargetValue[c][iPivot+1]; //Coded in CRBitdepth 409 409 if ( iCodedPrev <= iSample && iSample <= iCodedNext ) 410 410 { … … 486 486 + storeCriSEI[layerId].m_colourRemapCoeffs[0][2]*YUVPre[2] 487 487 + roundingOffset ) >> ( storeCriSEI[layerId].m_log2MatrixDenom ); 488 YUVMat[0] = Clip3( 0, (1<<storeCriSEI[layerId].m_colourRemap TargetBitDepth)-1, YUVMat[0] );488 YUVMat[0] = Clip3( 0, (1<<storeCriSEI[layerId].m_colourRemapBitDepth)-1, YUVMat[0] ); 489 489 YUVOut[0][x] = postLut[0][ YUVMat[0] ]; 490 490 … … 497 497 + storeCriSEI[layerId].m_colourRemapCoeffs[c][2]*YUVPre[2] 498 498 + roundingOffset ) >> ( storeCriSEI[layerId].m_log2MatrixDenom ); 499 YUVMat[c] = Clip3( 0, (1<<storeCriSEI[layerId].m_colourRemap TargetBitDepth)-1, YUVMat[c] );499 YUVMat[c] = Clip3( 0, (1<<storeCriSEI[layerId].m_colourRemapBitDepth)-1, YUVMat[c] ); 500 500 YUVOut[c][x>>1] = postLut[c][ YUVMat[c] ]; 501 501 } … … 515 515 //Write remapped picture in decoding order 516 516 Char cTemp[255]; 517 sprintf(cTemp, "seiColourRemappedPic_L%d_%dx%d_%dbits.yuv", layerId, iWidth, iHeight, storeCriSEI[layerId].m_colourRemap TargetBitDepth );518 picColourRemapped.dump( cTemp, true, storeCriSEI[layerId].m_colourRemap TargetBitDepth );517 sprintf(cTemp, "seiColourRemappedPic_L%d_%dx%d_%dbits.yuv", layerId, iWidth, iHeight, storeCriSEI[layerId].m_colourRemapBitDepth ); 518 picColourRemapped.dump( cTemp, true, storeCriSEI[layerId].m_colourRemapBitDepth ); 519 519 520 520 picColourRemapped.destroy(); -
branches/SHM-dev/source/Lib/TLibEncoder/SEIwrite.cpp
r857 r868 646 646 { 647 647 WRITE_FLAG( sei.m_colourRemapPersistenceFlag, "colour_remap_persistence_flag" ); 648 WRITE_FLAG( sei.m_colourRemapVideoSignal TypePresentFlag, "colour_remap_video_signal_type_present_flag" );649 if ( sei.m_colourRemapVideoSignal TypePresentFlag )650 { 651 WRITE_FLAG( sei.m_colourRemap VideoFullRangeFlag, "colour_remap_video_full_range_flag" );648 WRITE_FLAG( sei.m_colourRemapVideoSignalInfoPresentFlag, "colour_remap_video_signal_info_present_flag" ); 649 if ( sei.m_colourRemapVideoSignalInfoPresentFlag ) 650 { 651 WRITE_FLAG( sei.m_colourRemapFullRangeFlag, "colour_remap_full_range_flag" ); 652 652 WRITE_CODE( sei.m_colourRemapPrimaries, 8, "colour_remap_primaries" ); 653 WRITE_CODE( sei.m_colourRemapTransfer Characteristics, 8, "colour_remap_transfer_characteristics" );654 WRITE_CODE( sei.m_colourRemapMatrixCoeff s, 8, "colour_remap_matrix_coeffs" );655 } 656 WRITE_CODE( sei.m_colourRemap CodedDataBitDepth, 8, "colour_remap_coded_data_bit_depth" );657 WRITE_CODE( sei.m_colourRemap TargetBitDepth, 8, "colour_remap_target_bit_depth" );653 WRITE_CODE( sei.m_colourRemapTransferFunction, 8, "colour_remap_transfer_function" ); 654 WRITE_CODE( sei.m_colourRemapMatrixCoefficients, 8, "colour_remap_matrix_coefficients" ); 655 } 656 WRITE_CODE( sei.m_colourRemapInputBitDepth, 8, "colour_remap_input_bit_depth" ); 657 WRITE_CODE( sei.m_colourRemapBitDepth, 8, "colour_remap_bit_depth" ); 658 658 for( Int c=0 ; c<3 ; c++ ) 659 659 { … … 662 662 for( Int i=0 ; i<=sei.m_preLutNumValMinus1[c] ; i++ ) 663 663 { 664 WRITE_CODE( sei.m_preLutCodedValue[c][i], (( sei.m_colourRemapCodedDataBitDepth + 7 ) >> 3 ) << 3, "pre_lut_coded_value[c][i]" );665 WRITE_CODE( sei.m_preLutTargetValue[c][i], (( sei.m_colourRemap TargetBitDepth+ 7 ) >> 3 ) << 3, "pre_lut_target_value[c][i]" );664 WRITE_CODE( sei.m_preLutCodedValue[c][i], (( sei.m_colourRemapInputBitDepth + 7 ) >> 3 ) << 3, "pre_lut_coded_value[c][i]" ); 665 WRITE_CODE( sei.m_preLutTargetValue[c][i], (( sei.m_colourRemapBitDepth + 7 ) >> 3 ) << 3, "pre_lut_target_value[c][i]" ); 666 666 } 667 667 } … … 681 681 for( Int i=0 ; i<=sei.m_postLutNumValMinus1[c] ; i++ ) 682 682 { 683 WRITE_CODE( sei.m_postLutCodedValue[c][i], (( sei.m_colourRemap TargetBitDepth + 7 ) >> 3 ) << 3, "post_lut_coded_value[c][i]" );684 WRITE_CODE( sei.m_postLutTargetValue[c][i], (( sei.m_colourRemap TargetBitDepth + 7 ) >> 3 ) << 3, "post_lut_target_value[c][i]" );683 WRITE_CODE( sei.m_postLutCodedValue[c][i], (( sei.m_colourRemapBitDepth + 7 ) >> 3 ) << 3, "post_lut_coded_value[c][i]" ); 684 WRITE_CODE( sei.m_postLutTargetValue[c][i], (( sei.m_colourRemapBitDepth + 7 ) >> 3 ) << 3, "post_lut_target_value[c][i]" ); 685 685 } 686 686 } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h
r856 r868 394 394 Bool m_colourRemapSEICancelFlag; 395 395 Bool m_colourRemapSEIPersistenceFlag; 396 Bool m_colourRemapSEIVideoSignal TypePresentFlag;397 Bool m_colourRemapSEI VideoFullRangeFlag;396 Bool m_colourRemapSEIVideoSignalInfoPresentFlag; 397 Bool m_colourRemapSEIFullRangeFlag; 398 398 Int m_colourRemapSEIPrimaries; 399 Int m_colourRemapSEITransfer Characteristics;400 Int m_colourRemapSEIMatrixCoeff s;401 Int m_colourRemapSEI CodedDataBitDepth;402 Int m_colourRemapSEI TargetBitDepth;399 Int m_colourRemapSEITransferFunction; 400 Int m_colourRemapSEIMatrixCoefficients; 401 Int m_colourRemapSEIInputBitDepth; 402 Int m_colourRemapSEIBitDepth; 403 403 Int m_colourRemapSEIPreLutNumValMinus1[3]; 404 404 Int* m_colourRemapSEIPreLutCodedValue[3]; … … 712 712 Void setCRISEIPersistenceFlag(Bool b) { m_colourRemapSEIPersistenceFlag = b; } 713 713 Bool getCRISEIPersistenceFlag() { return m_colourRemapSEIPersistenceFlag; } 714 Void setCRISEIVideoSignal TypePresentFlag(Bool b) { m_colourRemapSEIVideoSignalTypePresentFlag = b; }715 Bool getCRISEIVideoSignal TypePresentFlag() { return m_colourRemapSEIVideoSignalTypePresentFlag; }716 Void setCRISEI VideoFullRangeFlag(Bool b) { m_colourRemapSEIVideoFullRangeFlag = b; }717 Bool getCRISEI VideoFullRangeFlag() { return m_colourRemapSEIVideoFullRangeFlag; }714 Void setCRISEIVideoSignalInfoPresentFlag(Bool b) { m_colourRemapSEIVideoSignalInfoPresentFlag = b; } 715 Bool getCRISEIVideoSignalInfoPresentFlag() { return m_colourRemapSEIVideoSignalInfoPresentFlag; } 716 Void setCRISEIFullRangeFlag(Bool b) { m_colourRemapSEIFullRangeFlag = b; } 717 Bool getCRISEIFullRangeFlag() { return m_colourRemapSEIFullRangeFlag; } 718 718 Void setCRISEIPrimaries(Int i) { m_colourRemapSEIPrimaries = i; } 719 719 Int getCRISEIPrimaries() { return m_colourRemapSEIPrimaries; } 720 Void setCRISEITransfer Characteristics(Int i) { m_colourRemapSEITransferCharacteristics= i; }721 Int getCRISEITransfer Characteristics() { return m_colourRemapSEITransferCharacteristics; }722 Void setCRISEIMatrixCoeff s(Int i) { m_colourRemapSEIMatrixCoeffs = i; }723 Int getCRISEIMatrixCoeff s() { return m_colourRemapSEIMatrixCoeffs; }724 Void setCRISEI CodedDataBitDepth(Int i) { m_colourRemapSEICodedDataBitDepth = i; }725 Int getCRISEI CodedDataBitDepth() { return m_colourRemapSEICodedDataBitDepth; }726 Void setCRISEI TargetBitDepth(Int i) { m_colourRemapSEITargetBitDepth = i; }727 Int getCRISEI TargetBitDepth() { return m_colourRemapSEITargetBitDepth; }720 Void setCRISEITransferFunction(Int i) { m_colourRemapSEITransferFunction = i; } 721 Int getCRISEITransferFunction() { return m_colourRemapSEITransferFunction; } 722 Void setCRISEIMatrixCoefficients(Int i) { m_colourRemapSEIMatrixCoefficients = i; } 723 Int getCRISEIMatrixCoefficients() { return m_colourRemapSEIMatrixCoefficients; } 724 Void setCRISEIInputBitDepth(Int i) { m_colourRemapSEIInputBitDepth = i; } 725 Int getCRISEIInputBitDepth() { return m_colourRemapSEIInputBitDepth; } 726 Void setCRISEIBitDepth(Int i) { m_colourRemapSEIBitDepth = i; } 727 Int getCRISEIBitDepth() { return m_colourRemapSEIBitDepth; } 728 728 Void setCRISEIPreLutNumValMinus1(Int *i) { for(Int c=0 ; c<3 ; c++) m_colourRemapSEIPreLutNumValMinus1[c] = i[c]; } 729 729 Int getCRISEIPreLutNumValMinus1(Int i) { return m_colourRemapSEIPreLutNumValMinus1[i]; } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r860 r868 374 374 { 375 375 seiColourRemappingInfo->m_colourRemapPersistenceFlag = m_pcCfg->getCRISEIPersistenceFlag(); 376 seiColourRemappingInfo->m_colourRemapVideoSignal TypePresentFlag = m_pcCfg->getCRISEIVideoSignalTypePresentFlag();377 if( seiColourRemappingInfo->m_colourRemapVideoSignal TypePresentFlag )378 { 379 seiColourRemappingInfo->m_colourRemap VideoFullRangeFlag = m_pcCfg->getCRISEIVideoFullRangeFlag();376 seiColourRemappingInfo->m_colourRemapVideoSignalInfoPresentFlag = m_pcCfg->getCRISEIVideoSignalInfoPresentFlag(); 377 if( seiColourRemappingInfo->m_colourRemapVideoSignalInfoPresentFlag ) 378 { 379 seiColourRemappingInfo->m_colourRemapFullRangeFlag = m_pcCfg->getCRISEIFullRangeFlag(); 380 380 seiColourRemappingInfo->m_colourRemapPrimaries = m_pcCfg->getCRISEIPrimaries(); 381 seiColourRemappingInfo->m_colourRemapTransfer Characteristics = m_pcCfg->getCRISEITransferCharacteristics();382 seiColourRemappingInfo->m_colourRemapMatrixCoeff s = m_pcCfg->getCRISEIMatrixCoeffs();383 } 384 seiColourRemappingInfo->m_colourRemap CodedDataBitDepth = m_pcCfg->getCRISEICodedDataBitDepth();385 seiColourRemappingInfo->m_colourRemap TargetBitDepth = m_pcCfg->getCRISEITargetBitDepth();381 seiColourRemappingInfo->m_colourRemapTransferFunction = m_pcCfg->getCRISEITransferFunction(); 382 seiColourRemappingInfo->m_colourRemapMatrixCoefficients = m_pcCfg->getCRISEIMatrixCoefficients(); 383 } 384 seiColourRemappingInfo->m_colourRemapInputBitDepth = m_pcCfg->getCRISEIInputBitDepth(); 385 seiColourRemappingInfo->m_colourRemapBitDepth = m_pcCfg->getCRISEIBitDepth(); 386 386 for( Int c=0 ; c<3 ; c++ ) 387 387 {
Note: See TracChangeset for help on using the changeset viewer.