Ignore:
Timestamp:
9 Aug 2013, 03:37:18 (11 years ago)
Author:
lg
Message:

integration of JCT3V-E0158 and JCT3V-E0159 by LGE

Location:
branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibEncoder/TEncSbac.cpp

    r554 r557  
    12611261Void TEncSbac::codeIntraDepthMode( TComDataCU* pcCU, UInt absPartIdx )
    12621262{
     1263#if LGE_SDC_REMOVE_DC_E0158
     1264#if SEC_DMM2_E0146
     1265  UInt codeWordTable[3][7] =    {{0, 0, 0, 2, 0,6, 7},{0, 2, 3, 4, 5, 6, 7},{0, 1, 0, 0, 0, 0, 0}};
     1266  UInt codeWordLenTable[3][7] = {{0, 1, 0, 2, 0,3, 3},{2, 3, 3, 3, 3, 3, 3},{1, 1, 0, 0, 0, 0, 0}};
     1267#else
     1268  UInt codeWordTable[3][8] =    { { 0, 0, 0, 2, 0, 6, 0, 7 }, { 0, 2, 3, 4, 5, 6, 15, 14 }, { 0, 1, 0, 0, 0, 0, 0, 0 } };
     1269  UInt codeWordLenTable[3][8] = { { 0, 1, 0, 2, 0, 3, 0, 3 }, { 2, 3, 3, 3, 3, 3,  4,  4 }, { 1, 1, 0, 0, 0, 0, 0, 0 } };
     1270#endif
     1271#else
    12631272#if SEC_DMM2_E0146
    12641273  UInt codeWordTable[3][8] =    {{0, 0, 0, 2, 0,6, 0, 7},{0, 2, 3, 4, 5, 6, 14, 15},{0, 2, 0, 0, 0, 0, 3, 0}};
     
    12681277  UInt codeWordLenTable[3][9] = {{0, 1, 0, 2, 0,3, 0, 0, 3},{2, 3, 3, 3, 3, 3,  4,  5,  5},{1, 2, 0, 0, 0, 0, 2, 0, 0}};
    12691278#endif
     1279#endif
    12701280  UInt dir = pcCU->getLumaIntraDir( absPartIdx );
    12711281  UInt puIdx = (pcCU->getWidth(absPartIdx) == 64) ? 2 : ( (pcCU->getPartitionSize(absPartIdx) == SIZE_NxN && pcCU->getWidth(absPartIdx) == 8) ? 0 : 1 );
     
    12831293    case DMM4_IDX: codeIdx = 4; break;
    12841294    case DMM3_IDX: codeIdx = 5; break;
     1295#if LGE_SDC_REMOVE_DC_E0158
     1296#if SEC_DMM2_E0146
     1297    case  RBC_IDX: codeIdx = 6; break;
     1298#else
     1299    case DMM2_IDX: codeIdx = 6; break;
     1300    case  RBC_IDX: codeIdx = 7; break;
     1301#endif
     1302#else
    12851303#if SEC_DMM2_E0146
    12861304    case  RBC_IDX: codeIdx = 7; break;
     
    12891307    case  RBC_IDX: codeIdx = 8; break;
    12901308#endif
     1309#endif
    12911310    default:                    break;
    12921311    }
     
    12991318    {
    13001319      case PLANAR_IDX:  codeIdx = 0; break;
     1320#if !LGE_SDC_REMOVE_DC_E0158
    13011321      case DC_IDX:      codeIdx = 6; break;
     1322#endif
    13021323      default:          codeIdx = 2; break;
    13031324    }
  • branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibEncoder/TEncSearch.cpp

    r554 r557  
    28642864          case( DMM3_IDX ):
    28652865            {
     2866#if LGE_PKU_DMM3_OVERLAP_E0159
     2867              TComPic*      pcPicTex = pcCU->getSlice()->getTexturePic();
     2868              TComDataCU* pcColTexCU = pcPicTex->getCU( pcCU->getAddr() );
     2869              UInt      uiTexPartIdx = pcCU->getZorderIdxInCU() + uiPartOffset;
     2870              Int   uiColTexIntraDir = pcColTexCU->isIntra( uiTexPartIdx ) ? pcColTexCU->getLumaIntraDir( uiTexPartIdx ) : 255;
     2871
     2872              if( uiColTexIntraDir > DC_IDX && uiColTexIntraDir < 35 )
     2873              {
     2874#endif
    28662875              UInt uiIntraTabIdx = 0;
    28672876              xSearchDmm3Wedge( pcCU, uiPartOffset, piOrg, uiStride, uiWidth, uiHeight, uiTabIdx, uiIntraTabIdx );
     
    28692878              pcCU->setDmm3IntraTabIdxSubParts( uiIntraTabIdx, uiPartOffset, uiDepth + uiInitTrDepth );
    28702879              biSegmentation = &(g_dmmWedgeLists[(g_aucConvertToBit[uiWidth])][uiTabIdx]);
     2880#if LGE_PKU_DMM3_OVERLAP_E0159
     2881              }
     2882#endif
    28712883            } break;
    28722884          case( DMM4_IDX ):
Note: See TracChangeset for help on using the changeset viewer.