Changeset 464 in SHVCSoftware for branches/SHM-4.0-dev/source/App/TAppEncoder


Ignore:
Timestamp:
13 Nov 2013, 03:10:08 (11 years ago)
Author:
qualcomm
Message:

JCTVC-O0215: a VPS flag to specify the phase alignment between layers (zero or center phase shift) for up-sampling process, from cjianle@…

Location:
branches/SHM-4.0-dev/source/App/TAppEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.0-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r457 r464  
    509509  ("FrameRate%d,-fr%d",       cfg_FrameRate,  0, MAX_LAYERS, "Frame rate for layer %d")
    510510  ("LambdaModifier%d,-LM%d",  m_adLambdaModifier, ( double )1.0, MAX_TLAYER, "Lambda modifier for temporal layer %d")
     511#if O0215_PHASE_ALIGNMENT
     512  ("PhaseAlignment",          m_phaseAlignFlag, false, "indicate the sample location alignment between layers (0: zero position aligned, 1: central position aligned)")
     513#endif
    511514#if REPN_FORMAT_IN_VPS
    512515  ("RepFormatIdx%d",          cfg_repFormatIdx, -1, MAX_LAYERS, "Index to the representation format structure used from the VPS")
     
    594597  ("FrameSkip,-fs",         m_FrameSkip,          0u, "Number of frames to skip at start of input YUV")
    595598  ("FramesToBeEncoded,f",   m_framesToBeEncoded,   0, "Number of frames to be encoded (default=all)")
    596  
    597599  // Profile and level
    598600  ("Profile", m_profile,   Profile::NONE, "Profile to be used when encoding (Incomplete)")
     
    23992401  printf("Internal bit depth           : (Y:%d, C:%d)\n", m_internalBitDepthY, m_internalBitDepthC );
    24002402  printf("PCM sample bit depth         : (Y:%d, C:%d)\n", g_uiPCMBitDepthLuma, g_uiPCMBitDepthChroma );
     2403#if O0215_PHASE_ALIGNMENT
     2404  printf("cross-layer sample alignment : %d\n", m_phaseAlignFlag);
     2405#endif
    24012406#if RATE_CONTROL_LAMBDA_DOMAIN
    24022407#if !RC_SHVC_HARMONIZATION
  • branches/SHM-4.0-dev/source/App/TAppEncoder/TAppEncCfg.h

    r448 r464  
    381381  UInt      m_ilcIdc[1024];
    382382#endif
     383#if O0215_PHASE_ALIGNMENT
     384  bool m_phaseAlignFlag;
     385#endif
    383386public:
    384387  TAppEncCfg();
  • branches/SHM-4.0-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r461 r464  
    11391139#endif
    11401140#endif
     1141
     1142#if O0215_PHASE_ALIGNMENT
     1143  vps->setPhaseAlignFlag( m_phaseAlignFlag );
     1144#endif
     1145
    11411146#else //SVC_EXTENSION
    11421147  m_cTEncTop.init(isFieldCoding);
Note: See TracChangeset for help on using the changeset viewer.