Changeset 1313 in 3DVCSoftware for trunk/source/App/utils/annexBbytecount.cpp


Ignore:
Timestamp:
13 Aug 2015, 17:38:13 (9 years ago)
Author:
tech
Message:

Merged 14.1-update-dev1@1312.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/App/utils/annexBbytecount.cpp

    r872 r1313  
    22 * License, included below. This software may be subject to other third party
    33 * and contributor rights, including patent rights, and no such rights are
    4  * granted under this license. 
    5  *
    6  * Copyright (c) 2010-2014, ITU/ISO/IEC
     4 * granted under this license.
     5 *
     6 * Copyright (c) 2010-2015, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    4343using namespace std;
    4444
    45 static struct {
     45static const struct {
    4646  AnnexBStats expected;
    4747  unsigned data_len;
     
    8686      cout << hex << (unsigned int)tests[i].data[j] << dec;
    8787      if (j < tests[i].data_len-1)
     88      {
    8889        cout << ",";
     90      }
    8991    }
    9092    cout << "} ";
     
    103105#undef VERIFY
    104106    if (ok)
     107    {
    105108      cout << "OK";
     109    }
    106110    cout << endl;
    107111  }
     
    113117
    114118  if (argc != 2)
     119  {
    115120    return 0;
     121  }
    116122
    117123  ifstream in(argv[1], ifstream::in | ifstream::binary);
     
    150156
    151157    if (!annexBStatsSingle.m_numBytesInNALUnit)
     158    {
    152159      continue;
     160    }
    153161
    154162    /* identify the NAL unit type and add stats to the correct
Note: See TracChangeset for help on using the changeset viewer.