Ignore:
Timestamp:
14 Oct 2013, 20:13:58 (12 years ago)
Author:
kwu-htm
Message:

"JCT3V-E0227 : Inter-view MAD prediction for 3D multi-view video" is integrated by KWU. Configuration has changed by adding rate control for URQ and the integrated view-wise target bitrate allocation and inter-view MAD prediction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-8.2-dev0-KWU/source/App/TAppEncoder/TAppEncCfg.cpp

    r630 r635  
    8282  m_codedPivotValue = NULL;
    8383  m_targetPivotValue = NULL;
     84
     85#if KWU_RC_MADPRED_E0227
     86  m_uiDepthMADPred = 0;
     87#endif
    8488}
    8589
     
    594598  ( "InitialQP",           m_RCInitialQP,               0, "Rate control: initial QP" )
    595599  ( "RCForceIntraQP",      m_RCForceIntraQP,        false, "Rate control: force intra QP to be equal to initial QP" )
    596 #else
    597   ("RateCtrl,-rc", m_enableRateCtrl, false, "Rate control on/off")
     600
     601#if KWU_RC_VIEWRC_E0227
     602  ("ViewWiseTargetBits, -vtbr" ,  m_pchViewTargetBits,  std::vector<Int>(1, 32), "View-wise target bit-rate setting")
     603  ("TargetBitAssign, -ta", m_bViewWiseRateCtrl, false, "View-wise rate control on/off")
     604#endif
     605#if KWU_RC_MADPRED_E0227
     606  ("DepthMADPred, -dm", m_uiDepthMADPred, (UInt)0, "Depth based MAD prediction on/off")
     607#endif
     608#else
     609  ("RateControl,-rc", m_enableRateCtrl, false, "Rate control on/off")
    598610  ("TargetBitrate,-tbr", m_targetBitrate, 0, "Input target bitrate")
    599611  ("NumLCUInUnit,-nu", m_numLCUInUnit, 0, "Number of LCUs in an Unit")
     612
     613#if KWU_RC_VIEWRC_E0227
     614  ("ViewWiseTargetBits, -vtbr" ,  m_pchViewTargetBits,  std::vector<Int>(1, 32), "View-wise target bit-rate setting")
     615  ("TargetBitAssign, -ta", m_bViewWiseRateCtrl, false, "View-wise rate control on/off")
     616#endif
     617#if KWU_RC_MADPRED_E0227
     618  ("DepthMADPred, -dm", m_uiDepthMADPred, (UInt)0, "Depth based MAD prediction on/off")
     619#endif
    600620#endif
    601621
     
    21592179    xConfirmPara( (numLCUInPic % m_numLCUInUnit) != 0, "total number of LCUs in a frame should be completely divided by NumLCUInUnit" );
    21602180
    2161     m_iMaxDeltaQP       = MAX_DELTA_QP;
     2181    //m_iMaxDeltaQP       = MAX_DELTA_QP;
    21622182    m_iMaxCuDQPDepth    = MAX_CUDQP_DEPTH;
    21632183  }
     
    23012321    printf("InitialQP                    : %d\n", m_RCInitialQP );
    23022322    printf("ForceIntraQP                 : %d\n", m_RCForceIntraQP );
     2323
     2324#if KWU_RC_MADPRED_E0227
     2325    printf("Depth based MAD prediction   : %d\n", m_uiDepthMADPred);
     2326#endif
     2327#if KWU_RC_VIEWRC_E0227
     2328    printf("View-wise Rate control       : %d\n", m_bViewWiseRateCtrl);
     2329    if(m_bViewWiseRateCtrl)
     2330    {
     2331
     2332      printf("ViewWiseTargetBits           : ");
     2333      for (int i = 0 ; i < m_iNumberOfViews ; i++)
     2334        printf("%d ", m_pchViewTargetBits[i]);
     2335      printf("\n");
     2336    }
     2337    else
     2338    {
     2339      printf("TargetBitrate                : %d\n", m_RCTargetBitrate );
     2340    }
     2341#endif
    23032342  }
    23042343#else
     
    23082347    printf("TargetBitrate                : %d\n", m_targetBitrate);
    23092348    printf("NumLCUInUnit                 : %d\n", m_numLCUInUnit);
     2349
     2350#if KWU_RC_MADPRED_E0227
     2351    printf("Depth based MAD prediction   : %d\n", m_uiDepthMADPred);
     2352#endif
     2353#if KWU_RC_VIEWRC_E0227
     2354    printf("View-wise Rate control       : %d\n", m_bViewWiseRateCtrl);
     2355    if(m_bViewWiseRateCtrl)
     2356    {
     2357
     2358      printf("ViewWiseTargetBits           : ");
     2359      for (int i = 0 ; i < m_iNumberOfViews ; i++)
     2360        printf("%d ", m_pchViewTargetBits[i]);
     2361      printf("\n");
     2362    }
     2363    else
     2364    {
     2365      printf("TargetBitrate                : %d\n", m_targetBitrate );
     2366    }
     2367#endif
    23102368  }
    23112369#endif
Note: See TracChangeset for help on using the changeset viewer.