Ticket #1093: vtm-9.0_#1093.diff

File vtm-9.0_#1093.diff, 1.4 KB (added by kazui, 4 years ago)
Line 
1diff -r ./source_ORG/Lib/DecoderLib/SEIread.cpp ./source/Lib/DecoderLib/SEIread.cpp
2909a910,913
3>   if( bp.m_bpMaxSubLayers == 1 )
4>   {
5>     sei.m_ptSubLayerDelaysPresentFlag[ 0 ] = true;
6>   }
7932c936
8<         for( int i = temporalId; i < bp.m_bpMaxSubLayers - 1; i ++ )
9---
10>         for( int i = temporalId; i <= bp.m_bpMaxSubLayers - 1; i ++ )
11947c951
12<           for( int j = temporalId; j < bp.m_bpMaxSubLayers - 1; j ++ )
13---
14>           for( int j = temporalId; j <= bp.m_bpMaxSubLayers - 1; j ++ )
15diff -r ./source_ORG/Lib/EncoderLib/EncGOP.cpp ./source/Lib/EncoderLib/EncGOP.cpp
16816a817,820
17>     if( maxNumSubLayers == 1 )
18>     {
19>       pictureTimingSEI->m_ptSubLayerDelaysPresentFlag[0] = true;
20>     }
21diff -r ./source_ORG/Lib/EncoderLib/SEIwrite.cpp ./source/Lib/EncoderLib/SEIwrite.cpp
22310,311d309
23<     CHECK (sei.m_bpMaxSubLayers < 1, "bp_max_sub_layers_minus1 must be > 0");
24<     WRITE_CODE( sei.m_bpMaxSubLayers - 1,        3, "bp_max_sub_layers_minus1" );
25312a311,312
26>   CHECK (sei.m_bpMaxSubLayers < 1, "bp_max_sub_layers_minus1 must be > 0");
27>   WRITE_CODE( sei.m_bpMaxSubLayers - 1,        3, "bp_max_sub_layers_minus1" );
28445c445
29<         for( int i = temporalId; i < bp.m_bpMaxSubLayers - 1; i ++ )
30---
31>         for( int i = temporalId; i <= bp.m_bpMaxSubLayers - 1; i ++ )
32456c456
33<           for( int j = temporalId; j < bp.m_bpMaxSubLayers - 1; j ++ )
34---
35>           for( int j = temporalId; j <= bp.m_bpMaxSubLayers - 1; j ++ )