source: 3DVCSoftware/branches/HTM-10.2-dev2-RWTH/source/Lib/TLibDecoder/TDecEntropy.cpp @ 895

Last change on this file since 895 was 895, checked in by rwth, 10 years ago
  • integration of H0057 and H0072
  • Property svn:eol-style set to native
File size: 31.3 KB
Line 
1/* The copyright in this software is being made available under the BSD
2 * License, included below. This software may be subject to other third party
3 * and contributor rights, including patent rights, and no such rights are
4 * granted under this license. 
5 *
6* Copyright (c) 2010-2014, ITU/ISO/IEC
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are met:
11 *
12 *  * Redistributions of source code must retain the above copyright notice,
13 *    this list of conditions and the following disclaimer.
14 *  * Redistributions in binary form must reproduce the above copyright notice,
15 *    this list of conditions and the following disclaimer in the documentation
16 *    and/or other materials provided with the distribution.
17 *  * Neither the name of the ITU/ISO/IEC nor the names of its contributors may
18 *    be used to endorse or promote products derived from this software without
19 *    specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
25 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
31 * THE POSSIBILITY OF SUCH DAMAGE.
32 */
33
34/** \file     TDecEntropy.cpp
35    \brief    entropy decoder class
36*/
37
38#include "TDecEntropy.h"
39
40//! \ingroup TLibDecoder
41//! \{
42
43Void TDecEntropy::setEntropyDecoder         ( TDecEntropyIf* p )
44{
45  m_pcEntropyDecoderIf = p;
46}
47
48#include "TLibCommon/TComSampleAdaptiveOffset.h"
49
50Void TDecEntropy::decodeSkipFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
51{
52  m_pcEntropyDecoderIf->parseSkipFlag( pcCU, uiAbsPartIdx, uiDepth );
53}
54
55Void TDecEntropy::decodeCUTransquantBypassFlag(TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
56{
57  m_pcEntropyDecoderIf->parseCUTransquantBypassFlag( pcCU, uiAbsPartIdx, uiDepth );
58}
59
60/** decode merge flag
61 * \param pcSubCU
62 * \param uiAbsPartIdx
63 * \param uiDepth
64 * \param uiPUIdx
65 * \returns Void
66 */
67Void TDecEntropy::decodeMergeFlag( TComDataCU* pcSubCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx )
68{ 
69  // at least one merge candidate exists
70  m_pcEntropyDecoderIf->parseMergeFlag( pcSubCU, uiAbsPartIdx, uiDepth, uiPUIdx );
71}
72
73/** decode merge index
74 * \param pcCU
75 * \param uiPartIdx
76 * \param uiAbsPartIdx
77 * \param puhInterDirNeighbours pointer to list of inter direction from the casual neighbours
78 * \param pcMvFieldNeighbours pointer to list of motion vector field from the casual neighbours
79 * \param uiDepth
80 * \returns Void
81 */
82Void TDecEntropy::decodeMergeIndex( TComDataCU* pcCU, UInt uiPartIdx, UInt uiAbsPartIdx, UInt uiDepth )
83{
84  UInt uiMergeIndex = 0;
85  m_pcEntropyDecoderIf->parseMergeIndex( pcCU, uiMergeIndex );
86  pcCU->setMergeIndexSubParts( uiMergeIndex, uiAbsPartIdx, uiPartIdx, uiDepth );
87}
88
89#if H_3D_ARP
90Void TDecEntropy::decodeARPW( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
91{
92  if( !pcCU->getSlice()->getARPStepNum() || pcCU->isIntra( uiAbsPartIdx ) )
93  {
94    return;
95  }
96
97  if( pcCU->getPartitionSize(uiAbsPartIdx) != SIZE_2Nx2N )
98  {
99    pcCU->setARPWSubParts( 0 , uiAbsPartIdx, uiDepth );
100  }
101  else
102  {
103    m_pcEntropyDecoderIf->parseARPW( pcCU , uiAbsPartIdx , uiDepth );
104  }
105}
106#endif
107
108#if H_3D_IC
109Void TDecEntropy::decodeICFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
110{
111  pcCU->setICFlagSubParts( false , uiAbsPartIdx, 0, uiDepth );
112
113  if ( pcCU->isIntra( uiAbsPartIdx ) || ( pcCU->getSlice()->getViewIndex() == 0 ) || pcCU->getSlice()->getIsDepth() || pcCU->getARPW( uiAbsPartIdx ) > 0 )
114  {
115    return;
116  }
117
118  if( !pcCU->getSlice()->getApplyIC() )
119    return;
120
121  if( pcCU->isICFlagRequired( uiAbsPartIdx ) )
122    m_pcEntropyDecoderIf->parseICFlag( pcCU, uiAbsPartIdx, uiDepth );
123}
124#endif
125
126Void TDecEntropy::decodeSplitFlag   ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
127{
128  m_pcEntropyDecoderIf->parseSplitFlag( pcCU, uiAbsPartIdx, uiDepth );
129}
130
131Void TDecEntropy::decodePredMode( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
132{
133  m_pcEntropyDecoderIf->parsePredMode( pcCU, uiAbsPartIdx, uiDepth );
134}
135
136Void TDecEntropy::decodePartSize( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
137{
138  m_pcEntropyDecoderIf->parsePartSize( pcCU, uiAbsPartIdx, uiDepth );
139 
140#if H_3D_DBBP
141  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE )
142  {
143    decodeDBBPFlag(pcCU, uiAbsPartIdx, uiDepth);
144   
145    if( pcCU->getDBBPFlag(uiAbsPartIdx) )
146    {
147      AOF( pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE );
148     
149      // get collocated depth block
150      UInt uiDepthStride = 0;
151      Pel* pDepthPels = NULL;
152      pDepthPels = pcCU->getVirtualDepthBlock(uiAbsPartIdx, pcCU->getWidth(uiAbsPartIdx), pcCU->getHeight(uiAbsPartIdx), uiDepthStride);
153     
154      AOF( pDepthPels != NULL );
155      AOF( uiDepthStride != 0 );
156     
157      // derive true partitioning for this CU based on depth
158      // (needs to be done in parsing process as motion vector predictors are also derived during parsing)
159      PartSize eVirtualPartSize = m_pcPrediction->getPartitionSizeFromDepth(pDepthPels, uiDepthStride, pcCU->getWidth(uiAbsPartIdx));
160      AOF( eVirtualPartSize != SIZE_NONE );
161     
162      pcCU->setPartSizeSubParts(eVirtualPartSize, uiAbsPartIdx, uiDepth);
163     
164#if RWTH_H0057_DBBP_NO_SPU
165      // make sure that DBBP flag is set for both segments
166      UInt uiPUOffset = ( g_auiPUOffset[UInt( eVirtualPartSize )] << ( ( pcCU->getSlice()->getSPS()->getMaxCUDepth() - uiDepth ) << 1 ) ) >> 4;
167      pcCU->setDBBPFlagSubParts(true, uiAbsPartIdx, 0, uiDepth);
168      pcCU->setDBBPFlagSubParts(true, uiAbsPartIdx+uiPUOffset, 1, uiDepth);
169#endif
170    }
171  }
172#endif
173}
174
175Void TDecEntropy::decodePredInfo    ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, TComDataCU* pcSubCU )
176{
177  if( pcCU->isIntra( uiAbsPartIdx ) )                                 // If it is Intra mode, encode intra prediction mode.
178  {
179    decodeIntraDirModeLuma  ( pcCU, uiAbsPartIdx, uiDepth );
180#if H_3D_DIM_SDC
181    if(!pcCU->getSDCFlag(uiAbsPartIdx))
182#endif
183    decodeIntraDirModeChroma( pcCU, uiAbsPartIdx, uiDepth );
184  }
185  else                                                                // if it is Inter mode, encode motion vector and reference index
186  {
187    decodePUWise( pcCU, uiAbsPartIdx, uiDepth, pcSubCU );
188  }
189}
190
191/** Parse I_PCM information.
192 * \param pcCU  pointer to CUpointer to CU
193 * \param uiAbsPartIdx CU index
194 * \param uiDepth CU depth
195 * \returns Void
196 */
197Void TDecEntropy::decodeIPCMInfo( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
198{
199  if(!pcCU->getSlice()->getSPS()->getUsePCM()
200    || pcCU->getWidth(uiAbsPartIdx) > (1<<pcCU->getSlice()->getSPS()->getPCMLog2MaxSize())
201    || pcCU->getWidth(uiAbsPartIdx) < (1<<pcCU->getSlice()->getSPS()->getPCMLog2MinSize()) )
202  {
203    return;
204  }
205#if H_3D_DIM_SDC
206  if( pcCU->getSDCFlag(uiAbsPartIdx) )
207  {
208    return;
209  }
210#endif
211 
212  m_pcEntropyDecoderIf->parseIPCMInfo( pcCU, uiAbsPartIdx, uiDepth );
213}
214
215Void TDecEntropy::decodeIntraDirModeLuma  ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
216{
217  m_pcEntropyDecoderIf->parseIntraDirLumaAng( pcCU, uiAbsPartIdx, uiDepth );
218}
219
220Void TDecEntropy::decodeIntraDirModeChroma( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
221{
222  m_pcEntropyDecoderIf->parseIntraDirChroma( pcCU, uiAbsPartIdx, uiDepth );
223}
224
225/** decode motion information for every PU block.
226 * \param pcCU
227 * \param uiAbsPartIdx
228 * \param uiDepth
229 * \param pcSubCU
230 * \returns Void
231 */
232Void TDecEntropy::decodePUWise( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, TComDataCU* pcSubCU )
233{
234  PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx );
235  UInt uiNumPU = ( ePartSize == SIZE_2Nx2N ? 1 : ( ePartSize == SIZE_NxN ? 4 : 2 ) );
236  UInt uiPUOffset = ( g_auiPUOffset[UInt( ePartSize )] << ( ( pcCU->getSlice()->getSPS()->getMaxCUDepth() - uiDepth ) << 1 ) ) >> 4;
237
238#if H_3D_IV_MERGE
239  TComMvField cMvFieldNeighbours[MRG_MAX_NUM_CANDS_MEM << 1]; // double length for mv of both lists
240  UChar uhInterDirNeighbours[MRG_MAX_NUM_CANDS_MEM];
241#else
242  TComMvField cMvFieldNeighbours[MRG_MAX_NUM_CANDS << 1]; // double length for mv of both lists
243  UChar uhInterDirNeighbours[MRG_MAX_NUM_CANDS];
244#endif
245#if H_3D_SPIVMP
246  Bool bSPIVMPFlag[MRG_MAX_NUM_CANDS_MEM];
247  TComMvField*  pcMvFieldSP;
248  UChar* puhInterDirSP;
249  pcMvFieldSP = new TComMvField[pcCU->getPic()->getPicSym()->getNumPartition()*2]; 
250  puhInterDirSP = new UChar[pcCU->getPic()->getPicSym()->getNumPartition()]; 
251#endif
252  for ( UInt ui = 0; ui < pcCU->getSlice()->getMaxNumMergeCand(); ui++ )
253  {
254    uhInterDirNeighbours[ui] = 0;
255  }
256  Int numValidMergeCand = 0;
257  Bool isMerged = false;
258
259  pcSubCU->copyInterPredInfoFrom( pcCU, uiAbsPartIdx, REF_PIC_LIST_0 );
260  pcSubCU->copyInterPredInfoFrom( pcCU, uiAbsPartIdx, REF_PIC_LIST_1 );
261#if H_3D_IV_MERGE
262  pcSubCU->copyDVInfoFrom( pcCU, uiAbsPartIdx);
263#endif
264  for ( UInt uiPartIdx = 0, uiSubPartIdx = uiAbsPartIdx; uiPartIdx < uiNumPU; uiPartIdx++, uiSubPartIdx += uiPUOffset )
265  {
266#if H_MV_ENC_DEC_TRAC
267    DTRACE_PU_S("=========== prediction_unit ===========\n")
268    // ToDo:
269    //DTRACE_PU("x0", uiLPelX)
270    //DTRACE_PU("x1", uiTPelY)
271#endif
272    decodeMergeFlag( pcCU, uiSubPartIdx, uiDepth, uiPartIdx );
273    if ( pcCU->getMergeFlag( uiSubPartIdx ) )
274    {
275      decodeMergeIndex( pcCU, uiPartIdx, uiSubPartIdx, uiDepth );
276      UInt uiMergeIndex = pcCU->getMergeIndex(uiSubPartIdx);
277#if H_3D_ARP
278      decodeARPW  ( pcCU, uiAbsPartIdx, uiDepth );
279#endif
280#if H_3D_IC
281      decodeICFlag( pcCU, uiAbsPartIdx, uiDepth );
282#endif
283#if H_3D_DBBP
284      if ( pcCU->getSlice()->getPPS()->getLog2ParallelMergeLevelMinus2() && ePartSize != SIZE_2Nx2N && pcSubCU->getWidth( 0 ) <= 8 && pcCU->getDBBPFlag(uiAbsPartIdx) == false )
285#else
286      if ( pcCU->getSlice()->getPPS()->getLog2ParallelMergeLevelMinus2() && ePartSize != SIZE_2Nx2N && pcSubCU->getWidth( 0 ) <= 8 ) 
287#endif
288      {
289        pcSubCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth );
290        if ( !isMerged )
291        {
292#if H_3D_VSP
293          Int vspFlag[MRG_MAX_NUM_CANDS_MEM];
294          memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM);
295          InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM];
296#if H_3D_SPIVMP
297          memset(bSPIVMPFlag, false, sizeof(Bool)*MRG_MAX_NUM_CANDS_MEM);
298#endif
299          pcSubCU->initAvailableFlags();
300          pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand);
301          pcSubCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, inheritedVSPDisInfo
302#if H_3D_SPIVMP
303            , bSPIVMPFlag, pcMvFieldSP, puhInterDirSP
304#endif
305            , numValidMergeCand );
306          pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth );
307
308          if(vspFlag[uiMergeIndex])
309          {
310            pcCU->setDvInfoSubParts(inheritedVSPDisInfo[uiMergeIndex].m_acDvInfo, uiSubPartIdx, uiPartIdx, uiDepth);
311          }
312#else
313#if H_3D
314          pcSubCU->initAvailableFlags();
315          pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand);
316          pcSubCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand );
317
318#else
319          pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand );
320#endif
321#endif
322          isMerged = true;
323        }
324        pcSubCU->setPartSizeSubParts( ePartSize, 0, uiDepth );
325      }
326      else
327      {
328        uiMergeIndex = pcCU->getMergeIndex(uiSubPartIdx);
329#if H_3D_VSP
330        Int vspFlag[MRG_MAX_NUM_CANDS_MEM];
331        memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM);
332        InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM];
333#if H_3D_SPIVMP
334        memset(bSPIVMPFlag, false, sizeof(Bool)*MRG_MAX_NUM_CANDS_MEM);
335#endif
336        pcSubCU->initAvailableFlags();
337        pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex );
338        pcSubCU->xGetInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, inheritedVSPDisInfo
339#if H_3D_SPIVMP
340          , bSPIVMPFlag, pcMvFieldSP, puhInterDirSP
341#endif
342          ,numValidMergeCand, uiMergeIndex );
343        pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth );
344        if(vspFlag[uiMergeIndex])
345        {
346          pcCU->setDvInfoSubParts(inheritedVSPDisInfo[uiMergeIndex].m_acDvInfo, uiSubPartIdx, uiPartIdx, uiDepth);
347        }
348#else
349#if H_3D
350        pcSubCU->initAvailableFlags();
351        pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex );
352        pcSubCU->xGetInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex );
353#else
354        pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex );
355#endif
356#endif
357      }
358      pcCU->setInterDirSubParts( uhInterDirNeighbours[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth );
359
360#if H_3D_DDD
361      if( uiMergeIndex == pcSubCU->getUseDDDCandIdx() )
362      {
363          assert( pcCU->getSlice()->getViewIndex() != 0 );
364          pcCU->setUseDDD( true, uiSubPartIdx, uiPartIdx, uiDepth );
365          pcCU->setDDDepthSubParts( pcSubCU->getDDTmpDepth(),uiSubPartIdx, uiPartIdx, uiDepth );
366      }
367      else
368      {
369          pcCU->setUseDDD( false, uiSubPartIdx, uiPartIdx, uiDepth );
370      }
371#endif
372
373      TComMv cTmpMv( 0, 0 );
374      for ( UInt uiRefListIdx = 0; uiRefListIdx < 2; uiRefListIdx++ )
375      {       
376        if ( pcCU->getSlice()->getNumRefIdx( RefPicList( uiRefListIdx ) ) > 0 )
377        {
378          pcCU->setMVPIdxSubParts( 0, RefPicList( uiRefListIdx ), uiSubPartIdx, uiPartIdx, uiDepth);
379          pcCU->setMVPNumSubParts( 0, RefPicList( uiRefListIdx ), uiSubPartIdx, uiPartIdx, uiDepth);
380          pcCU->getCUMvField( RefPicList( uiRefListIdx ) )->setAllMvd( cTmpMv, ePartSize, uiSubPartIdx, uiDepth, uiPartIdx );
381          pcCU->getCUMvField( RefPicList( uiRefListIdx ) )->setAllMvField( cMvFieldNeighbours[ 2*uiMergeIndex + uiRefListIdx ], ePartSize, uiSubPartIdx, uiDepth, uiPartIdx );
382#if H_3D_VSP
383#if H_3D_DBBP
384          if( pcCU->getVSPFlag( uiSubPartIdx ) != 0 && !pcCU->getDBBPFlag( uiAbsPartIdx ) )
385#else
386          if( pcCU->getVSPFlag( uiSubPartIdx ) != 0 )
387#endif
388          {
389            if ( uhInterDirNeighbours[ uiMergeIndex ] & (1<<uiRefListIdx) )
390            {
391              UInt dummy;
392              Int vspSize;
393              Int width, height;
394              pcCU->getPartIndexAndSize( uiPartIdx, dummy, width, height, uiSubPartIdx, pcCU->getTotalNumPart()==256 );
395              pcCU->setMvFieldPUForVSP( pcCU, uiSubPartIdx, width, height, RefPicList( uiRefListIdx ), cMvFieldNeighbours[ 2*uiMergeIndex + uiRefListIdx ].getRefIdx(), vspSize );
396              pcCU->setVSPFlag( uiSubPartIdx, vspSize );
397            }
398          }
399#endif
400        }
401      }
402#if H_3D_SPIVMP
403      pcCU->setSPIVMPFlagSubParts(bSPIVMPFlag[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth ); 
404      if (bSPIVMPFlag[uiMergeIndex] != 0)
405      {
406        Int iWidth, iHeight;
407        UInt uiIdx;
408        pcCU->getPartIndexAndSize( uiPartIdx, uiIdx, iWidth, iHeight, uiSubPartIdx, true );
409
410        UInt uiSPAddr;
411
412        Int iNumSPInOneLine, iNumSP, iSPWidth, iSPHeight;
413
414        pcCU->getSPPara(iWidth, iHeight, iNumSP, iNumSPInOneLine, iSPWidth, iSPHeight);
415
416        for (Int iPartitionIdx = 0; iPartitionIdx < iNumSP; iPartitionIdx++)
417        {
418          pcCU->getSPAbsPartIdx(uiSubPartIdx, iSPWidth, iSPHeight, iPartitionIdx, iNumSPInOneLine, uiSPAddr);
419          pcCU->setInterDirSP(puhInterDirSP[iPartitionIdx], uiSPAddr, iSPWidth, iSPHeight);
420          pcCU->getCUMvField( REF_PIC_LIST_0 )->setMvFieldSP(pcCU, uiSPAddr, pcMvFieldSP[2*iPartitionIdx], iSPWidth, iSPHeight);
421          pcCU->getCUMvField( REF_PIC_LIST_1 )->setMvFieldSP(pcCU, uiSPAddr, pcMvFieldSP[2*iPartitionIdx + 1], iSPWidth, iSPHeight);
422        }
423      }
424#endif
425    }
426    else
427    {
428      decodeInterDirPU( pcCU, uiSubPartIdx, uiDepth, uiPartIdx );
429      for ( UInt uiRefListIdx = 0; uiRefListIdx < 2; uiRefListIdx++ )
430      {       
431        if ( pcCU->getSlice()->getNumRefIdx( RefPicList( uiRefListIdx ) ) > 0 )
432        {
433          decodeRefFrmIdxPU( pcCU,    uiSubPartIdx,              uiDepth, uiPartIdx, RefPicList( uiRefListIdx ) );
434          decodeMvdPU      ( pcCU,    uiSubPartIdx,              uiDepth, uiPartIdx, RefPicList( uiRefListIdx ) );
435          decodeMVPIdxPU   ( pcSubCU, uiSubPartIdx-uiAbsPartIdx, uiDepth, uiPartIdx, RefPicList( uiRefListIdx ) );
436        }
437      }
438#if H_3D_ARP
439      decodeARPW  ( pcCU, uiAbsPartIdx, uiDepth );
440#endif
441#if H_3D_IC
442      decodeICFlag( pcCU, uiAbsPartIdx, uiDepth );
443#endif
444    }
445#if H_3D_VSP
446    if ( (pcCU->getInterDir(uiSubPartIdx) == 3) && pcSubCU->isBipredRestriction(uiPartIdx) && (pcCU->getVSPFlag(uiSubPartIdx) == 0))
447#else
448    if ( (pcCU->getInterDir(uiSubPartIdx) == 3) && pcSubCU->isBipredRestriction(uiPartIdx) )
449#endif
450    {
451      pcCU->getCUMvField( REF_PIC_LIST_1 )->setAllMv( TComMv(0,0), ePartSize, uiSubPartIdx, uiDepth, uiPartIdx);
452      pcCU->getCUMvField( REF_PIC_LIST_1 )->setAllRefIdx( -1, ePartSize, uiSubPartIdx, uiDepth, uiPartIdx);
453      pcCU->setInterDirSubParts( 1, uiSubPartIdx, uiPartIdx, uiDepth);
454    }
455  }
456#if H_3D_SPIVMP
457  delete[] pcMvFieldSP;
458  delete[] puhInterDirSP;
459#endif
460  return;
461}
462
463/** decode inter direction for a PU block
464 * \param pcCU
465 * \param uiAbsPartIdx
466 * \param uiDepth
467 * \param uiPartIdx
468 * \returns Void
469 */
470Void TDecEntropy::decodeInterDirPU( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPartIdx )
471{
472  UInt uiInterDir;
473
474  if ( pcCU->getSlice()->isInterP() )
475  {
476    uiInterDir = 1;
477  }
478  else
479  {
480    m_pcEntropyDecoderIf->parseInterDir( pcCU, uiInterDir, uiAbsPartIdx );
481  }
482
483  pcCU->setInterDirSubParts( uiInterDir, uiAbsPartIdx, uiPartIdx, uiDepth );
484}
485
486Void TDecEntropy::decodeRefFrmIdxPU( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPartIdx, RefPicList eRefList )
487{
488  Int iRefFrmIdx = 0;
489  Int iParseRefFrmIdx = pcCU->getInterDir( uiAbsPartIdx ) & ( 1 << eRefList );
490
491  if ( pcCU->getSlice()->getNumRefIdx( eRefList ) > 1 && iParseRefFrmIdx )
492  {
493    m_pcEntropyDecoderIf->parseRefFrmIdx( pcCU, iRefFrmIdx, eRefList );
494  }
495  else if ( !iParseRefFrmIdx )
496  {
497    iRefFrmIdx = NOT_VALID;
498  }
499  else
500  {
501    iRefFrmIdx = 0;
502  }
503
504  PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx );
505  pcCU->getCUMvField( eRefList )->setAllRefIdx( iRefFrmIdx, ePartSize, uiAbsPartIdx, uiDepth, uiPartIdx );
506}
507
508/** decode motion vector difference for a PU block
509 * \param pcCU
510 * \param uiAbsPartIdx
511 * \param uiDepth
512 * \param uiPartIdx
513 * \param eRefList
514 * \returns Void
515 */
516Void TDecEntropy::decodeMvdPU( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPartIdx, RefPicList eRefList )
517{
518  if ( pcCU->getInterDir( uiAbsPartIdx ) & ( 1 << eRefList ) )
519  {
520    m_pcEntropyDecoderIf->parseMvd( pcCU, uiAbsPartIdx, uiPartIdx, uiDepth, eRefList );
521  }
522}
523
524Void TDecEntropy::decodeMVPIdxPU( TComDataCU* pcSubCU, UInt uiPartAddr, UInt uiDepth, UInt uiPartIdx, RefPicList eRefList )
525{
526  Int iMVPIdx = -1;
527
528  TComMv cZeroMv( 0, 0 );
529  TComMv cMv     = cZeroMv;
530  Int    iRefIdx = -1;
531
532  TComCUMvField* pcSubCUMvField = pcSubCU->getCUMvField( eRefList );
533  AMVPInfo* pAMVPInfo = pcSubCUMvField->getAMVPInfo();
534
535  iRefIdx = pcSubCUMvField->getRefIdx(uiPartAddr);
536  cMv = cZeroMv;
537
538  if ( (pcSubCU->getInterDir(uiPartAddr) & ( 1 << eRefList )) )
539  {
540    m_pcEntropyDecoderIf->parseMVPIdx( iMVPIdx );
541#if H_MV_ENC_DEC_TRAC
542#if ENC_DEC_TRACE
543    if ( eRefList == REF_PIC_LIST_0 )
544    {
545      DTRACE_PU("mvp_l0_flag", iMVPIdx)
546    }
547    else
548    {
549      DTRACE_PU("mvp_l1_flag", iMVPIdx)
550    }
551#endif
552#endif
553  }
554  pcSubCU->fillMvpCand(uiPartIdx, uiPartAddr, eRefList, iRefIdx, pAMVPInfo);
555  pcSubCU->setMVPNumSubParts(pAMVPInfo->iN, eRefList, uiPartAddr, uiPartIdx, uiDepth);
556  pcSubCU->setMVPIdxSubParts( iMVPIdx, eRefList, uiPartAddr, uiPartIdx, uiDepth );
557  if ( iRefIdx >= 0 )
558  {
559    m_pcPrediction->getMvPredAMVP( pcSubCU, uiPartIdx, uiPartAddr, eRefList, cMv);
560    cMv += pcSubCUMvField->getMvd( uiPartAddr );
561  }
562
563  PartSize ePartSize = pcSubCU->getPartitionSize( uiPartAddr );
564  pcSubCU->getCUMvField( eRefList )->setAllMv(cMv, ePartSize, uiPartAddr, 0, uiPartIdx);
565}
566
567Void TDecEntropy::xDecodeTransform( TComDataCU* pcCU, UInt offsetLuma, UInt offsetChroma, UInt uiAbsPartIdx, UInt uiDepth, UInt width, UInt height, UInt uiTrIdx, Bool& bCodeDQP, Int quadtreeTULog2MinSizeInCU)
568{
569  UInt uiSubdiv;
570  const UInt uiLog2TrafoSize = g_aucConvertToBit[pcCU->getSlice()->getSPS()->getMaxCUWidth()]+2 - uiDepth;
571
572  if(uiTrIdx==0)
573  {
574    m_bakAbsPartIdxCU = uiAbsPartIdx;
575  }
576  if( uiLog2TrafoSize == 2 )
577  {
578    UInt partNum = pcCU->getPic()->getNumPartInCU() >> ( ( uiDepth - 1 ) << 1 );
579    if( ( uiAbsPartIdx % partNum ) == 0 )
580    {
581      m_uiBakAbsPartIdx   = uiAbsPartIdx;
582      m_uiBakChromaOffset = offsetChroma;
583    }
584  }
585  if( pcCU->getPredictionMode(uiAbsPartIdx) == MODE_INTRA && pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_NxN && uiDepth == pcCU->getDepth(uiAbsPartIdx) )
586  {
587    uiSubdiv = 1;
588  }
589  else if( (pcCU->getSlice()->getSPS()->getQuadtreeTUMaxDepthInter() == 1) && (pcCU->getPredictionMode(uiAbsPartIdx) == MODE_INTER) && ( pcCU->getPartitionSize(uiAbsPartIdx) != SIZE_2Nx2N ) && (uiDepth == pcCU->getDepth(uiAbsPartIdx)) )
590  {
591    uiSubdiv = (uiLog2TrafoSize > quadtreeTULog2MinSizeInCU);
592  }
593  else if( uiLog2TrafoSize > pcCU->getSlice()->getSPS()->getQuadtreeTULog2MaxSize() )
594  {
595    uiSubdiv = 1;
596  }
597  else if( uiLog2TrafoSize == pcCU->getSlice()->getSPS()->getQuadtreeTULog2MinSize() )
598  {
599    uiSubdiv = 0;
600  }
601  else if( uiLog2TrafoSize == quadtreeTULog2MinSizeInCU )
602  {
603    uiSubdiv = 0;
604  }
605  else
606  {
607    assert( uiLog2TrafoSize > quadtreeTULog2MinSizeInCU );
608    m_pcEntropyDecoderIf->parseTransformSubdivFlag( uiSubdiv, 5 - uiLog2TrafoSize );
609  }
610 
611  const UInt uiTrDepth = uiDepth - pcCU->getDepth( uiAbsPartIdx );
612  {
613    const Bool bFirstCbfOfCU = uiTrDepth == 0;
614    if( bFirstCbfOfCU )
615    {
616      pcCU->setCbfSubParts( 0, TEXT_CHROMA_U, uiAbsPartIdx, uiDepth );
617      pcCU->setCbfSubParts( 0, TEXT_CHROMA_V, uiAbsPartIdx, uiDepth );
618    }
619    if( bFirstCbfOfCU || uiLog2TrafoSize > 2 )
620    {
621      if( bFirstCbfOfCU || pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, uiTrDepth - 1 ) )
622      {
623        m_pcEntropyDecoderIf->parseQtCbf( pcCU, uiAbsPartIdx, TEXT_CHROMA_U, uiTrDepth, uiDepth );
624      }
625      if( bFirstCbfOfCU || pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, uiTrDepth - 1 ) )
626      {
627        m_pcEntropyDecoderIf->parseQtCbf( pcCU, uiAbsPartIdx, TEXT_CHROMA_V, uiTrDepth, uiDepth );
628      }
629    }
630    else
631    {
632      pcCU->setCbfSubParts( pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, uiTrDepth - 1 ) << uiTrDepth, TEXT_CHROMA_U, uiAbsPartIdx, uiDepth );
633      pcCU->setCbfSubParts( pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, uiTrDepth - 1 ) << uiTrDepth, TEXT_CHROMA_V, uiAbsPartIdx, uiDepth );
634    }
635  }
636 
637  if( uiSubdiv )
638  {
639    UInt size;
640    width  >>= 1;
641    height >>= 1;
642    size = width*height;
643    uiTrIdx++;
644    ++uiDepth;
645    const UInt uiQPartNum = pcCU->getPic()->getNumPartInCU() >> (uiDepth << 1);
646    const UInt uiStartAbsPartIdx = uiAbsPartIdx;
647    UInt uiYCbf = 0;
648    UInt uiUCbf = 0;
649    UInt uiVCbf = 0;
650   
651    for( Int i = 0; i < 4; i++ )
652    {
653      xDecodeTransform( pcCU, offsetLuma, offsetChroma, uiAbsPartIdx, uiDepth, width, height, uiTrIdx, bCodeDQP, quadtreeTULog2MinSizeInCU );
654      uiYCbf |= pcCU->getCbf( uiAbsPartIdx, TEXT_LUMA, uiTrDepth+1 );
655      uiUCbf |= pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, uiTrDepth+1 );
656      uiVCbf |= pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, uiTrDepth+1 );
657      uiAbsPartIdx += uiQPartNum;
658      offsetLuma += size;  offsetChroma += (size>>2);
659    }
660   
661    for( UInt ui = 0; ui < 4 * uiQPartNum; ++ui )
662    {
663      pcCU->getCbf( TEXT_LUMA     )[uiStartAbsPartIdx + ui] |= uiYCbf << uiTrDepth;
664      pcCU->getCbf( TEXT_CHROMA_U )[uiStartAbsPartIdx + ui] |= uiUCbf << uiTrDepth;
665      pcCU->getCbf( TEXT_CHROMA_V )[uiStartAbsPartIdx + ui] |= uiVCbf << uiTrDepth;
666    }
667  }
668  else
669  {
670    assert( uiDepth >= pcCU->getDepth( uiAbsPartIdx ) );
671    pcCU->setTrIdxSubParts( uiTrDepth, uiAbsPartIdx, uiDepth );
672   
673#if !H_MV_ENC_DEC_TRAC
674    {
675      DTRACE_CABAC_VL( g_nSymbolCounter++ );
676      DTRACE_CABAC_T( "\tTrIdx: abspart=" );
677      DTRACE_CABAC_V( uiAbsPartIdx );
678      DTRACE_CABAC_T( "\tdepth=" );
679      DTRACE_CABAC_V( uiDepth );
680      DTRACE_CABAC_T( "\ttrdepth=" );
681      DTRACE_CABAC_V( uiTrDepth );
682      DTRACE_CABAC_T( "\n" );
683    }
684#endif
685   
686    pcCU->setCbfSubParts ( 0, TEXT_LUMA, uiAbsPartIdx, uiDepth );
687    if( pcCU->getPredictionMode(uiAbsPartIdx) != MODE_INTRA && uiDepth == pcCU->getDepth( uiAbsPartIdx ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, 0 ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, 0 ) )
688    {
689      pcCU->setCbfSubParts( 1 << uiTrDepth, TEXT_LUMA, uiAbsPartIdx, uiDepth );
690    }
691    else
692    {
693      m_pcEntropyDecoderIf->parseQtCbf( pcCU, uiAbsPartIdx, TEXT_LUMA, uiTrDepth, uiDepth );
694    }
695
696
697    // transform_unit begin
698    UInt cbfY = pcCU->getCbf( uiAbsPartIdx, TEXT_LUMA    , uiTrIdx );
699    UInt cbfU = pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, uiTrIdx );
700    UInt cbfV = pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, uiTrIdx );
701    if( uiLog2TrafoSize == 2 )
702    {
703      UInt partNum = pcCU->getPic()->getNumPartInCU() >> ( ( uiDepth - 1 ) << 1 );
704      if( ( uiAbsPartIdx % partNum ) == (partNum - 1) )
705      {
706        cbfU = pcCU->getCbf( m_uiBakAbsPartIdx, TEXT_CHROMA_U, uiTrIdx );
707        cbfV = pcCU->getCbf( m_uiBakAbsPartIdx, TEXT_CHROMA_V, uiTrIdx );
708      }
709    }
710    if ( cbfY || cbfU || cbfV )
711    {
712      // dQP: only for LCU
713      if ( pcCU->getSlice()->getPPS()->getUseDQP() )
714      {
715        if ( bCodeDQP )
716        {
717          decodeQP( pcCU, m_bakAbsPartIdxCU);
718          bCodeDQP = false;
719        }
720      }
721    }
722    if( cbfY )
723    {
724      Int trWidth = width;
725      Int trHeight = height;
726      m_pcEntropyDecoderIf->parseCoeffNxN( pcCU, (pcCU->getCoeffY()+offsetLuma), uiAbsPartIdx, trWidth, trHeight, uiDepth, TEXT_LUMA );
727    }
728    if( uiLog2TrafoSize > 2 )
729    {
730      Int trWidth = width >> 1;
731      Int trHeight = height >> 1;
732      if( cbfU )
733      {
734        m_pcEntropyDecoderIf->parseCoeffNxN( pcCU, (pcCU->getCoeffCb()+offsetChroma), uiAbsPartIdx, trWidth, trHeight, uiDepth, TEXT_CHROMA_U );
735      }
736      if( cbfV )
737      {
738        m_pcEntropyDecoderIf->parseCoeffNxN( pcCU, (pcCU->getCoeffCr()+offsetChroma), uiAbsPartIdx, trWidth, trHeight, uiDepth, TEXT_CHROMA_V );
739      }
740    }
741    else
742    {
743      UInt partNum = pcCU->getPic()->getNumPartInCU() >> ( ( uiDepth - 1 ) << 1 );
744      if( ( uiAbsPartIdx % partNum ) == (partNum - 1) )
745      {
746        Int trWidth = width;
747        Int trHeight = height;
748        if( cbfU )
749        {
750          m_pcEntropyDecoderIf->parseCoeffNxN( pcCU, (pcCU->getCoeffCb()+m_uiBakChromaOffset), m_uiBakAbsPartIdx, trWidth, trHeight, uiDepth, TEXT_CHROMA_U );
751        }
752        if( cbfV )
753        {
754          m_pcEntropyDecoderIf->parseCoeffNxN( pcCU, (pcCU->getCoeffCr()+m_uiBakChromaOffset), m_uiBakAbsPartIdx, trWidth, trHeight, uiDepth, TEXT_CHROMA_V );
755        }
756      }
757    }
758    // transform_unit end
759  }
760}
761
762Void TDecEntropy::decodeQP          ( TComDataCU* pcCU, UInt uiAbsPartIdx )
763{
764  if ( pcCU->getSlice()->getPPS()->getUseDQP() )
765  {
766    m_pcEntropyDecoderIf->parseDeltaQP( pcCU, uiAbsPartIdx, pcCU->getDepth( uiAbsPartIdx ) );
767  }
768}
769
770
771/** decode coefficients
772 * \param pcCU
773 * \param uiAbsPartIdx
774 * \param uiDepth
775 * \param uiWidth
776 * \param uiHeight
777 * \returns Void
778 */
779Void TDecEntropy::decodeCoeff( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiWidth, UInt uiHeight, Bool& bCodeDQP )
780{
781  UInt uiMinCoeffSize = pcCU->getPic()->getMinCUWidth()*pcCU->getPic()->getMinCUHeight();
782  UInt uiLumaOffset   = uiMinCoeffSize*uiAbsPartIdx;
783  UInt uiChromaOffset = uiLumaOffset>>2;
784#if H_3D_DIM_SDC
785  if( pcCU->getSDCFlag( uiAbsPartIdx ) && pcCU->isIntra( uiAbsPartIdx) )
786  {
787    assert( pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2Nx2N );
788    assert( pcCU->getTransformIdx(uiAbsPartIdx) == 0 );
789    assert( pcCU->getCbf(uiAbsPartIdx, TEXT_LUMA) == 1 );
790    assert( pcCU->getCbf(uiAbsPartIdx, TEXT_CHROMA_U) == 1 );
791    assert( pcCU->getCbf(uiAbsPartIdx, TEXT_CHROMA_V) == 1 );
792  }
793
794#if H_3D_INTER_SDC
795  if( pcCU->getSDCFlag( uiAbsPartIdx ) && !pcCU->isIntra( uiAbsPartIdx) )
796  {
797    assert( !pcCU->isSkipped( uiAbsPartIdx ) );
798    assert( !pcCU->isIntra( uiAbsPartIdx) );
799    assert( pcCU->getSlice()->getIsDepth() );
800  }
801#endif
802  if( pcCU->getSlice()->getIsDepth() && ( pcCU->getSDCFlag( uiAbsPartIdx ) || pcCU->isIntra( uiAbsPartIdx ) ) )
803  {
804    Int iPartNum = ( pcCU->isIntra( uiAbsPartIdx ) && pcCU->getPartitionSize( uiAbsPartIdx ) == SIZE_NxN ) ? 4 : 1;
805    UInt uiPartOffset = ( pcCU->getPic()->getNumPartInCU() >> ( pcCU->getDepth( uiAbsPartIdx ) << 1 ) ) >> 2;
806 
807    if( !pcCU->getSDCFlag( uiAbsPartIdx ) )
808    {
809      for( Int iPart = 0; iPart < iPartNum; iPart++ )
810      {
811        if( getDimType( pcCU->getLumaIntraDir( uiAbsPartIdx + uiPartOffset*iPart ) ) < DIM_NUM_TYPE ) 
812        {
813          m_pcEntropyDecoderIf->parseDeltaDC( pcCU, uiAbsPartIdx + uiPartOffset*iPart, uiDepth + ( pcCU->getPartitionSize( uiAbsPartIdx ) == SIZE_NxN ) );
814        }
815      }
816    }
817    else
818    {
819      m_pcEntropyDecoderIf->parseDeltaDC( pcCU, uiAbsPartIdx, uiDepth );
820      return;
821    }
822  }
823#endif
824
825  if( pcCU->isIntra(uiAbsPartIdx) )
826  {
827  }
828  else
829  {
830    UInt uiQtRootCbf = 1;
831    if( !( pcCU->getPartitionSize( uiAbsPartIdx) == SIZE_2Nx2N && pcCU->getMergeFlag( uiAbsPartIdx ) ) )
832    {
833      m_pcEntropyDecoderIf->parseQtRootCbf( uiAbsPartIdx, uiQtRootCbf );
834    }
835    if ( !uiQtRootCbf )
836    {
837      pcCU->setCbfSubParts( 0, 0, 0, uiAbsPartIdx, uiDepth );
838      pcCU->setTrIdxSubParts( 0 , uiAbsPartIdx, uiDepth );
839      return;
840    }
841   
842  }
843
844  Int getQuadtreeTULog2MinSizeInCU = pcCU->getQuadtreeTULog2MinSizeInCU(uiAbsPartIdx);
845
846  xDecodeTransform( pcCU, uiLumaOffset, uiChromaOffset, uiAbsPartIdx, uiDepth, uiWidth, uiHeight, 0, bCodeDQP, getQuadtreeTULog2MinSizeInCU );
847}
848
849#if H_3D_INTER_SDC
850Void TDecEntropy::decodeSDCFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
851{
852  pcCU->setSDCFlagSubParts( false, uiAbsPartIdx, uiDepth );
853
854  if( ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getInterSDCFlag( pcCU->getSlice()->getLayerIdInVps() ) ) || 
855    ( pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getVpsDepthModesFlag( pcCU->getSlice()->getLayerIdInVps() ) ) )
856  {
857    return;
858  }
859
860  if( !pcCU->getSlice()->getIsDepth() || pcCU->getPartitionSize( uiAbsPartIdx ) != SIZE_2Nx2N || pcCU->isSkipped( uiAbsPartIdx ) )
861  {
862    return;
863  }
864
865  assert( pcCU->getPartitionSize( uiAbsPartIdx ) == SIZE_2Nx2N || ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->isSkipped( uiAbsPartIdx ) ) );
866  m_pcEntropyDecoderIf->parseSDCFlag( pcCU, uiAbsPartIdx, uiDepth );
867}
868#endif
869#if H_3D_DBBP
870Void TDecEntropy::decodeDBBPFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
871{
872  m_pcEntropyDecoderIf->parseDBBPFlag( pcCU, uiAbsPartIdx, uiDepth );
873}
874#endif
875
876//! \}
Note: See TracBrowser for help on using the repository browser.