Ignore:
Timestamp:
23 May 2013, 15:40:36 (12 years ago)
Author:
tech
Message:

Integrated 3D encoder control, camera parameters, renderer and MV fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.2-dev/source/Lib/TLibCommon/CommonDef.h

    r403 r438  
    5757
    5858#if H_MV
    59 #define NV_VERSION        "0.2"                 ///< Current software version
    60 #define HM_VERSION        "10.1"                ///<
    61 #else
    62 #define NV_VERSION        "10.1"                 ///< Current software version
     59#define NV_VERSION        "0.1"                 ///< Current software version
     60#define HM_VERSION        "10.0"                ///<
     61#else
     62#define NV_VERSION        "10.0"                 ///< Current software version
    6363#endif
    6464
     
    115115#define MAX_NUM_REF_PICS            16          ///< max. number of pictures used for reference
    116116#define MAX_NUM_REF                 16          ///< max. number of entries in picture reference list
    117 #if !L0034_COMBINED_LIST_CLEANUP
    118117#define MAX_NUM_REF_LC              MAX_NUM_REF_PICS  // TODO: remove this macro definition (leftover from combined list concept)
    119 #endif
    120118
    121119#define MAX_UINT                    0xFFFFFFFFU ///< max. value of unsigned 32-bit integer
     
    138136template <typename T> inline T ClipY(T x) { return std::min<T>(T((1 << g_bitDepthY)-1), std::max<T>( T(0), x)); }
    139137template <typename T> inline T ClipC(T x) { return std::min<T>(T((1 << g_bitDepthC)-1), std::max<T>( T(0), x)); }
     138
     139template <typename T> inline T Clip(T x) { return std::min<T>(T((1 << g_bitDepthY)-1), std::max<T>( T(0), x)); }
    140140
    141141/** clip a, such that minVal <= a <= maxVal */
     
    168168
    169169#endif
     170
    170171
    171172// ====================================================================================================================
     
    215216 
    216217  NAL_UNIT_CODED_SLICE_TSA_N,     // 2
    217   NAL_UNIT_CODED_SLICE_TLA_R,       // 3
     218  NAL_UNIT_CODED_SLICE_TLA,       // 3   // Current name in the spec: TSA_R
    218219 
    219220  NAL_UNIT_CODED_SLICE_STSA_N,    // 4
     
    221222
    222223  NAL_UNIT_CODED_SLICE_RADL_N,    // 6
    223   NAL_UNIT_CODED_SLICE_RADL_R,      // 7
     224  NAL_UNIT_CODED_SLICE_DLP,       // 7 // Current name in the spec: RADL_R
    224225 
    225226  NAL_UNIT_CODED_SLICE_RASL_N,    // 8
    226   NAL_UNIT_CODED_SLICE_RASL_R,      // 9
    227 
    228   NAL_UNIT_RESERVED_VCL_N10,
    229   NAL_UNIT_RESERVED_VCL_R11,
    230   NAL_UNIT_RESERVED_VCL_N12,
    231   NAL_UNIT_RESERVED_VCL_R13,
    232   NAL_UNIT_RESERVED_VCL_N14,
    233   NAL_UNIT_RESERVED_VCL_R15,
    234 
    235   NAL_UNIT_CODED_SLICE_BLA_W_LP,    // 16
    236   NAL_UNIT_CODED_SLICE_BLA_W_RADL,  // 17
     227  NAL_UNIT_CODED_SLICE_TFD,       // 9 // Current name in the spec: RASL_R
     228
     229  NAL_UNIT_RESERVED_10,
     230  NAL_UNIT_RESERVED_11,
     231  NAL_UNIT_RESERVED_12,
     232  NAL_UNIT_RESERVED_13,
     233  NAL_UNIT_RESERVED_14,
     234  NAL_UNIT_RESERVED_15,
     235
     236  NAL_UNIT_CODED_SLICE_BLA,       // 16   // Current name in the spec: BLA_W_LP
     237  NAL_UNIT_CODED_SLICE_BLANT,     // 17   // Current name in the spec: BLA_W_DLP
    237238  NAL_UNIT_CODED_SLICE_BLA_N_LP,  // 18
    238   NAL_UNIT_CODED_SLICE_IDR_W_RADL,  // 19
     239  NAL_UNIT_CODED_SLICE_IDR,       // 19  // Current name in the spec: IDR_W_DLP
    239240  NAL_UNIT_CODED_SLICE_IDR_N_LP,  // 20
    240241  NAL_UNIT_CODED_SLICE_CRA,       // 21
    241   NAL_UNIT_RESERVED_IRAP_VCL22,
    242   NAL_UNIT_RESERVED_IRAP_VCL23,
    243 
    244   NAL_UNIT_RESERVED_VCL24,
    245   NAL_UNIT_RESERVED_VCL25,
    246   NAL_UNIT_RESERVED_VCL26,
    247   NAL_UNIT_RESERVED_VCL27,
    248   NAL_UNIT_RESERVED_VCL28,
    249   NAL_UNIT_RESERVED_VCL29,
    250   NAL_UNIT_RESERVED_VCL30,
    251   NAL_UNIT_RESERVED_VCL31,
     242  NAL_UNIT_RESERVED_22,
     243  NAL_UNIT_RESERVED_23,
     244
     245  NAL_UNIT_RESERVED_24,
     246  NAL_UNIT_RESERVED_25,
     247  NAL_UNIT_RESERVED_26,
     248  NAL_UNIT_RESERVED_27,
     249  NAL_UNIT_RESERVED_28,
     250  NAL_UNIT_RESERVED_29,
     251  NAL_UNIT_RESERVED_30,
     252  NAL_UNIT_RESERVED_31,
    252253
    253254  NAL_UNIT_VPS,                   // 32
     
    258259  NAL_UNIT_EOB,                   // 37
    259260  NAL_UNIT_FILLER_DATA,           // 38
    260   NAL_UNIT_PREFIX_SEI,              // 39
    261   NAL_UNIT_SUFFIX_SEI,              // 40
    262   NAL_UNIT_RESERVED_NVCL41,
    263   NAL_UNIT_RESERVED_NVCL42,
    264   NAL_UNIT_RESERVED_NVCL43,
    265   NAL_UNIT_RESERVED_NVCL44,
    266   NAL_UNIT_RESERVED_NVCL45,
    267   NAL_UNIT_RESERVED_NVCL46,
    268   NAL_UNIT_RESERVED_NVCL47,
     261  NAL_UNIT_SEI,                   // 39 Prefix SEI
     262  NAL_UNIT_SEI_SUFFIX,            // 40 Suffix SEI
     263  NAL_UNIT_RESERVED_41,
     264  NAL_UNIT_RESERVED_42,
     265  NAL_UNIT_RESERVED_43,
     266  NAL_UNIT_RESERVED_44,
     267  NAL_UNIT_RESERVED_45,
     268  NAL_UNIT_RESERVED_46,
     269  NAL_UNIT_RESERVED_47,
    269270  NAL_UNIT_UNSPECIFIED_48,
    270271  NAL_UNIT_UNSPECIFIED_49,
Note: See TracChangeset for help on using the changeset viewer.