Ignore:
Timestamp:
13 Nov 2015, 17:00:20 (9 years ago)
Author:
tech
Message:

Removed 3D.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-16.0-MV-draft-5/source/Lib/TLibEncoder/TEncRateCtrl.h

    r1386 r1390  
    8787  Double m_costIntra;
    8888  Int m_targetBitsLeft;
    89 #if KWU_RC_MADPRED_E0227
    90   Double m_MAD;
    91   Int m_CUWidth;
    92   Int m_CUHeight;
    93   Double m_IVMAD;
    94 #endif
    9589};
    9690
     
    228222
    229223public:
    230 #if KWU_RC_MADPRED_E0227
    231   Void create( TEncRCSeq* encRCSeq, TEncRCGOP* encRCGOP, Int frameLevel, list<TEncRCPic*>& listPreviousPictures, Int layerID );
    232 #else
    233224  Void create( TEncRCSeq* encRCSeq, TEncRCGOP* encRCGOP, Int frameLevel, list<TEncRCPic*>& listPreviousPictures );
    234 #endif
    235225  Void destroy();
    236226
    237 #if KWU_RC_MADPRED_E0227
    238   Double estimatePicLambdaIV( list<TEncRCPic*>& listPreviousPictures, Int curPOC );
    239 #endif
    240227  Int    estimatePicQP    ( Double lambda, list<TEncRCPic*>& listPreviousPictures );
    241228  Int    getRefineBitsForIntra(Int orgBits);
     
    247234  Double getLCUTargetBpp(SliceType eSliceType);
    248235  Double getLCUEstLambdaAndQP(Double bpp, Int clipPicQP, Int *estQP);
    249 #if KWU_RC_MADPRED_E0227
    250   Double getLCUTargetBppforInterView( list<TEncRCPic*>& listPreviousPictures, TComDataCU* pcCU, Double basePos, Double curPos, Double focalLen, Double znear, Double zfar, Int direction, Int* disparity );
    251 #endif
    252236  Double getLCUEstLambda( Double bpp );
    253237  Int    getLCUEstQP( Double lambda, Int clipPicQP );
     
    257241
    258242  Void addToPictureLsit( list<TEncRCPic*>& listPreviousPictures );
    259 #if KWU_RC_MADPRED_E0227
    260   Void addToPictureLsitIV( list<TEncRCPic*>& listPreviousPictures );
    261   Void setIVPic( TEncRCPic* baseRCPic );
    262 #endif
    263243  Double calAverageQP();
    264244  Double calAverageLambda();
     
    291271  Void setTotalIntraCost(Double cost)                     { m_totalCostIntra = cost; }
    292272  Void getLCUInitTargetBits();
    293 #if KWU_RC_MADPRED_E0227
    294   Double getTotalMAD()                                    { return m_totalMAD; }
    295   Void   setTotalMAD( Double MAD )                        { m_totalMAD = MAD; }
    296 
    297   Double getIVTotalMAD()                                    { return m_IVtotalMAD; }
    298   Void   setIVTotalMAD( Double MAD )                        { m_IVtotalMAD = MAD; }
    299 #endif
    300273
    301274  Int  getPicActualBits()                                 { return m_picActualBits; }
     
    307280  Void setPicEstLambda( Double lambda )                   { m_picLambda = lambda; }
    308281
    309 #if KWU_RC_MADPRED_E0227
    310   Int getLayerID()                                         { return m_LayerID; }
    311   Void setLayerID(Int layerid)                              { m_LayerID = layerid; }
    312 #endif
    313282private:
    314283  TEncRCSeq* m_encRCSeq;
     
    334303  Int m_picQP;                  // in integer form
    335304  Double m_picLambda;
    336 #if KWU_RC_MADPRED_E0227
    337   Double m_totalMAD;
    338   TEncRCPic* m_lastPicture;
    339   Int m_LayerID;
    340   TEncRCPic* m_lastIVPicture;
    341   Double m_IVtotalMAD;
    342 #endif
    343305};
    344306
     
    350312
    351313public:
    352 #if KWU_RC_MADPRED_E0227
    353   Void init( Int totalFrames, Int targetBitrate, Int frameRate, Int GOPSize, Int picWidth, Int picHeight, Int LCUWidth, Int LCUHeight, Bool keepHierBits, Bool useLCUSeparateModel, GOPEntry GOPList[MAX_GOP], Int layerID );
    354 #else
    355314  Void init( Int totalFrames, Int targetBitrate, Int frameRate, Int GOPSize, Int picWidth, Int picHeight, Int LCUWidth, Int LCUHeight, Int keepHierBits, Bool useLCUSeparateModel, GOPEntry GOPList[MAX_GOP] );
    356 #endif
    357315  Void destroy();
    358316  Void initRCPic( Int frameLevel );
     
    368326  list<TEncRCPic*>& getPicList() { return m_listRCPictures; }
    369327
    370 #if KWU_RC_MADPRED_E0227
    371   Int getLayerID()                { return m_LayerID; }
    372   Void setLayerID(Int layerid)     { m_LayerID = layerid; }
    373 #endif
    374328#if U0132_TARGET_BITS_SATURATION
    375329  Bool       getCpbSaturationEnabled()  { return m_CpbSaturationEnabled;  }
     
    394348#endif
    395349
    396 #if KWU_RC_MADPRED_E0227
    397   Int m_LayerID;
     350};
     351
    398352#endif
    399 };
    400 
    401 #endif
    402 
    403 
     353
     354
Note: See TracChangeset for help on using the changeset viewer.