Changeset 754 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibDecoder
- Timestamp:
- 29 Apr 2014, 23:42:56 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp
r749 r754 228 228 229 229 m_cIlpPic[j] = new TComPic; 230 230 231 #if AUXILIARY_PICTURES 231 232 #if REPN_FORMAT_IN_VPS 232 #if SVC_UPSAMPLING233 233 m_cIlpPic[j]->create(picWidth, picHeight, slice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, pcSPS, true); 234 234 #else 235 m_cIlpPic[j]->create(picWidth, picHeight, slice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true);236 #endif237 #else238 #if SVC_UPSAMPLING239 235 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), pcSPS->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, pcSPS, true); 240 #else241 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), pcSPS->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true);242 #endif243 236 #endif 244 237 #else 245 238 #if REPN_FORMAT_IN_VPS 246 #if SVC_UPSAMPLING247 239 m_cIlpPic[j]->create(picWidth, picHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, pcSPS, true); 248 240 #else 249 m_cIlpPic[j]->create(picWidth, picHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true);250 #endif251 #else252 #if SVC_UPSAMPLING253 241 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, pcSPS, true); 254 #else255 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true);256 #endif257 242 #endif 258 243 #endif … … 404 389 } 405 390 } 406 #endif 407 391 408 392 #if AUXILIARY_PICTURES 409 393 #if REPN_FORMAT_IN_VPS 410 #if SVC_UPSAMPLING411 394 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), pcSlice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 412 395 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 413 396 #else 414 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), pcSlice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,415 conformanceWindow, defaultDisplayWindow, numReorderPics, true);416 #endif417 #else418 #if SVC_UPSAMPLING419 397 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), pcSlice->getSPS()->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 420 398 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 421 #else422 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), pcSlice->getSPS()->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,423 conformanceWindow, defaultDisplayWindow, numReorderPics, true);424 #endif425 399 #endif 426 400 #else 427 401 #if REPN_FORMAT_IN_VPS 428 #if SVC_UPSAMPLING429 402 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 430 403 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 431 404 #else 432 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,433 conformanceWindow, defaultDisplayWindow, numReorderPics, true);434 #endif435 #else436 #if SVC_UPSAMPLING437 405 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 438 406 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 439 #else 407 #endif 408 #endif 409 410 #else //SVC_EXTENSION 440 411 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 441 412 conformanceWindow, defaultDisplayWindow, numReorderPics, true); 442 #endif 443 #endif 444 #endif 413 #endif //SVC_EXTENSION 414 445 415 m_cListPic.pushBack( rpcPic ); 446 416 … … 481 451 rpcPic->destroy(); 482 452 453 #if SVC_EXTENSION 483 454 #if AUXILIARY_PICTURES 484 455 #if REPN_FORMAT_IN_VPS 485 #if SVC_UPSAMPLING486 456 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), pcSlice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 487 457 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 488 489 #else 490 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), pcSlice->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 491 conformanceWindow, defaultDisplayWindow, numReorderPics, true); 492 #endif 493 #else 494 #if SVC_UPSAMPLING 458 #else 495 459 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), pcSlice->getSPS()->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 496 460 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 497 498 #else499 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), pcSlice->getSPS()->getChromaFormatIdc(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,500 conformanceWindow, defaultDisplayWindow, numReorderPics, true);501 #endif502 461 #endif 503 462 #else 504 463 #if REPN_FORMAT_IN_VPS 505 #if SVC_UPSAMPLING506 464 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 507 465 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 508 466 509 467 #else 510 rpcPic->create ( pcSlice->getPicWidthInLumaSamples(), pcSlice->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,511 conformanceWindow, defaultDisplayWindow, numReorderPics, true);512 #endif513 #else514 #if SVC_UPSAMPLING515 468 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 516 469 conformanceWindow, defaultDisplayWindow, numReorderPics, pcSlice->getSPS(), true); 517 518 #else 470 #endif 471 #endif 472 #else //SVC_EXTENSION 519 473 rpcPic->create ( pcSlice->getSPS()->getPicWidthInLumaSamples(), pcSlice->getSPS()->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, 520 474 conformanceWindow, defaultDisplayWindow, numReorderPics, true); 521 #endif 522 #endif 523 #endif 475 #endif //SVC_EXTENSION 524 476 } 525 477 … … 796 748 797 749 #if AUXILIARY_PICTURES 798 #if SVC_UPSAMPLING799 750 #if AVC_SYNTAX 800 751 pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), repFormat->getChromaFormatVpsIdc(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, activeSPS, true); … … 803 754 #endif 804 755 #else 805 pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), repFormat->getChromaFormatVpsIdc(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, true);806 #endif807 #else808 #if SVC_UPSAMPLING809 756 #if AVC_SYNTAX 810 757 pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, activeSPS, true); 811 758 #else 812 759 pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, NULL, true); 813 #endif814 #else815 pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), onformanceWindow, defaultDisplayWindow, numReorderPics, true);816 760 #endif 817 761 #endif … … 1695 1639 } 1696 1640 #endif 1697 #if SVC_ UPSAMPLING1641 #if SVC_EXTENSION 1698 1642 if( pcPic->isSpatialEnhLayer(refLayerIdc) ) 1699 1643 { … … 1737 1681 } 1738 1682 pcSlice->setFullPelBaseRec ( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc) ); 1739 #endif 1683 #endif //SVC_EXTENSION 1740 1684 } 1741 1685 }
Note: See TracChangeset for help on using the changeset viewer.