Changeset 1274 in 3DVCSoftware


Ignore:
Timestamp:
14 Jul 2015, 12:31:09 (9 years ago)
Author:
tech
Message:

Merged HTM-14.1-update-dev3@1273.

Location:
branches/HTM-14.1-update-dev2
Files:
4 deleted
51 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev2/HTM.xcodeproj/project.pbxproj

    r758 r1274  
    2525
    2626/* Begin PBXBuildFile section */
    27                 7874637E17D5DD900040CFC7 /* encmain.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462C117D5DD7B0040CFC7 /* encmain.cpp */; };
    28                 7874637F17D5DD900040CFC7 /* TAppEncCfg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462C217D5DD7B0040CFC7 /* TAppEncCfg.cpp */; };
    29                 7874638017D5DD900040CFC7 /* TAppEncTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462C417D5DD7B0040CFC7 /* TAppEncTop.cpp */; };
    30                 7874638117D5DDA60040CFC7 /* NALwrite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874633F17D5DD840040CFC7 /* NALwrite.cpp */; };
    31                 7874638217D5DDA60040CFC7 /* SEIwrite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874634117D5DD840040CFC7 /* SEIwrite.cpp */; };
    32                 7874638317D5DDA60040CFC7 /* SyntaxElementWriter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874634317D5DD840040CFC7 /* SyntaxElementWriter.cpp */; };
    33                 7874638417D5DDA60040CFC7 /* TEncAnalyze.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874634517D5DD840040CFC7 /* TEncAnalyze.cpp */; };
    34                 7874638517D5DDA60040CFC7 /* TEncBinCoderCABAC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874634817D5DD840040CFC7 /* TEncBinCoderCABAC.cpp */; };
    35                 7874638617D5DDA60040CFC7 /* TEncBinCoderCABACCounter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874634A17D5DD840040CFC7 /* TEncBinCoderCABACCounter.cpp */; };
    36                 7874638717D5DDA60040CFC7 /* TEncCavlc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874634C17D5DD840040CFC7 /* TEncCavlc.cpp */; };
    37                 7874638817D5DDA60040CFC7 /* TEncCu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874634F17D5DD840040CFC7 /* TEncCu.cpp */; };
    38                 7874638917D5DDA60040CFC7 /* TEncEntropy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874635117D5DD840040CFC7 /* TEncEntropy.cpp */; };
    39                 7874638A17D5DDA60040CFC7 /* TEncGOP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874635317D5DD840040CFC7 /* TEncGOP.cpp */; };
    40                 7874638B17D5DDA60040CFC7 /* TEncPic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874635517D5DD840040CFC7 /* TEncPic.cpp */; };
    41                 7874638C17D5DDA60040CFC7 /* TEncPreanalyzer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874635717D5DD840040CFC7 /* TEncPreanalyzer.cpp */; };
    42                 7874638D17D5DDA60040CFC7 /* TEncRateCtrl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874635917D5DD840040CFC7 /* TEncRateCtrl.cpp */; };
    43                 7874638E17D5DDA60040CFC7 /* TEncSampleAdaptiveOffset.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874635B17D5DD840040CFC7 /* TEncSampleAdaptiveOffset.cpp */; };
    44                 7874638F17D5DDA60040CFC7 /* TEncSbac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874635D17D5DD840040CFC7 /* TEncSbac.cpp */; };
    45                 7874639017D5DDA60040CFC7 /* TEncSearch.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874635F17D5DD840040CFC7 /* TEncSearch.cpp */; };
    46                 7874639117D5DDA60040CFC7 /* TEncSlice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874636117D5DD840040CFC7 /* TEncSlice.cpp */; };
    47                 7874639217D5DDA60040CFC7 /* TEncTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874636317D5DD840040CFC7 /* TEncTop.cpp */; };
    48                 7874639317D5DDA60040CFC7 /* WeightPredAnalysis.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874636517D5DD840040CFC7 /* WeightPredAnalysis.cpp */; };
    49                 7874639417D5DE070040CFC7 /* TComPrediction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874630E17D5DD840040CFC7 /* TComPrediction.cpp */; };
    50                 7874639517D5DE070040CFC7 /* TComRdCost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874631017D5DD840040CFC7 /* TComRdCost.cpp */; };
    51                 7874639617D5DE070040CFC7 /* TComRdCostWeightPrediction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874631217D5DD840040CFC7 /* TComRdCostWeightPrediction.cpp */; };
    52                 7874639717D5DE070040CFC7 /* TComRom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874631417D5DD840040CFC7 /* TComRom.cpp */; };
    53                 7874639817D5DE070040CFC7 /* TComSampleAdaptiveOffset.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874631617D5DD840040CFC7 /* TComSampleAdaptiveOffset.cpp */; };
    54                 7874639917D5DE070040CFC7 /* TComSlice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874631817D5DD840040CFC7 /* TComSlice.cpp */; };
    55                 7874639A17D5DE070040CFC7 /* TComTrQuant.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874631A17D5DD840040CFC7 /* TComTrQuant.cpp */; };
    56                 7874639B17D5DE070040CFC7 /* TComWedgelet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874631C17D5DD840040CFC7 /* TComWedgelet.cpp */; };
    57                 7874639C17D5DE070040CFC7 /* TComWeightPrediction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874631E17D5DD840040CFC7 /* TComWeightPrediction.cpp */; };
    58                 7874639D17D5DE070040CFC7 /* TComYuv.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874632017D5DD840040CFC7 /* TComYuv.cpp */; };
    59                 7874639E17D5DE230040CFC7 /* TComMotionInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874630217D5DD840040CFC7 /* TComMotionInfo.cpp */; };
    60                 7874639F17D5DE230040CFC7 /* TComPattern.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874630517D5DD840040CFC7 /* TComPattern.cpp */; };
    61                 787463A017D5DE230040CFC7 /* TComPic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874630717D5DD840040CFC7 /* TComPic.cpp */; };
    62                 787463A117D5DE230040CFC7 /* TComPicSym.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874630917D5DD840040CFC7 /* TComPicSym.cpp */; };
    63                 787463A217D5DE230040CFC7 /* TComPicYuv.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874630B17D5DD840040CFC7 /* TComPicYuv.cpp */; };
    64                 787463A317D5DE230040CFC7 /* TComPicYuvMD5.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874630D17D5DD840040CFC7 /* TComPicYuvMD5.cpp */; };
    65                 787463A417D5DE400040CFC7 /* TComCABACTables.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462F917D5DD840040CFC7 /* TComCABACTables.cpp */; };
    66                 787463A517D5DE400040CFC7 /* TComDataCU.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462FB17D5DD840040CFC7 /* TComDataCU.cpp */; };
    67                 787463A617D5DE400040CFC7 /* TComInterpolationFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462FD17D5DD840040CFC7 /* TComInterpolationFilter.cpp */; };
    68                 787463A717D5DE400040CFC7 /* TComLoopFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874630017D5DD840040CFC7 /* TComLoopFilter.cpp */; };
    69                 787463A817D5DE4B0040CFC7 /* TComBitStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462F717D5DD840040CFC7 /* TComBitStream.cpp */; };
    70                 787463A917D5DE640040CFC7 /* ContextModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462EE17D5DD840040CFC7 /* ContextModel.cpp */; };
    71                 787463AA17D5DE640040CFC7 /* ContextModel3DBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462F017D5DD840040CFC7 /* ContextModel3DBuffer.cpp */; };
    72                 787463AB17D5DE640040CFC7 /* SEI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462F417D5DD840040CFC7 /* SEI.cpp */; };
    73                 787463AC17D5DE8A0040CFC7 /* TVideoIOYuv.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874637C17D5DD840040CFC7 /* TVideoIOYuv.cpp */; };
    74                 787463AD17D5DE980040CFC7 /* TRenFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874636B17D5DD840040CFC7 /* TRenFilter.cpp */; };
    75                 787463AE17D5DE980040CFC7 /* TRenImage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874636D17D5DD840040CFC7 /* TRenImage.cpp */; };
    76                 787463AF17D5DE980040CFC7 /* TRenImagePlane.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874636F17D5DD840040CFC7 /* TRenImagePlane.cpp */; };
    77                 787463B017D5DE980040CFC7 /* TRenInterpFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874637117D5DD840040CFC7 /* TRenInterpFilter.cpp */; };
    78                 787463B117D5DE9D0040CFC7 /* TRenModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874637317D5DD840040CFC7 /* TRenModel.cpp */; };
    79                 787463B217D5DE9D0040CFC7 /* TRenModSetupStrParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874637517D5DD840040CFC7 /* TRenModSetupStrParser.cpp */; };
    80                 787463B317D5DE9D0040CFC7 /* TRenSingleModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874637717D5DD840040CFC7 /* TRenSingleModel.cpp */; };
    81                 787463B417D5DE9D0040CFC7 /* TRenTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874637917D5DD840040CFC7 /* TRenTop.cpp */; };
    82                 787463B517D5DEAF0040CFC7 /* program_options_lite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462E717D5DD840040CFC7 /* program_options_lite.cpp */; };
    83                 787463B617D5DEAF0040CFC7 /* TAppComCamPara.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462E917D5DD840040CFC7 /* TAppComCamPara.cpp */; };
    84                 787463B717D5DED40040CFC7 /* libmd5.c in Sources */ = {isa = PBXBuildFile; fileRef = 787462E317D5DD840040CFC7 /* libmd5.c */; };
    85                 787463B817D5DEE80040CFC7 /* AnnexBread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874632417D5DD840040CFC7 /* AnnexBread.cpp */; };
    86                 787463B917D5DEE80040CFC7 /* NALread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874632617D5DD840040CFC7 /* NALread.cpp */; };
    87                 787463BA17D5DEE80040CFC7 /* SEIread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874632817D5DD840040CFC7 /* SEIread.cpp */; };
    88                 787463BB17D5DEE80040CFC7 /* SyntaxElementParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874632A17D5DD840040CFC7 /* SyntaxElementParser.cpp */; };
    89                 787463BC17D5DEE80040CFC7 /* TDecBinCoderCABAC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874632D17D5DD840040CFC7 /* TDecBinCoderCABAC.cpp */; };
    90                 787463BD17D5DEE80040CFC7 /* TDecCAVLC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874632F17D5DD840040CFC7 /* TDecCAVLC.cpp */; };
    91                 787463BE17D5DEE80040CFC7 /* TDecCu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874633117D5DD840040CFC7 /* TDecCu.cpp */; };
    92                 787463BF17D5DEE80040CFC7 /* TDecEntropy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874633317D5DD840040CFC7 /* TDecEntropy.cpp */; };
    93                 787463C017D5DEE80040CFC7 /* TDecGop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874633517D5DD840040CFC7 /* TDecGop.cpp */; };
    94                 787463C117D5DEE80040CFC7 /* TDecSbac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874633717D5DD840040CFC7 /* TDecSbac.cpp */; };
    95                 787463C217D5DEE80040CFC7 /* TDecSlice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874633917D5DD840040CFC7 /* TDecSlice.cpp */; };
    96                 787463C317D5DEE80040CFC7 /* TDecTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874633B17D5DD840040CFC7 /* TDecTop.cpp */; };
    97                 787463C417D5DEFB0040CFC7 /* decmain.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462BB17D5DD7B0040CFC7 /* decmain.cpp */; };
    98                 787463C517D5DEFB0040CFC7 /* TAppDecCfg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462BC17D5DD7B0040CFC7 /* TAppDecCfg.cpp */; };
    99                 787463C617D5DEFB0040CFC7 /* TAppDecTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462BE17D5DD7B0040CFC7 /* TAppDecTop.cpp */; };
    100                 787463C717D5DF080040CFC7 /* extrmain.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462C717D5DD7B0040CFC7 /* extrmain.cpp */; };
    101                 787463C817D5DF080040CFC7 /* TAppExtrCfg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462C817D5DD7B0040CFC7 /* TAppExtrCfg.cpp */; };
    102                 787463C917D5DF080040CFC7 /* TAppExtrTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462CA17D5DD7B0040CFC7 /* TAppExtrTop.cpp */; };
    103                 787463CA17D5DF0E0040CFC7 /* RendererMain.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462CD17D5DD7B0040CFC7 /* RendererMain.cpp */; };
    104                 787463CB17D5DF0E0040CFC7 /* TAppRendererCfg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462CE17D5DD7B0040CFC7 /* TAppRendererCfg.cpp */; };
    105                 787463CC17D5DF0E0040CFC7 /* TAppRendererTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 787462D017D5DD7B0040CFC7 /* TAppRendererTop.cpp */; };
    106                 787463CD17D5DF220040CFC7 /* TExtrTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7874636817D5DD840040CFC7 /* TExtrTop.cpp */; };
     27                784870741B0B62D10098FD5A /* decmain.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FA71B0B62C70098FD5A /* decmain.cpp */; };
     28                784870751B0B62D10098FD5A /* TAppDecCfg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FA81B0B62C70098FD5A /* TAppDecCfg.cpp */; };
     29                784870761B0B62D10098FD5A /* TAppDecTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FAA1B0B62C70098FD5A /* TAppDecTop.cpp */; };
     30                784870771B0B62D80098FD5A /* encmain.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FAD1B0B62C70098FD5A /* encmain.cpp */; };
     31                784870781B0B62D80098FD5A /* TAppEncCfg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FAE1B0B62C70098FD5A /* TAppEncCfg.cpp */; };
     32                784870791B0B62D80098FD5A /* TAppEncTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FB01B0B62C70098FD5A /* TAppEncTop.cpp */; };
     33                7848707A1B0B62E10098FD5A /* extrmain.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FB31B0B62C70098FD5A /* extrmain.cpp */; };
     34                7848707B1B0B62E10098FD5A /* TAppExtrCfg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FB41B0B62C70098FD5A /* TAppExtrCfg.cpp */; };
     35                7848707C1B0B62E10098FD5A /* TAppExtrTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FB61B0B62C70098FD5A /* TAppExtrTop.cpp */; };
     36                7848707D1B0B62E80098FD5A /* RendererMain.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FB91B0B62C70098FD5A /* RendererMain.cpp */; };
     37                7848707E1B0B62E80098FD5A /* TAppRendererCfg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FBA1B0B62C70098FD5A /* TAppRendererCfg.cpp */; };
     38                7848707F1B0B62E80098FD5A /* TAppRendererTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FBC1B0B62C70098FD5A /* TAppRendererTop.cpp */; };
     39                784870801B0B63040098FD5A /* program_options_lite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FD41B0B62C70098FD5A /* program_options_lite.cpp */; };
     40                784870811B0B63040098FD5A /* TAppComCamPara.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FD61B0B62C70098FD5A /* TAppComCamPara.cpp */; };
     41                784870821B0B63230098FD5A /* ContextModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FDB1B0B62C70098FD5A /* ContextModel.cpp */; };
     42                784870831B0B63230098FD5A /* ContextModel3DBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FDD1B0B62C70098FD5A /* ContextModel3DBuffer.cpp */; };
     43                784870841B0B63230098FD5A /* Debug.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FE01B0B62C70098FD5A /* Debug.cpp */; };
     44                784870851B0B63230098FD5A /* SEI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FE31B0B62C70098FD5A /* SEI.cpp */; };
     45                784870861B0B63230098FD5A /* TComBitStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FE61B0B62C70098FD5A /* TComBitStream.cpp */; };
     46                784870871B0B63230098FD5A /* TComCABACTables.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FE81B0B62C70098FD5A /* TComCABACTables.cpp */; };
     47                784870881B0B63230098FD5A /* TComChromaFormat.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FEA1B0B62C70098FD5A /* TComChromaFormat.cpp */; };
     48                784870891B0B63230098FD5A /* TComDataCU.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FED1B0B62C70098FD5A /* TComDataCU.cpp */; };
     49                7848708A1B0B63230098FD5A /* TComInterpolationFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FEF1B0B62C70098FD5A /* TComInterpolationFilter.cpp */; };
     50                7848708B1B0B63230098FD5A /* TComLoopFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FF21B0B62C70098FD5A /* TComLoopFilter.cpp */; };
     51                7848708C1B0B63230098FD5A /* TComMotionInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FF41B0B62C70098FD5A /* TComMotionInfo.cpp */; };
     52                7848708D1B0B63230098FD5A /* TComPattern.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FF71B0B62C70098FD5A /* TComPattern.cpp */; };
     53                7848708E1B0B63230098FD5A /* TComPic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FF91B0B62C70098FD5A /* TComPic.cpp */; };
     54                7848708F1B0B63230098FD5A /* TComPicSym.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FFB1B0B62C70098FD5A /* TComPicSym.cpp */; };
     55                784870901B0B63230098FD5A /* TComPicYuv.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FFD1B0B62C70098FD5A /* TComPicYuv.cpp */; };
     56                784870911B0B63230098FD5A /* TComPicYuvMD5.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 78486FFF1B0B62C70098FD5A /* TComPicYuvMD5.cpp */; };
     57                784870921B0B63230098FD5A /* TComPrediction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870001B0B62C70098FD5A /* TComPrediction.cpp */; };
     58                784870931B0B63230098FD5A /* TComRdCost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870021B0B62C70098FD5A /* TComRdCost.cpp */; };
     59                784870941B0B63230098FD5A /* TComRdCostWeightPrediction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870041B0B62C70098FD5A /* TComRdCostWeightPrediction.cpp */; };
     60                784870951B0B63230098FD5A /* TComRom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870071B0B62C70098FD5A /* TComRom.cpp */; };
     61                784870961B0B63230098FD5A /* TComSampleAdaptiveOffset.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870091B0B62C70098FD5A /* TComSampleAdaptiveOffset.cpp */; };
     62                784870971B0B63230098FD5A /* TComSlice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848700B1B0B62C70098FD5A /* TComSlice.cpp */; };
     63                784870981B0B63230098FD5A /* TComTrQuant.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848700D1B0B62C70098FD5A /* TComTrQuant.cpp */; };
     64                784870991B0B63230098FD5A /* TComTU.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848700F1B0B62C70098FD5A /* TComTU.cpp */; };
     65                7848709A1B0B63230098FD5A /* TComWedgelet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870111B0B62C70098FD5A /* TComWedgelet.cpp */; };
     66                7848709B1B0B63230098FD5A /* TComWeightPrediction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870131B0B62C70098FD5A /* TComWeightPrediction.cpp */; };
     67                7848709C1B0B63230098FD5A /* TComYuv.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870151B0B62C70098FD5A /* TComYuv.cpp */; };
     68                7848709D1B0B63360098FD5A /* AnnexBread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870191B0B62C70098FD5A /* AnnexBread.cpp */; };
     69                7848709E1B0B63360098FD5A /* NALread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848701B1B0B62C70098FD5A /* NALread.cpp */; };
     70                7848709F1B0B63360098FD5A /* SEIread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848701D1B0B62C70098FD5A /* SEIread.cpp */; };
     71                784870A01B0B63360098FD5A /* SyntaxElementParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848701F1B0B62C70098FD5A /* SyntaxElementParser.cpp */; };
     72                784870A11B0B63360098FD5A /* TDecBinCoderCABAC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870221B0B62C70098FD5A /* TDecBinCoderCABAC.cpp */; };
     73                784870A21B0B63360098FD5A /* TDecCAVLC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870241B0B62C70098FD5A /* TDecCAVLC.cpp */; };
     74                784870A31B0B63360098FD5A /* TDecCu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870261B0B62C70098FD5A /* TDecCu.cpp */; };
     75                784870A41B0B63360098FD5A /* TDecEntropy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870281B0B62C70098FD5A /* TDecEntropy.cpp */; };
     76                784870A51B0B63360098FD5A /* TDecGop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848702A1B0B62C70098FD5A /* TDecGop.cpp */; };
     77                784870A61B0B63360098FD5A /* TDecSbac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848702C1B0B62C70098FD5A /* TDecSbac.cpp */; };
     78                784870A71B0B63360098FD5A /* TDecSlice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848702E1B0B62C70098FD5A /* TDecSlice.cpp */; };
     79                784870A81B0B63360098FD5A /* TDecTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870301B0B62C70098FD5A /* TDecTop.cpp */; };
     80                784870A91B0B634A0098FD5A /* NALwrite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870341B0B62C70098FD5A /* NALwrite.cpp */; };
     81                784870AA1B0B634A0098FD5A /* SEIEncoder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870361B0B62C70098FD5A /* SEIEncoder.cpp */; };
     82                784870AB1B0B634A0098FD5A /* SEIwrite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870381B0B62C70098FD5A /* SEIwrite.cpp */; };
     83                784870AC1B0B634A0098FD5A /* SyntaxElementWriter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848703A1B0B62C70098FD5A /* SyntaxElementWriter.cpp */; };
     84                784870AD1B0B634A0098FD5A /* TEncBinCoderCABAC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848703E1B0B62C70098FD5A /* TEncBinCoderCABAC.cpp */; };
     85                784870AE1B0B634A0098FD5A /* TEncBinCoderCABACCounter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870401B0B62C70098FD5A /* TEncBinCoderCABACCounter.cpp */; };
     86                784870AF1B0B634A0098FD5A /* TEncCavlc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870421B0B62C70098FD5A /* TEncCavlc.cpp */; };
     87                784870B01B0B634A0098FD5A /* TEncCu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870451B0B62C70098FD5A /* TEncCu.cpp */; };
     88                784870B11B0B634A0098FD5A /* TEncEntropy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870471B0B62C70098FD5A /* TEncEntropy.cpp */; };
     89                784870B21B0B634A0098FD5A /* TEncGOP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870491B0B62C70098FD5A /* TEncGOP.cpp */; };
     90                784870B31B0B634A0098FD5A /* TEncPic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848704B1B0B62C70098FD5A /* TEncPic.cpp */; };
     91                784870B41B0B634A0098FD5A /* TEncPreanalyzer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848704D1B0B62C70098FD5A /* TEncPreanalyzer.cpp */; };
     92                784870B51B0B634A0098FD5A /* TEncRateCtrl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848704F1B0B62C70098FD5A /* TEncRateCtrl.cpp */; };
     93                784870B61B0B634A0098FD5A /* TEncSampleAdaptiveOffset.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870511B0B62C70098FD5A /* TEncSampleAdaptiveOffset.cpp */; };
     94                784870B71B0B634A0098FD5A /* TEncSbac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870531B0B62C70098FD5A /* TEncSbac.cpp */; };
     95                784870B81B0B634A0098FD5A /* TEncSearch.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870551B0B62C70098FD5A /* TEncSearch.cpp */; };
     96                784870B91B0B634A0098FD5A /* TEncSlice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870571B0B62C70098FD5A /* TEncSlice.cpp */; };
     97                784870BA1B0B634A0098FD5A /* TEncTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870591B0B62C70098FD5A /* TEncTop.cpp */; };
     98                784870BB1B0B634A0098FD5A /* WeightPredAnalysis.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848705B1B0B62C70098FD5A /* WeightPredAnalysis.cpp */; };
     99                784870BC1B0B63520098FD5A /* TExtrTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848705E1B0B62C70098FD5A /* TExtrTop.cpp */; };
     100                784870BD1B0B635C0098FD5A /* TRenFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870611B0B62C70098FD5A /* TRenFilter.cpp */; };
     101                784870BE1B0B635C0098FD5A /* TRenImage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870631B0B62C70098FD5A /* TRenImage.cpp */; };
     102                784870BF1B0B635C0098FD5A /* TRenImagePlane.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870651B0B62C70098FD5A /* TRenImagePlane.cpp */; };
     103                784870C01B0B635C0098FD5A /* TRenInterpFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870671B0B62C70098FD5A /* TRenInterpFilter.cpp */; };
     104                784870C11B0B635C0098FD5A /* TRenModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870691B0B62C70098FD5A /* TRenModel.cpp */; };
     105                784870C21B0B635C0098FD5A /* TRenModSetupStrParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848706B1B0B62C70098FD5A /* TRenModSetupStrParser.cpp */; };
     106                784870C31B0B635C0098FD5A /* TRenSingleModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848706D1B0B62C70098FD5A /* TRenSingleModel.cpp */; };
     107                784870C41B0B635C0098FD5A /* TRenTop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7848706F1B0B62C70098FD5A /* TRenTop.cpp */; };
     108                784870C51B0B63610098FD5A /* TVideoIOYuv.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 784870721B0B62C70098FD5A /* TVideoIOYuv.cpp */; };
     109                784870C61B0B63740098FD5A /* libmd5.c in Sources */ = {isa = PBXBuildFile; fileRef = 78486FD01B0B62C70098FD5A /* libmd5.c */; };
    107110                78C5940D15872233004401C5 /* libTLibCommon.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6767959411AD61BB00421804 /* libTLibCommon.a */; };
    108111                78C5940E15872233004401C5 /* libTLibEncoder.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6767961911AD626F00421804 /* libTLibEncoder.a */; };
     
    289292                6767966A11AD635600421804 /* TAppEncoder */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = TAppEncoder; sourceTree = BUILT_PRODUCTS_DIR; };
    290293                6782E0DE11AD691A00E8FFB8 /* TAppDecoder */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = TAppDecoder; sourceTree = BUILT_PRODUCTS_DIR; };
    291                 785E596C17D9AFA8001F6DD1 /* TStatHeader.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TStatHeader.cpp; sourceTree = "<group>"; };
    292                 785E596D17D9AFA8001F6DD1 /* TStatHeader.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TStatHeader.h; sourceTree = "<group>"; };
    293                 785E596E17D9AFA8001F6DD1 /* TStatLayer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TStatLayer.cpp; sourceTree = "<group>"; };
    294                 785E596F17D9AFA8001F6DD1 /* TStatLayer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TStatLayer.h; sourceTree = "<group>"; };
    295                 785E597017D9AFA8001F6DD1 /* TStatTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TStatTop.cpp; sourceTree = "<group>"; };
    296                 785E597117D9AFA8001F6DD1 /* TStatTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TStatTop.h; sourceTree = "<group>"; };
    297                 787462BB17D5DD7B0040CFC7 /* decmain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = decmain.cpp; sourceTree = "<group>"; };
    298                 787462BC17D5DD7B0040CFC7 /* TAppDecCfg.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppDecCfg.cpp; sourceTree = "<group>"; };
    299                 787462BD17D5DD7B0040CFC7 /* TAppDecCfg.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppDecCfg.h; sourceTree = "<group>"; };
    300                 787462BE17D5DD7B0040CFC7 /* TAppDecTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppDecTop.cpp; sourceTree = "<group>"; };
    301                 787462BF17D5DD7B0040CFC7 /* TAppDecTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppDecTop.h; sourceTree = "<group>"; };
    302                 787462C117D5DD7B0040CFC7 /* encmain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = encmain.cpp; sourceTree = "<group>"; };
    303                 787462C217D5DD7B0040CFC7 /* TAppEncCfg.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppEncCfg.cpp; sourceTree = "<group>"; };
    304                 787462C317D5DD7B0040CFC7 /* TAppEncCfg.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppEncCfg.h; sourceTree = "<group>"; };
    305                 787462C417D5DD7B0040CFC7 /* TAppEncTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppEncTop.cpp; sourceTree = "<group>"; };
    306                 787462C517D5DD7B0040CFC7 /* TAppEncTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppEncTop.h; sourceTree = "<group>"; };
    307                 787462C717D5DD7B0040CFC7 /* extrmain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = extrmain.cpp; sourceTree = "<group>"; };
    308                 787462C817D5DD7B0040CFC7 /* TAppExtrCfg.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppExtrCfg.cpp; sourceTree = "<group>"; };
    309                 787462C917D5DD7B0040CFC7 /* TAppExtrCfg.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppExtrCfg.h; sourceTree = "<group>"; };
    310                 787462CA17D5DD7B0040CFC7 /* TAppExtrTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppExtrTop.cpp; sourceTree = "<group>"; };
    311                 787462CB17D5DD7B0040CFC7 /* TAppExtrTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppExtrTop.h; sourceTree = "<group>"; };
    312                 787462CD17D5DD7B0040CFC7 /* RendererMain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = RendererMain.cpp; sourceTree = "<group>"; };
    313                 787462CE17D5DD7B0040CFC7 /* TAppRendererCfg.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppRendererCfg.cpp; sourceTree = "<group>"; };
    314                 787462CF17D5DD7B0040CFC7 /* TAppRendererCfg.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppRendererCfg.h; sourceTree = "<group>"; };
    315                 787462D017D5DD7B0040CFC7 /* TAppRendererTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppRendererTop.cpp; sourceTree = "<group>"; };
    316                 787462D117D5DD7B0040CFC7 /* TAppRendererTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppRendererTop.h; sourceTree = "<group>"; };
    317                 787462D317D5DD7B0040CFC7 /* annexBbytecount.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = annexBbytecount.cpp; sourceTree = "<group>"; };
    318                 787462D517D5DD7B0040CFC7 /* encode.shl */ = {isa = PBXFileReference; lastKnownFileType = text; path = encode.shl; sourceTree = "<group>"; };
    319                 787462D617D5DD7B0040CFC7 /* encodeCommand.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = encodeCommand.sh; sourceTree = "<group>"; };
    320                 787462D717D5DD7B0040CFC7 /* ExtractBitrates.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ExtractBitrates.cpp; sourceTree = "<group>"; };
    321                 787462D817D5DD7B0040CFC7 /* ExtractBitrates.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ExtractBitrates.h; sourceTree = "<group>"; };
    322                 787462D917D5DD7B0040CFC7 /* ExtractBitratesMain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ExtractBitratesMain.cpp; sourceTree = "<group>"; };
    323                 787462DA17D5DD7B0040CFC7 /* GuessLambdaModifiers.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GuessLambdaModifiers.cpp; sourceTree = "<group>"; };
    324                 787462DB17D5DD7B0040CFC7 /* GuessLambdaModifiers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GuessLambdaModifiers.h; sourceTree = "<group>"; };
    325                 787462DC17D5DD7B0040CFC7 /* GuessLambdaModifiersMain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GuessLambdaModifiersMain.cpp; sourceTree = "<group>"; };
    326                 787462DD17D5DD7B0040CFC7 /* makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; path = makefile; sourceTree = "<group>"; };
    327                 787462DE17D5DD7B0040CFC7 /* QuickStartGuide.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = QuickStartGuide.pdf; sourceTree = "<group>"; };
    328                 787462DF17D5DD7B0040CFC7 /* RuntimeError.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RuntimeError.h; sourceTree = "<group>"; };
    329                 787462E017D5DD7B0040CFC7 /* targetBitrates.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = targetBitrates.sh; sourceTree = "<group>"; };
    330                 787462E117D5DD7B0040CFC7 /* convert_NtoMbit_YCbCr.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = convert_NtoMbit_YCbCr.cpp; sourceTree = "<group>"; };
    331                 787462E317D5DD840040CFC7 /* libmd5.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = libmd5.c; sourceTree = "<group>"; };
    332                 787462E417D5DD840040CFC7 /* libmd5.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = libmd5.h; sourceTree = "<group>"; };
    333                 787462E517D5DD840040CFC7 /* MD5.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MD5.h; sourceTree = "<group>"; };
    334                 787462E717D5DD840040CFC7 /* program_options_lite.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = program_options_lite.cpp; sourceTree = "<group>"; };
    335                 787462E817D5DD840040CFC7 /* program_options_lite.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = program_options_lite.h; sourceTree = "<group>"; };
    336                 787462E917D5DD840040CFC7 /* TAppComCamPara.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppComCamPara.cpp; sourceTree = "<group>"; };
    337                 787462EA17D5DD840040CFC7 /* TAppComCamPara.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppComCamPara.h; sourceTree = "<group>"; };
    338                 787462EC17D5DD840040CFC7 /* AccessUnit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AccessUnit.h; sourceTree = "<group>"; };
    339                 787462ED17D5DD840040CFC7 /* CommonDef.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CommonDef.h; sourceTree = "<group>"; };
    340                 787462EE17D5DD840040CFC7 /* ContextModel.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ContextModel.cpp; sourceTree = "<group>"; };
    341                 787462EF17D5DD840040CFC7 /* ContextModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ContextModel.h; sourceTree = "<group>"; };
    342                 787462F017D5DD840040CFC7 /* ContextModel3DBuffer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ContextModel3DBuffer.cpp; sourceTree = "<group>"; };
    343                 787462F117D5DD840040CFC7 /* ContextModel3DBuffer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ContextModel3DBuffer.h; sourceTree = "<group>"; };
    344                 787462F217D5DD840040CFC7 /* ContextTables.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ContextTables.h; sourceTree = "<group>"; };
    345                 787462F317D5DD840040CFC7 /* NAL.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NAL.h; sourceTree = "<group>"; };
    346                 787462F417D5DD840040CFC7 /* SEI.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SEI.cpp; sourceTree = "<group>"; };
    347                 787462F517D5DD840040CFC7 /* SEI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SEI.h; sourceTree = "<group>"; };
    348                 787462F617D5DD840040CFC7 /* TComBitCounter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComBitCounter.h; sourceTree = "<group>"; };
    349                 787462F717D5DD840040CFC7 /* TComBitStream.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComBitStream.cpp; sourceTree = "<group>"; };
    350                 787462F817D5DD840040CFC7 /* TComBitStream.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComBitStream.h; sourceTree = "<group>"; };
    351                 787462F917D5DD840040CFC7 /* TComCABACTables.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComCABACTables.cpp; sourceTree = "<group>"; };
    352                 787462FA17D5DD840040CFC7 /* TComCABACTables.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComCABACTables.h; sourceTree = "<group>"; };
    353                 787462FB17D5DD840040CFC7 /* TComDataCU.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComDataCU.cpp; sourceTree = "<group>"; };
    354                 787462FC17D5DD840040CFC7 /* TComDataCU.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComDataCU.h; sourceTree = "<group>"; };
    355                 787462FD17D5DD840040CFC7 /* TComInterpolationFilter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComInterpolationFilter.cpp; sourceTree = "<group>"; };
    356                 787462FE17D5DD840040CFC7 /* TComInterpolationFilter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComInterpolationFilter.h; sourceTree = "<group>"; };
    357                 787462FF17D5DD840040CFC7 /* TComList.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComList.h; sourceTree = "<group>"; };
    358                 7874630017D5DD840040CFC7 /* TComLoopFilter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComLoopFilter.cpp; sourceTree = "<group>"; };
    359                 7874630117D5DD840040CFC7 /* TComLoopFilter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComLoopFilter.h; sourceTree = "<group>"; };
    360                 7874630217D5DD840040CFC7 /* TComMotionInfo.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComMotionInfo.cpp; sourceTree = "<group>"; };
    361                 7874630317D5DD840040CFC7 /* TComMotionInfo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComMotionInfo.h; sourceTree = "<group>"; };
    362                 7874630417D5DD840040CFC7 /* TComMv.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComMv.h; sourceTree = "<group>"; };
    363                 7874630517D5DD840040CFC7 /* TComPattern.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComPattern.cpp; sourceTree = "<group>"; };
    364                 7874630617D5DD840040CFC7 /* TComPattern.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComPattern.h; sourceTree = "<group>"; };
    365                 7874630717D5DD840040CFC7 /* TComPic.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComPic.cpp; sourceTree = "<group>"; };
    366                 7874630817D5DD840040CFC7 /* TComPic.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComPic.h; sourceTree = "<group>"; };
    367                 7874630917D5DD840040CFC7 /* TComPicSym.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComPicSym.cpp; sourceTree = "<group>"; };
    368                 7874630A17D5DD840040CFC7 /* TComPicSym.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComPicSym.h; sourceTree = "<group>"; };
    369                 7874630B17D5DD840040CFC7 /* TComPicYuv.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComPicYuv.cpp; sourceTree = "<group>"; };
    370                 7874630C17D5DD840040CFC7 /* TComPicYuv.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComPicYuv.h; sourceTree = "<group>"; };
    371                 7874630D17D5DD840040CFC7 /* TComPicYuvMD5.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComPicYuvMD5.cpp; sourceTree = "<group>"; };
    372                 7874630E17D5DD840040CFC7 /* TComPrediction.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComPrediction.cpp; sourceTree = "<group>"; };
    373                 7874630F17D5DD840040CFC7 /* TComPrediction.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComPrediction.h; sourceTree = "<group>"; };
    374                 7874631017D5DD840040CFC7 /* TComRdCost.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComRdCost.cpp; sourceTree = "<group>"; };
    375                 7874631117D5DD840040CFC7 /* TComRdCost.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComRdCost.h; sourceTree = "<group>"; };
    376                 7874631217D5DD840040CFC7 /* TComRdCostWeightPrediction.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComRdCostWeightPrediction.cpp; sourceTree = "<group>"; };
    377                 7874631317D5DD840040CFC7 /* TComRdCostWeightPrediction.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComRdCostWeightPrediction.h; sourceTree = "<group>"; };
    378                 7874631417D5DD840040CFC7 /* TComRom.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComRom.cpp; sourceTree = "<group>"; };
    379                 7874631517D5DD840040CFC7 /* TComRom.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComRom.h; sourceTree = "<group>"; };
    380                 7874631617D5DD840040CFC7 /* TComSampleAdaptiveOffset.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComSampleAdaptiveOffset.cpp; sourceTree = "<group>"; };
    381                 7874631717D5DD840040CFC7 /* TComSampleAdaptiveOffset.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComSampleAdaptiveOffset.h; sourceTree = "<group>"; };
    382                 7874631817D5DD840040CFC7 /* TComSlice.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComSlice.cpp; sourceTree = "<group>"; };
    383                 7874631917D5DD840040CFC7 /* TComSlice.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComSlice.h; sourceTree = "<group>"; };
    384                 7874631A17D5DD840040CFC7 /* TComTrQuant.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComTrQuant.cpp; sourceTree = "<group>"; };
    385                 7874631B17D5DD840040CFC7 /* TComTrQuant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComTrQuant.h; sourceTree = "<group>"; };
    386                 7874631C17D5DD840040CFC7 /* TComWedgelet.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComWedgelet.cpp; sourceTree = "<group>"; };
    387                 7874631D17D5DD840040CFC7 /* TComWedgelet.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComWedgelet.h; sourceTree = "<group>"; };
    388                 7874631E17D5DD840040CFC7 /* TComWeightPrediction.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComWeightPrediction.cpp; sourceTree = "<group>"; };
    389                 7874631F17D5DD840040CFC7 /* TComWeightPrediction.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComWeightPrediction.h; sourceTree = "<group>"; };
    390                 7874632017D5DD840040CFC7 /* TComYuv.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComYuv.cpp; sourceTree = "<group>"; };
    391                 7874632117D5DD840040CFC7 /* TComYuv.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComYuv.h; sourceTree = "<group>"; };
    392                 7874632217D5DD840040CFC7 /* TypeDef.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TypeDef.h; sourceTree = "<group>"; };
    393                 7874632417D5DD840040CFC7 /* AnnexBread.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = AnnexBread.cpp; sourceTree = "<group>"; };
    394                 7874632517D5DD840040CFC7 /* AnnexBread.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AnnexBread.h; sourceTree = "<group>"; };
    395                 7874632617D5DD840040CFC7 /* NALread.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = NALread.cpp; sourceTree = "<group>"; };
    396                 7874632717D5DD840040CFC7 /* NALread.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NALread.h; sourceTree = "<group>"; };
    397                 7874632817D5DD840040CFC7 /* SEIread.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SEIread.cpp; sourceTree = "<group>"; };
    398                 7874632917D5DD840040CFC7 /* SEIread.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SEIread.h; sourceTree = "<group>"; };
    399                 7874632A17D5DD840040CFC7 /* SyntaxElementParser.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SyntaxElementParser.cpp; sourceTree = "<group>"; };
    400                 7874632B17D5DD840040CFC7 /* SyntaxElementParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SyntaxElementParser.h; sourceTree = "<group>"; };
    401                 7874632C17D5DD840040CFC7 /* TDecBinCoder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecBinCoder.h; sourceTree = "<group>"; };
    402                 7874632D17D5DD840040CFC7 /* TDecBinCoderCABAC.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecBinCoderCABAC.cpp; sourceTree = "<group>"; };
    403                 7874632E17D5DD840040CFC7 /* TDecBinCoderCABAC.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecBinCoderCABAC.h; sourceTree = "<group>"; };
    404                 7874632F17D5DD840040CFC7 /* TDecCAVLC.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecCAVLC.cpp; sourceTree = "<group>"; };
    405                 7874633017D5DD840040CFC7 /* TDecCAVLC.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecCAVLC.h; sourceTree = "<group>"; };
    406                 7874633117D5DD840040CFC7 /* TDecCu.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecCu.cpp; sourceTree = "<group>"; };
    407                 7874633217D5DD840040CFC7 /* TDecCu.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecCu.h; sourceTree = "<group>"; };
    408                 7874633317D5DD840040CFC7 /* TDecEntropy.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecEntropy.cpp; sourceTree = "<group>"; };
    409                 7874633417D5DD840040CFC7 /* TDecEntropy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecEntropy.h; sourceTree = "<group>"; };
    410                 7874633517D5DD840040CFC7 /* TDecGop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecGop.cpp; sourceTree = "<group>"; };
    411                 7874633617D5DD840040CFC7 /* TDecGop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecGop.h; sourceTree = "<group>"; };
    412                 7874633717D5DD840040CFC7 /* TDecSbac.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecSbac.cpp; sourceTree = "<group>"; };
    413                 7874633817D5DD840040CFC7 /* TDecSbac.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecSbac.h; sourceTree = "<group>"; };
    414                 7874633917D5DD840040CFC7 /* TDecSlice.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecSlice.cpp; sourceTree = "<group>"; };
    415                 7874633A17D5DD840040CFC7 /* TDecSlice.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecSlice.h; sourceTree = "<group>"; };
    416                 7874633B17D5DD840040CFC7 /* TDecTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecTop.cpp; sourceTree = "<group>"; };
    417                 7874633C17D5DD840040CFC7 /* TDecTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecTop.h; sourceTree = "<group>"; };
    418                 7874633E17D5DD840040CFC7 /* AnnexBwrite.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AnnexBwrite.h; sourceTree = "<group>"; };
    419                 7874633F17D5DD840040CFC7 /* NALwrite.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = NALwrite.cpp; sourceTree = "<group>"; };
    420                 7874634017D5DD840040CFC7 /* NALwrite.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NALwrite.h; sourceTree = "<group>"; };
    421                 7874634117D5DD840040CFC7 /* SEIwrite.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SEIwrite.cpp; sourceTree = "<group>"; };
    422                 7874634217D5DD840040CFC7 /* SEIwrite.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SEIwrite.h; sourceTree = "<group>"; };
    423                 7874634317D5DD840040CFC7 /* SyntaxElementWriter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SyntaxElementWriter.cpp; sourceTree = "<group>"; };
    424                 7874634417D5DD840040CFC7 /* SyntaxElementWriter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SyntaxElementWriter.h; sourceTree = "<group>"; };
    425                 7874634517D5DD840040CFC7 /* TEncAnalyze.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncAnalyze.cpp; sourceTree = "<group>"; };
    426                 7874634617D5DD840040CFC7 /* TEncAnalyze.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncAnalyze.h; sourceTree = "<group>"; };
    427                 7874634717D5DD840040CFC7 /* TEncBinCoder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncBinCoder.h; sourceTree = "<group>"; };
    428                 7874634817D5DD840040CFC7 /* TEncBinCoderCABAC.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncBinCoderCABAC.cpp; sourceTree = "<group>"; };
    429                 7874634917D5DD840040CFC7 /* TEncBinCoderCABAC.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncBinCoderCABAC.h; sourceTree = "<group>"; };
    430                 7874634A17D5DD840040CFC7 /* TEncBinCoderCABACCounter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncBinCoderCABACCounter.cpp; sourceTree = "<group>"; };
    431                 7874634B17D5DD840040CFC7 /* TEncBinCoderCABACCounter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncBinCoderCABACCounter.h; sourceTree = "<group>"; };
    432                 7874634C17D5DD840040CFC7 /* TEncCavlc.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncCavlc.cpp; sourceTree = "<group>"; };
    433                 7874634D17D5DD840040CFC7 /* TEncCavlc.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncCavlc.h; sourceTree = "<group>"; };
    434                 7874634E17D5DD840040CFC7 /* TEncCfg.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncCfg.h; sourceTree = "<group>"; };
    435                 7874634F17D5DD840040CFC7 /* TEncCu.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncCu.cpp; sourceTree = "<group>"; };
    436                 7874635017D5DD840040CFC7 /* TEncCu.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncCu.h; sourceTree = "<group>"; };
    437                 7874635117D5DD840040CFC7 /* TEncEntropy.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncEntropy.cpp; sourceTree = "<group>"; };
    438                 7874635217D5DD840040CFC7 /* TEncEntropy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncEntropy.h; sourceTree = "<group>"; };
    439                 7874635317D5DD840040CFC7 /* TEncGOP.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncGOP.cpp; sourceTree = "<group>"; };
    440                 7874635417D5DD840040CFC7 /* TEncGOP.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncGOP.h; sourceTree = "<group>"; };
    441                 7874635517D5DD840040CFC7 /* TEncPic.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncPic.cpp; sourceTree = "<group>"; };
    442                 7874635617D5DD840040CFC7 /* TEncPic.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncPic.h; sourceTree = "<group>"; };
    443                 7874635717D5DD840040CFC7 /* TEncPreanalyzer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncPreanalyzer.cpp; sourceTree = "<group>"; };
    444                 7874635817D5DD840040CFC7 /* TEncPreanalyzer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncPreanalyzer.h; sourceTree = "<group>"; };
    445                 7874635917D5DD840040CFC7 /* TEncRateCtrl.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncRateCtrl.cpp; sourceTree = "<group>"; };
    446                 7874635A17D5DD840040CFC7 /* TEncRateCtrl.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncRateCtrl.h; sourceTree = "<group>"; };
    447                 7874635B17D5DD840040CFC7 /* TEncSampleAdaptiveOffset.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncSampleAdaptiveOffset.cpp; sourceTree = "<group>"; };
    448                 7874635C17D5DD840040CFC7 /* TEncSampleAdaptiveOffset.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncSampleAdaptiveOffset.h; sourceTree = "<group>"; };
    449                 7874635D17D5DD840040CFC7 /* TEncSbac.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncSbac.cpp; sourceTree = "<group>"; };
    450                 7874635E17D5DD840040CFC7 /* TEncSbac.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncSbac.h; sourceTree = "<group>"; };
    451                 7874635F17D5DD840040CFC7 /* TEncSearch.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncSearch.cpp; sourceTree = "<group>"; };
    452                 7874636017D5DD840040CFC7 /* TEncSearch.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncSearch.h; sourceTree = "<group>"; };
    453                 7874636117D5DD840040CFC7 /* TEncSlice.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncSlice.cpp; sourceTree = "<group>"; };
    454                 7874636217D5DD840040CFC7 /* TEncSlice.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncSlice.h; sourceTree = "<group>"; };
    455                 7874636317D5DD840040CFC7 /* TEncTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncTop.cpp; sourceTree = "<group>"; };
    456                 7874636417D5DD840040CFC7 /* TEncTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncTop.h; sourceTree = "<group>"; };
    457                 7874636517D5DD840040CFC7 /* WeightPredAnalysis.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WeightPredAnalysis.cpp; sourceTree = "<group>"; };
    458                 7874636617D5DD840040CFC7 /* WeightPredAnalysis.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WeightPredAnalysis.h; sourceTree = "<group>"; };
    459                 7874636817D5DD840040CFC7 /* TExtrTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TExtrTop.cpp; sourceTree = "<group>"; };
    460                 7874636917D5DD840040CFC7 /* TExtrTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TExtrTop.h; sourceTree = "<group>"; };
    461                 7874636B17D5DD840040CFC7 /* TRenFilter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenFilter.cpp; sourceTree = "<group>"; };
    462                 7874636C17D5DD840040CFC7 /* TRenFilter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenFilter.h; sourceTree = "<group>"; };
    463                 7874636D17D5DD840040CFC7 /* TRenImage.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenImage.cpp; sourceTree = "<group>"; };
    464                 7874636E17D5DD840040CFC7 /* TRenImage.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenImage.h; sourceTree = "<group>"; };
    465                 7874636F17D5DD840040CFC7 /* TRenImagePlane.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenImagePlane.cpp; sourceTree = "<group>"; };
    466                 7874637017D5DD840040CFC7 /* TRenImagePlane.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenImagePlane.h; sourceTree = "<group>"; };
    467                 7874637117D5DD840040CFC7 /* TRenInterpFilter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenInterpFilter.cpp; sourceTree = "<group>"; };
    468                 7874637217D5DD840040CFC7 /* TRenInterpFilter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenInterpFilter.h; sourceTree = "<group>"; };
    469                 7874637317D5DD840040CFC7 /* TRenModel.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenModel.cpp; sourceTree = "<group>"; };
    470                 7874637417D5DD840040CFC7 /* TRenModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenModel.h; sourceTree = "<group>"; };
    471                 7874637517D5DD840040CFC7 /* TRenModSetupStrParser.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenModSetupStrParser.cpp; sourceTree = "<group>"; };
    472                 7874637617D5DD840040CFC7 /* TRenModSetupStrParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenModSetupStrParser.h; sourceTree = "<group>"; };
    473                 7874637717D5DD840040CFC7 /* TRenSingleModel.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenSingleModel.cpp; sourceTree = "<group>"; };
    474                 7874637817D5DD840040CFC7 /* TRenSingleModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenSingleModel.h; sourceTree = "<group>"; };
    475                 7874637917D5DD840040CFC7 /* TRenTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenTop.cpp; sourceTree = "<group>"; };
    476                 7874637A17D5DD840040CFC7 /* TRenTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenTop.h; sourceTree = "<group>"; };
    477                 7874637C17D5DD840040CFC7 /* TVideoIOYuv.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TVideoIOYuv.cpp; sourceTree = "<group>"; };
    478                 7874637D17D5DD840040CFC7 /* TVideoIOYuv.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TVideoIOYuv.h; sourceTree = "<group>"; };
     294                78486FA71B0B62C70098FD5A /* decmain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = decmain.cpp; sourceTree = "<group>"; };
     295                78486FA81B0B62C70098FD5A /* TAppDecCfg.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppDecCfg.cpp; sourceTree = "<group>"; };
     296                78486FA91B0B62C70098FD5A /* TAppDecCfg.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppDecCfg.h; sourceTree = "<group>"; };
     297                78486FAA1B0B62C70098FD5A /* TAppDecTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppDecTop.cpp; sourceTree = "<group>"; };
     298                78486FAB1B0B62C70098FD5A /* TAppDecTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppDecTop.h; sourceTree = "<group>"; };
     299                78486FAD1B0B62C70098FD5A /* encmain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = encmain.cpp; sourceTree = "<group>"; };
     300                78486FAE1B0B62C70098FD5A /* TAppEncCfg.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppEncCfg.cpp; sourceTree = "<group>"; };
     301                78486FAF1B0B62C70098FD5A /* TAppEncCfg.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppEncCfg.h; sourceTree = "<group>"; };
     302                78486FB01B0B62C70098FD5A /* TAppEncTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppEncTop.cpp; sourceTree = "<group>"; };
     303                78486FB11B0B62C70098FD5A /* TAppEncTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppEncTop.h; sourceTree = "<group>"; };
     304                78486FB31B0B62C70098FD5A /* extrmain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = extrmain.cpp; sourceTree = "<group>"; };
     305                78486FB41B0B62C70098FD5A /* TAppExtrCfg.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppExtrCfg.cpp; sourceTree = "<group>"; };
     306                78486FB51B0B62C70098FD5A /* TAppExtrCfg.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppExtrCfg.h; sourceTree = "<group>"; };
     307                78486FB61B0B62C70098FD5A /* TAppExtrTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppExtrTop.cpp; sourceTree = "<group>"; };
     308                78486FB71B0B62C70098FD5A /* TAppExtrTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppExtrTop.h; sourceTree = "<group>"; };
     309                78486FB91B0B62C70098FD5A /* RendererMain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = RendererMain.cpp; sourceTree = "<group>"; };
     310                78486FBA1B0B62C70098FD5A /* TAppRendererCfg.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppRendererCfg.cpp; sourceTree = "<group>"; };
     311                78486FBB1B0B62C70098FD5A /* TAppRendererCfg.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppRendererCfg.h; sourceTree = "<group>"; };
     312                78486FBC1B0B62C70098FD5A /* TAppRendererTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppRendererTop.cpp; sourceTree = "<group>"; };
     313                78486FBD1B0B62C70098FD5A /* TAppRendererTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppRendererTop.h; sourceTree = "<group>"; };
     314                78486FBF1B0B62C70098FD5A /* annexBbytecount.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = annexBbytecount.cpp; sourceTree = "<group>"; };
     315                78486FC11B0B62C70098FD5A /* encode.shl */ = {isa = PBXFileReference; lastKnownFileType = text; path = encode.shl; sourceTree = "<group>"; };
     316                78486FC21B0B62C70098FD5A /* encodeCommand.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = encodeCommand.sh; sourceTree = "<group>"; };
     317                78486FC31B0B62C70098FD5A /* ExtractBitrates.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ExtractBitrates.cpp; sourceTree = "<group>"; };
     318                78486FC41B0B62C70098FD5A /* ExtractBitrates.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ExtractBitrates.h; sourceTree = "<group>"; };
     319                78486FC51B0B62C70098FD5A /* ExtractBitratesMain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ExtractBitratesMain.cpp; sourceTree = "<group>"; };
     320                78486FC61B0B62C70098FD5A /* GuessLambdaModifiers.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GuessLambdaModifiers.cpp; sourceTree = "<group>"; };
     321                78486FC71B0B62C70098FD5A /* GuessLambdaModifiers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GuessLambdaModifiers.h; sourceTree = "<group>"; };
     322                78486FC81B0B62C70098FD5A /* GuessLambdaModifiersMain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GuessLambdaModifiersMain.cpp; sourceTree = "<group>"; };
     323                78486FC91B0B62C70098FD5A /* makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; path = makefile; sourceTree = "<group>"; };
     324                78486FCA1B0B62C70098FD5A /* QuickStartGuide.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = QuickStartGuide.pdf; sourceTree = "<group>"; };
     325                78486FCB1B0B62C70098FD5A /* RuntimeError.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RuntimeError.h; sourceTree = "<group>"; };
     326                78486FCC1B0B62C70098FD5A /* targetBitrates.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = targetBitrates.sh; sourceTree = "<group>"; };
     327                78486FCD1B0B62C70098FD5A /* convert_NtoMbit_YCbCr.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = convert_NtoMbit_YCbCr.cpp; sourceTree = "<group>"; };
     328                78486FD01B0B62C70098FD5A /* libmd5.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = libmd5.c; sourceTree = "<group>"; };
     329                78486FD11B0B62C70098FD5A /* libmd5.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = libmd5.h; sourceTree = "<group>"; };
     330                78486FD21B0B62C70098FD5A /* MD5.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MD5.h; sourceTree = "<group>"; };
     331                78486FD41B0B62C70098FD5A /* program_options_lite.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = program_options_lite.cpp; sourceTree = "<group>"; };
     332                78486FD51B0B62C70098FD5A /* program_options_lite.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = program_options_lite.h; sourceTree = "<group>"; };
     333                78486FD61B0B62C70098FD5A /* TAppComCamPara.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TAppComCamPara.cpp; sourceTree = "<group>"; };
     334                78486FD71B0B62C70098FD5A /* TAppComCamPara.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAppComCamPara.h; sourceTree = "<group>"; };
     335                78486FD91B0B62C70098FD5A /* AccessUnit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AccessUnit.h; sourceTree = "<group>"; };
     336                78486FDA1B0B62C70098FD5A /* CommonDef.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CommonDef.h; sourceTree = "<group>"; };
     337                78486FDB1B0B62C70098FD5A /* ContextModel.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ContextModel.cpp; sourceTree = "<group>"; };
     338                78486FDC1B0B62C70098FD5A /* ContextModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ContextModel.h; sourceTree = "<group>"; };
     339                78486FDD1B0B62C70098FD5A /* ContextModel3DBuffer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ContextModel3DBuffer.cpp; sourceTree = "<group>"; };
     340                78486FDE1B0B62C70098FD5A /* ContextModel3DBuffer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ContextModel3DBuffer.h; sourceTree = "<group>"; };
     341                78486FDF1B0B62C70098FD5A /* ContextTables.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = ContextTables.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
     342                78486FE01B0B62C70098FD5A /* Debug.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = Debug.cpp; sourceTree = "<group>"; };
     343                78486FE11B0B62C70098FD5A /* Debug.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Debug.h; sourceTree = "<group>"; };
     344                78486FE21B0B62C70098FD5A /* NAL.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NAL.h; sourceTree = "<group>"; };
     345                78486FE31B0B62C70098FD5A /* SEI.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SEI.cpp; sourceTree = "<group>"; };
     346                78486FE41B0B62C70098FD5A /* SEI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SEI.h; sourceTree = "<group>"; };
     347                78486FE51B0B62C70098FD5A /* TComBitCounter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComBitCounter.h; sourceTree = "<group>"; };
     348                78486FE61B0B62C70098FD5A /* TComBitStream.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComBitStream.cpp; sourceTree = "<group>"; };
     349                78486FE71B0B62C70098FD5A /* TComBitStream.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComBitStream.h; sourceTree = "<group>"; };
     350                78486FE81B0B62C70098FD5A /* TComCABACTables.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComCABACTables.cpp; sourceTree = "<group>"; };
     351                78486FE91B0B62C70098FD5A /* TComCABACTables.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComCABACTables.h; sourceTree = "<group>"; };
     352                78486FEA1B0B62C70098FD5A /* TComChromaFormat.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComChromaFormat.cpp; sourceTree = "<group>"; };
     353                78486FEB1B0B62C70098FD5A /* TComChromaFormat.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComChromaFormat.h; sourceTree = "<group>"; };
     354                78486FEC1B0B62C70098FD5A /* TComCodingStatistics.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComCodingStatistics.h; sourceTree = "<group>"; };
     355                78486FED1B0B62C70098FD5A /* TComDataCU.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComDataCU.cpp; sourceTree = "<group>"; };
     356                78486FEE1B0B62C70098FD5A /* TComDataCU.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComDataCU.h; sourceTree = "<group>"; };
     357                78486FEF1B0B62C70098FD5A /* TComInterpolationFilter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComInterpolationFilter.cpp; sourceTree = "<group>"; };
     358                78486FF01B0B62C70098FD5A /* TComInterpolationFilter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComInterpolationFilter.h; sourceTree = "<group>"; };
     359                78486FF11B0B62C70098FD5A /* TComList.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComList.h; sourceTree = "<group>"; };
     360                78486FF21B0B62C70098FD5A /* TComLoopFilter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComLoopFilter.cpp; sourceTree = "<group>"; };
     361                78486FF31B0B62C70098FD5A /* TComLoopFilter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComLoopFilter.h; sourceTree = "<group>"; };
     362                78486FF41B0B62C70098FD5A /* TComMotionInfo.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComMotionInfo.cpp; sourceTree = "<group>"; };
     363                78486FF51B0B62C70098FD5A /* TComMotionInfo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComMotionInfo.h; sourceTree = "<group>"; };
     364                78486FF61B0B62C70098FD5A /* TComMv.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComMv.h; sourceTree = "<group>"; };
     365                78486FF71B0B62C70098FD5A /* TComPattern.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComPattern.cpp; sourceTree = "<group>"; };
     366                78486FF81B0B62C70098FD5A /* TComPattern.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComPattern.h; sourceTree = "<group>"; };
     367                78486FF91B0B62C70098FD5A /* TComPic.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComPic.cpp; sourceTree = "<group>"; };
     368                78486FFA1B0B62C70098FD5A /* TComPic.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComPic.h; sourceTree = "<group>"; };
     369                78486FFB1B0B62C70098FD5A /* TComPicSym.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComPicSym.cpp; sourceTree = "<group>"; };
     370                78486FFC1B0B62C70098FD5A /* TComPicSym.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComPicSym.h; sourceTree = "<group>"; };
     371                78486FFD1B0B62C70098FD5A /* TComPicYuv.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComPicYuv.cpp; sourceTree = "<group>"; };
     372                78486FFE1B0B62C70098FD5A /* TComPicYuv.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComPicYuv.h; sourceTree = "<group>"; };
     373                78486FFF1B0B62C70098FD5A /* TComPicYuvMD5.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComPicYuvMD5.cpp; sourceTree = "<group>"; };
     374                784870001B0B62C70098FD5A /* TComPrediction.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = TComPrediction.cpp; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.cpp; };
     375                784870011B0B62C70098FD5A /* TComPrediction.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = TComPrediction.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
     376                784870021B0B62C70098FD5A /* TComRdCost.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComRdCost.cpp; sourceTree = "<group>"; };
     377                784870031B0B62C70098FD5A /* TComRdCost.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComRdCost.h; sourceTree = "<group>"; };
     378                784870041B0B62C70098FD5A /* TComRdCostWeightPrediction.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComRdCostWeightPrediction.cpp; sourceTree = "<group>"; };
     379                784870051B0B62C70098FD5A /* TComRdCostWeightPrediction.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComRdCostWeightPrediction.h; sourceTree = "<group>"; };
     380                784870061B0B62C70098FD5A /* TComRectangle.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComRectangle.h; sourceTree = "<group>"; };
     381                784870071B0B62C70098FD5A /* TComRom.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComRom.cpp; sourceTree = "<group>"; };
     382                784870081B0B62C70098FD5A /* TComRom.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComRom.h; sourceTree = "<group>"; };
     383                784870091B0B62C70098FD5A /* TComSampleAdaptiveOffset.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComSampleAdaptiveOffset.cpp; sourceTree = "<group>"; };
     384                7848700A1B0B62C70098FD5A /* TComSampleAdaptiveOffset.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComSampleAdaptiveOffset.h; sourceTree = "<group>"; };
     385                7848700B1B0B62C70098FD5A /* TComSlice.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComSlice.cpp; sourceTree = "<group>"; };
     386                7848700C1B0B62C70098FD5A /* TComSlice.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComSlice.h; sourceTree = "<group>"; };
     387                7848700D1B0B62C70098FD5A /* TComTrQuant.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComTrQuant.cpp; sourceTree = "<group>"; };
     388                7848700E1B0B62C70098FD5A /* TComTrQuant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComTrQuant.h; sourceTree = "<group>"; };
     389                7848700F1B0B62C70098FD5A /* TComTU.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComTU.cpp; sourceTree = "<group>"; };
     390                784870101B0B62C70098FD5A /* TComTU.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComTU.h; sourceTree = "<group>"; };
     391                784870111B0B62C70098FD5A /* TComWedgelet.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComWedgelet.cpp; sourceTree = "<group>"; };
     392                784870121B0B62C70098FD5A /* TComWedgelet.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComWedgelet.h; sourceTree = "<group>"; };
     393                784870131B0B62C70098FD5A /* TComWeightPrediction.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComWeightPrediction.cpp; sourceTree = "<group>"; };
     394                784870141B0B62C70098FD5A /* TComWeightPrediction.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComWeightPrediction.h; sourceTree = "<group>"; };
     395                784870151B0B62C70098FD5A /* TComYuv.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TComYuv.cpp; sourceTree = "<group>"; };
     396                784870161B0B62C70098FD5A /* TComYuv.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TComYuv.h; sourceTree = "<group>"; };
     397                784870171B0B62C70098FD5A /* TypeDef.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = TypeDef.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
     398                784870191B0B62C70098FD5A /* AnnexBread.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = AnnexBread.cpp; sourceTree = "<group>"; };
     399                7848701A1B0B62C70098FD5A /* AnnexBread.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AnnexBread.h; sourceTree = "<group>"; };
     400                7848701B1B0B62C70098FD5A /* NALread.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = NALread.cpp; sourceTree = "<group>"; };
     401                7848701C1B0B62C70098FD5A /* NALread.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NALread.h; sourceTree = "<group>"; };
     402                7848701D1B0B62C70098FD5A /* SEIread.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SEIread.cpp; sourceTree = "<group>"; };
     403                7848701E1B0B62C70098FD5A /* SEIread.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SEIread.h; sourceTree = "<group>"; };
     404                7848701F1B0B62C70098FD5A /* SyntaxElementParser.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SyntaxElementParser.cpp; sourceTree = "<group>"; };
     405                784870201B0B62C70098FD5A /* SyntaxElementParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SyntaxElementParser.h; sourceTree = "<group>"; };
     406                784870211B0B62C70098FD5A /* TDecBinCoder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecBinCoder.h; sourceTree = "<group>"; };
     407                784870221B0B62C70098FD5A /* TDecBinCoderCABAC.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecBinCoderCABAC.cpp; sourceTree = "<group>"; };
     408                784870231B0B62C70098FD5A /* TDecBinCoderCABAC.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecBinCoderCABAC.h; sourceTree = "<group>"; };
     409                784870241B0B62C70098FD5A /* TDecCAVLC.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecCAVLC.cpp; sourceTree = "<group>"; };
     410                784870251B0B62C70098FD5A /* TDecCAVLC.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecCAVLC.h; sourceTree = "<group>"; };
     411                784870261B0B62C70098FD5A /* TDecCu.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecCu.cpp; sourceTree = "<group>"; };
     412                784870271B0B62C70098FD5A /* TDecCu.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecCu.h; sourceTree = "<group>"; };
     413                784870281B0B62C70098FD5A /* TDecEntropy.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecEntropy.cpp; sourceTree = "<group>"; };
     414                784870291B0B62C70098FD5A /* TDecEntropy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecEntropy.h; sourceTree = "<group>"; };
     415                7848702A1B0B62C70098FD5A /* TDecGop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecGop.cpp; sourceTree = "<group>"; };
     416                7848702B1B0B62C70098FD5A /* TDecGop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecGop.h; sourceTree = "<group>"; };
     417                7848702C1B0B62C70098FD5A /* TDecSbac.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = TDecSbac.cpp; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.cpp; };
     418                7848702D1B0B62C70098FD5A /* TDecSbac.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = TDecSbac.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
     419                7848702E1B0B62C70098FD5A /* TDecSlice.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecSlice.cpp; sourceTree = "<group>"; };
     420                7848702F1B0B62C70098FD5A /* TDecSlice.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecSlice.h; sourceTree = "<group>"; };
     421                784870301B0B62C70098FD5A /* TDecTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TDecTop.cpp; sourceTree = "<group>"; };
     422                784870311B0B62C70098FD5A /* TDecTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TDecTop.h; sourceTree = "<group>"; };
     423                784870331B0B62C70098FD5A /* AnnexBwrite.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AnnexBwrite.h; sourceTree = "<group>"; };
     424                784870341B0B62C70098FD5A /* NALwrite.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = NALwrite.cpp; sourceTree = "<group>"; };
     425                784870351B0B62C70098FD5A /* NALwrite.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NALwrite.h; sourceTree = "<group>"; };
     426                784870361B0B62C70098FD5A /* SEIEncoder.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SEIEncoder.cpp; sourceTree = "<group>"; };
     427                784870371B0B62C70098FD5A /* SEIEncoder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SEIEncoder.h; sourceTree = "<group>"; };
     428                784870381B0B62C70098FD5A /* SEIwrite.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SEIwrite.cpp; sourceTree = "<group>"; };
     429                784870391B0B62C70098FD5A /* SEIwrite.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SEIwrite.h; sourceTree = "<group>"; };
     430                7848703A1B0B62C70098FD5A /* SyntaxElementWriter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SyntaxElementWriter.cpp; sourceTree = "<group>"; };
     431                7848703B1B0B62C70098FD5A /* SyntaxElementWriter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SyntaxElementWriter.h; sourceTree = "<group>"; };
     432                7848703C1B0B62C70098FD5A /* TEncAnalyze.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncAnalyze.h; sourceTree = "<group>"; };
     433                7848703D1B0B62C70098FD5A /* TEncBinCoder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncBinCoder.h; sourceTree = "<group>"; };
     434                7848703E1B0B62C70098FD5A /* TEncBinCoderCABAC.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncBinCoderCABAC.cpp; sourceTree = "<group>"; };
     435                7848703F1B0B62C70098FD5A /* TEncBinCoderCABAC.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncBinCoderCABAC.h; sourceTree = "<group>"; };
     436                784870401B0B62C70098FD5A /* TEncBinCoderCABACCounter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncBinCoderCABACCounter.cpp; sourceTree = "<group>"; };
     437                784870411B0B62C70098FD5A /* TEncBinCoderCABACCounter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncBinCoderCABACCounter.h; sourceTree = "<group>"; };
     438                784870421B0B62C70098FD5A /* TEncCavlc.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncCavlc.cpp; sourceTree = "<group>"; };
     439                784870431B0B62C70098FD5A /* TEncCavlc.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncCavlc.h; sourceTree = "<group>"; };
     440                784870441B0B62C70098FD5A /* TEncCfg.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncCfg.h; sourceTree = "<group>"; };
     441                784870451B0B62C70098FD5A /* TEncCu.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncCu.cpp; sourceTree = "<group>"; };
     442                784870461B0B62C70098FD5A /* TEncCu.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncCu.h; sourceTree = "<group>"; };
     443                784870471B0B62C70098FD5A /* TEncEntropy.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncEntropy.cpp; sourceTree = "<group>"; };
     444                784870481B0B62C70098FD5A /* TEncEntropy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncEntropy.h; sourceTree = "<group>"; };
     445                784870491B0B62C70098FD5A /* TEncGOP.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncGOP.cpp; sourceTree = "<group>"; };
     446                7848704A1B0B62C70098FD5A /* TEncGOP.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncGOP.h; sourceTree = "<group>"; };
     447                7848704B1B0B62C70098FD5A /* TEncPic.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncPic.cpp; sourceTree = "<group>"; };
     448                7848704C1B0B62C70098FD5A /* TEncPic.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncPic.h; sourceTree = "<group>"; };
     449                7848704D1B0B62C70098FD5A /* TEncPreanalyzer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncPreanalyzer.cpp; sourceTree = "<group>"; };
     450                7848704E1B0B62C70098FD5A /* TEncPreanalyzer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncPreanalyzer.h; sourceTree = "<group>"; };
     451                7848704F1B0B62C70098FD5A /* TEncRateCtrl.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncRateCtrl.cpp; sourceTree = "<group>"; };
     452                784870501B0B62C70098FD5A /* TEncRateCtrl.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncRateCtrl.h; sourceTree = "<group>"; };
     453                784870511B0B62C70098FD5A /* TEncSampleAdaptiveOffset.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncSampleAdaptiveOffset.cpp; sourceTree = "<group>"; };
     454                784870521B0B62C70098FD5A /* TEncSampleAdaptiveOffset.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncSampleAdaptiveOffset.h; sourceTree = "<group>"; };
     455                784870531B0B62C70098FD5A /* TEncSbac.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = TEncSbac.cpp; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.cpp; };
     456                784870541B0B62C70098FD5A /* TEncSbac.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = TEncSbac.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
     457                784870551B0B62C70098FD5A /* TEncSearch.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = TEncSearch.cpp; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.cpp; };
     458                784870561B0B62C70098FD5A /* TEncSearch.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = TEncSearch.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
     459                784870571B0B62C70098FD5A /* TEncSlice.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncSlice.cpp; sourceTree = "<group>"; };
     460                784870581B0B62C70098FD5A /* TEncSlice.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncSlice.h; sourceTree = "<group>"; };
     461                784870591B0B62C70098FD5A /* TEncTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TEncTop.cpp; sourceTree = "<group>"; };
     462                7848705A1B0B62C70098FD5A /* TEncTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TEncTop.h; sourceTree = "<group>"; };
     463                7848705B1B0B62C70098FD5A /* WeightPredAnalysis.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WeightPredAnalysis.cpp; sourceTree = "<group>"; };
     464                7848705C1B0B62C70098FD5A /* WeightPredAnalysis.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WeightPredAnalysis.h; sourceTree = "<group>"; };
     465                7848705E1B0B62C70098FD5A /* TExtrTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TExtrTop.cpp; sourceTree = "<group>"; };
     466                7848705F1B0B62C70098FD5A /* TExtrTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TExtrTop.h; sourceTree = "<group>"; };
     467                784870611B0B62C70098FD5A /* TRenFilter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenFilter.cpp; sourceTree = "<group>"; };
     468                784870621B0B62C70098FD5A /* TRenFilter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenFilter.h; sourceTree = "<group>"; };
     469                784870631B0B62C70098FD5A /* TRenImage.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenImage.cpp; sourceTree = "<group>"; };
     470                784870641B0B62C70098FD5A /* TRenImage.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenImage.h; sourceTree = "<group>"; };
     471                784870651B0B62C70098FD5A /* TRenImagePlane.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenImagePlane.cpp; sourceTree = "<group>"; };
     472                784870661B0B62C70098FD5A /* TRenImagePlane.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenImagePlane.h; sourceTree = "<group>"; };
     473                784870671B0B62C70098FD5A /* TRenInterpFilter.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenInterpFilter.cpp; sourceTree = "<group>"; };
     474                784870681B0B62C70098FD5A /* TRenInterpFilter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenInterpFilter.h; sourceTree = "<group>"; };
     475                784870691B0B62C70098FD5A /* TRenModel.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenModel.cpp; sourceTree = "<group>"; };
     476                7848706A1B0B62C70098FD5A /* TRenModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenModel.h; sourceTree = "<group>"; };
     477                7848706B1B0B62C70098FD5A /* TRenModSetupStrParser.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenModSetupStrParser.cpp; sourceTree = "<group>"; };
     478                7848706C1B0B62C70098FD5A /* TRenModSetupStrParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenModSetupStrParser.h; sourceTree = "<group>"; };
     479                7848706D1B0B62C70098FD5A /* TRenSingleModel.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenSingleModel.cpp; sourceTree = "<group>"; };
     480                7848706E1B0B62C70098FD5A /* TRenSingleModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenSingleModel.h; sourceTree = "<group>"; };
     481                7848706F1B0B62C70098FD5A /* TRenTop.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TRenTop.cpp; sourceTree = "<group>"; };
     482                784870701B0B62C70098FD5A /* TRenTop.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TRenTop.h; sourceTree = "<group>"; };
     483                784870721B0B62C70098FD5A /* TVideoIOYuv.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TVideoIOYuv.cpp; sourceTree = "<group>"; };
     484                784870731B0B62C70098FD5A /* TVideoIOYuv.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TVideoIOYuv.h; sourceTree = "<group>"; };
    479485                7885897D15664E3D00982C12 /* libTLibExtractor.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libTLibExtractor.a; sourceTree = BUILT_PRODUCTS_DIR; };
    480486                7885899415664E6A00982C12 /* TAppExtractor */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = TAppExtractor; sourceTree = BUILT_PRODUCTS_DIR; };
     
    595601                        isa = PBXGroup;
    596602                        children = (
    597                                 78C592E7158720BB004401C5 /* App */,
    598                                 78C59310158720BB004401C5 /* Lib */,
     603                                78486FA51B0B62C70098FD5A /* App */,
     604                                78486FCE1B0B62C70098FD5A /* Lib */,
    599605                        );
    600606                        indentWidth = 2;
     
    621627                        sourceTree = "<group>";
    622628                };
    623                 785E596B17D9AFA8001F6DD1 /* TLibStatistics */ = {
     629                78486FA51B0B62C70098FD5A /* App */ = {
    624630                        isa = PBXGroup;
    625631                        children = (
    626                                 785E596C17D9AFA8001F6DD1 /* TStatHeader.cpp */,
    627                                 785E596D17D9AFA8001F6DD1 /* TStatHeader.h */,
    628                                 785E596E17D9AFA8001F6DD1 /* TStatLayer.cpp */,
    629                                 785E596F17D9AFA8001F6DD1 /* TStatLayer.h */,
    630                                 785E597017D9AFA8001F6DD1 /* TStatTop.cpp */,
    631                                 785E597117D9AFA8001F6DD1 /* TStatTop.h */,
    632                         );
    633                         path = TLibStatistics;
    634                         sourceTree = "<group>";
    635                 };
    636                 787462BA17D5DD7B0040CFC7 /* TAppDecoder */ = {
    637                         isa = PBXGroup;
    638                         children = (
    639                                 787462BB17D5DD7B0040CFC7 /* decmain.cpp */,
    640                                 787462BC17D5DD7B0040CFC7 /* TAppDecCfg.cpp */,
    641                                 787462BD17D5DD7B0040CFC7 /* TAppDecCfg.h */,
    642                                 787462BE17D5DD7B0040CFC7 /* TAppDecTop.cpp */,
    643                                 787462BF17D5DD7B0040CFC7 /* TAppDecTop.h */,
    644                         );
    645                         path = TAppDecoder;
    646                         sourceTree = "<group>";
    647                 };
    648                 787462C017D5DD7B0040CFC7 /* TAppEncoder */ = {
    649                         isa = PBXGroup;
    650                         children = (
    651                                 787462C117D5DD7B0040CFC7 /* encmain.cpp */,
    652                                 787462C217D5DD7B0040CFC7 /* TAppEncCfg.cpp */,
    653                                 787462C317D5DD7B0040CFC7 /* TAppEncCfg.h */,
    654                                 787462C417D5DD7B0040CFC7 /* TAppEncTop.cpp */,
    655                                 787462C517D5DD7B0040CFC7 /* TAppEncTop.h */,
    656                         );
    657                         path = TAppEncoder;
    658                         sourceTree = "<group>";
    659                 };
    660                 787462C617D5DD7B0040CFC7 /* TAppExtractor */ = {
    661                         isa = PBXGroup;
    662                         children = (
    663                                 787462C717D5DD7B0040CFC7 /* extrmain.cpp */,
    664                                 787462C817D5DD7B0040CFC7 /* TAppExtrCfg.cpp */,
    665                                 787462C917D5DD7B0040CFC7 /* TAppExtrCfg.h */,
    666                                 787462CA17D5DD7B0040CFC7 /* TAppExtrTop.cpp */,
    667                                 787462CB17D5DD7B0040CFC7 /* TAppExtrTop.h */,
    668                         );
    669                         path = TAppExtractor;
    670                         sourceTree = "<group>";
    671                 };
    672                 787462CC17D5DD7B0040CFC7 /* TAppRenderer */ = {
    673                         isa = PBXGroup;
    674                         children = (
    675                                 787462CD17D5DD7B0040CFC7 /* RendererMain.cpp */,
    676                                 787462CE17D5DD7B0040CFC7 /* TAppRendererCfg.cpp */,
    677                                 787462CF17D5DD7B0040CFC7 /* TAppRendererCfg.h */,
    678                                 787462D017D5DD7B0040CFC7 /* TAppRendererTop.cpp */,
    679                                 787462D117D5DD7B0040CFC7 /* TAppRendererTop.h */,
    680                         );
    681                         path = TAppRenderer;
    682                         sourceTree = "<group>";
    683                 };
    684                 787462D217D5DD7B0040CFC7 /* utils */ = {
    685                         isa = PBXGroup;
    686                         children = (
    687                                 787462D317D5DD7B0040CFC7 /* annexBbytecount.cpp */,
    688                                 787462D417D5DD7B0040CFC7 /* BitrateTargeting */,
    689                                 787462E117D5DD7B0040CFC7 /* convert_NtoMbit_YCbCr.cpp */,
    690                         );
    691                         path = utils;
    692                         sourceTree = "<group>";
    693                 };
    694                 787462D417D5DD7B0040CFC7 /* BitrateTargeting */ = {
    695                         isa = PBXGroup;
    696                         children = (
    697                                 787462D517D5DD7B0040CFC7 /* encode.shl */,
    698                                 787462D617D5DD7B0040CFC7 /* encodeCommand.sh */,
    699                                 787462D717D5DD7B0040CFC7 /* ExtractBitrates.cpp */,
    700                                 787462D817D5DD7B0040CFC7 /* ExtractBitrates.h */,
    701                                 787462D917D5DD7B0040CFC7 /* ExtractBitratesMain.cpp */,
    702                                 787462DA17D5DD7B0040CFC7 /* GuessLambdaModifiers.cpp */,
    703                                 787462DB17D5DD7B0040CFC7 /* GuessLambdaModifiers.h */,
    704                                 787462DC17D5DD7B0040CFC7 /* GuessLambdaModifiersMain.cpp */,
    705                                 787462DD17D5DD7B0040CFC7 /* makefile */,
    706                                 787462DE17D5DD7B0040CFC7 /* QuickStartGuide.pdf */,
    707                                 787462DF17D5DD7B0040CFC7 /* RuntimeError.h */,
    708                                 787462E017D5DD7B0040CFC7 /* targetBitrates.sh */,
    709                         );
    710                         path = BitrateTargeting;
    711                         sourceTree = "<group>";
    712                 };
    713                 787462E217D5DD840040CFC7 /* libmd5 */ = {
    714                         isa = PBXGroup;
    715                         children = (
    716                                 787462E317D5DD840040CFC7 /* libmd5.c */,
    717                                 787462E417D5DD840040CFC7 /* libmd5.h */,
    718                                 787462E517D5DD840040CFC7 /* MD5.h */,
    719                         );
    720                         path = libmd5;
    721                         sourceTree = "<group>";
    722                 };
    723                 787462E617D5DD840040CFC7 /* TAppCommon */ = {
    724                         isa = PBXGroup;
    725                         children = (
    726                                 787462E717D5DD840040CFC7 /* program_options_lite.cpp */,
    727                                 787462E817D5DD840040CFC7 /* program_options_lite.h */,
    728                                 787462E917D5DD840040CFC7 /* TAppComCamPara.cpp */,
    729                                 787462EA17D5DD840040CFC7 /* TAppComCamPara.h */,
    730                         );
    731                         path = TAppCommon;
    732                         sourceTree = "<group>";
    733                 };
    734                 787462EB17D5DD840040CFC7 /* TLibCommon */ = {
    735                         isa = PBXGroup;
    736                         children = (
    737                                 787462EC17D5DD840040CFC7 /* AccessUnit.h */,
    738                                 787462ED17D5DD840040CFC7 /* CommonDef.h */,
    739                                 787462EE17D5DD840040CFC7 /* ContextModel.cpp */,
    740                                 787462EF17D5DD840040CFC7 /* ContextModel.h */,
    741                                 787462F017D5DD840040CFC7 /* ContextModel3DBuffer.cpp */,
    742                                 787462F117D5DD840040CFC7 /* ContextModel3DBuffer.h */,
    743                                 787462F217D5DD840040CFC7 /* ContextTables.h */,
    744                                 787462F317D5DD840040CFC7 /* NAL.h */,
    745                                 787462F417D5DD840040CFC7 /* SEI.cpp */,
    746                                 787462F517D5DD840040CFC7 /* SEI.h */,
    747                                 787462F617D5DD840040CFC7 /* TComBitCounter.h */,
    748                                 787462F717D5DD840040CFC7 /* TComBitStream.cpp */,
    749                                 787462F817D5DD840040CFC7 /* TComBitStream.h */,
    750                                 787462F917D5DD840040CFC7 /* TComCABACTables.cpp */,
    751                                 787462FA17D5DD840040CFC7 /* TComCABACTables.h */,
    752                                 787462FB17D5DD840040CFC7 /* TComDataCU.cpp */,
    753                                 787462FC17D5DD840040CFC7 /* TComDataCU.h */,
    754                                 787462FD17D5DD840040CFC7 /* TComInterpolationFilter.cpp */,
    755                                 787462FE17D5DD840040CFC7 /* TComInterpolationFilter.h */,
    756                                 787462FF17D5DD840040CFC7 /* TComList.h */,
    757                                 7874630017D5DD840040CFC7 /* TComLoopFilter.cpp */,
    758                                 7874630117D5DD840040CFC7 /* TComLoopFilter.h */,
    759                                 7874630217D5DD840040CFC7 /* TComMotionInfo.cpp */,
    760                                 7874630317D5DD840040CFC7 /* TComMotionInfo.h */,
    761                                 7874630417D5DD840040CFC7 /* TComMv.h */,
    762                                 7874630517D5DD840040CFC7 /* TComPattern.cpp */,
    763                                 7874630617D5DD840040CFC7 /* TComPattern.h */,
    764                                 7874630717D5DD840040CFC7 /* TComPic.cpp */,
    765                                 7874630817D5DD840040CFC7 /* TComPic.h */,
    766                                 7874630917D5DD840040CFC7 /* TComPicSym.cpp */,
    767                                 7874630A17D5DD840040CFC7 /* TComPicSym.h */,
    768                                 7874630B17D5DD840040CFC7 /* TComPicYuv.cpp */,
    769                                 7874630C17D5DD840040CFC7 /* TComPicYuv.h */,
    770                                 7874630D17D5DD840040CFC7 /* TComPicYuvMD5.cpp */,
    771                                 7874630E17D5DD840040CFC7 /* TComPrediction.cpp */,
    772                                 7874630F17D5DD840040CFC7 /* TComPrediction.h */,
    773                                 7874631017D5DD840040CFC7 /* TComRdCost.cpp */,
    774                                 7874631117D5DD840040CFC7 /* TComRdCost.h */,
    775                                 7874631217D5DD840040CFC7 /* TComRdCostWeightPrediction.cpp */,
    776                                 7874631317D5DD840040CFC7 /* TComRdCostWeightPrediction.h */,
    777                                 7874631417D5DD840040CFC7 /* TComRom.cpp */,
    778                                 7874631517D5DD840040CFC7 /* TComRom.h */,
    779                                 7874631617D5DD840040CFC7 /* TComSampleAdaptiveOffset.cpp */,
    780                                 7874631717D5DD840040CFC7 /* TComSampleAdaptiveOffset.h */,
    781                                 7874631817D5DD840040CFC7 /* TComSlice.cpp */,
    782                                 7874631917D5DD840040CFC7 /* TComSlice.h */,
    783                                 7874631A17D5DD840040CFC7 /* TComTrQuant.cpp */,
    784                                 7874631B17D5DD840040CFC7 /* TComTrQuant.h */,
    785                                 7874631C17D5DD840040CFC7 /* TComWedgelet.cpp */,
    786                                 7874631D17D5DD840040CFC7 /* TComWedgelet.h */,
    787                                 7874631E17D5DD840040CFC7 /* TComWeightPrediction.cpp */,
    788                                 7874631F17D5DD840040CFC7 /* TComWeightPrediction.h */,
    789                                 7874632017D5DD840040CFC7 /* TComYuv.cpp */,
    790                                 7874632117D5DD840040CFC7 /* TComYuv.h */,
    791                                 7874632217D5DD840040CFC7 /* TypeDef.h */,
    792                         );
    793                         path = TLibCommon;
    794                         sourceTree = "<group>";
    795                 };
    796                 7874632317D5DD840040CFC7 /* TLibDecoder */ = {
    797                         isa = PBXGroup;
    798                         children = (
    799                                 7874632417D5DD840040CFC7 /* AnnexBread.cpp */,
    800                                 7874632517D5DD840040CFC7 /* AnnexBread.h */,
    801                                 7874632617D5DD840040CFC7 /* NALread.cpp */,
    802                                 7874632717D5DD840040CFC7 /* NALread.h */,
    803                                 7874632817D5DD840040CFC7 /* SEIread.cpp */,
    804                                 7874632917D5DD840040CFC7 /* SEIread.h */,
    805                                 7874632A17D5DD840040CFC7 /* SyntaxElementParser.cpp */,
    806                                 7874632B17D5DD840040CFC7 /* SyntaxElementParser.h */,
    807                                 7874632C17D5DD840040CFC7 /* TDecBinCoder.h */,
    808                                 7874632D17D5DD840040CFC7 /* TDecBinCoderCABAC.cpp */,
    809                                 7874632E17D5DD840040CFC7 /* TDecBinCoderCABAC.h */,
    810                                 7874632F17D5DD840040CFC7 /* TDecCAVLC.cpp */,
    811                                 7874633017D5DD840040CFC7 /* TDecCAVLC.h */,
    812                                 7874633117D5DD840040CFC7 /* TDecCu.cpp */,
    813                                 7874633217D5DD840040CFC7 /* TDecCu.h */,
    814                                 7874633317D5DD840040CFC7 /* TDecEntropy.cpp */,
    815                                 7874633417D5DD840040CFC7 /* TDecEntropy.h */,
    816                                 7874633517D5DD840040CFC7 /* TDecGop.cpp */,
    817                                 7874633617D5DD840040CFC7 /* TDecGop.h */,
    818                                 7874633717D5DD840040CFC7 /* TDecSbac.cpp */,
    819                                 7874633817D5DD840040CFC7 /* TDecSbac.h */,
    820                                 7874633917D5DD840040CFC7 /* TDecSlice.cpp */,
    821                                 7874633A17D5DD840040CFC7 /* TDecSlice.h */,
    822                                 7874633B17D5DD840040CFC7 /* TDecTop.cpp */,
    823                                 7874633C17D5DD840040CFC7 /* TDecTop.h */,
    824                         );
    825                         path = TLibDecoder;
    826                         sourceTree = "<group>";
    827                 };
    828                 7874633D17D5DD840040CFC7 /* TLibEncoder */ = {
    829                         isa = PBXGroup;
    830                         children = (
    831                                 7874633E17D5DD840040CFC7 /* AnnexBwrite.h */,
    832                                 7874633F17D5DD840040CFC7 /* NALwrite.cpp */,
    833                                 7874634017D5DD840040CFC7 /* NALwrite.h */,
    834                                 7874634117D5DD840040CFC7 /* SEIwrite.cpp */,
    835                                 7874634217D5DD840040CFC7 /* SEIwrite.h */,
    836                                 7874634317D5DD840040CFC7 /* SyntaxElementWriter.cpp */,
    837                                 7874634417D5DD840040CFC7 /* SyntaxElementWriter.h */,
    838                                 7874634517D5DD840040CFC7 /* TEncAnalyze.cpp */,
    839                                 7874634617D5DD840040CFC7 /* TEncAnalyze.h */,
    840                                 7874634717D5DD840040CFC7 /* TEncBinCoder.h */,
    841                                 7874634817D5DD840040CFC7 /* TEncBinCoderCABAC.cpp */,
    842                                 7874634917D5DD840040CFC7 /* TEncBinCoderCABAC.h */,
    843                                 7874634A17D5DD840040CFC7 /* TEncBinCoderCABACCounter.cpp */,
    844                                 7874634B17D5DD840040CFC7 /* TEncBinCoderCABACCounter.h */,
    845                                 7874634C17D5DD840040CFC7 /* TEncCavlc.cpp */,
    846                                 7874634D17D5DD840040CFC7 /* TEncCavlc.h */,
    847                                 7874634E17D5DD840040CFC7 /* TEncCfg.h */,
    848                                 7874634F17D5DD840040CFC7 /* TEncCu.cpp */,
    849                                 7874635017D5DD840040CFC7 /* TEncCu.h */,
    850                                 7874635117D5DD840040CFC7 /* TEncEntropy.cpp */,
    851                                 7874635217D5DD840040CFC7 /* TEncEntropy.h */,
    852                                 7874635317D5DD840040CFC7 /* TEncGOP.cpp */,
    853                                 7874635417D5DD840040CFC7 /* TEncGOP.h */,
    854                                 7874635517D5DD840040CFC7 /* TEncPic.cpp */,
    855                                 7874635617D5DD840040CFC7 /* TEncPic.h */,
    856                                 7874635717D5DD840040CFC7 /* TEncPreanalyzer.cpp */,
    857                                 7874635817D5DD840040CFC7 /* TEncPreanalyzer.h */,
    858                                 7874635917D5DD840040CFC7 /* TEncRateCtrl.cpp */,
    859                                 7874635A17D5DD840040CFC7 /* TEncRateCtrl.h */,
    860                                 7874635B17D5DD840040CFC7 /* TEncSampleAdaptiveOffset.cpp */,
    861                                 7874635C17D5DD840040CFC7 /* TEncSampleAdaptiveOffset.h */,
    862                                 7874635D17D5DD840040CFC7 /* TEncSbac.cpp */,
    863                                 7874635E17D5DD840040CFC7 /* TEncSbac.h */,
    864                                 7874635F17D5DD840040CFC7 /* TEncSearch.cpp */,
    865                                 7874636017D5DD840040CFC7 /* TEncSearch.h */,
    866                                 7874636117D5DD840040CFC7 /* TEncSlice.cpp */,
    867                                 7874636217D5DD840040CFC7 /* TEncSlice.h */,
    868                                 7874636317D5DD840040CFC7 /* TEncTop.cpp */,
    869                                 7874636417D5DD840040CFC7 /* TEncTop.h */,
    870                                 7874636517D5DD840040CFC7 /* WeightPredAnalysis.cpp */,
    871                                 7874636617D5DD840040CFC7 /* WeightPredAnalysis.h */,
    872                         );
    873                         path = TLibEncoder;
    874                         sourceTree = "<group>";
    875                 };
    876                 7874636717D5DD840040CFC7 /* TLibExtractor */ = {
    877                         isa = PBXGroup;
    878                         children = (
    879                                 7874636817D5DD840040CFC7 /* TExtrTop.cpp */,
    880                                 7874636917D5DD840040CFC7 /* TExtrTop.h */,
    881                         );
    882                         path = TLibExtractor;
    883                         sourceTree = "<group>";
    884                 };
    885                 7874636A17D5DD840040CFC7 /* TLibRenderer */ = {
    886                         isa = PBXGroup;
    887                         children = (
    888                                 7874636B17D5DD840040CFC7 /* TRenFilter.cpp */,
    889                                 7874636C17D5DD840040CFC7 /* TRenFilter.h */,
    890                                 7874636D17D5DD840040CFC7 /* TRenImage.cpp */,
    891                                 7874636E17D5DD840040CFC7 /* TRenImage.h */,
    892                                 7874636F17D5DD840040CFC7 /* TRenImagePlane.cpp */,
    893                                 7874637017D5DD840040CFC7 /* TRenImagePlane.h */,
    894                                 7874637117D5DD840040CFC7 /* TRenInterpFilter.cpp */,
    895                                 7874637217D5DD840040CFC7 /* TRenInterpFilter.h */,
    896                                 7874637317D5DD840040CFC7 /* TRenModel.cpp */,
    897                                 7874637417D5DD840040CFC7 /* TRenModel.h */,
    898                                 7874637517D5DD840040CFC7 /* TRenModSetupStrParser.cpp */,
    899                                 7874637617D5DD840040CFC7 /* TRenModSetupStrParser.h */,
    900                                 7874637717D5DD840040CFC7 /* TRenSingleModel.cpp */,
    901                                 7874637817D5DD840040CFC7 /* TRenSingleModel.h */,
    902                                 7874637917D5DD840040CFC7 /* TRenTop.cpp */,
    903                                 7874637A17D5DD840040CFC7 /* TRenTop.h */,
    904                         );
    905                         path = TLibRenderer;
    906                         sourceTree = "<group>";
    907                 };
    908                 7874637B17D5DD840040CFC7 /* TLibVideoIO */ = {
    909                         isa = PBXGroup;
    910                         children = (
    911                                 7874637C17D5DD840040CFC7 /* TVideoIOYuv.cpp */,
    912                                 7874637D17D5DD840040CFC7 /* TVideoIOYuv.h */,
    913                         );
    914                         path = TLibVideoIO;
    915                         sourceTree = "<group>";
    916                 };
    917                 78C592E7158720BB004401C5 /* App */ = {
    918                         isa = PBXGroup;
    919                         children = (
    920                                 787462BA17D5DD7B0040CFC7 /* TAppDecoder */,
    921                                 787462C017D5DD7B0040CFC7 /* TAppEncoder */,
    922                                 787462C617D5DD7B0040CFC7 /* TAppExtractor */,
    923                                 787462CC17D5DD7B0040CFC7 /* TAppRenderer */,
    924                                 787462D217D5DD7B0040CFC7 /* utils */,
     632                                78486FA61B0B62C70098FD5A /* TAppDecoder */,
     633                                78486FAC1B0B62C70098FD5A /* TAppEncoder */,
     634                                78486FB21B0B62C70098FD5A /* TAppExtractor */,
     635                                78486FB81B0B62C70098FD5A /* TAppRenderer */,
     636                                78486FBE1B0B62C70098FD5A /* utils */,
    925637                        );
    926638                        name = App;
     
    928640                        sourceTree = "<group>";
    929641                };
    930                 78C59310158720BB004401C5 /* Lib */ = {
     642                78486FA61B0B62C70098FD5A /* TAppDecoder */ = {
    931643                        isa = PBXGroup;
    932644                        children = (
    933                                 787462E217D5DD840040CFC7 /* libmd5 */,
    934                                 787462E617D5DD840040CFC7 /* TAppCommon */,
    935                                 787462EB17D5DD840040CFC7 /* TLibCommon */,
    936                                 7874632317D5DD840040CFC7 /* TLibDecoder */,
    937                                 7874633D17D5DD840040CFC7 /* TLibEncoder */,
    938                                 7874636717D5DD840040CFC7 /* TLibExtractor */,
    939                                 7874636A17D5DD840040CFC7 /* TLibRenderer */,
    940                                 7874637B17D5DD840040CFC7 /* TLibVideoIO */,
    941                                 785E596B17D9AFA8001F6DD1 /* TLibStatistics */,
     645                                78486FA71B0B62C70098FD5A /* decmain.cpp */,
     646                                78486FA81B0B62C70098FD5A /* TAppDecCfg.cpp */,
     647                                78486FA91B0B62C70098FD5A /* TAppDecCfg.h */,
     648                                78486FAA1B0B62C70098FD5A /* TAppDecTop.cpp */,
     649                                78486FAB1B0B62C70098FD5A /* TAppDecTop.h */,
     650                        );
     651                        path = TAppDecoder;
     652                        sourceTree = "<group>";
     653                };
     654                78486FAC1B0B62C70098FD5A /* TAppEncoder */ = {
     655                        isa = PBXGroup;
     656                        children = (
     657                                78486FAD1B0B62C70098FD5A /* encmain.cpp */,
     658                                78486FAE1B0B62C70098FD5A /* TAppEncCfg.cpp */,
     659                                78486FAF1B0B62C70098FD5A /* TAppEncCfg.h */,
     660                                78486FB01B0B62C70098FD5A /* TAppEncTop.cpp */,
     661                                78486FB11B0B62C70098FD5A /* TAppEncTop.h */,
     662                        );
     663                        path = TAppEncoder;
     664                        sourceTree = "<group>";
     665                };
     666                78486FB21B0B62C70098FD5A /* TAppExtractor */ = {
     667                        isa = PBXGroup;
     668                        children = (
     669                                78486FB31B0B62C70098FD5A /* extrmain.cpp */,
     670                                78486FB41B0B62C70098FD5A /* TAppExtrCfg.cpp */,
     671                                78486FB51B0B62C70098FD5A /* TAppExtrCfg.h */,
     672                                78486FB61B0B62C70098FD5A /* TAppExtrTop.cpp */,
     673                                78486FB71B0B62C70098FD5A /* TAppExtrTop.h */,
     674                        );
     675                        path = TAppExtractor;
     676                        sourceTree = "<group>";
     677                };
     678                78486FB81B0B62C70098FD5A /* TAppRenderer */ = {
     679                        isa = PBXGroup;
     680                        children = (
     681                                78486FB91B0B62C70098FD5A /* RendererMain.cpp */,
     682                                78486FBA1B0B62C70098FD5A /* TAppRendererCfg.cpp */,
     683                                78486FBB1B0B62C70098FD5A /* TAppRendererCfg.h */,
     684                                78486FBC1B0B62C70098FD5A /* TAppRendererTop.cpp */,
     685                                78486FBD1B0B62C70098FD5A /* TAppRendererTop.h */,
     686                        );
     687                        path = TAppRenderer;
     688                        sourceTree = "<group>";
     689                };
     690                78486FBE1B0B62C70098FD5A /* utils */ = {
     691                        isa = PBXGroup;
     692                        children = (
     693                                78486FBF1B0B62C70098FD5A /* annexBbytecount.cpp */,
     694                                78486FC01B0B62C70098FD5A /* BitrateTargeting */,
     695                                78486FCD1B0B62C70098FD5A /* convert_NtoMbit_YCbCr.cpp */,
     696                        );
     697                        path = utils;
     698                        sourceTree = "<group>";
     699                };
     700                78486FC01B0B62C70098FD5A /* BitrateTargeting */ = {
     701                        isa = PBXGroup;
     702                        children = (
     703                                78486FC11B0B62C70098FD5A /* encode.shl */,
     704                                78486FC21B0B62C70098FD5A /* encodeCommand.sh */,
     705                                78486FC31B0B62C70098FD5A /* ExtractBitrates.cpp */,
     706                                78486FC41B0B62C70098FD5A /* ExtractBitrates.h */,
     707                                78486FC51B0B62C70098FD5A /* ExtractBitratesMain.cpp */,
     708                                78486FC61B0B62C70098FD5A /* GuessLambdaModifiers.cpp */,
     709                                78486FC71B0B62C70098FD5A /* GuessLambdaModifiers.h */,
     710                                78486FC81B0B62C70098FD5A /* GuessLambdaModifiersMain.cpp */,
     711                                78486FC91B0B62C70098FD5A /* makefile */,
     712                                78486FCA1B0B62C70098FD5A /* QuickStartGuide.pdf */,
     713                                78486FCB1B0B62C70098FD5A /* RuntimeError.h */,
     714                                78486FCC1B0B62C70098FD5A /* targetBitrates.sh */,
     715                        );
     716                        path = BitrateTargeting;
     717                        sourceTree = "<group>";
     718                };
     719                78486FCE1B0B62C70098FD5A /* Lib */ = {
     720                        isa = PBXGroup;
     721                        children = (
     722                                78486FCF1B0B62C70098FD5A /* libmd5 */,
     723                                78486FD31B0B62C70098FD5A /* TAppCommon */,
     724                                78486FD81B0B62C70098FD5A /* TLibCommon */,
     725                                784870181B0B62C70098FD5A /* TLibDecoder */,
     726                                784870321B0B62C70098FD5A /* TLibEncoder */,
     727                                7848705D1B0B62C70098FD5A /* TLibExtractor */,
     728                                784870601B0B62C70098FD5A /* TLibRenderer */,
     729                                784870711B0B62C70098FD5A /* TLibVideoIO */,
    942730                        );
    943731                        name = Lib;
    944732                        path = source/Lib;
     733                        sourceTree = "<group>";
     734                };
     735                78486FCF1B0B62C70098FD5A /* libmd5 */ = {
     736                        isa = PBXGroup;
     737                        children = (
     738                                78486FD01B0B62C70098FD5A /* libmd5.c */,
     739                                78486FD11B0B62C70098FD5A /* libmd5.h */,
     740                                78486FD21B0B62C70098FD5A /* MD5.h */,
     741                        );
     742                        path = libmd5;
     743                        sourceTree = "<group>";
     744                };
     745                78486FD31B0B62C70098FD5A /* TAppCommon */ = {
     746                        isa = PBXGroup;
     747                        children = (
     748                                78486FD41B0B62C70098FD5A /* program_options_lite.cpp */,
     749                                78486FD51B0B62C70098FD5A /* program_options_lite.h */,
     750                                78486FD61B0B62C70098FD5A /* TAppComCamPara.cpp */,
     751                                78486FD71B0B62C70098FD5A /* TAppComCamPara.h */,
     752                        );
     753                        path = TAppCommon;
     754                        sourceTree = "<group>";
     755                };
     756                78486FD81B0B62C70098FD5A /* TLibCommon */ = {
     757                        isa = PBXGroup;
     758                        children = (
     759                                78486FD91B0B62C70098FD5A /* AccessUnit.h */,
     760                                78486FDA1B0B62C70098FD5A /* CommonDef.h */,
     761                                78486FDB1B0B62C70098FD5A /* ContextModel.cpp */,
     762                                78486FDC1B0B62C70098FD5A /* ContextModel.h */,
     763                                78486FDD1B0B62C70098FD5A /* ContextModel3DBuffer.cpp */,
     764                                78486FDE1B0B62C70098FD5A /* ContextModel3DBuffer.h */,
     765                                78486FDF1B0B62C70098FD5A /* ContextTables.h */,
     766                                78486FE01B0B62C70098FD5A /* Debug.cpp */,
     767                                78486FE11B0B62C70098FD5A /* Debug.h */,
     768                                78486FE21B0B62C70098FD5A /* NAL.h */,
     769                                78486FE31B0B62C70098FD5A /* SEI.cpp */,
     770                                78486FE41B0B62C70098FD5A /* SEI.h */,
     771                                78486FE51B0B62C70098FD5A /* TComBitCounter.h */,
     772                                78486FE61B0B62C70098FD5A /* TComBitStream.cpp */,
     773                                78486FE71B0B62C70098FD5A /* TComBitStream.h */,
     774                                78486FE81B0B62C70098FD5A /* TComCABACTables.cpp */,
     775                                78486FE91B0B62C70098FD5A /* TComCABACTables.h */,
     776                                78486FEA1B0B62C70098FD5A /* TComChromaFormat.cpp */,
     777                                78486FEB1B0B62C70098FD5A /* TComChromaFormat.h */,
     778                                78486FEC1B0B62C70098FD5A /* TComCodingStatistics.h */,
     779                                78486FED1B0B62C70098FD5A /* TComDataCU.cpp */,
     780                                78486FEE1B0B62C70098FD5A /* TComDataCU.h */,
     781                                78486FEF1B0B62C70098FD5A /* TComInterpolationFilter.cpp */,
     782                                78486FF01B0B62C70098FD5A /* TComInterpolationFilter.h */,
     783                                78486FF11B0B62C70098FD5A /* TComList.h */,
     784                                78486FF21B0B62C70098FD5A /* TComLoopFilter.cpp */,
     785                                78486FF31B0B62C70098FD5A /* TComLoopFilter.h */,
     786                                78486FF41B0B62C70098FD5A /* TComMotionInfo.cpp */,
     787                                78486FF51B0B62C70098FD5A /* TComMotionInfo.h */,
     788                                78486FF61B0B62C70098FD5A /* TComMv.h */,
     789                                78486FF71B0B62C70098FD5A /* TComPattern.cpp */,
     790                                78486FF81B0B62C70098FD5A /* TComPattern.h */,
     791                                78486FF91B0B62C70098FD5A /* TComPic.cpp */,
     792                                78486FFA1B0B62C70098FD5A /* TComPic.h */,
     793                                78486FFB1B0B62C70098FD5A /* TComPicSym.cpp */,
     794                                78486FFC1B0B62C70098FD5A /* TComPicSym.h */,
     795                                78486FFD1B0B62C70098FD5A /* TComPicYuv.cpp */,
     796                                78486FFE1B0B62C70098FD5A /* TComPicYuv.h */,
     797                                78486FFF1B0B62C70098FD5A /* TComPicYuvMD5.cpp */,
     798                                784870001B0B62C70098FD5A /* TComPrediction.cpp */,
     799                                784870011B0B62C70098FD5A /* TComPrediction.h */,
     800                                784870021B0B62C70098FD5A /* TComRdCost.cpp */,
     801                                784870031B0B62C70098FD5A /* TComRdCost.h */,
     802                                784870041B0B62C70098FD5A /* TComRdCostWeightPrediction.cpp */,
     803                                784870051B0B62C70098FD5A /* TComRdCostWeightPrediction.h */,
     804                                784870061B0B62C70098FD5A /* TComRectangle.h */,
     805                                784870071B0B62C70098FD5A /* TComRom.cpp */,
     806                                784870081B0B62C70098FD5A /* TComRom.h */,
     807                                784870091B0B62C70098FD5A /* TComSampleAdaptiveOffset.cpp */,
     808                                7848700A1B0B62C70098FD5A /* TComSampleAdaptiveOffset.h */,
     809                                7848700B1B0B62C70098FD5A /* TComSlice.cpp */,
     810                                7848700C1B0B62C70098FD5A /* TComSlice.h */,
     811                                7848700D1B0B62C70098FD5A /* TComTrQuant.cpp */,
     812                                7848700E1B0B62C70098FD5A /* TComTrQuant.h */,
     813                                7848700F1B0B62C70098FD5A /* TComTU.cpp */,
     814                                784870101B0B62C70098FD5A /* TComTU.h */,
     815                                784870111B0B62C70098FD5A /* TComWedgelet.cpp */,
     816                                784870121B0B62C70098FD5A /* TComWedgelet.h */,
     817                                784870131B0B62C70098FD5A /* TComWeightPrediction.cpp */,
     818                                784870141B0B62C70098FD5A /* TComWeightPrediction.h */,
     819                                784870151B0B62C70098FD5A /* TComYuv.cpp */,
     820                                784870161B0B62C70098FD5A /* TComYuv.h */,
     821                                784870171B0B62C70098FD5A /* TypeDef.h */,
     822                        );
     823                        path = TLibCommon;
     824                        sourceTree = "<group>";
     825                };
     826                784870181B0B62C70098FD5A /* TLibDecoder */ = {
     827                        isa = PBXGroup;
     828                        children = (
     829                                784870191B0B62C70098FD5A /* AnnexBread.cpp */,
     830                                7848701A1B0B62C70098FD5A /* AnnexBread.h */,
     831                                7848701B1B0B62C70098FD5A /* NALread.cpp */,
     832                                7848701C1B0B62C70098FD5A /* NALread.h */,
     833                                7848701D1B0B62C70098FD5A /* SEIread.cpp */,
     834                                7848701E1B0B62C70098FD5A /* SEIread.h */,
     835                                7848701F1B0B62C70098FD5A /* SyntaxElementParser.cpp */,
     836                                784870201B0B62C70098FD5A /* SyntaxElementParser.h */,
     837                                784870211B0B62C70098FD5A /* TDecBinCoder.h */,
     838                                784870221B0B62C70098FD5A /* TDecBinCoderCABAC.cpp */,
     839                                784870231B0B62C70098FD5A /* TDecBinCoderCABAC.h */,
     840                                784870241B0B62C70098FD5A /* TDecCAVLC.cpp */,
     841                                784870251B0B62C70098FD5A /* TDecCAVLC.h */,
     842                                784870261B0B62C70098FD5A /* TDecCu.cpp */,
     843                                784870271B0B62C70098FD5A /* TDecCu.h */,
     844                                784870281B0B62C70098FD5A /* TDecEntropy.cpp */,
     845                                784870291B0B62C70098FD5A /* TDecEntropy.h */,
     846                                7848702A1B0B62C70098FD5A /* TDecGop.cpp */,
     847                                7848702B1B0B62C70098FD5A /* TDecGop.h */,
     848                                7848702C1B0B62C70098FD5A /* TDecSbac.cpp */,
     849                                7848702D1B0B62C70098FD5A /* TDecSbac.h */,
     850                                7848702E1B0B62C70098FD5A /* TDecSlice.cpp */,
     851                                7848702F1B0B62C70098FD5A /* TDecSlice.h */,
     852                                784870301B0B62C70098FD5A /* TDecTop.cpp */,
     853                                784870311B0B62C70098FD5A /* TDecTop.h */,
     854                        );
     855                        path = TLibDecoder;
     856                        sourceTree = "<group>";
     857                };
     858                784870321B0B62C70098FD5A /* TLibEncoder */ = {
     859                        isa = PBXGroup;
     860                        children = (
     861                                784870331B0B62C70098FD5A /* AnnexBwrite.h */,
     862                                784870341B0B62C70098FD5A /* NALwrite.cpp */,
     863                                784870351B0B62C70098FD5A /* NALwrite.h */,
     864                                784870361B0B62C70098FD5A /* SEIEncoder.cpp */,
     865                                784870371B0B62C70098FD5A /* SEIEncoder.h */,
     866                                784870381B0B62C70098FD5A /* SEIwrite.cpp */,
     867                                784870391B0B62C70098FD5A /* SEIwrite.h */,
     868                                7848703A1B0B62C70098FD5A /* SyntaxElementWriter.cpp */,
     869                                7848703B1B0B62C70098FD5A /* SyntaxElementWriter.h */,
     870                                7848703C1B0B62C70098FD5A /* TEncAnalyze.h */,
     871                                7848703D1B0B62C70098FD5A /* TEncBinCoder.h */,
     872                                7848703E1B0B62C70098FD5A /* TEncBinCoderCABAC.cpp */,
     873                                7848703F1B0B62C70098FD5A /* TEncBinCoderCABAC.h */,
     874                                784870401B0B62C70098FD5A /* TEncBinCoderCABACCounter.cpp */,
     875                                784870411B0B62C70098FD5A /* TEncBinCoderCABACCounter.h */,
     876                                784870421B0B62C70098FD5A /* TEncCavlc.cpp */,
     877                                784870431B0B62C70098FD5A /* TEncCavlc.h */,
     878                                784870441B0B62C70098FD5A /* TEncCfg.h */,
     879                                784870451B0B62C70098FD5A /* TEncCu.cpp */,
     880                                784870461B0B62C70098FD5A /* TEncCu.h */,
     881                                784870471B0B62C70098FD5A /* TEncEntropy.cpp */,
     882                                784870481B0B62C70098FD5A /* TEncEntropy.h */,
     883                                784870491B0B62C70098FD5A /* TEncGOP.cpp */,
     884                                7848704A1B0B62C70098FD5A /* TEncGOP.h */,
     885                                7848704B1B0B62C70098FD5A /* TEncPic.cpp */,
     886                                7848704C1B0B62C70098FD5A /* TEncPic.h */,
     887                                7848704D1B0B62C70098FD5A /* TEncPreanalyzer.cpp */,
     888                                7848704E1B0B62C70098FD5A /* TEncPreanalyzer.h */,
     889                                7848704F1B0B62C70098FD5A /* TEncRateCtrl.cpp */,
     890                                784870501B0B62C70098FD5A /* TEncRateCtrl.h */,
     891                                784870511B0B62C70098FD5A /* TEncSampleAdaptiveOffset.cpp */,
     892                                784870521B0B62C70098FD5A /* TEncSampleAdaptiveOffset.h */,
     893                                784870531B0B62C70098FD5A /* TEncSbac.cpp */,
     894                                784870541B0B62C70098FD5A /* TEncSbac.h */,
     895                                784870551B0B62C70098FD5A /* TEncSearch.cpp */,
     896                                784870561B0B62C70098FD5A /* TEncSearch.h */,
     897                                784870571B0B62C70098FD5A /* TEncSlice.cpp */,
     898                                784870581B0B62C70098FD5A /* TEncSlice.h */,
     899                                784870591B0B62C70098FD5A /* TEncTop.cpp */,
     900                                7848705A1B0B62C70098FD5A /* TEncTop.h */,
     901                                7848705B1B0B62C70098FD5A /* WeightPredAnalysis.cpp */,
     902                                7848705C1B0B62C70098FD5A /* WeightPredAnalysis.h */,
     903                        );
     904                        path = TLibEncoder;
     905                        sourceTree = "<group>";
     906                };
     907                7848705D1B0B62C70098FD5A /* TLibExtractor */ = {
     908                        isa = PBXGroup;
     909                        children = (
     910                                7848705E1B0B62C70098FD5A /* TExtrTop.cpp */,
     911                                7848705F1B0B62C70098FD5A /* TExtrTop.h */,
     912                        );
     913                        path = TLibExtractor;
     914                        sourceTree = "<group>";
     915                };
     916                784870601B0B62C70098FD5A /* TLibRenderer */ = {
     917                        isa = PBXGroup;
     918                        children = (
     919                                784870611B0B62C70098FD5A /* TRenFilter.cpp */,
     920                                784870621B0B62C70098FD5A /* TRenFilter.h */,
     921                                784870631B0B62C70098FD5A /* TRenImage.cpp */,
     922                                784870641B0B62C70098FD5A /* TRenImage.h */,
     923                                784870651B0B62C70098FD5A /* TRenImagePlane.cpp */,
     924                                784870661B0B62C70098FD5A /* TRenImagePlane.h */,
     925                                784870671B0B62C70098FD5A /* TRenInterpFilter.cpp */,
     926                                784870681B0B62C70098FD5A /* TRenInterpFilter.h */,
     927                                784870691B0B62C70098FD5A /* TRenModel.cpp */,
     928                                7848706A1B0B62C70098FD5A /* TRenModel.h */,
     929                                7848706B1B0B62C70098FD5A /* TRenModSetupStrParser.cpp */,
     930                                7848706C1B0B62C70098FD5A /* TRenModSetupStrParser.h */,
     931                                7848706D1B0B62C70098FD5A /* TRenSingleModel.cpp */,
     932                                7848706E1B0B62C70098FD5A /* TRenSingleModel.h */,
     933                                7848706F1B0B62C70098FD5A /* TRenTop.cpp */,
     934                                784870701B0B62C70098FD5A /* TRenTop.h */,
     935                        );
     936                        path = TLibRenderer;
     937                        sourceTree = "<group>";
     938                };
     939                784870711B0B62C70098FD5A /* TLibVideoIO */ = {
     940                        isa = PBXGroup;
     941                        children = (
     942                                784870721B0B62C70098FD5A /* TVideoIOYuv.cpp */,
     943                                784870731B0B62C70098FD5A /* TVideoIOYuv.h */,
     944                        );
     945                        path = TLibVideoIO;
    945946                        sourceTree = "<group>";
    946947                };
     
    12081209                        attributes = {
    12091210                                BuildIndependentTargetsInParallel = YES;
    1210                                 LastUpgradeCheck = 0500;
     1211                                LastUpgradeCheck = 0620;
    12111212                        };
    12121213                        buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "HTM" */;
     
    12451246                        buildActionMask = 2147483647;
    12461247                        files = (
    1247                                 7874639417D5DE070040CFC7 /* TComPrediction.cpp in Sources */,
    1248                                 7874639517D5DE070040CFC7 /* TComRdCost.cpp in Sources */,
    1249                                 7874639617D5DE070040CFC7 /* TComRdCostWeightPrediction.cpp in Sources */,
    1250                                 7874639717D5DE070040CFC7 /* TComRom.cpp in Sources */,
    1251                                 7874639817D5DE070040CFC7 /* TComSampleAdaptiveOffset.cpp in Sources */,
    1252                                 7874639917D5DE070040CFC7 /* TComSlice.cpp in Sources */,
    1253                                 7874639A17D5DE070040CFC7 /* TComTrQuant.cpp in Sources */,
    1254                                 7874639B17D5DE070040CFC7 /* TComWedgelet.cpp in Sources */,
    1255                                 7874639C17D5DE070040CFC7 /* TComWeightPrediction.cpp in Sources */,
    1256                                 7874639D17D5DE070040CFC7 /* TComYuv.cpp in Sources */,
    1257                                 7874639E17D5DE230040CFC7 /* TComMotionInfo.cpp in Sources */,
    1258                                 7874639F17D5DE230040CFC7 /* TComPattern.cpp in Sources */,
    1259                                 787463A017D5DE230040CFC7 /* TComPic.cpp in Sources */,
    1260                                 787463A117D5DE230040CFC7 /* TComPicSym.cpp in Sources */,
    1261                                 787463A217D5DE230040CFC7 /* TComPicYuv.cpp in Sources */,
    1262                                 787463A317D5DE230040CFC7 /* TComPicYuvMD5.cpp in Sources */,
    1263                                 787463A417D5DE400040CFC7 /* TComCABACTables.cpp in Sources */,
    1264                                 787463A517D5DE400040CFC7 /* TComDataCU.cpp in Sources */,
    1265                                 787463A617D5DE400040CFC7 /* TComInterpolationFilter.cpp in Sources */,
    1266                                 787463A717D5DE400040CFC7 /* TComLoopFilter.cpp in Sources */,
    1267                                 787463A817D5DE4B0040CFC7 /* TComBitStream.cpp in Sources */,
    1268                                 787463A917D5DE640040CFC7 /* ContextModel.cpp in Sources */,
    1269                                 787463AA17D5DE640040CFC7 /* ContextModel3DBuffer.cpp in Sources */,
    1270                                 787463AB17D5DE640040CFC7 /* SEI.cpp in Sources */,
    1271                                 787463B717D5DED40040CFC7 /* libmd5.c in Sources */,
     1248                                784870871B0B63230098FD5A /* TComCABACTables.cpp in Sources */,
     1249                                7848709C1B0B63230098FD5A /* TComYuv.cpp in Sources */,
     1250                                7848709A1B0B63230098FD5A /* TComWedgelet.cpp in Sources */,
     1251                                784870931B0B63230098FD5A /* TComRdCost.cpp in Sources */,
     1252                                784870881B0B63230098FD5A /* TComChromaFormat.cpp in Sources */,
     1253                                7848708A1B0B63230098FD5A /* TComInterpolationFilter.cpp in Sources */,
     1254                                784870C61B0B63740098FD5A /* libmd5.c in Sources */,
     1255                                7848709B1B0B63230098FD5A /* TComWeightPrediction.cpp in Sources */,
     1256                                784870941B0B63230098FD5A /* TComRdCostWeightPrediction.cpp in Sources */,
     1257                                784870831B0B63230098FD5A /* ContextModel3DBuffer.cpp in Sources */,
     1258                                7848708E1B0B63230098FD5A /* TComPic.cpp in Sources */,
     1259                                784870961B0B63230098FD5A /* TComSampleAdaptiveOffset.cpp in Sources */,
     1260                                784870851B0B63230098FD5A /* SEI.cpp in Sources */,
     1261                                784870971B0B63230098FD5A /* TComSlice.cpp in Sources */,
     1262                                784870981B0B63230098FD5A /* TComTrQuant.cpp in Sources */,
     1263                                7848708D1B0B63230098FD5A /* TComPattern.cpp in Sources */,
     1264                                784870891B0B63230098FD5A /* TComDataCU.cpp in Sources */,
     1265                                7848708B1B0B63230098FD5A /* TComLoopFilter.cpp in Sources */,
     1266                                7848708F1B0B63230098FD5A /* TComPicSym.cpp in Sources */,
     1267                                784870991B0B63230098FD5A /* TComTU.cpp in Sources */,
     1268                                784870861B0B63230098FD5A /* TComBitStream.cpp in Sources */,
     1269                                784870951B0B63230098FD5A /* TComRom.cpp in Sources */,
     1270                                784870911B0B63230098FD5A /* TComPicYuvMD5.cpp in Sources */,
     1271                                784870821B0B63230098FD5A /* ContextModel.cpp in Sources */,
     1272                                784870841B0B63230098FD5A /* Debug.cpp in Sources */,
     1273                                7848708C1B0B63230098FD5A /* TComMotionInfo.cpp in Sources */,
     1274                                784870921B0B63230098FD5A /* TComPrediction.cpp in Sources */,
     1275                                784870901B0B63230098FD5A /* TComPicYuv.cpp in Sources */,
    12721276                        );
    12731277                        runOnlyForDeploymentPostprocessing = 0;
     
    12771281                        buildActionMask = 2147483647;
    12781282                        files = (
    1279                                 787463B817D5DEE80040CFC7 /* AnnexBread.cpp in Sources */,
    1280                                 787463B917D5DEE80040CFC7 /* NALread.cpp in Sources */,
    1281                                 787463BA17D5DEE80040CFC7 /* SEIread.cpp in Sources */,
    1282                                 787463BB17D5DEE80040CFC7 /* SyntaxElementParser.cpp in Sources */,
    1283                                 787463BC17D5DEE80040CFC7 /* TDecBinCoderCABAC.cpp in Sources */,
    1284                                 787463BD17D5DEE80040CFC7 /* TDecCAVLC.cpp in Sources */,
    1285                                 787463BE17D5DEE80040CFC7 /* TDecCu.cpp in Sources */,
    1286                                 787463BF17D5DEE80040CFC7 /* TDecEntropy.cpp in Sources */,
    1287                                 787463C017D5DEE80040CFC7 /* TDecGop.cpp in Sources */,
    1288                                 787463C117D5DEE80040CFC7 /* TDecSbac.cpp in Sources */,
    1289                                 787463C217D5DEE80040CFC7 /* TDecSlice.cpp in Sources */,
    1290                                 787463C317D5DEE80040CFC7 /* TDecTop.cpp in Sources */,
     1283                                784870A61B0B63360098FD5A /* TDecSbac.cpp in Sources */,
     1284                                784870A51B0B63360098FD5A /* TDecGop.cpp in Sources */,
     1285                                7848709F1B0B63360098FD5A /* SEIread.cpp in Sources */,
     1286                                784870A81B0B63360098FD5A /* TDecTop.cpp in Sources */,
     1287                                784870A41B0B63360098FD5A /* TDecEntropy.cpp in Sources */,
     1288                                7848709D1B0B63360098FD5A /* AnnexBread.cpp in Sources */,
     1289                                784870A31B0B63360098FD5A /* TDecCu.cpp in Sources */,
     1290                                784870A01B0B63360098FD5A /* SyntaxElementParser.cpp in Sources */,
     1291                                784870A71B0B63360098FD5A /* TDecSlice.cpp in Sources */,
     1292                                784870A11B0B63360098FD5A /* TDecBinCoderCABAC.cpp in Sources */,
     1293                                7848709E1B0B63360098FD5A /* NALread.cpp in Sources */,
     1294                                784870A21B0B63360098FD5A /* TDecCAVLC.cpp in Sources */,
    12911295                        );
    12921296                        runOnlyForDeploymentPostprocessing = 0;
     
    12961300                        buildActionMask = 2147483647;
    12971301                        files = (
    1298                                 7874638117D5DDA60040CFC7 /* NALwrite.cpp in Sources */,
    1299                                 7874638217D5DDA60040CFC7 /* SEIwrite.cpp in Sources */,
    1300                                 7874638317D5DDA60040CFC7 /* SyntaxElementWriter.cpp in Sources */,
    1301                                 7874638417D5DDA60040CFC7 /* TEncAnalyze.cpp in Sources */,
    1302                                 7874638517D5DDA60040CFC7 /* TEncBinCoderCABAC.cpp in Sources */,
    1303                                 7874638617D5DDA60040CFC7 /* TEncBinCoderCABACCounter.cpp in Sources */,
    1304                                 7874638717D5DDA60040CFC7 /* TEncCavlc.cpp in Sources */,
    1305                                 7874638817D5DDA60040CFC7 /* TEncCu.cpp in Sources */,
    1306                                 7874638917D5DDA60040CFC7 /* TEncEntropy.cpp in Sources */,
    1307                                 7874638A17D5DDA60040CFC7 /* TEncGOP.cpp in Sources */,
    1308                                 7874638B17D5DDA60040CFC7 /* TEncPic.cpp in Sources */,
    1309                                 7874638C17D5DDA60040CFC7 /* TEncPreanalyzer.cpp in Sources */,
    1310                                 7874638D17D5DDA60040CFC7 /* TEncRateCtrl.cpp in Sources */,
    1311                                 7874638E17D5DDA60040CFC7 /* TEncSampleAdaptiveOffset.cpp in Sources */,
    1312                                 7874638F17D5DDA60040CFC7 /* TEncSbac.cpp in Sources */,
    1313                                 7874639017D5DDA60040CFC7 /* TEncSearch.cpp in Sources */,
    1314                                 7874639117D5DDA60040CFC7 /* TEncSlice.cpp in Sources */,
    1315                                 7874639217D5DDA60040CFC7 /* TEncTop.cpp in Sources */,
    1316                                 7874639317D5DDA60040CFC7 /* WeightPredAnalysis.cpp in Sources */,
     1302                                784870AF1B0B634A0098FD5A /* TEncCavlc.cpp in Sources */,
     1303                                784870AD1B0B634A0098FD5A /* TEncBinCoderCABAC.cpp in Sources */,
     1304                                784870B61B0B634A0098FD5A /* TEncSampleAdaptiveOffset.cpp in Sources */,
     1305                                784870B11B0B634A0098FD5A /* TEncEntropy.cpp in Sources */,
     1306                                784870AA1B0B634A0098FD5A /* SEIEncoder.cpp in Sources */,
     1307                                784870B71B0B634A0098FD5A /* TEncSbac.cpp in Sources */,
     1308                                784870A91B0B634A0098FD5A /* NALwrite.cpp in Sources */,
     1309                                784870B51B0B634A0098FD5A /* TEncRateCtrl.cpp in Sources */,
     1310                                784870AE1B0B634A0098FD5A /* TEncBinCoderCABACCounter.cpp in Sources */,
     1311                                784870B31B0B634A0098FD5A /* TEncPic.cpp in Sources */,
     1312                                784870BB1B0B634A0098FD5A /* WeightPredAnalysis.cpp in Sources */,
     1313                                784870B41B0B634A0098FD5A /* TEncPreanalyzer.cpp in Sources */,
     1314                                784870BA1B0B634A0098FD5A /* TEncTop.cpp in Sources */,
     1315                                784870B21B0B634A0098FD5A /* TEncGOP.cpp in Sources */,
     1316                                784870B01B0B634A0098FD5A /* TEncCu.cpp in Sources */,
     1317                                784870AC1B0B634A0098FD5A /* SyntaxElementWriter.cpp in Sources */,
     1318                                784870AB1B0B634A0098FD5A /* SEIwrite.cpp in Sources */,
     1319                                784870B81B0B634A0098FD5A /* TEncSearch.cpp in Sources */,
     1320                                784870B91B0B634A0098FD5A /* TEncSlice.cpp in Sources */,
    13171321                        );
    13181322                        runOnlyForDeploymentPostprocessing = 0;
     
    13221326                        buildActionMask = 2147483647;
    13231327                        files = (
    1324                                 787463AC17D5DE8A0040CFC7 /* TVideoIOYuv.cpp in Sources */,
     1328                                784870C51B0B63610098FD5A /* TVideoIOYuv.cpp in Sources */,
    13251329                        );
    13261330                        runOnlyForDeploymentPostprocessing = 0;
     
    13301334                        buildActionMask = 2147483647;
    13311335                        files = (
    1332                                 7874637E17D5DD900040CFC7 /* encmain.cpp in Sources */,
    1333                                 7874637F17D5DD900040CFC7 /* TAppEncCfg.cpp in Sources */,
    1334                                 7874638017D5DD900040CFC7 /* TAppEncTop.cpp in Sources */,
     1336                                784870781B0B62D80098FD5A /* TAppEncCfg.cpp in Sources */,
     1337                                784870791B0B62D80098FD5A /* TAppEncTop.cpp in Sources */,
     1338                                784870771B0B62D80098FD5A /* encmain.cpp in Sources */,
    13351339                        );
    13361340                        runOnlyForDeploymentPostprocessing = 0;
     
    13401344                        buildActionMask = 2147483647;
    13411345                        files = (
    1342                                 787463C417D5DEFB0040CFC7 /* decmain.cpp in Sources */,
    1343                                 787463C517D5DEFB0040CFC7 /* TAppDecCfg.cpp in Sources */,
    1344                                 787463C617D5DEFB0040CFC7 /* TAppDecTop.cpp in Sources */,
     1346                                784870751B0B62D10098FD5A /* TAppDecCfg.cpp in Sources */,
     1347                                784870741B0B62D10098FD5A /* decmain.cpp in Sources */,
     1348                                784870761B0B62D10098FD5A /* TAppDecTop.cpp in Sources */,
    13451349                        );
    13461350                        runOnlyForDeploymentPostprocessing = 0;
     
    13501354                        buildActionMask = 2147483647;
    13511355                        files = (
    1352                                 787463CD17D5DF220040CFC7 /* TExtrTop.cpp in Sources */,
     1356                                784870BC1B0B63520098FD5A /* TExtrTop.cpp in Sources */,
    13531357                        );
    13541358                        runOnlyForDeploymentPostprocessing = 0;
     
    13581362                        buildActionMask = 2147483647;
    13591363                        files = (
    1360                                 787463C717D5DF080040CFC7 /* extrmain.cpp in Sources */,
    1361                                 787463C817D5DF080040CFC7 /* TAppExtrCfg.cpp in Sources */,
    1362                                 787463C917D5DF080040CFC7 /* TAppExtrTop.cpp in Sources */,
     1364                                7848707B1B0B62E10098FD5A /* TAppExtrCfg.cpp in Sources */,
     1365                                7848707A1B0B62E10098FD5A /* extrmain.cpp in Sources */,
     1366                                7848707C1B0B62E10098FD5A /* TAppExtrTop.cpp in Sources */,
    13631367                        );
    13641368                        runOnlyForDeploymentPostprocessing = 0;
     
    13681372                        buildActionMask = 2147483647;
    13691373                        files = (
    1370                                 787463AD17D5DE980040CFC7 /* TRenFilter.cpp in Sources */,
    1371                                 787463AE17D5DE980040CFC7 /* TRenImage.cpp in Sources */,
    1372                                 787463AF17D5DE980040CFC7 /* TRenImagePlane.cpp in Sources */,
    1373                                 787463B017D5DE980040CFC7 /* TRenInterpFilter.cpp in Sources */,
    1374                                 787463B117D5DE9D0040CFC7 /* TRenModel.cpp in Sources */,
    1375                                 787463B217D5DE9D0040CFC7 /* TRenModSetupStrParser.cpp in Sources */,
    1376                                 787463B317D5DE9D0040CFC7 /* TRenSingleModel.cpp in Sources */,
    1377                                 787463B417D5DE9D0040CFC7 /* TRenTop.cpp in Sources */,
     1374                                784870C41B0B635C0098FD5A /* TRenTop.cpp in Sources */,
     1375                                784870C31B0B635C0098FD5A /* TRenSingleModel.cpp in Sources */,
     1376                                784870BE1B0B635C0098FD5A /* TRenImage.cpp in Sources */,
     1377                                784870C11B0B635C0098FD5A /* TRenModel.cpp in Sources */,
     1378                                784870C21B0B635C0098FD5A /* TRenModSetupStrParser.cpp in Sources */,
     1379                                784870BD1B0B635C0098FD5A /* TRenFilter.cpp in Sources */,
     1380                                784870C01B0B635C0098FD5A /* TRenInterpFilter.cpp in Sources */,
     1381                                784870BF1B0B635C0098FD5A /* TRenImagePlane.cpp in Sources */,
    13781382                        );
    13791383                        runOnlyForDeploymentPostprocessing = 0;
     
    13831387                        buildActionMask = 2147483647;
    13841388                        files = (
    1385                                 787463CA17D5DF0E0040CFC7 /* RendererMain.cpp in Sources */,
    1386                                 787463CB17D5DF0E0040CFC7 /* TAppRendererCfg.cpp in Sources */,
    1387                                 787463CC17D5DF0E0040CFC7 /* TAppRendererTop.cpp in Sources */,
     1389                                7848707E1B0B62E80098FD5A /* TAppRendererCfg.cpp in Sources */,
     1390                                7848707D1B0B62E80098FD5A /* RendererMain.cpp in Sources */,
     1391                                7848707F1B0B62E80098FD5A /* TAppRendererTop.cpp in Sources */,
    13881392                        );
    13891393                        runOnlyForDeploymentPostprocessing = 0;
     
    13931397                        buildActionMask = 2147483647;
    13941398                        files = (
    1395                                 787463B517D5DEAF0040CFC7 /* program_options_lite.cpp in Sources */,
    1396                                 787463B617D5DEAF0040CFC7 /* TAppComCamPara.cpp in Sources */,
     1399                                784870811B0B63040098FD5A /* TAppComCamPara.cpp in Sources */,
     1400                                784870801B0B63040098FD5A /* program_options_lite.cpp in Sources */,
    13971401                        );
    13981402                        runOnlyForDeploymentPostprocessing = 0;
     
    15211525                                GCC_WARN_UNUSED_VARIABLE = YES;
    15221526                                HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/source/Lib/";
    1523                                 MACOSX_DEPLOYMENT_TARGET = 10.7;
    15241527                                ONLY_ACTIVE_ARCH = YES;
    1525                                 SDKROOT = macosx;
     1528                                OTHER_CPLUSPLUSFLAGS = (
     1529                                        "$(OTHER_CFLAGS)",
     1530                                        "-DDEBUG",
     1531                                );
    15261532                        };
    15271533                        name = Debug;
     
    15321538                                GCC_OPTIMIZATION_LEVEL = s;
    15331539                                GCC_WARN_ABOUT_RETURN_TYPE = YES;
    1534                                 GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
    15351540                                GCC_WARN_UNUSED_VARIABLE = YES;
    15361541                                HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/source/Lib/";
    1537                                 MACOSX_DEPLOYMENT_TARGET = 10.7;
    1538                                 SDKROOT = macosx;
    15391542                        };
    15401543                        name = Release;
     
    15431546                        isa = XCBuildConfiguration;
    15441547                        buildSettings = {
    1545                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1548                                COMBINE_HIDPI_IMAGES = YES;
    15461549                                INSTALL_PATH = /usr/local/lib;
    15471550                                PRODUCT_NAME = TLibCommon;
     
    15521555                        isa = XCBuildConfiguration;
    15531556                        buildSettings = {
    1554                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1557                                COMBINE_HIDPI_IMAGES = YES;
    15551558                                INSTALL_PATH = /usr/local/lib;
    15561559                                PRODUCT_NAME = TLibCommon;
     
    15611564                        isa = XCBuildConfiguration;
    15621565                        buildSettings = {
    1563                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1566                                COMBINE_HIDPI_IMAGES = YES;
    15641567                                INSTALL_PATH = /usr/local/lib;
    15651568                                PRODUCT_NAME = TLibDecoder;
     
    15701573                        isa = XCBuildConfiguration;
    15711574                        buildSettings = {
    1572                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1575                                COMBINE_HIDPI_IMAGES = YES;
    15731576                                INSTALL_PATH = /usr/local/lib;
    15741577                                PRODUCT_NAME = TLibDecoder;
     
    15791582                        isa = XCBuildConfiguration;
    15801583                        buildSettings = {
    1581                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1584                                COMBINE_HIDPI_IMAGES = YES;
    15821585                                INSTALL_PATH = /usr/local/lib;
    15831586                                PRODUCT_NAME = TLibEncoder;
     
    15881591                        isa = XCBuildConfiguration;
    15891592                        buildSettings = {
    1590                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1593                                COMBINE_HIDPI_IMAGES = YES;
    15911594                                INSTALL_PATH = /usr/local/lib;
    15921595                                PRODUCT_NAME = TLibEncoder;
     
    15971600                        isa = XCBuildConfiguration;
    15981601                        buildSettings = {
    1599                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1602                                COMBINE_HIDPI_IMAGES = YES;
    16001603                                INSTALL_PATH = /usr/local/lib;
    16011604                                PRODUCT_NAME = TLibVideoIO;
     
    16061609                        isa = XCBuildConfiguration;
    16071610                        buildSettings = {
    1608                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1611                                COMBINE_HIDPI_IMAGES = YES;
    16091612                                INSTALL_PATH = /usr/local/lib;
    16101613                                PRODUCT_NAME = TLibVideoIO;
     
    16151618                        isa = XCBuildConfiguration;
    16161619                        buildSettings = {
    1617                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    16181620                                INSTALL_PATH = /usr/local/bin;
    16191621                                PRODUCT_NAME = TAppEncoder;
     
    16241626                        isa = XCBuildConfiguration;
    16251627                        buildSettings = {
    1626                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    16271628                                INSTALL_PATH = /usr/local/bin;
    16281629                                PRODUCT_NAME = TAppEncoder;
     
    16331634                        isa = XCBuildConfiguration;
    16341635                        buildSettings = {
    1635                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    16361636                                INSTALL_PATH = /usr/local/bin;
    16371637                                PRODUCT_NAME = TAppDecoder;
     
    16421642                        isa = XCBuildConfiguration;
    16431643                        buildSettings = {
    1644                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    16451644                                INSTALL_PATH = /usr/local/bin;
    16461645                                PRODUCT_NAME = TAppDecoder;
     
    16511650                        isa = XCBuildConfiguration;
    16521651                        buildSettings = {
    1653                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1652                                COMBINE_HIDPI_IMAGES = YES;
    16541653                                INSTALL_PATH = /usr/local/lib;
    16551654                                PRODUCT_NAME = TLibExtractor;
     
    16601659                        isa = XCBuildConfiguration;
    16611660                        buildSettings = {
    1662                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1661                                COMBINE_HIDPI_IMAGES = YES;
    16631662                                INSTALL_PATH = /usr/local/lib;
    16641663                                PRODUCT_NAME = TLibExtractor;
     
    16691668                        isa = XCBuildConfiguration;
    16701669                        buildSettings = {
    1671                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    16721670                                INSTALL_PATH = /usr/local/bin;
    16731671                                PRODUCT_NAME = TAppExtractor;
     
    16781676                        isa = XCBuildConfiguration;
    16791677                        buildSettings = {
    1680                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    16811678                                INSTALL_PATH = /usr/local/bin;
    16821679                                PRODUCT_NAME = TAppExtractor;
     
    16871684                        isa = XCBuildConfiguration;
    16881685                        buildSettings = {
    1689                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1686                                COMBINE_HIDPI_IMAGES = YES;
    16901687                                INSTALL_PATH = /usr/local/lib;
    16911688                                PRODUCT_NAME = TLibRenderer;
     
    16961693                        isa = XCBuildConfiguration;
    16971694                        buildSettings = {
    1698                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1695                                COMBINE_HIDPI_IMAGES = YES;
    16991696                                INSTALL_PATH = /usr/local/lib;
    17001697                                PRODUCT_NAME = TLibRenderer;
     
    17051702                        isa = XCBuildConfiguration;
    17061703                        buildSettings = {
    1707                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    17081704                                INSTALL_PATH = /usr/local/bin;
    17091705                                PRODUCT_NAME = TAppRenderer;
     
    17141710                        isa = XCBuildConfiguration;
    17151711                        buildSettings = {
    1716                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    17171712                                INSTALL_PATH = /usr/local/bin;
    17181713                                PRODUCT_NAME = TAppRenderer;
     
    17231718                        isa = XCBuildConfiguration;
    17241719                        buildSettings = {
    1725                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1720                                COMBINE_HIDPI_IMAGES = YES;
    17261721                                INSTALL_PATH = /usr/local/lib;
    17271722                                PRODUCT_NAME = TAppCommon;
     
    17321727                        isa = XCBuildConfiguration;
    17331728                        buildSettings = {
    1734                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     1729                                COMBINE_HIDPI_IMAGES = YES;
    17351730                                INSTALL_PATH = /usr/local/lib;
    17361731                                PRODUCT_NAME = TAppCommon;
     
    17411736                        isa = XCBuildConfiguration;
    17421737                        buildSettings = {
    1743                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    17441738                                PRODUCT_NAME = "$(TARGET_NAME)";
    17451739                        };
     
    17491743                        isa = XCBuildConfiguration;
    17501744                        buildSettings = {
    1751                                 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    17521745                                PRODUCT_NAME = "$(TARGET_NAME)";
    17531746                        };
  • branches/HTM-14.1-update-dev2/source/App/TAppEncoder/TAppEncCfg.cpp

    r1200 r1274  
    22872287
    22882288  dimBitOffset[ 0 ] = 0;
    2289   for (Int j = 1; j <= ((Int) m_dimIds.size() - m_splittingFlag ? 1 : 0); j++ )
     2289  for (Int j = 1; j <= (((Int) m_dimIds.size() - m_splittingFlag) ? 1 : 0); j++ )
    22902290  {
    22912291    dimBitOffset[ j ] = dimBitOffset[ j - 1 ] + m_dimensionIdLen[ j - 1];
  • branches/HTM-14.1-update-dev2/source/App/TAppRenderer/TAppRendererCfg.cpp

    r1200 r1274  
    306306
    307307  Int iNumNonNULL;
    308   for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfInputViews)  && m_pchDepthInputFileList[iNumNonNULL]; iNumNonNULL++);  xConfirmPara( iNumNonNULL < m_iNumberOfInputViews,  "Number of DepthInputFiles  must be greater than or equal to number of BaseViewNumbers" );
    309   for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfInputViews)  && m_pchVideoInputFileList[iNumNonNULL]; iNumNonNULL++);  xConfirmPara( iNumNonNULL < m_iNumberOfInputViews,  "Number of DepthInputFiles  must be greater than or equal to number of BaseViewNumbers" );
     308  for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfInputViews)  && m_pchDepthInputFileList[iNumNonNULL]; iNumNonNULL++) {};  xConfirmPara( iNumNonNULL < m_iNumberOfInputViews,  "Number of DepthInputFiles  must be greater than or equal to number of BaseViewNumbers" );
     309  for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfInputViews)  && m_pchVideoInputFileList[iNumNonNULL]; iNumNonNULL++) {};  xConfirmPara( iNumNonNULL < m_iNumberOfInputViews,  "Number of DepthInputFiles  must be greater than or equal to number of BaseViewNumbers" );
    310310
    311311
    312312  if ( !m_bSweep )
    313313  {
    314   for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfOutputViews) && m_pchSynthOutputFileList[iNumNonNULL]; iNumNonNULL++); xConfirmPara( iNumNonNULL < m_iNumberOfOutputViews, "Number of SynthOutputFiles must be greater than or equal to number of SynthViewNumbers" );
     314    for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfOutputViews) && m_pchSynthOutputFileList[iNumNonNULL]; iNumNonNULL++) {}; xConfirmPara( iNumNonNULL < m_iNumberOfOutputViews, "Number of SynthOutputFiles must be greater than or equal to number of SynthViewNumbers" );
    315315  }
    316316  else
  • branches/HTM-14.1-update-dev2/source/Lib/TAppCommon/TAppComCamPara.cpp

    r1200 r1274  
    13731373  Int  iSourceViewNum = m_aiBaseViews[ iViewIdx ];
    13741374  Double dBaseLine = 0.0;
    1375   Double dFL1, dCS1, dCP1, dZN1, dZF1;
    1376   Bool bInterpolated;
    1377   double dPos[3];
     1375  Double dFL1 = 1.0, dCS1 = 1.0, dCP1 = 1.0, dZN1 = 1.0, dZF1 = 1.0;
     1376  Bool bInterpolated = false;
     1377  double dPos[3] = {0.0, 0.0, 0.0};
    13781378
    13791379  if( m_iNumberOfBaseViews == 3 )
  • branches/HTM-14.1-update-dev2/source/Lib/TLibCommon/CommonDef.h

    r1200 r1274  
    363363#endif
    364364
    365 #if H_3D_IV_MERGE
     365#if NH_3D_MLC  || NH_3D_ARP
    366366#define MRG_MAX_NUM_CANDS_MEM       (MRG_MAX_NUM_CANDS+1) // one extra for inter-view motion prediction
    367367#endif
  • branches/HTM-14.1-update-dev2/source/Lib/TLibCommon/ContextTables.h

    r1225 r1274  
    162162#define NUM_CU_TRANSQUANT_BYPASS_FLAG_CTX  1
    163163
    164 #if H_3D_ARP
     164#if NH_3D_ARP
    165165#define NUM_ARPW_CTX                  3       ///< number of context models for weighting factor index used by advanced residual prediction
    166166#endif
     
    188188#define NUM_SDC_FLAG_CTX              1      ///< number of context
    189189#endif
    190 #if H_3D_DBBP
     190#if NH_3D_DBBP
    191191#define DBBP_NUM_FLAG_CTX                 1
    192192#endif
     
    542542//! \}
    543543
    544 #if H_3D_ARP
     544#if NH_3D_ARP
    545545static const UChar
    546546INIT_ARPW[3][NUM_ARPW_CTX] =
     
    629629#endif
    630630
    631 #if H_3D_DBBP
     631#if NH_3D_DBBP
    632632static const UChar INIT_DBBP_FLAG[3][DBBP_NUM_FLAG_CTX] =
    633633{
  • branches/HTM-14.1-update-dev2/source/Lib/TLibCommon/TComCodingStatistics.h

    r1225 r1274  
    8181  STATS__CABAC_BITS__ESCAPE_BITS,
    8282
     83#if NH_3D_DBBP
     84  STATS__CABAC_BITS__DBBP_FLAG,
     85#endif
     86#if NH_3D_ARP
     87  STATS__CABAC_BITS__ARP_FLAG,
     88#endif
    8389  STATS__CABAC_BITS__SAO,
    8490  STATS__CABAC_TRM_BITS,
     
    134140    "CABAC_BITS__SIGN_BIT",
    135141    "CABAC_BITS__ESCAPE_BITS",
     142#if NH_3D_DBBP
     143    "CABAC_BITS__DBBP_FLAG",
     144#endif
    136145    "CABAC_BITS__SAO",
    137146    "CABAC_TRM_BITS",
  • branches/HTM-14.1-update-dev2/source/Lib/TLibCommon/TComDataCU.cpp

    r1226 r1274  
    125125  m_bDecSubCu          = false;
    126126
    127 #if H_3D_NBDV
     127#if NH_3D_NBDV
    128128  m_pDvInfo              = NULL;
    129129#endif
    130 #if H_3D_VSP
     130#if NH_3D_VSP
    131131  m_piVSPFlag            = NULL;
    132132#endif
    133 #if H_3D_SPIVMP
     133#if NH_3D_SPIVMP
    134134  m_pbSPIVMPFlag         = NULL;
    135135#endif
    136 #if H_3D_ARP
     136#if NH_3D_ARP
    137137  m_puhARPW              = NULL;
    138138#endif
     
    142142#if H_3D_INTER_SDC
    143143#endif
    144 #if H_3D_DBBP
     144#if NH_3D_DBBP
    145145  m_pbDBBPFlag         = NULL;
    146146#endif
     
    185185    m_pbMergeFlag        = (Bool*  )xMalloc(Bool,   uiNumPartition);
    186186    m_puhMergeIndex      = (UChar* )xMalloc(UChar,  uiNumPartition);
    187 #if H_3D_VSP
     187#if NH_3D_VSP
    188188    m_piVSPFlag          = (Char*  )xMalloc(Char,   uiNumPartition);
    189189#endif
    190 #if H_3D_SPIVMP
     190#if NH_3D_SPIVMP
    191191    m_pbSPIVMPFlag       = (Bool*  )xMalloc(Bool,   uiNumPartition);
    192192#endif
     
    208208    }
    209209
    210 #if H_3D_NBDV
     210#if NH_3D_NBDV
    211211    m_pDvInfo            = (DisInfo* )xMalloc(DisInfo,  uiNumPartition);
    212212#endif
     
    249249    }
    250250
    251 #if H_3D_ARP
    252     m_puhARPW            = new UChar[ uiNumPartition];
     251#if NH_3D_ARP
     252    m_puhARPW            = (UChar*  )xMalloc(UChar,   uiNumPartition);
    253253#endif
    254254#if NH_3D_IC
     
    273273#endif
    274274#endif
    275 #if H_3D_DBBP
     275#if NH_3D_DBBP
    276276    m_pbDBBPFlag         = (Bool*  )xMalloc(Bool,   uiNumPartition);
    277277#endif
     
    372372    }
    373373
    374 #if H_3D_VSP
    375     if ( m_piVSPFlag          ) { xFree(m_piVSPFlag);           m_piVSPFlag         = NULL; }
    376 #endif
    377 #if H_3D_SPIVMP
     374#if NH_3D_VSP
     375    if ( m_piVSPFlag )
     376    {
     377      xFree(m_piVSPFlag);
     378      m_piVSPFlag = NULL;
     379    }
     380#endif
     381#if NH_3D_SPIVMP
    378382    if ( m_pbSPIVMPFlag       ) { xFree(m_pbSPIVMPFlag);           m_pbSPIVMPFlag         = NULL; }
    379383#endif
     
    463467      m_acCUMvField[rpl].destroy();
    464468    }
    465 #if H_3D_NBDV
     469#if NH_3D_NBDV
    466470    if ( m_pDvInfo            ) { xFree(m_pDvInfo);             m_pDvInfo           = NULL; }
    467471#endif
    468472
    469473
    470 #if H_3D_ARP
    471     if ( m_puhARPW            ) { delete[] m_puhARPW;           m_puhARPW           = NULL; }
     474#if NH_3D_ARP
     475    if ( m_puhARPW            ) { xFree(m_puhARPW);             m_puhARPW           = NULL; }
    472476#endif
    473477#if NH_3D_IC
     
    493497#endif   
    494498#endif   
    495 #if H_3D_DBBP
     499#if NH_3D_DBBP
    496500    if ( m_pbDBBPFlag         ) { xFree(m_pbDBBPFlag);          m_pbDBBPFlag        = NULL; }
    497501#endif
     
    598602  memset( m_puhHeight         , maxCUHeight,                m_uiNumPartition * sizeof( *m_puhHeight ) );
    599603
    600 #if H_3D_ARP
    601     m_puhARPW   [ui] = pcFrom->getARPW( ui );
    602 #endif
    603604#if NH_3D_IC
    604605  memset( m_pbICFlag          , false,                      m_uiNumPartition * sizeof( *m_pbICFlag ) );
    605606#endif
    606 
    607607  for(UInt i=0; i<NUM_REF_PIC_LIST_01; i++)
    608608  {
     
    623623  memset( m_puhMergeIndex     , 0,                        m_uiNumPartition * sizeof( *m_puhMergeIndex ) );
    624624
    625 #if H_3D_VSP
    626     m_piVSPFlag[ui] = pcFrom->m_piVSPFlag[ui];
    627 #endif
    628 #if H_3D_SPIVMP
    629     m_pbSPIVMPFlag[ui] = pcFrom->m_pbSPIVMPFlag[ui];
     625#if NH_3D_VSP
     626  memset( m_piVSPFlag         , 0,                        m_uiNumPartition * sizeof( *m_piVSPFlag ) );
     627#endif
     628#if NH_3D_SPIVMP
     629  memset( m_pbSPIVMPFlag      , 0,                     m_uiNumPartition * sizeof( *m_pbSPIVMPFlag ) );   
    630630#endif
    631631#if H_3D_DIM_SDC
    632632    m_pbSDCFlag[ui] = pcFrom->m_pbSDCFlag[ui];
    633633#endif
    634 #if H_3D_DBBP
    635     m_pbDBBPFlag[ui] = pcFrom->m_pbDBBPFlag[ui];
     634#if NH_3D_DBBP
     635  memset( m_pbDBBPFlag , false, m_uiNumPartition * sizeof( *m_pbDBBPFlag ));
    636636#endif
    637637#if H_3D
     
    639639    memset( m_uiDISType         + firstElement,     0,                    numElements * sizeof( *m_uiDISType) );
    640640#endif
    641 #if H_3D_VSP
    642     memset( m_piVSPFlag         + firstElement, 0,                        numElements * sizeof( *m_piVSPFlag ) );
    643 #endif
    644 #if H_3D_SPIVMP
    645     memset( m_pbSPIVMPFlag      + firstElement, 0,                        numElements * sizeof( *m_pbSPIVMPFlag ) );
    646 #endif
    647641
    648642  for (UInt ch=0; ch<MAX_NUM_CHANNEL_TYPE; ch++)
     
    651645  }
    652646
    653 #if H_3D_ARP
    654     memset( m_puhARPW           + firstElement, 0,                        numElements * sizeof( UChar )         );
     647#if NH_3D_ARP
     648  memset( m_puhARPW      ,      0,        m_uiNumPartition * sizeof( *m_puhARPW )         );
    655649#endif
    656650
     
    674668    m_apDmmPredictor[0] = 0;
    675669    m_apDmmPredictor[1] = 0;
    676 #endif
    677 #if H_3D_DBBP
    678     memset( m_pbDBBPFlag        + firstElement, false,                    numElements * sizeof( *m_pbDBBPFlag ) );
    679670#endif
    680671
     
    791782    m_pbMergeFlag[ui]   = 0;
    792783    m_puhMergeIndex[ui] = 0;
    793 #if H_3D_VSP
    794       m_piVSPFlag[ui] = 0;
    795 #endif
    796 #if H_3D_SPIVMP
    797       m_pbSPIVMPFlag[ui] = 0;
     784#if NH_3D_VSP
     785    m_piVSPFlag[ui]    = 0;
     786#endif
     787#if NH_3D_SPIVMP
     788    m_pbSPIVMPFlag[ui] = 0;
    798789#endif
    799790
     
    808799      m_puhCbf[comp][ui] = 0;
    809800    }
    810 #if H_3D_ARP
     801#if NH_3D_ARP
    811802      m_puhARPW[ui] = 0;
    812803#endif
     
    836827      m_apDmmPredictor[1] = 0;
    837828#endif
    838 #if H_3D_DBBP
     829#if NH_3D_DBBP
    839830      m_pbDBBPFlag[ui] = false;
    840831#endif
     
    892883  memset( m_pbMergeFlag,        0, iSizeInBool  );
    893884  memset( m_puhMergeIndex,      0, iSizeInUchar );
    894 #if H_3D_VSP
     885#if NH_3D_VSP
    895886  memset( m_piVSPFlag,          0, sizeof( Char  ) * m_uiNumPartition );
    896887#endif
    897 #if H_3D_SPIVMP
     888#if NH_3D_SPIVMP
    898889  memset( m_pbSPIVMPFlag,       0, sizeof( Bool  ) * m_uiNumPartition );
    899890#endif
     
    914905    memset( m_explicitRdpcmMode[comp],             NUMBER_OF_RDPCM_MODES, iSizeInUchar );
    915906  }
    916 #if H_3D_ARP
    917   memset( m_puhARPW,            0, iSizeInUchar  );
    918 #endif
    919907
    920908  memset( m_puhDepth,     uiDepth, iSizeInUchar );
     
    922910  memset( m_puhHeight,         uhHeight, iSizeInUchar );
    923911  memset( m_pbIPCMFlag,        0, iSizeInBool  );
     912#if NH_3D_ARP
     913  memset( m_puhARPW,           0, iSizeInUchar  );
     914#endif
    924915#if NH_3D_IC
    925916  memset( m_pbICFlag,          0, iSizeInBool  );
     
    945936  m_apDmmPredictor[1] = 0;
    946937#endif
    947 #if H_3D_DBBP
    948   memset( m_pbDBBPFlag,         0, iSizeInBool  );
     938#if NH_3D_DBBP
     939  memset( m_pbDBBPFlag,         0, sizeof(Bool) * m_uiNumPartition  );
    949940#endif
    950941
     
    972963      m_uiDISType[ui]   = pcCU->getDISType(uiPartOffset+ui);
    973964#endif
    974 #if H_3D_VSP
    975       m_piVSPFlag[ui]=pcCU->m_piVSPFlag[uiPartOffset+ui];
    976       m_pDvInfo[ ui ] = pcCU->m_pDvInfo[uiPartOffset+ui];
    977 #endif
    978 #if H_3D_SPIVMP
    979       m_pbSPIVMPFlag[ui]=pcCU->m_pbSPIVMPFlag[uiPartOffset+ui];
    980 #endif
    981 #if H_3D_ARP
     965#if NH_3D_VSP
     966    m_piVSPFlag[ui] = pcCU->m_piVSPFlag[uiPartOffset+ui];
     967    m_pDvInfo[ ui ] = pcCU->m_pDvInfo[uiPartOffset+ui];
     968#endif
     969#if NH_3D_SPIVMP
     970    m_pbSPIVMPFlag[ui]=pcCU->m_pbSPIVMPFlag[uiPartOffset+ui];
     971#endif
     972#if NH_3D_ARP
    982973      m_puhARPW           [ui] = pcCU->getARPW( uiPartOffset+ui );
    983974#endif
     
    1003994#endif
    1004995#endif
    1005 #if H_3D_DBBP
     996#if NH_3D_DBBP
    1006997      m_pbDBBPFlag[ui]=pcCU->m_pbDBBPFlag[uiPartOffset+ui];
    1007998#endif
     
    10741065  m_pePredMode=pcCU->getPredictionMode()  + uiPart;
    10751066  m_CUTransquantBypass  = pcCU->getCUTransquantBypass()+uiPart;
    1076 #if H_3D_NBDV
     1067#if NH_3D_NBDV
    10771068  m_pDvInfo             = pcCU->getDvInfo()           + uiPart;
    10781069#endif
     
    10801071  m_pbMergeFlag         = pcCU->getMergeFlag()        + uiPart;
    10811072  m_puhMergeIndex       = pcCU->getMergeIndex()       + uiPart;
    1082 #if H_3D_VSP
     1073#if NH_3D_VSP
    10831074  m_piVSPFlag           = pcCU->getVSPFlag()          + uiPart;
    10841075#endif
    1085 #if H_3D_SPIVMP
     1076#if NH_3D_SPIVMP
    10861077  m_pbSPIVMPFlag        = pcCU->getSPIVMPFlag()          + uiPart;
    10871078#endif
    1088 #if H_3D_ARP
     1079#if NH_3D_ARP
    10891080  m_puhARPW             = pcCU->getARPW()             + uiPart;
    10901081#endif
     
    11261117#endif 
    11271118#endif 
    1128 #if H_3D_DBBP
     1119#if NH_3D_DBBP
    11291120  m_pbDBBPFlag              = pcCU->getDBBPFlag()         + uiPart;
    11301121#endif
     
    11731164}
    11741165
    1175 #if H_3D_NBDV
     1166#if NH_3D_NBDV
    11761167Void TComDataCU::copyDVInfoFrom (TComDataCU* pcCU, UInt uiAbsPartIdx)
    11771168{
     
    11821173// Copy inter prediction info from the biggest CU
    11831174Void TComDataCU::copyInterPredInfoFrom    ( TComDataCU* pcCU, UInt uiAbsPartIdx, RefPicList eRefPicList
    1184 #if H_3D_NBDV
     1175#if NH_3D_NBDV
    11851176  , Bool bNBDV
    11861177#endif
     
    12131204
    12141205  m_pePartSize         = pcCU->getPartitionSize ()        + uiAbsPartIdx;
    1215 #if H_3D_NBDV
     1206#if NH_3D_NBDV
    12161207  if(bNBDV == true)
    12171208  {
     
    12341225  m_pbMergeFlag        = pcCU->getMergeFlag()             + uiAbsPartIdx;
    12351226  m_puhMergeIndex      = pcCU->getMergeIndex()            + uiAbsPartIdx;
    1236 #if H_3D_VSP
     1227#if NH_3D_VSP
    12371228  m_piVSPFlag          = pcCU->getVSPFlag()               + uiAbsPartIdx;
    12381229  m_pDvInfo            = pcCU->getDvInfo()                + uiAbsPartIdx;
    12391230#endif
    1240 #if H_3D_SPIVMP
     1231#if NH_3D_SPIVMP
    12411232  m_pbSPIVMPFlag       = pcCU->getSPIVMPFlag()            + uiAbsPartIdx;
    12421233#endif
     
    12441235  m_apiMVPIdx[eRefPicList] = pcCU->getMVPIdx(eRefPicList) + uiAbsPartIdx;
    12451236  m_apiMVPNum[eRefPicList] = pcCU->getMVPNum(eRefPicList) + uiAbsPartIdx;
    1246 #if H_3D_ARP
     1237#if NH_3D_ARP
    12471238  m_puhARPW            = pcCU->getARPW()                  + uiAbsPartIdx;
    12481239#endif   
    1249 #if H_3D_DBBP
     1240#if NH_3D_DBBP
    12501241  m_pbDBBPFlag       = pcCU->getDBBPFlag()              + uiAbsPartIdx;
    12511242#endif
    12521243
    12531244  m_acCUMvField[ eRefPicList ].linkToWithOffset( pcCU->getCUMvField(eRefPicList), uiAbsPartIdx );
    1254 #if H_3D_NBDV
     1245#if NH_3D_NBDV
    12551246  }
    12561247#endif
     
    12921283  memcpy( m_pbMergeFlag         + uiOffset, pcCU->getMergeFlag(),         iSizeInBool  );
    12931284  memcpy( m_puhMergeIndex       + uiOffset, pcCU->getMergeIndex(),        iSizeInUchar );
    1294 #if H_3D_VSP
     1285#if NH_3D_VSP
    12951286  memcpy( m_piVSPFlag           + uiOffset, pcCU->getVSPFlag(),           sizeof( Char ) * uiNumPartition );
    12961287  memcpy( m_pDvInfo             + uiOffset, pcCU->getDvInfo(),            sizeof( *m_pDvInfo ) * uiNumPartition );
    12971288#endif
    1298 #if H_3D_SPIVMP
     1289#if NH_3D_SPIVMP  || NH_3D_DBBP
    12991290  memcpy( m_pbSPIVMPFlag        + uiOffset, pcCU->getSPIVMPFlag(),        sizeof( Bool ) * uiNumPartition );
    13001291#endif
     
    13331324#endif
    13341325#endif
    1335 #if H_3D_DBBP
     1326#if NH_3D_DBBP
    13361327  memcpy( m_pbDBBPFlag          + uiOffset, pcCU->getDBBPFlag(),          iSizeInBool  );
     1328#endif
     1329#if NH_3D_ARP
     1330  memcpy( m_puhARPW             + uiOffset, pcCU->getARPW(),              iSizeInUchar );
    13371331#endif
    13381332
     
    13761370  }
    13771371
    1378 #if H_3D_ARP
    1379   memcpy( m_puhARPW             + uiOffset, pcCU->getARPW(),              iSizeInUchar );
    1380 #endif
    13811372#if NH_3D_IC
    13821373  memcpy( m_pbICFlag            + uiOffset, pcCU->getICFlag(),            iSizeInBool );
     
    14091400
    14101401  memcpy( pCtu->getQP() + m_absZIdxInCtu, m_phQP, sizeInChar  );
    1411 #if H_3D_NBDV
    1412   memcpy( rpcCU->getDvInfo()         + m_uiAbsIdxInLCU, m_pDvInfo,    sizeof(* m_pDvInfo)    * m_uiNumPartition );
     1402#if NH_3D_NBDV
     1403  memcpy( pCtu->getDvInfo() + m_absZIdxInCtu, m_pDvInfo, sizeof(* m_pDvInfo) * m_uiNumPartition );
    14131404#endif
    14141405
     
    14191410  memcpy( pCtu->getMergeFlag()         + m_absZIdxInCtu, m_pbMergeFlag,         iSizeInBool  );
    14201411  memcpy( pCtu->getMergeIndex()        + m_absZIdxInCtu, m_puhMergeIndex,       iSizeInUchar );
    1421   #if H_3D_VSP
    1422   memcpy( rpcCU->getVSPFlag()           + m_uiAbsIdxInLCU, m_piVSPFlag,           sizeof( Char ) * m_uiNumPartition );
    1423   memcpy( rpcCU->getDvInfo()            + m_uiAbsIdxInLCU, m_pDvInfo,             sizeof( *m_pDvInfo ) * m_uiNumPartition );
    1424 #endif
    1425 #if H_3D_SPIVMP
    1426   memcpy( rpcCU->getSPIVMPFlag()        + m_uiAbsIdxInLCU, m_pbSPIVMPFlag,        sizeof( Bool ) * m_uiNumPartition );
     1412#if NH_3D_VSP
     1413  memcpy( pCtu->getVSPFlag()           + m_absZIdxInCtu, m_piVSPFlag,           sizeof( Char ) * m_uiNumPartition );
     1414#endif
     1415#if NH_3D_DBBP
     1416  memcpy( pCtu->getDvInfo()            + m_absZIdxInCtu, m_pDvInfo,             sizeof( *m_pDvInfo ) * m_uiNumPartition );
     1417#endif
     1418#if NH_3D_SPIVMP
     1419  memcpy( pCtu->getSPIVMPFlag()        + m_absZIdxInCtu, m_pbSPIVMPFlag,        sizeof( Bool ) * m_uiNumPartition );
    14271420#endif
    14281421
     
    14611454#endif
    14621455#endif
    1463 #if H_3D_DBBP
    1464   memcpy( rpcCU->getDBBPFlag()          + m_uiAbsIdxInLCU, m_pbDBBPFlag,          iSizeInBool  );
     1456#if NH_3D_DBBP
     1457  memcpy( pCtu->getDBBPFlag()          + m_absZIdxInCtu, m_pbDBBPFlag,          iSizeInBool  );
     1458#endif
     1459#if NH_3D_ARP
     1460  memcpy( pCtu->getARPW()              + m_absZIdxInCtu, m_puhARPW,             iSizeInUchar );
    14651461#endif
    14661462
     
    14971493  }
    14981494
    1499 #if H_3D_ARP
    1500   memcpy( rpcCU->getARPW()             + m_uiAbsIdxInLCU, m_puhARPW,             iSizeInUchar );
    1501 #endif
    15021495#if NH_3D_IC
    15031496  memcpy( pCtu->getICFlag() + m_absZIdxInCtu, m_pbICFlag, sizeof( *m_pbICFlag ) * m_uiNumPartition );
    15041497#endif
    1505 
    15061498  pCtu->getTotalBins() = m_uiTotalBins;
    15071499}
     
    15121504#endif
    15131505
    1514 #if H_3D_VSP
    1515   memcpy( rpcCU->getVSPFlag()           + uiPartOffset, m_piVSPFlag,           sizeof(Char) * uiQNumPart );
    1516 #endif
    15171506#if H_3D_SPIVMP
    15181507  memcpy( rpcCU->getSPIVMPFlag()        + uiPartOffset, m_pbSPIVMPFlag,        sizeof(Bool) * uiQNumPart );
     
    15351524  memcpy( rpcCU->getSDCSegmentDCOffset(1) + uiPartOffset, m_apSegmentDCOffset[1], sizeof( Pel ) * uiQNumPart);
    15361525#endif
    1537 #endif
    1538 #if H_3D_DBBP
    1539   memcpy( rpcCU->getDBBPFlag()          + uiPartOffset, m_pbDBBPFlag,          iSizeInBool  );
    1540 #endif
    1541 #if H_3D_ARP
    1542   memcpy( rpcCU->getARPW()             + uiPartOffset, m_puhARPW,             iSizeInUchar );
    15431526#endif
    15441527
     
    20932076  return uiCtx;
    20942077}
    2095 #if H_3D_ARP
     2078#if NH_3D_ARP
    20962079UInt TComDataCU::getCTXARPWFlag( UInt uiAbsPartIdx )
    20972080{
     
    21002083  UInt        uiCtx = 0;
    21012084 
    2102   pcTempCU = getPULeft( uiTempPartIdx, m_uiAbsIdxInLCU + uiAbsPartIdx );
     2085  pcTempCU = getPULeft( uiTempPartIdx, m_absZIdxInCtu + uiAbsPartIdx );
    21032086  uiCtx    = ( pcTempCU ) ? ((pcTempCU->getARPW( uiTempPartIdx )==0)?0:1) : 0;
    21042087    return uiCtx;
    21052088}
    21062089#endif
    2107 #if H_3D_DBBP
     2090#if NH_3D_DBBP
    21082091Pel* TComDataCU::getVirtualDepthBlock(UInt uiAbsPartIdx, UInt uiWidth, UInt uiHeight, UInt& uiDepthStride)
    21092092{
     2093  const TComSPS* sps = getSlice()->getSPS();
     2094  UInt uiMaxCUWidth = sps->getMaxCUWidth();
     2095  UInt uiMaxCUHeight = sps->getMaxCUHeight();
     2096 
    21102097  // get coded and reconstructed depth view
    21112098  TComPicYuv* depthPicYuv = NULL;
     
    21132100 
    21142101  // DBBP is a texture coding tool
    2115   if( getSlice()->getIsDepth() )
    2116   {
    2117     return NULL;
    2118   } 
     2102  assert( !getSlice()->getIsDepth() );
     2103 
    21192104#if H_3D_FCO
    21202105  TComPic* depthPic = getSlice()->getIvPic(true, getSlice()->getViewIndex() );
     
    21432128    depthPicYuv   = baseDepthPic->getPicYuvRec();
    21442129    depthPicYuv->extendPicBorder();
    2145     uiDepthStride = depthPicYuv->getStride();
     2130    uiDepthStride = depthPicYuv->getStride(COMPONENT_Y);
    21462131   
    2147     Int iBlkX = ( getAddr() % baseDepthPic->getFrameWidthInCU() ) * g_uiMaxCUWidth  + g_auiRasterToPelX[ g_auiZscanToRaster[ getZorderIdxInCU()+uiAbsPartIdx ] ];
    2148     Int iBlkY = ( getAddr() / baseDepthPic->getFrameWidthInCU() ) * g_uiMaxCUHeight + g_auiRasterToPelY[ g_auiZscanToRaster[ getZorderIdxInCU()+uiAbsPartIdx ] ];
     2132    Int iBlkX = ( getCtuRsAddr() % baseDepthPic->getFrameWidthInCtus() ) * uiMaxCUWidth  + g_auiRasterToPelX[ g_auiZscanToRaster[ getZorderIdxInCtu()+uiAbsPartIdx ] ];
     2133    Int iBlkY = ( getCtuRsAddr() / baseDepthPic->getFrameWidthInCtus() ) * uiMaxCUHeight + g_auiRasterToPelY[ g_auiZscanToRaster[ getZorderIdxInCtu()+uiAbsPartIdx ] ];
    21492134   
    2150     Int iPictureWidth  = depthPicYuv->getWidth();
    2151     Int iPictureHeight = depthPicYuv->getHeight();
     2135    Int iPictureWidth  = depthPicYuv->getWidth(COMPONENT_Y);
     2136    Int iPictureHeight = depthPicYuv->getHeight(COMPONENT_Y);
    21522137   
    21532138   
    21542139    Bool depthRefineFlag = false;
    2155 #if H_3D_NBDV_REF
    2156     depthRefineFlag = m_pcSlice->getDepthRefinementFlag(  );
    2157 #endif // H_3D_NBDV_REF
     2140#if NH_3D_NBDV_REF
     2141    depthRefineFlag = m_pcSlice->getDepthRefinementFlag();
     2142#endif // NH_3D_NBDV_REF
    21582143   
    21592144    TComMv cDv = depthRefineFlag ? DvInfo.m_acDoNBDV : DvInfo.m_acNBDV;
     
    21662151    Int depthPosY = Clip3(0,   iPictureHeight - 1, iBlkY + ((cDv.getVer()+2)>>2));
    21672152   
    2168     pDepthPels = depthPicYuv->getLumaAddr() + depthPosX + depthPosY * uiDepthStride;
     2153    pDepthPels = depthPicYuv->getAddr(COMPONENT_Y) + depthPosX + depthPosY * uiDepthStride;
    21692154  }
    21702155#endif
     
    21782163#endif
    21792164
    2180 #if H_3D_DBBP
     2165#if NH_3D_DBBP
    21812166Void TComDataCU::setDBBPFlagSubParts ( Bool bDBBPFlag, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth )
    21822167{
     
    24902475}
    24912476
    2492 #if H_3D_SPIVMP
     2477#if NH_3D_SPIVMP
    24932478Void TComDataCU::setSPIVMPFlagSubParts( Bool bSPIVMPFlag, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth )
    24942479{
     
    24972482#endif
    24982483
    2499 #if H_3D_VSP
     2484#if NH_3D_VSP
    25002485Void TComDataCU::setVSPFlagSubParts( Char iVSPFlag, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth )
    25012486{
    25022487  setSubPart<Char>( iVSPFlag, m_piVSPFlag, uiAbsPartIdx, uiDepth, uiPartIdx );
    25032488}
    2504 #if H_3D_VSP
    25052489template<typename T>
    25062490Void TComDataCU::setSubPartT( T uiParameter, T* puhBaseLCU, UInt uiCUAddr, UInt uiCUDepth, UInt uiPUIdx )
    25072491{
    2508   UInt uiCurrPartNumQ = (m_pcPic->getNumPartInCU() >> (2 * uiCUDepth)) >> 2;
     2492  UInt uiCurrPartNumQ = (m_pcPic->getNumPartitionsInCtu() >> (2 * uiCUDepth)) >> 2;
    25092493  switch ( m_pePartSize[ uiCUAddr ] )
    25102494  {
     
    26382622}
    26392623#endif
    2640 #endif
    26412624
    26422625Void TComDataCU::setInterDirSubParts( UInt uiDir, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth )
     
    27242707
    27252708// This is for use by a leaf/sub CU object only, with no additional AbsPartIdx
    2726 #if NH_3D_IC
     2709#if NH_3D_IC || NH_3D_VSP
    27272710Void TComDataCU::getPartIndexAndSize( UInt uiPartIdx, UInt& ruiPartAddr, Int& riWidth, Int& riHeight, UInt uiAbsPartIdx, Bool bLCU)
    27282711{
     
    30583041}
    30593042
    3060 #if H_3D_VSP
    3061 
     3043#if NH_3D_VSP
    30623044/** Add a VSP merging candidate
    30633045 * \Inputs
     
    31133095        predFlag[iRefListIdX] = 1;
    31143096        mvVSP[0+iRefListIdX].setMvField( pDInfo->m_acNBDV, i );
    3115 #if H_3D_NBDV
     3097#if NH_3D_NBDV
    31163098        mvVSP[0+iRefListIdX].getMv().setIDVFlag (false);
    31173099#endif
     
    31213103
    31223104  dirVSP = (predFlag[0] | (predFlag[1] << 1));
    3123   m_mergCands[MRG_VSP].setCand( mvVSP, dirVSP, true, false);
     3105  m_mergCands[MRG_VSP].setCand( mvVSP, dirVSP, true
     3106#if NH_3D_SPIVMP
     3107    , false
     3108#endif
     3109    );
    31243110  if ( mrgCandIdx == iCount )
    31253111  {
     
    31313117  return false;
    31323118}
    3133 
    3134 #endif
    3135 
    3136 #if H_3D_IV_MERGE
     3119#endif
     3120
     3121#if NH_3D_IV_MERGE
    31373122inline Bool TComDataCU::xAddIvMRGCand( Int mrgCandIdx, Int& iCount, Int* ivCandDir, TComMv* ivCandMv, Int* ivCandRefIdx )
    31383123{
     
    31653150      if(!bRemove)
    31663151      {
    3167 #if H_3D_NBDV
     3152#if NH_3D_NBDV
    31683153        if(iLoop) // For IvMcShift candidate
    31693154        {
     
    31863171
    31873172#endif
    3188 #if H_3D
     3173#if NH_3D_MLC
     3174/** Construct a extended list of merging candidates
     3175 * \param pcMvFieldNeighbours
     3176 * \param puhInterDirNeighbours
     3177 * \param vspFlag
     3178 * \param pbSPIVMPFlag
     3179 * \param numValidMergeCand
     3180 */
    31893181Void TComDataCU::buildMCL(TComMvField* pcMvFieldNeighbours, UChar* puhInterDirNeighbours
    3190 #if H_3D_VSP
     3182#if NH_3D_VSP
    31913183  , Int* vspFlag
    31923184#endif
    3193 #if H_3D_SPIVMP
     3185#if NH_3D_SPIVMP
    31943186  , Bool* pbSPIVMPFlag
    31953187#endif
     
    31973189  )
    31983190{
    3199   if (!( getSlice()->getIsDepth() || getSlice()->getViewIndex()>0))  // for only dependent texture
     3191  if (!( getSlice()->getIsDepth() || getSlice()->getViewIndex()>0))
    32003192  {
    32013193    return;
     
    32133205    extMergeCandList[ui<<1].setMvField(cZeroMv, NOT_VALID);
    32143206    extMergeCandList[(ui<<1)+1].setMvField(cZeroMv, NOT_VALID);
     3207#if NH_3D_VSP
    32153208    vspFlag[ui] = 0;
    3216   }
    3217 
    3218   // add candidates to temporal list
    3219   // insert MPI ... IvShift candidate
     3209#endif
     3210  }
     3211
     3212  // insert MPI ... IvShift candidate to extMergeCandList
    32203213  for (Int i=0; i<=MRG_IVSHIFT; i++)
    32213214  {
    32223215    if (m_mergCands[i].m_bAvailable)
    32233216    {
    3224       m_mergCands[i].getCand(iCount, extMergeCandList, uhInterDirNeighboursExt, vspFlag, pbSPIVMPFlag);
     3217      m_mergCands[i].getCand(iCount, extMergeCandList, uhInterDirNeighboursExt
     3218#if NH_3D_VSP
     3219        , vspFlag
     3220#endif
     3221#if NH_3D_SPIVMP
     3222        , pbSPIVMPFlag
     3223#endif
     3224        );
    32253225      iCount++;
    32263226      if (iCount >= getSlice()->getMaxNumMergeCand())
     
    32293229  }
    32303230
    3231   // insert remaining base candidates
    3232   while (iCount < getSlice()->getMaxNumMergeCand() && m_baseListidc < getSlice()->getMaxNumMergeCand())
    3233   {
    3234     uhInterDirNeighboursExt[iCount] = puhInterDirNeighbours[m_baseListidc];
    3235     extMergeCandList[iCount<<1].setMvField(pcMvFieldNeighbours[m_baseListidc<<1].getMv(), pcMvFieldNeighbours[m_baseListidc<<1].getRefIdx());
     3231  Int iCountBase = m_numSpatialCands;
     3232  // insert remaining base candidates to extMergeCandList
     3233  while (iCount < getSlice()->getMaxNumMergeCand() && iCountBase < getSlice()->getMaxNumMergeCand())
     3234  {
     3235    uhInterDirNeighboursExt[iCount] = puhInterDirNeighbours[iCountBase];
     3236    extMergeCandList[iCount<<1].setMvField(pcMvFieldNeighbours[iCountBase<<1].getMv(), pcMvFieldNeighbours[iCountBase<<1].getRefIdx());
    32363237    if ( getSlice()->isInterB() )
    32373238    {
    3238       extMergeCandList[(iCount<<1)+1].setMvField(pcMvFieldNeighbours[(m_baseListidc<<1)+1].getMv(), pcMvFieldNeighbours[(m_baseListidc<<1)+1].getRefIdx());
    3239     }
    3240     m_baseListidc++;
     3239      extMergeCandList[(iCount<<1)+1].setMvField(pcMvFieldNeighbours[(iCountBase<<1)+1].getMv(), pcMvFieldNeighbours[(iCountBase<<1)+1].getRefIdx());
     3240    }
     3241    iCountBase++;
    32413242    iCount++;
    32423243  }
     
    32603261}
    32613262
    3262 /** Constructs a list of merging candidates
     3263
     3264
     3265/** Derive 3D merge candidates
    32633266 * \param uiAbsPartIdx
    32643267 * \param uiPUIdx
    3265  * \param uiDepth
    32663268 * \param pcMvFieldNeighbours
     3269 * \param puhInterDirNeighbours
     3270 * \param pcMvFieldSP
    32673271 * \param puhInterDirNeighbours
    32683272 * \param numValidMergeCand
    32693273 */
    3270 // HM 12.0 based merge candidate list construction
    3271 
    3272 Void TComDataCU::getInterMergeCandidates( UInt uiAbsPartIdx, UInt uiPUIdx, TComMvField* pcMvFieldNeighbours, UChar* puhInterDirNeighbours, Int& numValidMergeCand, Int mrgCandIdx )
    3273 {
    3274 
    3275   UInt uiAbsPartAddr = m_uiAbsIdxInLCU + uiAbsPartIdx;
    3276   Bool abCandIsInter[ MRG_MAX_NUM_CANDS_MEM ];
     3274Void TComDataCU::xGetInterMergeCandidates( UInt uiAbsPartIdx, UInt uiPUIdx, TComMvField* pcMFieldNeighbours, UChar* puhInterDirNeighbours
     3275#if NH_3D_SPIVMP
     3276      , TComMvField* pcMvFieldSP, UChar* puhInterDirSP
     3277#endif
     3278      , Int& numValidMergeCand, Int mrgCandIdx
     3279)
     3280{
     3281#if NH_3D_IV_MERGE
    32773282  TComMv cZeroMv;
    3278   for( UInt ui = 0; ui < getSlice()->getMaxNumMergeCand(); ++ui )
    3279   {
    3280     abCandIsInter[ui] = false;
    3281     pcMvFieldNeighbours[ ( ui << 1 )     ].setMvField(cZeroMv, NOT_VALID);
    3282     pcMvFieldNeighbours[ ( ui << 1 ) + 1 ].setMvField(cZeroMv, NOT_VALID);
     3283  TComMvField tmpMV[2]; 
     3284#endif
     3285
     3286  //////////////////////////////////
     3287  //////// GET DISPARITIES  ////////
     3288  //////////////////////////////////
     3289#if NH_3D_IV_MERGE
     3290  DisInfo cDisInfo = getDvInfo(uiAbsPartIdx);
     3291  m_cDefaultDisInfo = cDisInfo;
     3292#elif NH_3D_VSP
     3293  // for xAddVspCand()
     3294  DisInfo cDisInfo = getDvInfo(uiAbsPartIdx);
     3295#endif
     3296
     3297  if (!( getSlice()->getIsDepth() || getSlice()->getViewIndex()>0))
     3298  {
     3299    return;
    32833300  }
    32843301  numValidMergeCand = getSlice()->getMaxNumMergeCand();
     3302  //////////////////////////////////
     3303  //////// DERIVE LOCATIONS ////////
     3304  //////////////////////////////////
    32853305  // compute the location of the current PU
    32863306  Int xP, yP, nPSW, nPSH;
     
    32883308
    32893309  Int iCount = 0;
    3290 
    32913310  UInt uiPartIdxLT, uiPartIdxRT, uiPartIdxLB;
    3292   PartSize cCurPS = getPartitionSize( uiAbsPartIdx );
    32933311  deriveLeftRightTopIdxGeneral( uiAbsPartIdx, uiPUIdx, uiPartIdxLT, uiPartIdxRT );
    32943312  deriveLeftBottomIdxGeneral  ( uiAbsPartIdx, uiPUIdx, uiPartIdxLB );
    3295 
    3296   //left
    3297   UInt uiLeftPartIdx = 0;
    3298   TComDataCU* pcCULeft = 0;
    3299   pcCULeft = getPULeft( uiLeftPartIdx, uiPartIdxLB );
    3300   Bool isAvailableA1 = pcCULeft &&
    3301     pcCULeft->isDiffMER(xP -1, yP+nPSH-1, xP, yP) &&
    3302     !( uiPUIdx == 1 && (cCurPS == SIZE_Nx2N || cCurPS == SIZE_nLx2N || cCurPS == SIZE_nRx2N) ) &&
    3303     !pcCULeft->isIntra( uiLeftPartIdx ) ;
    3304   if ( isAvailableA1 )
    3305   {
    3306     m_bAvailableFlagA1 = 1;
    3307     abCandIsInter[iCount] = true;
    3308     // get Inter Dir
    3309     puhInterDirNeighbours[iCount] = pcCULeft->getInterDir( uiLeftPartIdx );
    3310     // get Mv from Left
    3311     pcCULeft->getMvField( pcCULeft, uiLeftPartIdx, REF_PIC_LIST_0, pcMvFieldNeighbours[iCount<<1] );
    3312     if ( getSlice()->isInterB() )
    3313     {
    3314       pcCULeft->getMvField( pcCULeft, uiLeftPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    3315     }
    3316 
    3317     iCount ++;
    3318   }
    3319  
    3320   // early termination
    3321   if (iCount == getSlice()->getMaxNumMergeCand())
    3322   {
    3323     return;
    3324   }
    3325   // above
    3326   UInt uiAbovePartIdx = 0;
    3327   TComDataCU* pcCUAbove = 0;
    3328   pcCUAbove = getPUAbove( uiAbovePartIdx, uiPartIdxRT );
    3329   Bool isAvailableB1 = pcCUAbove &&
    3330   pcCUAbove->isDiffMER(xP+nPSW-1, yP-1, xP, yP) &&
    3331   !( uiPUIdx == 1 && (cCurPS == SIZE_2NxN || cCurPS == SIZE_2NxnU || cCurPS == SIZE_2NxnD) ) &&
    3332   !pcCUAbove->isIntra( uiAbovePartIdx );
    3333   if ( isAvailableB1 && (!isAvailableA1 || !pcCULeft->hasEqualMotion( uiLeftPartIdx, pcCUAbove, uiAbovePartIdx ) ) )
    3334   {
    3335     m_bAvailableFlagB1 = 1;
    3336     abCandIsInter[iCount] = true;
    3337     // get Inter Dir
    3338     puhInterDirNeighbours[iCount] = pcCUAbove->getInterDir( uiAbovePartIdx );
    3339     // get Mv from Left
    3340     pcCUAbove->getMvField( pcCUAbove, uiAbovePartIdx, REF_PIC_LIST_0, pcMvFieldNeighbours[iCount<<1] );
    3341     if ( getSlice()->isInterB() )
    3342     {
    3343       pcCUAbove->getMvField( pcCUAbove, uiAbovePartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    3344     }
    3345     if ( mrgCandIdx == iCount )
    3346     {
    3347       return;
    3348     }
    3349     iCount ++;
    3350   }
    3351   // early termination
    3352   if (iCount == getSlice()->getMaxNumMergeCand())
    3353   {
    3354     return;
    3355   }
    3356 
    3357   // above right
    3358   UInt uiAboveRightPartIdx = 0;
    3359   TComDataCU* pcCUAboveRight = 0;
    3360   pcCUAboveRight = getPUAboveRight( uiAboveRightPartIdx, uiPartIdxRT );
    3361   Bool isAvailableB0 = pcCUAboveRight &&
    3362   pcCUAboveRight->isDiffMER(xP+nPSW, yP-1, xP, yP) &&
    3363   !pcCUAboveRight->isIntra( uiAboveRightPartIdx );
    3364   if ( isAvailableB0 && ( !isAvailableB1 || !pcCUAbove->hasEqualMotion( uiAbovePartIdx, pcCUAboveRight, uiAboveRightPartIdx ) ) )
    3365   {
    3366     m_bAvailableFlagB0 = 1;
    3367     abCandIsInter[iCount] = true;
    3368     // get Inter Dir
    3369     puhInterDirNeighbours[iCount] = pcCUAboveRight->getInterDir( uiAboveRightPartIdx );
    3370     // get Mv from Left
    3371     pcCUAboveRight->getMvField( pcCUAboveRight, uiAboveRightPartIdx, REF_PIC_LIST_0, pcMvFieldNeighbours[iCount<<1] );
    3372     if ( getSlice()->isInterB() )
    3373     {
    3374       pcCUAboveRight->getMvField( pcCUAboveRight, uiAboveRightPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    3375     }
    3376     if ( mrgCandIdx == iCount )
    3377     {
    3378       return;
    3379     }
    3380     iCount ++;
    3381   }
    3382   // early termination
    3383   if (iCount == getSlice()->getMaxNumMergeCand())
    3384   {
    3385     return;
    3386   }
    3387 
    3388   //left bottom
    3389   UInt uiLeftBottomPartIdx = 0;
    3390   TComDataCU* pcCULeftBottom = 0;
    3391   pcCULeftBottom = this->getPUBelowLeft( uiLeftBottomPartIdx, uiPartIdxLB );
    3392   Bool isAvailableA0 = pcCULeftBottom &&
    3393   pcCULeftBottom->isDiffMER(xP-1, yP+nPSH, xP, yP) &&
    3394   !pcCULeftBottom->isIntra( uiLeftBottomPartIdx ) ;
    3395   if ( isAvailableA0 && ( !isAvailableA1 || !pcCULeft->hasEqualMotion( uiLeftPartIdx, pcCULeftBottom, uiLeftBottomPartIdx ) ) )
    3396   {
    3397     m_bAvailableFlagA0 = 1;
    3398     abCandIsInter[iCount] = true;
    3399     // get Inter Dir
    3400     puhInterDirNeighbours[iCount] = pcCULeftBottom->getInterDir( uiLeftBottomPartIdx );
    3401     // get Mv from Left
    3402     pcCULeftBottom->getMvField( pcCULeftBottom, uiLeftBottomPartIdx, REF_PIC_LIST_0, pcMvFieldNeighbours[iCount<<1] );
    3403     if ( getSlice()->isInterB() )
    3404     {
    3405       pcCULeftBottom->getMvField( pcCULeftBottom, uiLeftBottomPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    3406     }
    3407     if ( mrgCandIdx == iCount )
    3408     {
    3409       return;
    3410     }
    3411     iCount ++;
    3412   }
    3413   // early termination
    3414   if (iCount == getSlice()->getMaxNumMergeCand())
    3415   {
    3416     return;
    3417   }
    3418   // above left
    3419   if( iCount < 4 )
    3420   {
    3421     UInt uiAboveLeftPartIdx = 0;
    3422     TComDataCU* pcCUAboveLeft = 0;
    3423     pcCUAboveLeft = getPUAboveLeft( uiAboveLeftPartIdx, uiAbsPartAddr );
    3424     Bool isAvailableB2 = pcCUAboveLeft &&
    3425     pcCUAboveLeft->isDiffMER(xP-1, yP-1, xP, yP) &&
    3426     !pcCUAboveLeft->isIntra( uiAboveLeftPartIdx );
    3427     if ( isAvailableB2 && ( !isAvailableA1 || !pcCULeft->hasEqualMotion( uiLeftPartIdx, pcCUAboveLeft, uiAboveLeftPartIdx ) )
    3428         && ( !isAvailableB1 || !pcCUAbove->hasEqualMotion( uiAbovePartIdx, pcCUAboveLeft, uiAboveLeftPartIdx ) ) )
    3429     {
    3430       m_bAvailableFlagB2 = 1;
    3431       abCandIsInter[iCount] = true;
    3432       // get Inter Dir
    3433       puhInterDirNeighbours[iCount] = pcCUAboveLeft->getInterDir( uiAboveLeftPartIdx );
    3434       // get Mv from Left
    3435       pcCUAboveLeft->getMvField( pcCUAboveLeft, uiAboveLeftPartIdx, REF_PIC_LIST_0, pcMvFieldNeighbours[iCount<<1] );
    3436       if ( getSlice()->isInterB() )
    3437       {
    3438         pcCUAboveLeft->getMvField( pcCUAboveLeft, uiAboveLeftPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    3439       }
    3440       if ( mrgCandIdx == iCount )
    3441       {
    3442         return;
    3443       }
    3444       iCount ++;
    3445     }
    3446   }
    3447   // early termination
    3448   if (iCount == getSlice()->getMaxNumMergeCand())
    3449   {
    3450     return;
    3451   }
    3452   if ( getSlice()->getEnableTMVPFlag())
    3453   {
    3454     //>> MTK colocated-RightBottom
    3455     UInt uiPartIdxRB;
    3456 
    3457     deriveRightBottomIdx( uiPUIdx, uiPartIdxRB ); 
    3458 
    3459     UInt uiAbsPartIdxTmp = g_auiZscanToRaster[uiPartIdxRB];
    3460     UInt uiNumPartInCUWidth = m_pcPic->getNumPartInWidth();
    3461 
    3462     TComMv cColMv;
    3463     Int iRefIdx;
    3464     Int uiLCUIdx = -1;
    3465 
    3466     if      ( ( m_pcPic->getCU(m_uiCUAddr)->getCUPelX() + g_auiRasterToPelX[uiAbsPartIdxTmp] + m_pcPic->getMinCUWidth() ) >= m_pcSlice->getSPS()->getPicWidthInLumaSamples() )  // image boundary check
    3467     {
    3468     }
    3469     else if ( ( m_pcPic->getCU(m_uiCUAddr)->getCUPelY() + g_auiRasterToPelY[uiAbsPartIdxTmp] + m_pcPic->getMinCUHeight() ) >= m_pcSlice->getSPS()->getPicHeightInLumaSamples() )
    3470     {
    3471     }
    3472     else
    3473     {
    3474       if ( ( uiAbsPartIdxTmp % uiNumPartInCUWidth < uiNumPartInCUWidth - 1 ) &&           // is not at the last column of LCU
    3475         ( uiAbsPartIdxTmp / uiNumPartInCUWidth < m_pcPic->getNumPartInHeight() - 1 ) ) // is not at the last row    of LCU
    3476       {
    3477         uiAbsPartAddr = g_auiRasterToZscan[ uiAbsPartIdxTmp + uiNumPartInCUWidth + 1 ];
    3478         uiLCUIdx = getAddr();
    3479       }
    3480       else if ( uiAbsPartIdxTmp % uiNumPartInCUWidth < uiNumPartInCUWidth - 1 )           // is not at the last column of LCU But is last row of LCU
    3481       {
    3482         uiAbsPartAddr = g_auiRasterToZscan[ (uiAbsPartIdxTmp + uiNumPartInCUWidth + 1) % m_pcPic->getNumPartInCU() ];
    3483       }
    3484       else if ( uiAbsPartIdxTmp / uiNumPartInCUWidth < m_pcPic->getNumPartInHeight() - 1 ) // is not at the last row of LCU But is last column of LCU
    3485       {
    3486         uiAbsPartAddr = g_auiRasterToZscan[ uiAbsPartIdxTmp + 1 ];
    3487         uiLCUIdx = getAddr() + 1;
    3488       }
    3489       else //is the right bottom corner of LCU                       
    3490       {
    3491         uiAbsPartAddr = 0;
    3492       }
    3493     }
    3494 
    3495     iRefIdx = 0;
    3496     Bool bExistMV = false;
    3497     UInt uiPartIdxCenter;
    3498     UInt uiCurLCUIdx = getAddr();
    3499     Int dir = 0;
    3500     UInt uiArrayAddr = iCount;
    3501     xDeriveCenterIdx( uiPUIdx, uiPartIdxCenter );
    3502     bExistMV = uiLCUIdx >= 0 && xGetColMVP( REF_PIC_LIST_0, uiLCUIdx, uiAbsPartAddr, cColMv, iRefIdx );
    3503     if( bExistMV == false )
    3504     {
    3505       bExistMV = xGetColMVP( REF_PIC_LIST_0, uiCurLCUIdx, uiPartIdxCenter, cColMv, iRefIdx );
    3506     }
    3507     if( bExistMV )
    3508     {
    3509       dir |= 1;
    3510       pcMvFieldNeighbours[ 2 * uiArrayAddr ].setMvField( cColMv, iRefIdx );
    3511     }
    3512 
    3513     if ( getSlice()->isInterB() )
    3514     {
    3515 #if NH_3D_TMVP //to be changed to NH_3D_TMVP in future migration
    3516       iRefIdx = 0;
    3517 #endif
    3518       bExistMV = uiLCUIdx >= 0 && xGetColMVP( REF_PIC_LIST_1, uiLCUIdx, uiAbsPartAddr, cColMv, iRefIdx);
    3519       if( bExistMV == false )
    3520       {
    3521         bExistMV = xGetColMVP( REF_PIC_LIST_1, uiCurLCUIdx, uiPartIdxCenter, cColMv, iRefIdx );
    3522       }
    3523       if( bExistMV )
    3524       {
    3525         dir |= 2;
    3526         pcMvFieldNeighbours[ 2 * uiArrayAddr + 1 ].setMvField( cColMv, iRefIdx );
    3527       }
    3528     }
    3529 
    3530     if (dir != 0)
    3531     {
    3532       puhInterDirNeighbours[uiArrayAddr] = dir;
    3533       abCandIsInter[uiArrayAddr] = true;
    3534 #if H_3D_NBDV
    3535       pcMvFieldNeighbours[iCount<<1    ].getMv().setIDVFlag (false);
    3536       pcMvFieldNeighbours[(iCount<<1)+1].getMv().setIDVFlag (false);
    3537 #endif
    3538       if ( mrgCandIdx == iCount )
    3539       {
    3540         return;
    3541       }
    3542       iCount++;
    3543     }
    3544   }
    3545   // early termination
    3546   if (iCount == getSlice()->getMaxNumMergeCand())
    3547   {
    3548     return;
    3549   }
    3550   UInt uiArrayAddr = iCount;
    3551   UInt uiCutoff = uiArrayAddr;
    3552  
    3553   if ( getSlice()->isInterB() && iCount<5)  // JCT3V-F0129 by Qualcomm
    3554   {
    3555     UInt uiPriorityList0[12] = {0 , 1, 0, 2, 1, 2, 0, 3, 1, 3, 2, 3};
    3556     UInt uiPriorityList1[12] = {1 , 0, 2, 0, 2, 1, 3, 0, 3, 1, 3, 2};
    3557 
    3558     for (Int idx=0; idx<uiCutoff*(uiCutoff-1) && uiArrayAddr!= getSlice()->getMaxNumMergeCand(); idx++)
    3559     {
    3560       Int i = uiPriorityList0[idx]; Int j = uiPriorityList1[idx];
    3561       if (abCandIsInter[i] && abCandIsInter[j]&& (puhInterDirNeighbours[i]&0x1)&&(puhInterDirNeighbours[j]&0x2))
    3562       {
    3563         abCandIsInter[uiArrayAddr] = true;
    3564         puhInterDirNeighbours[uiArrayAddr] = 3;
    3565 
    3566         // get Mv from cand[i] and cand[j]
    3567         pcMvFieldNeighbours[uiArrayAddr << 1].setMvField(pcMvFieldNeighbours[i<<1].getMv(), pcMvFieldNeighbours[i<<1].getRefIdx());
    3568         pcMvFieldNeighbours[( uiArrayAddr << 1 ) + 1].setMvField(pcMvFieldNeighbours[(j<<1)+1].getMv(), pcMvFieldNeighbours[(j<<1)+1].getRefIdx());
    3569 
    3570         Int iRefPOCL0 = m_pcSlice->getRefPOC( REF_PIC_LIST_0, pcMvFieldNeighbours[(uiArrayAddr<<1)].getRefIdx() );
    3571         Int iRefPOCL1 = m_pcSlice->getRefPOC( REF_PIC_LIST_1, pcMvFieldNeighbours[(uiArrayAddr<<1)+1].getRefIdx() );
    3572         if (iRefPOCL0 == iRefPOCL1 && pcMvFieldNeighbours[(uiArrayAddr<<1)].getMv() == pcMvFieldNeighbours[(uiArrayAddr<<1)+1].getMv())
    3573         {
    3574           abCandIsInter[uiArrayAddr] = false;
    3575         }
    3576         else
    3577         {
    3578           uiArrayAddr++;
    3579         }
    3580       }
    3581     }
    3582   }
    3583   // early termination
    3584   if (uiArrayAddr == getSlice()->getMaxNumMergeCand())
    3585   {
    3586     return;
    3587   }
    3588  
    3589   Int iNumRefIdx = (getSlice()->isInterB()) ? min(m_pcSlice->getNumRefIdx(REF_PIC_LIST_0), m_pcSlice->getNumRefIdx(REF_PIC_LIST_1)) : m_pcSlice->getNumRefIdx(REF_PIC_LIST_0);
    3590   Int r = 0;
    3591   Int refcnt = 0;
    3592   while (uiArrayAddr < getSlice()->getMaxNumMergeCand())
    3593   {
    3594     abCandIsInter[uiArrayAddr] = true;
    3595     puhInterDirNeighbours[uiArrayAddr] = 1;
    3596     pcMvFieldNeighbours[uiArrayAddr << 1].setMvField( TComMv(0, 0), r);
    3597 
    3598     if ( getSlice()->isInterB() )
    3599     {
    3600       puhInterDirNeighbours[uiArrayAddr] = 3;
    3601       pcMvFieldNeighbours[(uiArrayAddr << 1) + 1].setMvField(TComMv(0, 0), r);
    3602     }
    3603     uiArrayAddr++;
    3604     if ( refcnt == iNumRefIdx - 1 )
    3605     {
    3606       r = 0;
    3607     }
    3608     else
    3609     {
    3610       ++r;
    3611       ++refcnt;
    3612     }
    3613   }
    3614  
    3615   numValidMergeCand = uiArrayAddr;
    3616 }
    3617 
    3618 
    3619 
    3620 /** Constructs a list of merging candidates
    3621  * \param uiAbsPartIdx
    3622  * \param uiPUIdx
    3623  * \param uiDepth
    3624  * \param pcMvFieldNeighbours
    3625  * \param puhInterDirNeighbours
    3626  * \param numValidMergeCand
    3627  */
    3628 #if H_3D
    3629 Void TComDataCU::xGetInterMergeCandidates( UInt uiAbsPartIdx, UInt uiPUIdx, TComMvField* pcMvFieldNeighbours, UChar* puhInterDirNeighbours
    3630 #else
    3631 Void TComDataCU::getInterMergeCandidates( UInt uiAbsPartIdx, UInt uiPUIdx, TComMvField* pcMvFieldNeighbours, UChar* puhInterDirNeighbours
    3632 #endif
    3633 #if H_3D_SPIVMP
    3634       , TComMvField* pcMvFieldSP, UChar* puhInterDirSP
    3635 #endif
    3636       , Int& numValidMergeCand, Int mrgCandIdx
    3637 )
    3638 {
    3639 #if H_3D_IV_MERGE
    3640   ////////////////////////////
    3641   //////// INIT LISTS ////////
    3642   ////////////////////////////
    3643   TComMv cZeroMv;
    3644 #else
    3645   Bool abCandIsInter[ MRG_MAX_NUM_CANDS ];
    3646 #endif
    3647 #if H_3D
    3648   TComMvField tmpMV[2];
    3649   UChar tmpDir;
    3650 
    3651 
    3652   //////////////////////////////////
    3653   //////// GET DISPARITIES  ////////
    3654   //////////////////////////////////
    3655   DisInfo cDisInfo = getDvInfo(uiAbsPartIdx);
    3656   m_cDefaultDisInfo = cDisInfo;
    3657 
    3658   if (!( getSlice()->getIsDepth() || getSlice()->getViewIndex()>0))  // current slice is not both dependent view or depth
    3659   {
    3660     return;
    3661   }
    3662 #else
    3663   for( UInt ui = 0; ui < getSlice()->getMaxNumMergeCand(); ++ui )
    3664   {
    3665     abCandIsInter[ui] = false;
    3666     pcMvFieldNeighbours[ ( ui << 1 )     ].setRefIdx(NOT_VALID);
    3667     pcMvFieldNeighbours[ ( ui << 1 ) + 1 ].setRefIdx(NOT_VALID);
    3668   }
    3669 #endif
    3670 
    3671   numValidMergeCand = getSlice()->getMaxNumMergeCand();
    3672 #if H_3D
    3673   //////////////////////////////////
    3674   //////// DERIVE LOCATIONS ////////
    3675   //////////////////////////////////
    3676 #endif
    3677   // compute the location of the current PU
    3678   Int xP, yP, nPSW, nPSH;
    3679   this->getPartPosition(uiPUIdx, xP, yP, nPSW, nPSH);
    3680 
    3681   Int iCount = 0;
    3682 
    3683   UInt uiPartIdxLT, uiPartIdxRT, uiPartIdxLB;
    3684 #if !H_3D
    3685   PartSize cCurPS = getPartitionSize( uiAbsPartIdx );
    3686 #endif
    3687   deriveLeftRightTopIdxGeneral( uiAbsPartIdx, uiPUIdx, uiPartIdxLT, uiPartIdxRT );
    3688   deriveLeftBottomIdxGeneral  ( uiAbsPartIdx, uiPUIdx, uiPartIdxLB );
    3689 #if H_3D
     3313#if NH_3D_TEXT_MERGE
    36903314  Bool bMPIFlag   = getSlice()->getMpiFlag();
     3315  Int  tmpDir;
     3316#endif
     3317#if NH_3D_IV_MERGE || NH_3D_TEXT_MERGE
    36913318  Bool bIsDepth = getSlice()->getIsDepth();
    3692 #endif 
     3319#endif
    36933320
    36943321#if NH_3D_IC
    36953322  Bool bICFlag = getICFlag(uiAbsPartIdx);
    36963323#endif
    3697 #if H_3D_ARP
     3324#if NH_3D_ARP
    36983325  Bool bARPFlag = getARPW(uiAbsPartIdx) > 0;
    36993326#endif
    3700 #if H_3D_DBBP
     3327#if NH_3D_DBBP
    37013328  Bool bDBBPFlag = getDBBPFlag(uiAbsPartIdx);
    37023329  assert(bDBBPFlag == getDBBPFlag(0)); 
    37033330#endif
    37043331
    3705 #if H_3D
    3706 #if H_3D_NBDV
     3332#if NH_3D_NBDV
    37073333  for(Int i = 0; i < MRG_MAX_NUM_CANDS_MEM; i++) 
    37083334  {
    3709     pcMvFieldNeighbours[i<<1    ].getMv().setIDVFlag (false);
    3710     pcMvFieldNeighbours[(i<<1)+1].getMv().setIDVFlag (false);
    3711   }
    3712 #endif
    3713   // Clean version for MCL construction align with WD
    3714   // init mergCands list
     3335    pcMFieldNeighbours[i<<1    ].getMv().setIDVFlag (false);
     3336    pcMFieldNeighbours[(i<<1)+1].getMv().setIDVFlag (false);
     3337  }
     3338#endif
     3339  // init containers
    37153340  for (Int i = 0; i<MRG_IVSHIFT+1; i++)
    3716   {
    37173341    m_mergCands[i].init();
    3718   }
    3719 
    3720   m_baseListidc = 0;
    3721 
     3342
     3343  m_numSpatialCands = 0;
     3344
     3345  //////////////////////////////////
     3346  ///////// GET VSP FLAGS //////////
     3347  //////////////////////////////////
    37223348  //left
    37233349  UInt uiLeftPartIdx = 0;
     
    37273353  if (getAvailableFlagA1())
    37283354  {
    3729     m_mergCands[MRG_A1].setCand( &pcMvFieldNeighbours[m_baseListidc<<1], puhInterDirNeighbours[m_baseListidc]
    3730 #if H_3D_VSP
     3355    m_mergCands[MRG_A1].setCand( &pcMFieldNeighbours[m_numSpatialCands<<1], puhInterDirNeighbours[m_numSpatialCands]
     3356#if NH_3D_VSP
    37313357    , (pcCULeft->getVSPFlag(uiLeftPartIdx) != 0
    37323358#if NH_3D_IC
    37333359      && !bICFlag
    37343360#endif
    3735 #if H_3D_ARP
     3361#if NH_3D_ARP
    37363362      && !bARPFlag
    37373363#endif
    3738 #if H_3D_DBBP
     3364#if NH_3D_DBBP
    37393365      && !bDBBPFlag
    37403366#endif
    37413367      )
    37423368#endif
     3369#if NH_3D_SPIVMP
    37433370      , false
     3371#endif
    37443372      );
    3745     m_baseListidc++;
     3373    m_numSpatialCands++;
    37463374  }
    37473375
    37483376  // above
    3749 
    37503377  if (getAvailableFlagB1())
    37513378  {
    3752     m_mergCands[MRG_B1].setCand( &pcMvFieldNeighbours[m_baseListidc<<1], puhInterDirNeighbours[m_baseListidc]
    3753 #if H_3D_VSP
     3379    m_mergCands[MRG_B1].setCand( &pcMFieldNeighbours[m_numSpatialCands<<1], puhInterDirNeighbours[m_numSpatialCands]
     3380#if NH_3D_VSP
    37543381    , false
    37553382#endif
     3383#if NH_3D_SPIVMP
    37563384      , false
     3385#endif
    37573386      );
    3758     m_baseListidc++;
     3387    m_numSpatialCands++;
    37593388  }
    37603389
    37613390  // above right
    3762 
    37633391  if (getAvailableFlagB0())
    37643392  {
    3765     m_mergCands[MRG_B0].setCand( &pcMvFieldNeighbours[m_baseListidc<<1], puhInterDirNeighbours[m_baseListidc]
    3766 #if H_3D_VSP
    3767     ,
    3768       false
    3769 #endif
     3393    m_mergCands[MRG_B0].setCand( &pcMFieldNeighbours[m_numSpatialCands<<1], puhInterDirNeighbours[m_numSpatialCands]
     3394#if NH_3D_VSP
     3395    , false
     3396#endif
     3397#if NH_3D_SPIVMP
    37703398      , false
     3399#endif
    37713400      );
    3772     m_baseListidc++;
     3401    m_numSpatialCands++;
    37733402  }
    37743403
    37753404  // left bottom
    3776 
    37773405  if (getAvailableFlagA0())
    37783406  {
    3779     m_mergCands[MRG_A0].setCand( &pcMvFieldNeighbours[m_baseListidc<<1], puhInterDirNeighbours[m_baseListidc]
    3780 #if H_3D_VSP
     3407    m_mergCands[MRG_A0].setCand( &pcMFieldNeighbours[m_numSpatialCands<<1], puhInterDirNeighbours[m_numSpatialCands]
     3408#if NH_3D_VSP
    37813409    , false
    37823410#endif
     3411#if NH_3D_SPIVMP
    37833412      , false
     3413#endif
    37843414      );
    3785     m_baseListidc++;
     3415    m_numSpatialCands++;
    37863416  }
    37873417
    37883418  // above left
    3789 
    37903419  if (getAvailableFlagB2())
    37913420  {
    3792     m_mergCands[MRG_B2].setCand( &pcMvFieldNeighbours[m_baseListidc<<1], puhInterDirNeighbours[m_baseListidc]
    3793 #if H_3D_VSP
     3421    m_mergCands[MRG_B2].setCand( &pcMFieldNeighbours[m_numSpatialCands<<1], puhInterDirNeighbours[m_numSpatialCands]
     3422#if NH_3D_VSP
    37943423    , false
    37953424#endif
     3425#if NH_3D_SPIVMP
    37963426      , false
     3427#endif
    37973428      );
    3798     m_baseListidc++;
    3799   }
    3800 
    3801 #endif
    3802 
    3803 
    3804 #if H_3D_IV_MERGE
     3429    m_numSpatialCands++;
     3430  }
     3431
     3432
     3433#if NH_3D_TEXT_MERGE
    38053434
    38063435  /////////////////////////////////////////////
     
    38283457
    38293458      this->getPartIndexAndSize( uiPUIdx, uiPartAddr, iWidth, iHeight );
    3830       pcTexRec->getTopLeftSamplePos( this->getAddr(), this->getZorderIdxInCU() + uiPartAddr, iCurrPosX, iCurrPosY );
     3459      pcTexRec->getTopLeftSamplePos( this->getCtuRsAddr(), this->getZorderIdxInCtu() + uiPartAddr, iCurrPosX, iCurrPosY );
    38313460
    38323461      Int iPUWidth, iPUHeight, iNumPart, iNumPartLine;
     
    38533482
    38543483      Int         iTexPosX, iTexPosY;
     3484#if NH_3D_INTEGER_MV_DEPTH
    38553485      const TComMv cMvRounding( 1 << ( 2 - 1 ), 1 << ( 2 - 1 ) );
    3856 
     3486#endif
    38573487      Int         iCenterPosX = iCurrPosX + ( ( iWidth /  iPUWidth ) >> 1 )  * iPUWidth + ( iPUWidth >> 1 );
    38583488      Int         iCenterPosY = iCurrPosY + ( ( iHeight /  iPUHeight ) >> 1 )  * iPUHeight + (iPUHeight >> 1);
     
    38683498
    38693499      pcTexRec->getCUAddrAndPartIdx( iCenterPosX , iCenterPosY , iTexCenterCUAddr, iTexCenterAbsPartIdx );
    3870       TComDataCU* pcDefaultCU    = pcTexPic->getCU( iTexCenterCUAddr );
     3500      TComDataCU* pcDefaultCU    = pcTexPic->getCtu( iTexCenterCUAddr );
    38713501
    38723502      if( pcDefaultCU->getPredictionMode( iTexCenterAbsPartIdx ) != MODE_INTRA )
     
    38873517              {
    38883518                bSPIVMPFlag = true;
     3519#if NH_3D_INTEGER_MV_DEPTH
    38893520                TComMv cMv = cDefaultMvField.getMv() + cMvRounding;
    38903521                cMv >>= 2;
     3522#else
     3523                TComMv cMv = cDefaultMvField.getMv();
     3524#endif
    38913525                cMvFieldSaved[eCurrRefPicList].setMvField(cMv, iRefPicList) ;
    38923526                break;
     
    39133547            iTexPosY     = i + iOffsetY;
    39143548            pcTexRec->getCUAddrAndPartIdx( iTexPosX, iTexPosY, iTexCUAddr, iTexAbsPartIdx );
    3915             pcTexCU  = pcTexPic->getCU( iTexCUAddr );
     3549            pcTexCU  = pcTexPic->getCtu( iTexCUAddr );
    39163550
    39173551            if( pcTexCU && !pcTexCU->isIntra(iTexAbsPartIdx) )
     
    39253559                if( (cTexMvField.getRefIdx()>=0) && ( iValidDepRef >= 0 ) )
    39263560                {
     3561#if NH_3D_INTEGER_MV_DEPTH
    39273562                  TComMv cMv = cTexMvField.getMv() + cMvRounding;
    39283563                  cMv >>=2;         
     3564#else
     3565                  TComMv cMv = cTexMvField.getMv();
     3566#endif         
    39293567                  pcMvFieldSP[2*iPartition + uiCurrRefListId].setMvField(cMv, iValidDepRef);
    39303568                }
     
    39453583          }
    39463584        }
    3947 #if H_3D
    3948       }
    3949 #endif
     3585      }
    39503586#if H_3D_FCO
    39513587    }
     
    39753611    }
    39763612  }
     3613#endif
     3614
     3615#if NH_3D_IV_MERGE
    39773616  /////////////////////////////////////////////////////////////////
    39783617  //////// DERIVE IvMC, IvMCShift,IvDCShift, IvDC  Candidates /////
     
    39923631  if ( ivMvPredFlag && cDisInfo.m_aVIdxCan!=-1)
    39933632  {
     3633#if H_3D_IC
    39943634    getInterViewMergeCands(uiPUIdx, ivCandRefIdx, ivCandMv, &cDisInfo, ivCandDir , bIsDepth, pcMvFieldSP, puhInterDirSP, bICFlag );
     3635#else
     3636    getInterViewMergeCands(uiPUIdx, ivCandRefIdx, ivCandMv, &cDisInfo, ivCandDir , bIsDepth, pcMvFieldSP, puhInterDirSP, false );
     3637#endif
    39953638  } 
    39963639
     
    40483691        spiMvpFlag = true;
    40493692      }
    4050 #if H_3D_DBBP
     3693#if NH_3D_DBBP
    40513694      spiMvpFlag &= !bDBBPFlag;
    40523695#endif
     
    40693712#endif
    40703713
     3714  iCount += m_mergCands[MRG_A1].m_bAvailable + m_mergCands[MRG_B1].m_bAvailable;
     3715
     3716#if NH_3D_VSP
     3717  /////////////////////////////////////////////////
     3718  //////// VIEW SYNTHESIS PREDICTION (VSP) ////////
     3719  /////////////////////////////////////////////////
     3720  if (iCount<getSlice()->getMaxNumMergeCand())
     3721  {
     3722    if (
     3723      (!getAvailableFlagA1() || !(pcCULeft->getVSPFlag(uiLeftPartIdx) != 0)) &&
     3724#if NH_3D_IC
     3725      !bICFlag &&
     3726#endif
     3727#if NH_3D_ARP
     3728      !bARPFlag &&
     3729#endif
    40713730#if H_3D
    4072   iCount += m_mergCands[MRG_A1].m_bAvailable + m_mergCands[MRG_B1].m_bAvailable;
     3731      (nPSW + nPSH > 12) &&
     3732#endif
     3733#if NH_3D_DBBP
     3734      !bDBBPFlag &&
     3735#endif
     3736      xAddVspCand( mrgCandIdx, &cDisInfo, iCount ) )
     3737    {
     3738      return;
     3739    }
     3740
     3741    // early termination
     3742    if (iCount == getSlice()->getMaxNumMergeCand())
     3743    {
     3744      return;
     3745    }
     3746  }
     3747#endif
     3748
     3749  iCount += m_mergCands[MRG_B0].m_bAvailable;
     3750
     3751#if NH_3D_IV_MERGE
     3752  /////////////////////////////////////////////
     3753  //////// INTER VIEW DISP COMP (IvDC) ////////
     3754  /////////////////////////////////////////////
     3755  if( ivCandDir[1] && iCount < getSlice()->getMaxNumMergeCand() && !getSlice()->getIsDepth() )
     3756  {
     3757    assert(iCount < getSlice()->getMaxNumMergeCand());
     3758
     3759    tmpMV[0].setMvField( cZeroMv, NOT_VALID );
     3760    tmpMV[1].setMvField( cZeroMv, NOT_VALID );
     3761    if( ( ivCandDir[1] & 1 ) == 1 )
     3762    {
     3763      tmpMV[0].setMvField( ivCandMv[ 2 ], ivCandRefIdx[ 2 ] );
     3764    }
     3765    if( ( ivCandDir[1] & 2 ) == 2 )
     3766    {
     3767      tmpMV[1].setMvField( ivCandMv[ 3 ], ivCandRefIdx[ 3 ] );
     3768    }
     3769
     3770    Bool bRemoveSpa = false; //pruning to A1, B1
     3771    for(Int i = 0; i < 2; i ++)
     3772    {
     3773      if ( !m_mergCands[MRG_A1+i].m_bAvailable )
     3774      {
     3775        continue;
     3776      }
     3777      if (ivCandDir[1] == m_mergCands[MRG_A1+i].m_uDir && tmpMV[0]==m_mergCands[MRG_A1+i].m_cMvField[0] && tmpMV[1]==m_mergCands[MRG_A1+i].m_cMvField[1])
     3778      {
     3779        bRemoveSpa                      = true;
     3780        break;
     3781      }     
     3782    }
     3783    if(!bRemoveSpa)
     3784    {
     3785#if NH_3D_NBDV
     3786      tmpMV[0].getMv().setIDVFlag (false);
     3787      tmpMV[1].getMv().setIDVFlag (false);
     3788#endif
     3789      m_mergCands[MRG_IVDC].setCand( tmpMV, ivCandDir[1], false, false);
     3790
     3791      if ( mrgCandIdx == iCount )
     3792        return;
     3793      iCount ++;
     3794
     3795      // early termination
     3796      if (iCount == getSlice()->getMaxNumMergeCand())
     3797      {
     3798        return;
     3799      }
     3800    }
     3801  }
     3802#endif // H_3D_IV_MERGE
     3803
     3804  iCount += m_mergCands[MRG_A0].m_bAvailable + m_mergCands[MRG_B2].m_bAvailable;
     3805
     3806#if NH_3D_IV_MERGE
     3807  ////////////////////////////////////////////////////
     3808  //////// SHIFTED IV (IvMCShift + IvDCShift) ////////
     3809  ////////////////////////////////////////////////////
     3810  if(  ivMvPredFlag && iCount < getSlice()->getMaxNumMergeCand() && !getSlice()->getIsDepth() )
     3811  {
     3812    if(xAddIvMRGCand( mrgCandIdx,  iCount, ivCandDir, ivCandMv, ivCandRefIdx ) )
     3813    {
     3814      return;
     3815    }
     3816    //early termination
     3817    if (iCount == getSlice()->getMaxNumMergeCand())
     3818    {
     3819      return;
     3820    }
     3821  }
     3822#endif
     3823}
     3824#endif
     3825
     3826//! Construct a list of merging candidates
     3827Void TComDataCU::getInterMergeCandidates( UInt uiAbsPartIdx, UInt uiPUIdx, TComMvField* pcMvFieldNeighbours, UChar* puhInterDirNeighbours, Int& numValidMergeCand, Int mrgCandIdx )
     3828{
     3829  UInt uiAbsPartAddr = m_absZIdxInCtu + uiAbsPartIdx;
     3830#if NH_3D_MLC
     3831  Bool abCandIsInter[ MRG_MAX_NUM_CANDS_MEM ];
    40733832#else
     3833  Bool abCandIsInter[ MRG_MAX_NUM_CANDS ];
     3834#endif
     3835  for( UInt ui = 0; ui < getSlice()->getMaxNumMergeCand(); ++ui )
     3836  {
     3837    abCandIsInter[ui] = false;
     3838    pcMvFieldNeighbours[ ( ui << 1 )     ].setRefIdx(NOT_VALID);
     3839    pcMvFieldNeighbours[ ( ui << 1 ) + 1 ].setRefIdx(NOT_VALID);
     3840  }
     3841  numValidMergeCand = getSlice()->getMaxNumMergeCand();
     3842  // compute the location of the current PU
     3843  Int xP, yP, nPSW, nPSH;
     3844  this->getPartPosition(uiPUIdx, xP, yP, nPSW, nPSH);
     3845
     3846  Int iCount = 0;
     3847
     3848  UInt uiPartIdxLT, uiPartIdxRT, uiPartIdxLB;
     3849  PartSize cCurPS = getPartitionSize( uiAbsPartIdx );
     3850  deriveLeftRightTopIdxGeneral( uiAbsPartIdx, uiPUIdx, uiPartIdxLT, uiPartIdxRT );
     3851  deriveLeftBottomIdxGeneral( uiAbsPartIdx, uiPUIdx, uiPartIdxLB );
     3852
    40743853  //left
    40753854  UInt uiLeftPartIdx = 0;
    40763855  TComDataCU* pcCULeft = 0;
    40773856  pcCULeft = getPULeft( uiLeftPartIdx, uiPartIdxLB );
     3857
    40783858  Bool isAvailableA1 = pcCULeft &&
    4079     pcCULeft->isDiffMER(xP -1, yP+nPSH-1, xP, yP) &&
    4080     !( uiPUIdx == 1 && (cCurPS == SIZE_Nx2N || cCurPS == SIZE_nLx2N || cCurPS == SIZE_nRx2N) ) &&
    4081     !pcCULeft->isIntra( uiLeftPartIdx ) ;
     3859                       pcCULeft->isDiffMER(xP -1, yP+nPSH-1, xP, yP) &&
     3860                       !( uiPUIdx == 1 && (cCurPS == SIZE_Nx2N || cCurPS == SIZE_nLx2N || cCurPS == SIZE_nRx2N) ) &&
     3861                       pcCULeft->isInter( uiLeftPartIdx ) ;
     3862
    40823863  if ( isAvailableA1 )
    40833864  {
     3865#if NH_3D_MLC
     3866    m_bAvailableFlagA1 = 1;
     3867#endif
    40843868    abCandIsInter[iCount] = true;
    40853869    // get Inter Dir
     
    40913875      pcCULeft->getMvField( pcCULeft, uiLeftPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    40923876    }
    4093 
    40943877    if ( mrgCandIdx == iCount )
    40953878    {
     
    41003883
    41013884  // early termination
    4102   if (iCount == getSlice()->getMaxNumMergeCand()) 
     3885  if (iCount == getSlice()->getMaxNumMergeCand())
    41033886  {
    41043887    return;
    41053888  }
    4106 
    41073889  // above
    41083890  UInt uiAbovePartIdx = 0;
    41093891  TComDataCU* pcCUAbove = 0;
    41103892  pcCUAbove = getPUAbove( uiAbovePartIdx, uiPartIdxRT );
     3893
    41113894  Bool isAvailableB1 = pcCUAbove &&
    4112     pcCUAbove->isDiffMER(xP+nPSW-1, yP-1, xP, yP) &&
    4113     !( uiPUIdx == 1 && (cCurPS == SIZE_2NxN || cCurPS == SIZE_2NxnU || cCurPS == SIZE_2NxnD) ) &&
    4114     !pcCUAbove->isIntra( uiAbovePartIdx );
     3895                       pcCUAbove->isDiffMER(xP+nPSW-1, yP-1, xP, yP) &&
     3896                       !( uiPUIdx == 1 && (cCurPS == SIZE_2NxN || cCurPS == SIZE_2NxnU || cCurPS == SIZE_2NxnD) ) &&
     3897                       pcCUAbove->isInter( uiAbovePartIdx );
     3898
    41153899  if ( isAvailableB1 && (!isAvailableA1 || !pcCULeft->hasEqualMotion( uiLeftPartIdx, pcCUAbove, uiAbovePartIdx ) ) )
    41163900  {
     3901#if NH_3D_MLC
     3902    m_bAvailableFlagB1 = 1;
     3903#endif
    41173904    abCandIsInter[iCount] = true;
    41183905    // get Inter Dir
     
    41243911      pcCUAbove->getMvField( pcCUAbove, uiAbovePartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    41253912    }
    4126 
    41273913    if ( mrgCandIdx == iCount )
    41283914    {
     
    41323918  }
    41333919  // early termination
    4134   if (iCount == getSlice()->getMaxNumMergeCand()) 
     3920  if (iCount == getSlice()->getMaxNumMergeCand())
    41353921  {
    41363922    return;
     
    41413927  TComDataCU* pcCUAboveRight = 0;
    41423928  pcCUAboveRight = getPUAboveRight( uiAboveRightPartIdx, uiPartIdxRT );
     3929
    41433930  Bool isAvailableB0 = pcCUAboveRight &&
    4144     pcCUAboveRight->isDiffMER(xP+nPSW, yP-1, xP, yP) &&
    4145     !pcCUAboveRight->isIntra( uiAboveRightPartIdx );
     3931                       pcCUAboveRight->isDiffMER(xP+nPSW, yP-1, xP, yP) &&
     3932                       pcCUAboveRight->isInter( uiAboveRightPartIdx );
     3933
    41463934  if ( isAvailableB0 && ( !isAvailableB1 || !pcCUAbove->hasEqualMotion( uiAbovePartIdx, pcCUAboveRight, uiAboveRightPartIdx ) ) )
    41473935  {
     3936#if NH_3D_MLC
     3937    m_bAvailableFlagB0 = 1;
     3938#endif
    41483939    abCandIsInter[iCount] = true;
    41493940    // get Inter Dir
     
    41553946      pcCUAboveRight->getMvField( pcCUAboveRight, uiAboveRightPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    41563947    }
    4157 
    41583948    if ( mrgCandIdx == iCount )
    41593949    {
     
    41633953  }
    41643954  // early termination
    4165   if (iCount == getSlice()->getMaxNumMergeCand()) 
     3955  if (iCount == getSlice()->getMaxNumMergeCand())
    41663956  {
    41673957    return;
    41683958  }
    4169 #endif
    4170 
    4171 
    4172 #if H_3D_VSP
    4173   /////////////////////////////////////////////////
    4174   //////// VIEW SYNTHESIS PREDICTION (VSP) ////////
    4175   /////////////////////////////////////////////////
    4176   if (iCount<getSlice()->getMaxNumMergeCand())
    4177   {
    4178     if (
    4179       (!getAvailableFlagA1() || !(pcCULeft->getVSPFlag(uiLeftPartIdx) != 0)) &&
    4180 #if NH_3D_IC
    4181       !bICFlag &&
    4182 #endif
    4183 #if H_3D_ARP
    4184       !bARPFlag &&
    4185 #endif
    4186 #if H_3D
    4187       (nPSW + nPSH > 12) &&
    4188 #endif
    4189 #if H_3D_DBBP
    4190       !bDBBPFlag &&
    4191 #endif
    4192       xAddVspCand( mrgCandIdx, &cDisInfo, iCount ) )
    4193     {
    4194       return;
    4195     }
    4196 
    4197     // early termination
    4198     if (iCount == getSlice()->getMaxNumMergeCand())
    4199     {
    4200       return;
    4201     }
    4202 #endif
    4203 #if H_3D_VSP
    4204   }
    4205 #endif
    4206 
    4207 #if H_3D
    4208   iCount += m_mergCands[MRG_B0].m_bAvailable;
    4209 #endif
    4210 
    4211 
    4212 #if H_3D_IV_MERGE
    4213   /////////////////////////////////////////////
    4214   //////// INTER VIEW DISP COMP (IvDC) ////////
    4215   /////////////////////////////////////////////
    4216   if( ivCandDir[1] && iCount < getSlice()->getMaxNumMergeCand() && !getSlice()->getIsDepth() )
    4217   {
    4218     assert(iCount < getSlice()->getMaxNumMergeCand());
    4219 
    4220     tmpMV[0].setMvField( cZeroMv, NOT_VALID );
    4221     tmpMV[1].setMvField( cZeroMv, NOT_VALID );
    4222     if( ( ivCandDir[1] & 1 ) == 1 )
    4223     {
    4224       tmpMV[0].setMvField( ivCandMv[ 2 ], ivCandRefIdx[ 2 ] );
    4225     }
    4226     if( ( ivCandDir[1] & 2 ) == 2 )
    4227     {
    4228       tmpMV[1].setMvField( ivCandMv[ 3 ], ivCandRefIdx[ 3 ] );
    4229     }
    4230 
    4231     Bool bRemoveSpa = false; //pruning to A1, B1
    4232     for(Int i = 0; i < 2; i ++)
    4233     {
    4234       if ( !m_mergCands[MRG_A1+i].m_bAvailable )
    4235       {
    4236         continue;
    4237       }
    4238       if (ivCandDir[1] == m_mergCands[MRG_A1+i].m_uDir && tmpMV[0]==m_mergCands[MRG_A1+i].m_cMvField[0] && tmpMV[1]==m_mergCands[MRG_A1+i].m_cMvField[1])
    4239       {
    4240         bRemoveSpa                      = true;
    4241         break;
    4242       }     
    4243     }
    4244     if(!bRemoveSpa)
    4245     {
    4246 #if H_3D_NBDV
    4247       tmpMV[0].getMv().setIDVFlag (false);
    4248       tmpMV[1].getMv().setIDVFlag (false);
    4249 #endif
    4250       m_mergCands[MRG_IVDC].setCand( tmpMV, ivCandDir[1], false, false);
    4251 
    4252       if ( mrgCandIdx == iCount )
    4253         return;
    4254       iCount ++;
    4255 
    4256       // early termination
    4257       if (iCount == getSlice()->getMaxNumMergeCand())
    4258       {
    4259         return;
    4260       }
    4261     }
    4262   }
    4263 #endif // H_3D_IV_MERGE
    4264 
    4265 
    4266 #if H_3D
    4267   iCount += m_mergCands[MRG_A0].m_bAvailable + m_mergCands[MRG_B2].m_bAvailable;
    4268 #else
     3959
    42693960  //left bottom
    42703961  UInt uiLeftBottomPartIdx = 0;
    42713962  TComDataCU* pcCULeftBottom = 0;
    42723963  pcCULeftBottom = this->getPUBelowLeft( uiLeftBottomPartIdx, uiPartIdxLB );
     3964
    42733965  Bool isAvailableA0 = pcCULeftBottom &&
    4274   pcCULeftBottom->isDiffMER(xP-1, yP+nPSH, xP, yP) &&
    4275   !pcCULeftBottom->isIntra( uiLeftBottomPartIdx ) ;
     3966                       pcCULeftBottom->isDiffMER(xP-1, yP+nPSH, xP, yP) &&
     3967                       pcCULeftBottom->isInter( uiLeftBottomPartIdx ) ;
     3968
    42763969  if ( isAvailableA0 && ( !isAvailableA1 || !pcCULeft->hasEqualMotion( uiLeftPartIdx, pcCULeftBottom, uiLeftBottomPartIdx ) ) )
    42773970  {
     3971#if NH_3D_MLC
     3972    m_bAvailableFlagA0 = 1;
     3973#endif
    42783974    abCandIsInter[iCount] = true;
    42793975    // get Inter Dir
     
    42923988  }
    42933989  // early termination
    4294   if (iCount == getSlice()->getMaxNumMergeCand()) 
     3990  if (iCount == getSlice()->getMaxNumMergeCand())
    42953991  {
    42963992    return;
    42973993  }
    42983994
    4299   // above left 
     3995  // above left
    43003996  if( iCount < 4 )
    43013997  {
     
    43033999    TComDataCU* pcCUAboveLeft = 0;
    43044000    pcCUAboveLeft = getPUAboveLeft( uiAboveLeftPartIdx, uiAbsPartAddr );
     4001
    43054002    Bool isAvailableB2 = pcCUAboveLeft &&
    4306     pcCUAboveLeft->isDiffMER(xP-1, yP-1, xP, yP) &&
    4307     !pcCUAboveLeft->isIntra( uiAboveLeftPartIdx );
     4003                         pcCUAboveLeft->isDiffMER(xP-1, yP-1, xP, yP) &&
     4004                         pcCUAboveLeft->isInter( uiAboveLeftPartIdx );
     4005
    43084006    if ( isAvailableB2 && ( !isAvailableA1 || !pcCULeft->hasEqualMotion( uiLeftPartIdx, pcCUAboveLeft, uiAboveLeftPartIdx ) )
    43094007        && ( !isAvailableB1 || !pcCUAbove->hasEqualMotion( uiAbovePartIdx, pcCUAboveLeft, uiAboveLeftPartIdx ) ) )
    43104008    {
     4009#if NH_3D_MLC
     4010      m_bAvailableFlagB2 = 1;
     4011#endif
    43114012      abCandIsInter[iCount] = true;
    43124013      // get Inter Dir
     
    43264027  }
    43274028  // early termination
    4328   if (iCount == getSlice()->getMaxNumMergeCand()) 
     4029  if (iCount == getSlice()->getMaxNumMergeCand())
    43294030  {
    43304031    return;
    43314032  }
    4332 #endif
    4333 
    4334 
    4335 #if H_3D_IV_MERGE
    4336   ////////////////////////////////////////////////////
    4337   //////// SHIFTED IV (IvMCShift + IvDCShift) ////////
    4338   ////////////////////////////////////////////////////
    4339   if(  ivMvPredFlag && iCount < getSlice()->getMaxNumMergeCand() && !getSlice()->getIsDepth() )
    4340   {
    4341     if(xAddIvMRGCand( mrgCandIdx,  iCount, ivCandDir, ivCandMv, ivCandRefIdx ) )
    4342     {
    4343       return;
    4344     }
    4345     //early termination
    4346     if (iCount == getSlice()->getMaxNumMergeCand())
    4347     {
    4348       return;
    4349     }
    4350   }
    4351 #endif
    4352 #if !H_3D
    4353   if ( getSlice()->getEnableTMVPFlag())
     4033
     4034  if ( getSlice()->getEnableTMVPFlag() )
    43544035  {
    43554036    //>> MTK colocated-RightBottom
    43564037    UInt uiPartIdxRB;
    43574038
    4358     deriveRightBottomIdx( uiPUIdx, uiPartIdxRB ); 
     4039    deriveRightBottomIdx( uiPUIdx, uiPartIdxRB );
    43594040
    43604041    UInt uiAbsPartIdxTmp = g_auiZscanToRaster[uiPartIdxRB];
    4361     UInt uiNumPartInCUWidth = m_pcPic->getNumPartInWidth();
     4042    const UInt numPartInCtuWidth  = m_pcPic->getNumPartInCtuWidth();
     4043    const UInt numPartInCtuHeight = m_pcPic->getNumPartInCtuHeight();
    43624044
    43634045    TComMv cColMv;
    43644046    Int iRefIdx;
    4365     Int uiLCUIdx = -1;
    4366 
    4367     if      ( ( m_pcPic->getCU(m_uiCUAddr)->getCUPelX() + g_auiRasterToPelX[uiAbsPartIdxTmp] + m_pcPic->getMinCUWidth() ) >= m_pcSlice->getSPS()->getPicWidthInLumaSamples() )  // image boundary check
    4368     {
    4369     }
    4370     else if ( ( m_pcPic->getCU(m_uiCUAddr)->getCUPelY() + g_auiRasterToPelY[uiAbsPartIdxTmp] + m_pcPic->getMinCUHeight() ) >= m_pcSlice->getSPS()->getPicHeightInLumaSamples() )
    4371     {
    4372     }
    4373     else
    4374     {
    4375       if ( ( uiAbsPartIdxTmp % uiNumPartInCUWidth < uiNumPartInCUWidth - 1 ) &&           // is not at the last column of LCU
    4376         ( uiAbsPartIdxTmp / uiNumPartInCUWidth < m_pcPic->getNumPartInHeight() - 1 ) ) // is not at the last row    of LCU
    4377       {
    4378         uiAbsPartAddr = g_auiRasterToZscan[ uiAbsPartIdxTmp + uiNumPartInCUWidth + 1 ];
    4379         uiLCUIdx = getAddr();
    4380       }
    4381       else if ( uiAbsPartIdxTmp % uiNumPartInCUWidth < uiNumPartInCUWidth - 1 )           // is not at the last column of LCU But is last row of LCU
    4382       {
    4383         uiAbsPartAddr = g_auiRasterToZscan[ (uiAbsPartIdxTmp + uiNumPartInCUWidth + 1) % m_pcPic->getNumPartInCU() ];
    4384       }
    4385       else if ( uiAbsPartIdxTmp / uiNumPartInCUWidth < m_pcPic->getNumPartInHeight() - 1 ) // is not at the last row of LCU But is last column of LCU
     4047    Int ctuRsAddr = -1;
     4048
     4049    if (   ( ( m_pcPic->getCtu(m_ctuRsAddr)->getCUPelX() + g_auiRasterToPelX[uiAbsPartIdxTmp] + m_pcPic->getMinCUWidth () ) < m_pcSlice->getSPS()->getPicWidthInLumaSamples () )  // image boundary check
     4050        && ( ( m_pcPic->getCtu(m_ctuRsAddr)->getCUPelY() + g_auiRasterToPelY[uiAbsPartIdxTmp] + m_pcPic->getMinCUHeight() ) < m_pcSlice->getSPS()->getPicHeightInLumaSamples() ) )
     4051    {
     4052      if ( ( uiAbsPartIdxTmp % numPartInCtuWidth < numPartInCtuWidth - 1 ) &&           // is not at the last column of CTU
     4053        ( uiAbsPartIdxTmp / numPartInCtuWidth < numPartInCtuHeight - 1 ) )              // is not at the last row    of CTU
     4054      {
     4055        uiAbsPartAddr = g_auiRasterToZscan[ uiAbsPartIdxTmp + numPartInCtuWidth + 1 ];
     4056        ctuRsAddr = getCtuRsAddr();
     4057      }
     4058      else if ( uiAbsPartIdxTmp % numPartInCtuWidth < numPartInCtuWidth - 1 )           // is not at the last column of CTU But is last row of CTU
     4059      {
     4060        uiAbsPartAddr = g_auiRasterToZscan[ (uiAbsPartIdxTmp + numPartInCtuWidth + 1) % m_pcPic->getNumPartitionsInCtu() ];
     4061      }
     4062      else if ( uiAbsPartIdxTmp / numPartInCtuWidth < numPartInCtuHeight - 1 )          // is not at the last row of CTU But is last column of CTU
    43864063      {
    43874064        uiAbsPartAddr = g_auiRasterToZscan[ uiAbsPartIdxTmp + 1 ];
    4388         uiLCUIdx = getAddr() + 1;
    4389       }
    4390       else //is the right bottom corner of LCU                       
     4065        ctuRsAddr = getCtuRsAddr() + 1;
     4066      }
     4067      else //is the right bottom corner of CTU
    43914068      {
    43924069        uiAbsPartAddr = 0;
    43934070      }
    43944071    }
    4395    
    4396    
     4072
    43974073    iRefIdx = 0;
     4074
    43984075    Bool bExistMV = false;
    43994076    UInt uiPartIdxCenter;
    4400     UInt uiCurLCUIdx = getAddr();
    44014077    Int dir = 0;
    44024078    UInt uiArrayAddr = iCount;
    44034079    xDeriveCenterIdx( uiPUIdx, uiPartIdxCenter );
    4404     bExistMV = uiLCUIdx >= 0 && xGetColMVP( REF_PIC_LIST_0, uiLCUIdx, uiAbsPartAddr, cColMv, iRefIdx );
     4080    bExistMV = ctuRsAddr >= 0 && xGetColMVP( REF_PIC_LIST_0, ctuRsAddr, uiAbsPartAddr, cColMv, iRefIdx );
    44054081    if( bExistMV == false )
    44064082    {
    4407       bExistMV = xGetColMVP( REF_PIC_LIST_0, uiCurLCUIdx, uiPartIdxCenter, cColMv, iRefIdx );
     4083      bExistMV = xGetColMVP( REF_PIC_LIST_0, getCtuRsAddr(), uiPartIdxCenter, cColMv, iRefIdx );
    44084084    }
    44094085    if( bExistMV )
     
    44154091    if ( getSlice()->isInterB() )
    44164092    {
    4417       bExistMV = uiLCUIdx >= 0 && xGetColMVP( REF_PIC_LIST_1, uiLCUIdx, uiAbsPartAddr, cColMv, iRefIdx);
     4093#if NH_3D_TMVP
     4094      iRefIdx = 0;
     4095#endif
     4096      bExistMV = ctuRsAddr >= 0 && xGetColMVP( REF_PIC_LIST_1, ctuRsAddr, uiAbsPartAddr, cColMv, iRefIdx);
    44184097      if( bExistMV == false )
    44194098      {
    4420         bExistMV = xGetColMVP( REF_PIC_LIST_1, uiCurLCUIdx, uiPartIdxCenter, cColMv, iRefIdx );
     4099        bExistMV = xGetColMVP( REF_PIC_LIST_1, getCtuRsAddr(), uiPartIdxCenter, cColMv, iRefIdx );
    44214100      }
    44224101      if( bExistMV )
     
    44264105      }
    44274106    }
    4428    
     4107
    44294108    if (dir != 0)
    44304109    {
    44314110      puhInterDirNeighbours[uiArrayAddr] = dir;
    44324111      abCandIsInter[uiArrayAddr] = true;
     4112#if NH_3D_NBDV
     4113      pcMvFieldNeighbours[iCount<<1    ].getMv().setIDVFlag (false);
     4114      pcMvFieldNeighbours[(iCount<<1)+1].getMv().setIDVFlag (false);
     4115#endif
     4116
    44334117      if ( mrgCandIdx == iCount )
    44344118      {
     
    44384122    }
    44394123  }
    4440   // early termination 
    4441   if (iCount == getSlice()->getMaxNumMergeCand()) 
     4124  // early termination
     4125  if (iCount == getSlice()->getMaxNumMergeCand())
    44424126  {
    44434127    return;
    44444128  }
     4129
    44454130  UInt uiArrayAddr = iCount;
    44464131  UInt uiCutoff = uiArrayAddr;
    4447    
    4448   if ( getSlice()->isInterB())
    4449   {
    4450     UInt uiPriorityList0[12] = {0 , 1, 0, 2, 1, 2, 0, 3, 1, 3, 2, 3};
    4451     UInt uiPriorityList1[12] = {1 , 0, 2, 0, 2, 1, 3, 0, 3, 1, 3, 2};
     4132
     4133#if NH_3D_MLC
     4134  if ( getSlice()->isInterB() && iCount<5)
     4135#else
     4136  if ( getSlice()->isInterB() )
     4137#endif
     4138  {
     4139    static const UInt NUM_PRIORITY_LIST=12;
     4140    static const UInt uiPriorityList0[NUM_PRIORITY_LIST] = {0 , 1, 0, 2, 1, 2, 0, 3, 1, 3, 2, 3};
     4141    static const UInt uiPriorityList1[NUM_PRIORITY_LIST] = {1 , 0, 2, 0, 2, 1, 3, 0, 3, 1, 3, 2};
    44524142
    44534143    for (Int idx=0; idx<uiCutoff*(uiCutoff-1) && uiArrayAddr!= getSlice()->getMaxNumMergeCand(); idx++)
    44544144    {
    4455       Int i = uiPriorityList0[idx]; Int j = uiPriorityList1[idx];
     4145      assert(idx<NUM_PRIORITY_LIST);
     4146      Int i = uiPriorityList0[idx];
     4147      Int j = uiPriorityList1[idx];
    44564148      if (abCandIsInter[i] && abCandIsInter[j]&& (puhInterDirNeighbours[i]&0x1)&&(puhInterDirNeighbours[j]&0x2))
    44574149      {
     
    44774169  }
    44784170  // early termination
    4479   if (uiArrayAddr == getSlice()->getMaxNumMergeCand()) 
     4171  if (uiArrayAddr == getSlice()->getMaxNumMergeCand())
    44804172  {
    44814173    return;
    44824174  }
     4175
    44834176  Int iNumRefIdx = (getSlice()->isInterB()) ? min(m_pcSlice->getNumRefIdx(REF_PIC_LIST_0), m_pcSlice->getNumRefIdx(REF_PIC_LIST_1)) : m_pcSlice->getNumRefIdx(REF_PIC_LIST_0);
     4177
    44844178  Int r = 0;
    44854179  Int refcnt = 0;
     
    44964190    }
    44974191    uiArrayAddr++;
     4192
    44984193    if ( refcnt == iNumRefIdx - 1 )
    44994194    {
     
    45064201    }
    45074202  }
    4508 
    45094203  numValidMergeCand = uiArrayAddr;
    4510 #endif
    4511 }
    4512 #else
    4513 
    4514 //! Construct a list of merging candidates
    4515 Void TComDataCU::getInterMergeCandidates( UInt uiAbsPartIdx, UInt uiPUIdx, TComMvField* pcMvFieldNeighbours, UChar* puhInterDirNeighbours, Int& numValidMergeCand, Int mrgCandIdx )
    4516 {
    4517   UInt uiAbsPartAddr = m_absZIdxInCtu + uiAbsPartIdx;
    4518   Bool abCandIsInter[ MRG_MAX_NUM_CANDS ];
    4519   for( UInt ui = 0; ui < getSlice()->getMaxNumMergeCand(); ++ui )
    4520   {
    4521     abCandIsInter[ui] = false;
    4522     pcMvFieldNeighbours[ ( ui << 1 )     ].setRefIdx(NOT_VALID);
    4523     pcMvFieldNeighbours[ ( ui << 1 ) + 1 ].setRefIdx(NOT_VALID);
    4524   }
    4525   numValidMergeCand = getSlice()->getMaxNumMergeCand();
    4526   // compute the location of the current PU
    4527   Int xP, yP, nPSW, nPSH;
    4528   this->getPartPosition(uiPUIdx, xP, yP, nPSW, nPSH);
    4529 
    4530   Int iCount = 0;
    4531 
    4532   UInt uiPartIdxLT, uiPartIdxRT, uiPartIdxLB;
    4533   PartSize cCurPS = getPartitionSize( uiAbsPartIdx );
    4534   deriveLeftRightTopIdxGeneral( uiAbsPartIdx, uiPUIdx, uiPartIdxLT, uiPartIdxRT );
    4535   deriveLeftBottomIdxGeneral( uiAbsPartIdx, uiPUIdx, uiPartIdxLB );
    4536 
    4537   //left
    4538   UInt uiLeftPartIdx = 0;
    4539   TComDataCU* pcCULeft = 0;
    4540   pcCULeft = getPULeft( uiLeftPartIdx, uiPartIdxLB );
    4541 
    4542   Bool isAvailableA1 = pcCULeft &&
    4543                        pcCULeft->isDiffMER(xP -1, yP+nPSH-1, xP, yP) &&
    4544                        !( uiPUIdx == 1 && (cCurPS == SIZE_Nx2N || cCurPS == SIZE_nLx2N || cCurPS == SIZE_nRx2N) ) &&
    4545                        pcCULeft->isInter( uiLeftPartIdx ) ;
    4546 
    4547   if ( isAvailableA1 )
    4548   {
    4549     abCandIsInter[iCount] = true;
    4550     // get Inter Dir
    4551     puhInterDirNeighbours[iCount] = pcCULeft->getInterDir( uiLeftPartIdx );
    4552     // get Mv from Left
    4553     pcCULeft->getMvField( pcCULeft, uiLeftPartIdx, REF_PIC_LIST_0, pcMvFieldNeighbours[iCount<<1] );
    4554     if ( getSlice()->isInterB() )
    4555     {
    4556       pcCULeft->getMvField( pcCULeft, uiLeftPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    4557     }
    4558     if ( mrgCandIdx == iCount )
    4559     {
    4560       return;
    4561     }
    4562     iCount ++;
    4563   }
    4564 
    4565   // early termination
    4566   if (iCount == getSlice()->getMaxNumMergeCand())
    4567   {
    4568     return;
    4569   }
    4570   // above
    4571   UInt uiAbovePartIdx = 0;
    4572   TComDataCU* pcCUAbove = 0;
    4573   pcCUAbove = getPUAbove( uiAbovePartIdx, uiPartIdxRT );
    4574 
    4575   Bool isAvailableB1 = pcCUAbove &&
    4576                        pcCUAbove->isDiffMER(xP+nPSW-1, yP-1, xP, yP) &&
    4577                        !( uiPUIdx == 1 && (cCurPS == SIZE_2NxN || cCurPS == SIZE_2NxnU || cCurPS == SIZE_2NxnD) ) &&
    4578                        pcCUAbove->isInter( uiAbovePartIdx );
    4579 
    4580   if ( isAvailableB1 && (!isAvailableA1 || !pcCULeft->hasEqualMotion( uiLeftPartIdx, pcCUAbove, uiAbovePartIdx ) ) )
    4581   {
    4582     abCandIsInter[iCount] = true;
    4583     // get Inter Dir
    4584     puhInterDirNeighbours[iCount] = pcCUAbove->getInterDir( uiAbovePartIdx );
    4585     // get Mv from Left
    4586     pcCUAbove->getMvField( pcCUAbove, uiAbovePartIdx, REF_PIC_LIST_0, pcMvFieldNeighbours[iCount<<1] );
    4587     if ( getSlice()->isInterB() )
    4588     {
    4589       pcCUAbove->getMvField( pcCUAbove, uiAbovePartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    4590     }
    4591     if ( mrgCandIdx == iCount )
    4592     {
    4593       return;
    4594     }
    4595     iCount ++;
    4596   }
    4597   // early termination
    4598   if (iCount == getSlice()->getMaxNumMergeCand())
    4599   {
    4600     return;
    4601   }
    4602 
    4603   // above right
    4604   UInt uiAboveRightPartIdx = 0;
    4605   TComDataCU* pcCUAboveRight = 0;
    4606   pcCUAboveRight = getPUAboveRight( uiAboveRightPartIdx, uiPartIdxRT );
    4607 
    4608   Bool isAvailableB0 = pcCUAboveRight &&
    4609                        pcCUAboveRight->isDiffMER(xP+nPSW, yP-1, xP, yP) &&
    4610                        pcCUAboveRight->isInter( uiAboveRightPartIdx );
    4611 
    4612   if ( isAvailableB0 && ( !isAvailableB1 || !pcCUAbove->hasEqualMotion( uiAbovePartIdx, pcCUAboveRight, uiAboveRightPartIdx ) ) )
    4613   {
    4614     abCandIsInter[iCount] = true;
    4615     // get Inter Dir
    4616     puhInterDirNeighbours[iCount] = pcCUAboveRight->getInterDir( uiAboveRightPartIdx );
    4617     // get Mv from Left
    4618     pcCUAboveRight->getMvField( pcCUAboveRight, uiAboveRightPartIdx, REF_PIC_LIST_0, pcMvFieldNeighbours[iCount<<1] );
    4619     if ( getSlice()->isInterB() )
    4620     {
    4621       pcCUAboveRight->getMvField( pcCUAboveRight, uiAboveRightPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    4622     }
    4623     if ( mrgCandIdx == iCount )
    4624     {
    4625       return;
    4626     }
    4627     iCount ++;
    4628   }
    4629   // early termination
    4630   if (iCount == getSlice()->getMaxNumMergeCand())
    4631   {
    4632     return;
    4633   }
    4634 
    4635   //left bottom
    4636   UInt uiLeftBottomPartIdx = 0;
    4637   TComDataCU* pcCULeftBottom = 0;
    4638   pcCULeftBottom = this->getPUBelowLeft( uiLeftBottomPartIdx, uiPartIdxLB );
    4639 
    4640   Bool isAvailableA0 = pcCULeftBottom &&
    4641                        pcCULeftBottom->isDiffMER(xP-1, yP+nPSH, xP, yP) &&
    4642                        pcCULeftBottom->isInter( uiLeftBottomPartIdx ) ;
    4643 
    4644   if ( isAvailableA0 && ( !isAvailableA1 || !pcCULeft->hasEqualMotion( uiLeftPartIdx, pcCULeftBottom, uiLeftBottomPartIdx ) ) )
    4645   {
    4646     abCandIsInter[iCount] = true;
    4647     // get Inter Dir
    4648     puhInterDirNeighbours[iCount] = pcCULeftBottom->getInterDir( uiLeftBottomPartIdx );
    4649     // get Mv from Left
    4650     pcCULeftBottom->getMvField( pcCULeftBottom, uiLeftBottomPartIdx, REF_PIC_LIST_0, pcMvFieldNeighbours[iCount<<1] );
    4651     if ( getSlice()->isInterB() )
    4652     {
    4653       pcCULeftBottom->getMvField( pcCULeftBottom, uiLeftBottomPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    4654     }
    4655     if ( mrgCandIdx == iCount )
    4656     {
    4657       return;
    4658     }
    4659     iCount ++;
    4660   }
    4661   // early termination
    4662   if (iCount == getSlice()->getMaxNumMergeCand())
    4663   {
    4664     return;
    4665   }
    4666 
    4667   // above left
    4668   if( iCount < 4 )
    4669   {
    4670     UInt uiAboveLeftPartIdx = 0;
    4671     TComDataCU* pcCUAboveLeft = 0;
    4672     pcCUAboveLeft = getPUAboveLeft( uiAboveLeftPartIdx, uiAbsPartAddr );
    4673 
    4674     Bool isAvailableB2 = pcCUAboveLeft &&
    4675                          pcCUAboveLeft->isDiffMER(xP-1, yP-1, xP, yP) &&
    4676                          pcCUAboveLeft->isInter( uiAboveLeftPartIdx );
    4677 
    4678     if ( isAvailableB2 && ( !isAvailableA1 || !pcCULeft->hasEqualMotion( uiLeftPartIdx, pcCUAboveLeft, uiAboveLeftPartIdx ) )
    4679         && ( !isAvailableB1 || !pcCUAbove->hasEqualMotion( uiAbovePartIdx, pcCUAboveLeft, uiAboveLeftPartIdx ) ) )
    4680     {
    4681       abCandIsInter[iCount] = true;
    4682       // get Inter Dir
    4683       puhInterDirNeighbours[iCount] = pcCUAboveLeft->getInterDir( uiAboveLeftPartIdx );
    4684       // get Mv from Left
    4685       pcCUAboveLeft->getMvField( pcCUAboveLeft, uiAboveLeftPartIdx, REF_PIC_LIST_0, pcMvFieldNeighbours[iCount<<1] );
    4686       if ( getSlice()->isInterB() )
    4687       {
    4688         pcCUAboveLeft->getMvField( pcCUAboveLeft, uiAboveLeftPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    4689       }
    4690       if ( mrgCandIdx == iCount )
    4691       {
    4692         return;
    4693       }
    4694       iCount ++;
    4695     }
    4696   }
    4697   // early termination
    4698   if (iCount == getSlice()->getMaxNumMergeCand())
    4699   {
    4700     return;
    4701   }
    4702 
    4703   if ( getSlice()->getEnableTMVPFlag() )
    4704   {
    4705     //>> MTK colocated-RightBottom
    4706     UInt uiPartIdxRB;
    4707 
    4708     deriveRightBottomIdx( uiPUIdx, uiPartIdxRB );
    4709 
    4710     UInt uiAbsPartIdxTmp = g_auiZscanToRaster[uiPartIdxRB];
    4711     const UInt numPartInCtuWidth  = m_pcPic->getNumPartInCtuWidth();
    4712     const UInt numPartInCtuHeight = m_pcPic->getNumPartInCtuHeight();
    4713 
    4714     TComMv cColMv;
    4715     Int iRefIdx;
    4716     Int ctuRsAddr = -1;
    4717 
    4718     if (   ( ( m_pcPic->getCtu(m_ctuRsAddr)->getCUPelX() + g_auiRasterToPelX[uiAbsPartIdxTmp] + m_pcPic->getMinCUWidth () ) < m_pcSlice->getSPS()->getPicWidthInLumaSamples () )  // image boundary check
    4719         && ( ( m_pcPic->getCtu(m_ctuRsAddr)->getCUPelY() + g_auiRasterToPelY[uiAbsPartIdxTmp] + m_pcPic->getMinCUHeight() ) < m_pcSlice->getSPS()->getPicHeightInLumaSamples() ) )
    4720     {
    4721       if ( ( uiAbsPartIdxTmp % numPartInCtuWidth < numPartInCtuWidth - 1 ) &&           // is not at the last column of CTU
    4722         ( uiAbsPartIdxTmp / numPartInCtuWidth < numPartInCtuHeight - 1 ) )              // is not at the last row    of CTU
    4723       {
    4724         uiAbsPartAddr = g_auiRasterToZscan[ uiAbsPartIdxTmp + numPartInCtuWidth + 1 ];
    4725         ctuRsAddr = getCtuRsAddr();
    4726       }
    4727       else if ( uiAbsPartIdxTmp % numPartInCtuWidth < numPartInCtuWidth - 1 )           // is not at the last column of CTU But is last row of CTU
    4728       {
    4729         uiAbsPartAddr = g_auiRasterToZscan[ (uiAbsPartIdxTmp + numPartInCtuWidth + 1) % m_pcPic->getNumPartitionsInCtu() ];
    4730       }
    4731       else if ( uiAbsPartIdxTmp / numPartInCtuWidth < numPartInCtuHeight - 1 )          // is not at the last row of CTU But is last column of CTU
    4732       {
    4733         uiAbsPartAddr = g_auiRasterToZscan[ uiAbsPartIdxTmp + 1 ];
    4734         ctuRsAddr = getCtuRsAddr() + 1;
    4735       }
    4736       else //is the right bottom corner of CTU
    4737       {
    4738         uiAbsPartAddr = 0;
    4739       }
    4740     }
    4741 
    4742     iRefIdx = 0;
    4743 
    4744     Bool bExistMV = false;
    4745     UInt uiPartIdxCenter;
    4746     Int dir = 0;
    4747     UInt uiArrayAddr = iCount;
    4748     xDeriveCenterIdx( uiPUIdx, uiPartIdxCenter );
    4749     bExistMV = ctuRsAddr >= 0 && xGetColMVP( REF_PIC_LIST_0, ctuRsAddr, uiAbsPartAddr, cColMv, iRefIdx );
    4750     if( bExistMV == false )
    4751     {
    4752       bExistMV = xGetColMVP( REF_PIC_LIST_0, getCtuRsAddr(), uiPartIdxCenter,  cColMv, iRefIdx );
    4753     }
    4754     if( bExistMV )
    4755     {
    4756       dir |= 1;
    4757       pcMvFieldNeighbours[ 2 * uiArrayAddr ].setMvField( cColMv, iRefIdx );
    4758     }
    4759 
    4760     if ( getSlice()->isInterB() )
    4761     {
    4762 #if NH_3D_TMVP
    4763       iRefIdx =0;
    4764 #endif
    4765       bExistMV = ctuRsAddr >= 0 && xGetColMVP( REF_PIC_LIST_1, ctuRsAddr, uiAbsPartAddr, cColMv, iRefIdx);
    4766       if( bExistMV == false )
    4767       {
    4768         bExistMV = xGetColMVP( REF_PIC_LIST_1, getCtuRsAddr(), uiPartIdxCenter, cColMv, iRefIdx );
    4769       }
    4770       if( bExistMV )
    4771       {
    4772         dir |= 2;
    4773         pcMvFieldNeighbours[ 2 * uiArrayAddr + 1 ].setMvField( cColMv, iRefIdx );
    4774       }
    4775     }
    4776 
    4777     if (dir != 0)
    4778     {
    4779       puhInterDirNeighbours[uiArrayAddr] = dir;
    4780       abCandIsInter[uiArrayAddr] = true;
    4781 
    4782       if ( mrgCandIdx == iCount )
    4783       {
    4784         return;
    4785       }
    4786       iCount++;
    4787     }
    4788   }
    4789   // early termination
    4790   if (iCount == getSlice()->getMaxNumMergeCand())
    4791   {
    4792     return;
    4793   }
    4794 
    4795   UInt uiArrayAddr = iCount;
    4796   UInt uiCutoff = uiArrayAddr;
    4797 
    4798   if ( getSlice()->isInterB() )
    4799   {
    4800     static const UInt NUM_PRIORITY_LIST=12;
    4801     static const UInt uiPriorityList0[NUM_PRIORITY_LIST] = {0 , 1, 0, 2, 1, 2, 0, 3, 1, 3, 2, 3};
    4802     static const UInt uiPriorityList1[NUM_PRIORITY_LIST] = {1 , 0, 2, 0, 2, 1, 3, 0, 3, 1, 3, 2};
    4803 
    4804     for (Int idx=0; idx<uiCutoff*(uiCutoff-1) && uiArrayAddr!= getSlice()->getMaxNumMergeCand(); idx++)
    4805     {
    4806       assert(idx<NUM_PRIORITY_LIST);
    4807       Int i = uiPriorityList0[idx];
    4808       Int j = uiPriorityList1[idx];
    4809       if (abCandIsInter[i] && abCandIsInter[j]&& (puhInterDirNeighbours[i]&0x1)&&(puhInterDirNeighbours[j]&0x2))
    4810       {
    4811         abCandIsInter[uiArrayAddr] = true;
    4812         puhInterDirNeighbours[uiArrayAddr] = 3;
    4813 
    4814         // get Mv from cand[i] and cand[j]
    4815         pcMvFieldNeighbours[uiArrayAddr << 1].setMvField(pcMvFieldNeighbours[i<<1].getMv(), pcMvFieldNeighbours[i<<1].getRefIdx());
    4816         pcMvFieldNeighbours[( uiArrayAddr << 1 ) + 1].setMvField(pcMvFieldNeighbours[(j<<1)+1].getMv(), pcMvFieldNeighbours[(j<<1)+1].getRefIdx());
    4817 
    4818         Int iRefPOCL0 = m_pcSlice->getRefPOC( REF_PIC_LIST_0, pcMvFieldNeighbours[(uiArrayAddr<<1)].getRefIdx() );
    4819         Int iRefPOCL1 = m_pcSlice->getRefPOC( REF_PIC_LIST_1, pcMvFieldNeighbours[(uiArrayAddr<<1)+1].getRefIdx() );
    4820         if (iRefPOCL0 == iRefPOCL1 && pcMvFieldNeighbours[(uiArrayAddr<<1)].getMv() == pcMvFieldNeighbours[(uiArrayAddr<<1)+1].getMv())
    4821         {
    4822           abCandIsInter[uiArrayAddr] = false;
    4823         }
    4824         else
    4825         {
    4826           uiArrayAddr++;
    4827         }
    4828       }
    4829     }
    4830   }
    4831   // early termination
    4832   if (uiArrayAddr == getSlice()->getMaxNumMergeCand())
    4833   {
    4834     return;
    4835   }
    4836 
    4837   Int iNumRefIdx = (getSlice()->isInterB()) ? min(m_pcSlice->getNumRefIdx(REF_PIC_LIST_0), m_pcSlice->getNumRefIdx(REF_PIC_LIST_1)) : m_pcSlice->getNumRefIdx(REF_PIC_LIST_0);
    4838 
    4839   Int r = 0;
    4840   Int refcnt = 0;
    4841   while (uiArrayAddr < getSlice()->getMaxNumMergeCand())
    4842   {
    4843     abCandIsInter[uiArrayAddr] = true;
    4844     puhInterDirNeighbours[uiArrayAddr] = 1;
    4845     pcMvFieldNeighbours[uiArrayAddr << 1].setMvField( TComMv(0, 0), r);
    4846 
    4847     if ( getSlice()->isInterB() )
    4848     {
    4849       puhInterDirNeighbours[uiArrayAddr] = 3;
    4850       pcMvFieldNeighbours[(uiArrayAddr << 1) + 1].setMvField(TComMv(0, 0), r);
    4851     }
    4852     uiArrayAddr++;
    4853 
    4854     if ( refcnt == iNumRefIdx - 1 )
    4855     {
    4856       r = 0;
    4857     }
    4858     else
    4859     {
    4860       ++r;
    4861       ++refcnt;
    4862     }
    4863   }
    4864   numValidMergeCand = uiArrayAddr;
    4865 }
    4866 #endif
     4204}
    48674205
    48684206/** Check whether the current PU and a spatial neighboring PU are in a same ME region.
     
    51224460  UInt partAddr;
    51234461
    5124 #if H_3D_DBBP
     4462#if NH_3D_DBBP
    51254463  if( getDBBPFlag(0) )
    51264464  {
     
    51424480  const TComSPS &sps=*(m_pcSlice->getSPS());
    51434481  Int  iMvShift = 2;
    5144 #if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
     4482#if NH_3D_INTEGER_MV_DEPTH
    51454483  if( getSlice()->getIsDepth() )
    51464484    iMvShift = 0;
     
    56665004#endif
    56675005
    5668 #if H_3D_IV_MERGE
     5006#if NH_3D_IV_MERGE
    56695007Void TComDataCU::getDispforDepth (UInt uiPartIdx, UInt uiPartAddr, DisInfo* pDisp)
    56705008{
     
    56765014    Int iViewIdx = getSlice()->getDefaultRefViewIdx();
    56775015    pDisp->m_aVIdxCan = iViewIdx;
    5678     Int iDisp     = getSlice()->getDepthToDisparityB( iViewIdx )[ (Int64) (1 << ( getSlice()->getSPS()->getBitDepthY() - 1 )) ];
     5016    Int iDisp     = getSlice()->getDepthToDisparityB( iViewIdx )[ (Int64) (1 << ( getSlice()->getSPS()->getBitDepth(CHANNEL_TYPE_LUMA) - 1 )) ];
    56795017
    56805018    cMv.setHor(iDisp);
     
    57435081}
    57445082#endif
    5745 #if H_3D_NBDV
     5083#if NH_3D_NBDV
    57465084//Notes from QC:
    5747 //TBD#1: DoNBDV related contributions are just partially integrated under the marco of H_3D_NBDV_REF, remove this comment once DoNBDV and BVSP are done
     5085//TBD#1: DoNBDV related contributions are just partially integrated under the marco of NH_3D_NBDV_REF, remove this comment once DoNBDV and BVSP are done
    57485086//TBD#2: set of DvMCP values need to be done as part of inter-view motion prediction process. Remove this comment once merge related integration is done
    57495087//To be checked: Parallel Merge features for NBDV, related to DV_DERIVATION_PARALLEL_B0096 and LGE_IVMP_PARALLEL_MERGE_B0136 are not integrated. The need of these features due to the adoption of CU-based NBDV is not clear. We need confirmation on this, especially by proponents
    57505088Void TComDataCU::getDisMvpCandNBDV( DisInfo* pDInfo
    5751 #if H_3D_NBDV_REF
     5089#if NH_3D_NBDV_REF
    57525090, Bool bDepthRefine
    57535091#endif
     
    57725110    }
    57735111  }
    5774 #if H_3D_NBDV_REF
     5112#if NH_3D_NBDV_REF
    57755113  if( !m_pcSlice->getDepthRefinementFlag( ) )
    57765114  {
     
    57955133    ///*** Derive center position ***
    57965134    UInt uiPartIdxCenter;
    5797     Int  uiLCUIdx   = getAddr();
     5135    Int  uiLCUIdx = getCtuRsAddr();
    57985136    xDeriveCenterIdx(uiPartIdx, uiPartIdxCenter );
    57995137
     
    58225160        pDInfo->m_aVIdxCan  = iTargetViewIdx;
    58235161
    5824 #if H_3D_NBDV_REF
     5162#if NH_3D_NBDV_REF
    58255163        TComPic* picDepth = NULL;   
    58265164#if H_3D_FCO_VSP_DONBDV_E0163
     
    58445182        }
    58455183        pDInfo->m_acDoNBDV  = cColMv;
    5846 #endif //H_3D_NBDV_REF
     5184#endif //NH_3D_NBDV_REF
    58475185        return;
    58485186      }
     
    58585196  bCheckMcpDv = true;
    58595197  if ( xCheckSpatialNBDV( pcTmpCU, uiIdx, pDInfo, bCheckMcpDv, &cIDVInfo, DVFROM_LEFT
    5860 #if H_3D_NBDV_REF
     5198#if NH_3D_NBDV_REF
    58615199    , bDepthRefine
    58625200#endif
     
    58685206  if(pcTmpCU != NULL )
    58695207  {
    5870     bCheckMcpDv = ( ( getAddr() - pcTmpCU->getAddr() ) == 0);
     5208    bCheckMcpDv = ( ( getCtuRsAddr() - pcTmpCU->getCtuRsAddr() ) == 0);
    58715209    if ( xCheckSpatialNBDV( pcTmpCU, uiIdx, pDInfo, bCheckMcpDv, &cIDVInfo, DVFROM_ABOVE
    5872 #if H_3D_NBDV_REF
     5210#if NH_3D_NBDV_REF
    58735211      , bDepthRefine
    58745212#endif
     
    58895227          pDInfo->m_acNBDV = cDispVec;
    58905228          pDInfo->m_aVIdxCan = cIDVInfo.m_aVIdxCan[iList][ curPos ];
    5891 #if H_3D_NBDV_REF
     5229#if NH_3D_NBDV_REF
    58925230#if H_3D_FCO_VSP_DONBDV_E0163
    58935231          TComPic* picDepth  = NULL;
     
    59275265    pDInfo->m_aVIdxCan = getSlice()->getDefaultRefViewIdx();
    59285266
    5929 #if H_3D_NBDV_REF
     5267#if NH_3D_NBDV_REF
    59305268    TComPic* picDepth = NULL;
    59315269#if H_3D_FCO_VSP_DONBDV_E0163
     
    59535291}
    59545292
    5955 #if H_3D_NBDV_REF
     5293#if NH_3D_NBDV_REF
    59565294Pel TComDataCU::getMcpFromDM(TComPicYuv* pcBaseViewDepthPicYuv, TComMv* mv, Int iBlkX, Int iBlkY, Int iBlkWidth, Int iBlkHeight, Int* aiShiftLUT )
    59575295{
    5958   Int iPictureWidth  = pcBaseViewDepthPicYuv->getWidth();
    5959   Int iPictureHeight = pcBaseViewDepthPicYuv->getHeight();
    5960  
     5296  Int iPictureWidth  = pcBaseViewDepthPicYuv->getWidth(COMPONENT_Y);
     5297  Int iPictureHeight = pcBaseViewDepthPicYuv->getHeight(COMPONENT_Y);
     5298
    59615299  Int depthStartPosX = Clip3(0,   iPictureWidth - 1,  iBlkX + ((mv->getHor()+2)>>2));
    59625300  Int depthStartPosY = Clip3(0,   iPictureHeight - 1, iBlkY + ((mv->getVer()+2)>>2));
     
    59645302  Int depthEndPosY   = Clip3(0,   iPictureHeight - 1, iBlkY + iBlkHeight - 1 + ((mv->getVer()+2)>>2));
    59655303
    5966   Pel* depthTL  = pcBaseViewDepthPicYuv->getLumaAddr();
    5967   Int depStride =  pcBaseViewDepthPicYuv->getStride();
     5304  Pel* depthTL  = pcBaseViewDepthPicYuv->getAddr(COMPONENT_Y);
     5305  Int depStride =  pcBaseViewDepthPicYuv->getStride(COMPONENT_Y);
    59685306
    59695307  Pel  maxDepthVal = 0;
     
    59805318  if (picDepth)
    59815319  {
    5982     UInt uiAbsPartAddrCurrCU = m_uiAbsIdxInLCU + uiPartAddr;
     5320    UInt uiAbsPartAddrCurrCU = m_absZIdxInCtu + uiPartAddr;
    59835321    Int iWidth, iHeight;
    59845322    getPartIndexAndSize( uiPartIdx, uiPartAddr, iWidth, iHeight ); // The modified value of uiPartAddr won't be used any more
    59855323
    59865324    TComPicYuv* pcBaseViewDepthPicYuv = picDepth->getPicYuvRec();
    5987     Int iBlkX = ( getAddr() % picDepth->getFrameWidthInCU() ) * g_uiMaxCUWidth  + g_auiRasterToPelX[ g_auiZscanToRaster[ uiAbsPartAddrCurrCU ] ];
    5988     Int iBlkY = ( getAddr() / picDepth->getFrameWidthInCU() ) * g_uiMaxCUHeight + g_auiRasterToPelY[ g_auiZscanToRaster[ uiAbsPartAddrCurrCU ] ];
     5325    const TComSPS   &sps =*(getSlice()->getSPS());
     5326    Int iBlkX = ( getCtuRsAddr() % picDepth->getFrameWidthInCtus() ) * sps.getMaxCUWidth()  + g_auiRasterToPelX[ g_auiZscanToRaster[ uiAbsPartAddrCurrCU ] ];
     5327    Int iBlkY = ( getCtuRsAddr() / picDepth->getFrameWidthInCtus() ) * sps.getMaxCUHeight() + g_auiRasterToPelY[ g_auiZscanToRaster[ uiAbsPartAddrCurrCU ] ];
    59895328
    59905329    Int* aiShiftLUT = getSlice()->getDepthToDisparityB(refViewIdx );
     
    59945333  }
    59955334}
    5996 #endif //H_3D_NBDV_REF
     5335#endif //NH_3D_NBDV_REF
    59975336
    59985337
    59995338Bool TComDataCU::xCheckSpatialNBDV( TComDataCU* pcTmpCU, UInt uiIdx, DisInfo* pNbDvInfo, Bool bSearchForMvpDv, IDVInfo* paIDVInfo, UInt uiMvpDvPos
    6000 #if H_3D_NBDV_REF
     5339#if NH_3D_NBDV_REF
    60015340, Bool bDepthRefine
    60025341#endif
     
    60195358          pNbDvInfo->m_acNBDV = cMvPred;
    60205359          pNbDvInfo->m_aVIdxCan = refViewIdx;
    6021 #if H_3D_NBDV_REF
     5360#if NH_3D_NBDV_REF
    60225361          TComPic* picDepth = NULL;
    60235362          assert(getSlice()->getRefPic(eRefPicList, refId)->getPOC() == getSlice()->getPOC());         
     
    60655404{
    60665405  UInt uiPartIdx = 0;
    6067   UInt uiNumPartInCUWidth = m_pcPic->getNumPartInWidth(); 
    6068   Int uiLCUIdx = getAddr();
     5406  UInt uiNumPartInCUWidth = m_pcPic->getNumPartInCtuWidth(); 
     5407  Int uiLCUIdx = getCtuRsAddr();
    60695408
    60705409  UInt uiPartIdxRB;
     
    60725411  UInt uiAbsPartIdxTmp = g_auiZscanToRaster[uiPartIdxRB];
    60735412
    6074   if (( m_pcPic->getCU(m_uiCUAddr)->getCUPelX() + g_auiRasterToPelX[uiAbsPartIdxTmp] + m_pcPic->getMinCUWidth() )>= m_pcSlice->getSPS()->getPicWidthInLumaSamples() )
     5413  if (( m_pcPic->getCtu(m_ctuRsAddr)->getCUPelX() + g_auiRasterToPelX[uiAbsPartIdxTmp] + m_pcPic->getMinCUWidth() )>= m_pcSlice->getSPS()->getPicWidthInLumaSamples() )
    60755414  {
    60765415    riLCUIdxRBNb  = -1;
    60775416    riPartIdxRBNb = -1;
    60785417  }
    6079   else if(( m_pcPic->getCU(m_uiCUAddr)->getCUPelY() + g_auiRasterToPelY[uiAbsPartIdxTmp] + m_pcPic->getMinCUHeight() )>= m_pcSlice->getSPS()->getPicHeightInLumaSamples() )
     5418  else if(( m_pcPic->getCtu(m_ctuRsAddr)->getCUPelY() + g_auiRasterToPelY[uiAbsPartIdxTmp] + m_pcPic->getMinCUHeight() )>= m_pcSlice->getSPS()->getPicHeightInLumaSamples() )
    60805419  {
    60815420    riLCUIdxRBNb  = -1;
     
    60855424  {
    60865425    if ( ( uiAbsPartIdxTmp % uiNumPartInCUWidth < uiNumPartInCUWidth - 1 ) &&           // is not at the last column of LCU
    6087       ( uiAbsPartIdxTmp / uiNumPartInCUWidth < m_pcPic->getNumPartInHeight() - 1 ) ) // is not at the last row    of LCU
     5426      ( uiAbsPartIdxTmp / uiNumPartInCUWidth < m_pcPic->getNumPartInCtuHeight() - 1 ) ) // is not at the last row    of LCU
    60885427    {
    60895428      riPartIdxRBNb = g_auiRasterToZscan[ uiAbsPartIdxTmp + uiNumPartInCUWidth + 1 ];
     
    60955434      riLCUIdxRBNb  = -1;
    60965435    }
    6097     else if ( uiAbsPartIdxTmp / uiNumPartInCUWidth < m_pcPic->getNumPartInHeight() - 1 ) // is not at the last row of LCU But is last column of LCU
     5436    else if ( uiAbsPartIdxTmp / uiNumPartInCUWidth < m_pcPic->getNumPartInCtuHeight() - 1 ) // is not at the last row of LCU But is last column of LCU
    60985437    {
    60995438      riPartIdxRBNb = g_auiRasterToZscan[ uiAbsPartIdxTmp + 1 ];
     
    61115450Void TComDataCU::setDvInfoSubParts( DisInfo cDvInfo, UInt uiAbsPartIdx, UInt uiDepth )
    61125451{
    6113   UInt uiCurrPartNumb = m_pcPic->getNumPartInCU() >> (uiDepth << 1);
     5452#if NH_3D_VSP // bug fix
     5453  UInt uiCurrPartNumb = m_pcPic->getNumPartitionsInCtu() >> (uiDepth << 1);
     5454  assert(m_pcPic->getNumPartitionsInCtu() ==m_pcPic->getNumPartInCtuWidth()*m_pcPic->getNumPartInCtuHeight());
     5455
     5456#else
     5457  UInt uiCurrPartNumb = m_pcPic->getNumPartInCtuWidth() >> (uiDepth << 1);
     5458#endif
    61145459  for (UInt ui = 0; ui < uiCurrPartNumb; ui++ )
    61155460  {
     
    61175462  }
    61185463}
    6119 #if H_3D_VSP
     5464#if NH_3D_VSP  || NH_3D_DBBP
    61205465Void TComDataCU::setDvInfoSubParts( DisInfo cDvInfo, UInt uiAbsPartIdx, UInt uiPUIdx, UInt uiDepth )
    61215466{
     
    61305475  Int iColViewIdx, iColRefViewIdx;
    61315476  TComPic *pColPic = getSlice()->getRefPic( eRefPicList, refidx);
    6132   TComDataCU *pColCU = pColPic->getCU( uiCUAddr );
     5477  TComDataCU *pColCU = pColPic->getCtu( uiCUAddr );
    61335478  iColViewIdx = pColCU->getSlice()->getViewIndex();
    6134   if (pColCU->getPic()==0||pColCU->getPartitionSize(uiPartUnitIdx)==SIZE_NONE||pColCU->isIntra(uiPartUnitIdx))
     5479  if (pColCU->getPic()==0||pColCU->getPartitionSize(uiPartUnitIdx)==NUMBER_OF_PART_SIZES||pColCU->isIntra(uiPartUnitIdx))
    61355480  {
    61365481    return false;
     
    61945539
    61955540  Bool depthRefineFlag = false;
    6196 #if H_3D_NBDV_REF
     5541#if NH_3D_NBDV_REF
    61975542  depthRefineFlag = m_pcSlice->getDepthRefinementFlag( );
    6198 #endif // H_3D_NBDV_REF
     5543#endif // NH_3D_NBDV_REF
    61995544
    62005545  TComMv      cDv = depthRefineFlag ? pDInfo->m_acDoNBDV : pDInfo->m_acNBDV;
     
    62505595#endif
    62515596
    6252 #if H_3D_SPIVMP
     5597#if NH_3D_SPIVMP
    62535598Void TComDataCU::getSPPara(Int iPUWidth, Int iPUHeight, Int& iNumSP, Int& iNumSPInOneLine, Int& iSPWidth, Int& iSPHeight)
    62545599{
     
    62675612Void TComDataCU::getSPAbsPartIdx(UInt uiBaseAbsPartIdx, Int iWidth, Int iHeight, Int iPartIdx, Int iNumPartLine, UInt& ruiPartAddr )
    62685613{
    6269   uiBaseAbsPartIdx += m_uiAbsIdxInLCU;
     5614  uiBaseAbsPartIdx += m_absZIdxInCtu;
    62705615  Int iBasePelX = g_auiRasterToPelX[g_auiZscanToRaster[uiBaseAbsPartIdx]];
    62715616  Int iBasePelY = g_auiRasterToPelY[g_auiZscanToRaster[uiBaseAbsPartIdx]];
    62725617  Int iCurrPelX = iBasePelX + iPartIdx%iNumPartLine * iWidth;
    62735618  Int iCurrPelY = iBasePelY + iPartIdx/iNumPartLine * iHeight;
    6274   Int iCurrRaster = iCurrPelY / getPic()->getMinCUHeight() * getPic()->getNumPartInWidth() + iCurrPelX/getPic()->getMinCUWidth();
     5619  Int iCurrRaster = iCurrPelY / getPic()->getMinCUHeight() * getPic()->getNumPartInCtuWidth() + iCurrPelX/getPic()->getMinCUWidth();
    62755620  ruiPartAddr = g_auiRasterToZscan[iCurrRaster];
    6276   ruiPartAddr -= m_uiAbsIdxInLCU
     5621  ruiPartAddr -= m_absZIdxInCtu
    62775622}
    62785623
    62795624Void TComDataCU::setInterDirSP( UInt uiDir, UInt uiAbsPartIdx, Int iWidth, Int iHeight )
    62805625{
    6281   uiAbsPartIdx += getZorderIdxInCU();
     5626  uiAbsPartIdx += getZorderIdxInCtu();
    62825627  Int iStartPelX = g_auiRasterToPelX[g_auiZscanToRaster[uiAbsPartIdx]];
    62835628  Int iStartPelY = g_auiRasterToPelY[g_auiZscanToRaster[uiAbsPartIdx]];
     
    62915636    for (Int j=iStartPelX; j < iEndPelX; j += getPic()->getMinCUWidth())
    62925637    {
    6293       iCurrRaster = i / getPic()->getMinCUHeight() * getPic()->getNumPartInWidth() + j/getPic()->getMinCUWidth();
     5638      iCurrRaster = i / getPic()->getMinCUHeight() * getPic()->getNumPartInCtuWidth() + j/getPic()->getMinCUWidth();
    62945639      uiPartAddr = g_auiRasterToZscan[iCurrRaster];
    6295       uiPartAddr -= getZorderIdxInCU(); 
     5640      uiPartAddr -= getZorderIdxInCtu(); 
    62965641
    62975642      m_puhInterDir[uiPartAddr] = uiDir;
     
    63015646#endif
    63025647
    6303 #if H_3D_IV_MERGE
     5648#if NH_3D_IV_MERGE
    63045649Bool
    63055650TComDataCU::getInterViewMergeCands(UInt uiPartIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv, DisInfo* pDInfo, Int* availableMcDc , Bool bIsDepth           
    6306 #if H_3D_SPIVMP
     5651#if NH_3D_SPIVMP
    63075652, TComMvField* pcMvFieldSP, UChar* puhInterDirSP
    63085653#endif
     
    63235668
    63245669  Int  iCurrPosX, iCurrPosY;
    6325   pcBaseRec->getTopLeftSamplePos( getAddr(), getZorderIdxInCU() + uiPartAddr, iCurrPosX, iCurrPosY );
    6326 
    6327 #if !H_3D_SPIVMP
     5670  pcBaseRec->getTopLeftSamplePos( getCtuRsAddr(), getZorderIdxInCtu() + uiPartAddr, iCurrPosX, iCurrPosY );
     5671
     5672#if !NH_3D_SPIVMP
    63285673  iCurrPosX  += ( iWidth  >> 1 );
    63295674  iCurrPosY  += ( iHeight >> 1 );
     
    63315676
    63325677  Bool depthRefineFlag = false;
    6333 #if H_3D_NBDV_REF
     5678#if NH_3D_NBDV_REF
    63345679  depthRefineFlag = m_pcSlice->getDepthRefinementFlag( );
    6335 #endif // H_3D_NBDV_REF
     5680#endif // NH_3D_NBDV_REF
    63365681
    63375682  TComMv      cDv = depthRefineFlag ? pDInfo->m_acDoNBDV : pDInfo->m_acNBDV;
     
    63425687
    63435688  Bool abPdmAvailable[8] =  {false, false, false, false, false, false, false, false};
    6344 #if H_3D_NBDV
     5689#if NH_3D_NBDV
    63455690  for( Int i = 0; i < 8; i++)
    63465691  {
     
    63525697  {
    63535698
    6354 #if H_3D_SPIVMP
     5699#if NH_3D_SPIVMP
    63555700    ////////////////////////////////
    63565701    //////////sub-PU IvMC///////////
     
    63585703    if(!m_pcSlice->getIsDepth())
    63595704    {
     5705#if H_3D_DBBP
    63605706      if (!getDBBPFlag(0))
     5707#else
     5708      if (1)
     5709#endif
    63615710      {
    63625711        Int iNumSPInOneLine, iNumSP, iSPWidth, iSPHeight;
     
    63905739        }
    63915740
    6392         Int iRefCenterPosX   = Clip3( 0, pcBaseRec->getWidth () - 1, iCenterPosX + ( (cDv.getHor() + 2 ) >> 2 ) );
    6393         Int iRefCenterPosY   = Clip3( 0, pcBaseRec->getHeight() - 1, iCenterPosY + ( (cDv.getVer() + 2 ) >> 2 ) );
     5741        Int iRefCenterPosX   = Clip3( 0, pcBaseRec->getWidth (COMPONENT_Y) - 1, iCenterPosX + ( (cDv.getHor() + 2 ) >> 2 ) );
     5742        Int iRefCenterPosY   = Clip3( 0, pcBaseRec->getHeight(COMPONENT_Y) - 1, iCenterPosY + ( (cDv.getVer() + 2 ) >> 2 ) );
    63945743
    63955744        pcBaseRec->getCUAddrAndPartIdx( iRefCenterPosX , iRefCenterPosY , iRefCenterCUAddr, iRefCenterAbsPartIdx );
    6396         TComDataCU* pcDefaultCU    = pcBasePic->getCU( iRefCenterCUAddr );
     5745        TComDataCU* pcDefaultCU    = pcBasePic->getCtu( iRefCenterCUAddr );
    63975746        if(!( pcDefaultCU->getPredictionMode( iRefCenterAbsPartIdx ) == MODE_INTRA ))
    63985747        {
     
    64185767                      abPdmAvailable[ uiCurrRefListId ] = true;
    64195768                      TComMv cMv(cDefaultMvField.getHor(), cDefaultMvField.getVer());
    6420 #if H_3D_NBDV
    6421 #if H_3D_IV_MERGE
     5769#if NH_3D_NBDV
     5770#if NH_3D_IV_MERGE
    64225771                      if( !bIsDepth )
    64235772                      {
     
    64275776                        cMv.setIDVVer    (cDv.getVer()); 
    64285777                        cMv.setIDVVId    (iViewIndex);
    6429 #if H_3D_IV_MERGE
     5778#if NH_3D_IV_MERGE
    64305779                      }
    64315780#endif
     
    64525801            for (Int j = iCurrPosX; j < iCurrPosX + iWidth; j += iSPWidth)
    64535802            {
    6454               iBasePosX   = Clip3( 0, pcBaseRec->getWidth () - 1, j + iDelX + ( (cDv.getHor() + 2 ) >> 2 ));
    6455               iBasePosY   = Clip3( 0, pcBaseRec->getHeight() - 1, i + iDelY + ( (cDv.getVer() + 2 ) >> 2 ));
     5803              iBasePosX   = Clip3( 0, pcBaseRec->getWidth (COMPONENT_Y) - 1, j + iDelX + ( (cDv.getHor() + 2 ) >> 2 ));
     5804              iBasePosY   = Clip3( 0, pcBaseRec->getHeight(COMPONENT_Y) - 1, i + iDelY + ( (cDv.getVer() + 2 ) >> 2 ));
    64565805
    64575806              pcBaseRec->getCUAddrAndPartIdx( iBasePosX , iBasePosY, iBaseCUAddr, iBaseAbsPartIdx );
    6458               pcBaseCU    = pcBasePic->getCU( iBaseCUAddr );
     5807              pcBaseCU    = pcBasePic->getCtu( iBaseCUAddr );
    64595808              if(!( pcBaseCU->getPredictionMode( iBaseAbsPartIdx ) == MODE_INTRA ))
    64605809              {
     
    65245873    ////////////////////////////////
    65255874
    6526 #if H_3D_SPIVMP
     5875#if NH_3D_SPIVMP
    65275876    if(m_pcSlice->getIsDepth())
    65285877    {
     
    65305879      iCurrPosY  += ( iHeight >> 1 );
    65315880    }
     5881#if H_3D_DBBP
    65325882    for(Int iLoopCan = ( (m_pcSlice->getIsDepth() || getDBBPFlag(0)) ? 0 : 1 ); iLoopCan < ( 2 - m_pcSlice->getIsDepth() ); iLoopCan ++)
    65335883#else
     5884    for(Int iLoopCan = ( m_pcSlice->getIsDepth() ? 0 : 1 ); iLoopCan < ( 2 - m_pcSlice->getIsDepth() ); iLoopCan ++)
     5885#endif
     5886#else
    65345887    for(Int iLoopCan = 0; iLoopCan < 2; iLoopCan ++)
    65355888#endif
     
    65415894      Int         iBaseAbsPartIdx;
    65425895
    6543       Int offsetW = (iLoopCan == 0) ? 0 : ( iWidth  * 2 );
    6544       Int offsetH = (iLoopCan == 0) ? 0 : ( iHeight * 2 );
    6545 
    6546       Int         iBasePosX   = Clip3( 0, pcBaseRec->getWidth () - 1, iCurrPosX + ( (cDv.getHor() + offsetW + 2 ) >> 2 ) );
    6547       Int         iBasePosY   = Clip3( 0, pcBaseRec->getHeight() - 1, iCurrPosY + ( (cDv.getVer() + offsetH + 2 ) >> 2 ) );
     5896      Int offsetW = (iLoopCan == 0) ? 0 : ( iWidth  * 2);
     5897      Int offsetH = (iLoopCan == 0) ? 0 : ( iHeight * 2);
     5898
     5899      Int         iBasePosX   = Clip3( 0, pcBaseRec->getWidth (COMPONENT_Y) - 1, iCurrPosX + ( (cDv.getHor() + offsetW + 2 ) >> 2 ) );
     5900      Int         iBasePosY   = Clip3( 0, pcBaseRec->getHeight(COMPONENT_Y) - 1, iCurrPosY + ( (cDv.getVer() + offsetH + 2 ) >> 2 ) );
    65485901      pcBaseRec->getCUAddrAndPartIdx( iBasePosX , iBasePosY , iBaseCUAddr, iBaseAbsPartIdx );
    65495902
    6550       TComDataCU* pcBaseCU    = pcBasePic->getCU( iBaseCUAddr );