Changeset 294 in 3DVCSoftware for branches/HTM-5.1-dev0/source/Lib/TLibEncoder/TEncEntropy.h
- Timestamp:
- 19 Feb 2013, 20:33:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-5.1-dev0/source/Lib/TLibEncoder/TEncEntropy.h
r292 r294 90 90 virtual Void codeTileMarkerFlag ( TComSlice* pcSlice ) = 0; 91 91 92 #if TILES_WPP_ENTRY_POINT_SIGNALLING93 92 virtual Void codeTilesWPPEntryPoint ( TComSlice* pSlice ) = 0; 94 #else95 virtual Void codeSliceHeaderSubstreamTable( TComSlice* pcSlice ) = 0;96 #endif97 93 virtual Void codeTerminatingBit ( UInt uilsLast ) = 0; 98 94 virtual Void codeSliceFinish () = 0; 99 #if OL_FLUSH100 95 virtual Void codeFlush () = 0; 101 96 virtual Void encodeStart () = 0; 102 #endif103 97 104 98 virtual Void codeAlfCtrlDepth() = 0; … … 134 128 #endif 135 129 136 #if BURST_IPCM137 130 virtual Void codeIPCMInfo ( TComDataCU* pcCU, UInt uiAbsPartIdx, Int numIPCM, Bool firstIPCMFlag) = 0; 138 #else139 virtual Void codeIPCMInfo ( TComDataCU* pcCU, UInt uiAbsPartIdx ) = 0;140 #endif141 131 142 132 virtual Void codeTransformSubdivFlag( UInt uiSymbol, UInt uiCtx ) = 0; … … 155 145 virtual Void codeAlfUvlc ( UInt uiCode ) = 0; 156 146 virtual Void codeAlfSvlc ( Int iCode ) = 0; 157 #if LCU_SYNTAX_ALF158 147 virtual Void codeAlfFixedLengthIdx( UInt idx, UInt numFilterSetsInBuffer) = 0; 159 148 virtual Void codeAPSAlflag(UInt uiCode) = 0; 160 #endif161 149 /// set slice granularity 162 150 virtual Void setSliceGranularity(Int iSliceGranularity) = 0; … … 169 157 virtual Void codeSaoUvlc ( UInt uiCode ) = 0; 170 158 virtual Void codeSaoSvlc ( Int iCode ) = 0; 171 #if SAO_UNIT_INTERLEAVING172 159 virtual Void codeSaoRun ( UInt uiCode, UInt uiMaxValue ) = 0; 173 160 virtual Void codeSaoMergeLeft ( UInt uiCode, UInt uiCompIdx ) = 0; … … 175 162 virtual Void codeSaoTypeIdx ( UInt uiCode) = 0; 176 163 virtual Void codeSaoUflc ( UInt uiCode) = 0; 177 #endif178 164 virtual Void estBit (estBitsSbacStruct* pcEstBitsSbac, Int width, Int height, TextType eTType) = 0; 179 165 … … 198 184 UInt m_uiBakAbsPartIdx; 199 185 UInt m_uiBakChromaOffset; 200 #if UNIFIED_TRANSFORM_TREE201 186 UInt m_bakAbsPartIdxCU; 202 #endif203 187 204 188 public: … … 216 200 Void encodeSliceHeader ( TComSlice* pcSlice ); 217 201 Void encodeTileMarkerFlag (TComSlice* pcSlice) {m_pcEntropyCoderIf->codeTileMarkerFlag(pcSlice);} 218 #if TILES_WPP_ENTRY_POINT_SIGNALLING219 202 Void encodeTilesWPPEntryPoint( TComSlice* pSlice ); 220 #else221 Void encodeSliceHeaderSubstreamTable( TComSlice* pcSlice );222 #endif223 203 Void encodeTerminatingBit ( UInt uiIsLast ); 224 204 Void encodeSliceFinish (); 225 #if OL_FLUSH226 205 Void encodeFlush (); 227 206 Void encodeStart (); 228 #endif229 #if LCU_SYNTAX_ALF230 207 Void encodeAlfFlag(UInt code) {m_pcEntropyCoderIf->codeAlfFlag(code);} 231 208 Void encodeAlfStoredFilterSetIdx(UInt idx, UInt numFilterSetsInBuffer); … … 236 213 Int getAlfRun(Int compIdx, AlfParamSet* pAlfParamSet, Int lcuIdxInSlice, Int lcuPos, Int startlcuPosX, Int endlcuPosX); 237 214 Void encodeAPSAlfFlag(UInt code) {m_pcEntropyCoderIf->codeAPSAlflag(code);} 238 #endif239 215 Void encodeAlfParam(ALFParam* pAlfParam); 240 216 … … 297 273 Void encodeIntraDirModeChroma( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD = false ); 298 274 299 #if !UNIFIED_TRANSFORM_TREE300 Void encodeTransformIdx ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool bRD = false );301 #endif302 275 Void encodeTransformSubdivFlag( UInt uiSymbol, UInt uiCtx ); 303 276 Void encodeQtCbf ( TComDataCU* pcCU, UInt uiAbsPartIdx, TextType eType, UInt uiTrDepth ); … … 320 293 321 294 private: 322 #if UNIFIED_TRANSFORM_TREE323 295 Void xEncodeTransform ( TComDataCU* pcCU,UInt offsetLumaOffset, UInt offsetChroma, UInt uiAbsPartIdx, UInt absTUPartIdx, UInt uiDepth, UInt width, UInt height, UInt uiTrIdx, UInt uiInnerQuadIdx, UInt& uiYCbfFront3, UInt& uiUCbfFront3, UInt& uiVCbfFront3, Bool& bCodeDQP ); 324 #else325 Void xEncodeTransformSubdiv ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt absTUPartIdx, UInt uiDepth, UInt uiInnerQuadIdx, UInt& uiYCbfFront3, UInt& uiUCbfFront3, UInt& uiVCbfFront3 );326 Void xEncodeCoeff ( TComDataCU* pcCU, UInt uiLumaOffset, UInt uiChromaOffset, UInt uiAbsPartIdx, UInt uiDepth, UInt uiWidth, UInt uiHeight, UInt uiTrIdx, UInt uiCurrTrIdx, Bool& bCodeDQP );327 #endif // !UNIFIED_TRANSFORM_TREE328 296 public: 329 297 Void encodeCoeff ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiWidth, UInt uiHeight, Bool& bCodeDQP ); … … 345 313 Int golombEncode(int coeff, int k); 346 314 Int lengthGolomb(int coeffVal, int k); 347 #if SAO_UNIT_INTERLEAVING348 315 Void encodeSaoUnit(Int rx, Int ry, Int compIdx, SAOParam* saoParam, Int repeatedRow); 349 316 Void encodeSaoOffset(SaoLcuParam* saoLcuParam); 350 317 Void encodeSaoUnitInterleaving(Int rx, Int ry, SAOParam* saoParam, TComDataCU* cu, Int cuAddrInSlice, Int cuAddrUpInSlice, Bool lfCrossSliceBoundaryFlag); 351 318 Void encodeSaoParam (TComAPS* aps); 352 #else353 Void encodeSaoOnePart (SAOParam* pSaoParam, Int iPartIdx, Int iYCbCr);354 Void encodeQuadTreeSplitFlag(SAOParam* pSaoParam, Int iPartIdx, Int iYCbCr);355 Void encodeSaoParam (SAOParam* pSaoParam);356 #endif357 319 358 320 static Int countNonZeroCoeffs( TCoeff* pcCoef, UInt uiSize );
Note: See TracChangeset for help on using the changeset viewer.