Ticket #1324: bugfix_scalablenesting_encoder.patch

File bugfix_scalablenesting_encoder.patch, 1.6 KB (added by adarsh, 8 years ago)
  • SEIwrite.cpp

     
    522522  if (sei.m_nestingOpFlag)
    523523  {
    524524    WRITE_FLAG( sei.m_defaultOpFlag,                 "default_op_flag"               );
    525     WRITE_UVLC( sei.m_nestingNumOpsMinus1,           "nesting_num_ops"               );
     525    WRITE_UVLC( sei.m_nestingNumOpsMinus1,           "nesting_num_ops_minus1"        );
    526526    for (UInt i = (sei.m_defaultOpFlag ? 1 : 0); i <= sei.m_nestingNumOpsMinus1; i++)
    527527    {
    528       WRITE_CODE( sei.m_nestingNoOpMaxTemporalIdPlus1, 3, "nesting_no_op_max_temporal_id" );
    529       WRITE_CODE( sei.m_nestingMaxTemporalIdPlus1[i], 3,  "nesting_max_temporal_id"       );
     528      WRITE_CODE( sei.m_nestingMaxTemporalIdPlus1[i], 3,  "nesting_max_temporal_id_plus1" );
    530529      WRITE_UVLC( sei.m_nestingOpIdx[i],                  "nesting_op_idx"                );
    531530    }
    532531  }
     
    535534    WRITE_FLAG( sei.m_allLayersFlag,                      "all_layers_flag"               );
    536535    if (!sei.m_allLayersFlag)
    537536    {
    538       WRITE_CODE( sei.m_nestingNoOpMaxTemporalIdPlus1, 3, "nesting_no_op_max_temporal_id" );
    539       WRITE_UVLC( sei.m_nestingNumLayersMinus1,           "nesting_num_layers"            );
     537      WRITE_CODE( sei.m_nestingNoOpMaxTemporalIdPlus1, 3, "nesting_no_op_max_temporal_id_plus1" );
     538      WRITE_UVLC( sei.m_nestingNumLayersMinus1,           "nesting_num_layers"                  );
    540539      for (UInt i = 0; i <= sei.m_nestingNumLayersMinus1; i++)
    541540      {
    542541        WRITE_CODE( sei.m_nestingLayerId[i], 6,           "nesting_layer_id"              );