Changeset 357 in SHVCSoftware
- Timestamp:
- 21 Aug 2013, 04:59:22 (11 years ago)
- Location:
- branches/SHM-3.0-dev
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.0-dev/cfg/encoder_lowdelay_P_main.cfg
r310 r357 22 22 DecodingRefreshType : 0 # Random Accesss 0:none, 1:CDR, 2:IDR 23 23 GOPSize : 4 # GOP Size (number of B slice = GOPSize-1) 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs 25 Frame1: P 1 3 0.4624 0 0 0 4 4 -1 -5 -9 -13 0 26 Frame2: P 2 2 0.4624 0 0 0 4 4 -1 -2 -6 -10 1 -1 5 1 1 1 0 1 27 Frame3: P 3 3 0.4624 0 0 0 4 4 -1 -3 -7 -11 1 -1 5 0 1 1 1 1 28 Frame4: P 4 1 0.578 0 0 0 4 4 -1 -4 -8 -12 1 -1 5 0 1 1 1 1 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs #UseExtUsedByCurr ExtUsedByCurr(for each ref pic) 25 Frame1: P 1 3 0.4624 0 0 0 4 4 -1 -5 -9 -13 0 0 26 Frame2: P 2 2 0.4624 0 0 0 4 4 -1 -2 -6 -10 1 -1 5 1 1 1 0 1 0 27 Frame3: P 3 3 0.4624 0 0 0 4 4 -1 -3 -7 -11 1 -1 5 0 1 1 1 1 0 28 Frame4: P 4 1 0.578 0 0 0 4 4 -1 -4 -8 -12 1 -1 5 0 1 1 1 1 0 29 29 30 30 #=========== Motion Search ============= -
branches/SHM-3.0-dev/cfg/encoder_lowdelay_P_main10.cfg
r310 r357 22 22 DecodingRefreshType : 0 # Random Accesss 0:none, 1:CDR, 2:IDR 23 23 GOPSize : 4 # GOP Size (number of B slice = GOPSize-1) 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs 25 Frame1: P 1 3 0.4624 0 0 0 4 4 -1 -5 -9 -13 0 26 Frame2: P 2 2 0.4624 0 0 0 4 4 -1 -2 -6 -10 1 -1 5 1 1 1 0 1 27 Frame3: P 3 3 0.4624 0 0 0 4 4 -1 -3 -7 -11 1 -1 5 0 1 1 1 1 28 Frame4: P 4 1 0.578 0 0 0 4 4 -1 -4 -8 -12 1 -1 5 0 1 1 1 1 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs #UseExtUsedByCurr ExtUsedByCurr(for each ref pic) 25 Frame1: P 1 3 0.4624 0 0 0 4 4 -1 -5 -9 -13 0 0 26 Frame2: P 2 2 0.4624 0 0 0 4 4 -1 -2 -6 -10 1 -1 5 1 1 1 0 1 0 27 Frame3: P 3 3 0.4624 0 0 0 4 4 -1 -3 -7 -11 1 -1 5 0 1 1 1 1 0 28 Frame4: P 4 1 0.578 0 0 0 4 4 -1 -4 -8 -12 1 -1 5 0 1 1 1 1 0 29 29 30 30 #=========== Motion Search ============= -
branches/SHM-3.0-dev/cfg/encoder_lowdelay_main.cfg
r310 r357 22 22 DecodingRefreshType : 0 # Random Accesss 0:none, 1:CDR, 2:IDR 23 23 GOPSize : 4 # GOP Size (number of B slice = GOPSize-1) 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs 25 Frame1: B 1 3 0.4624 0 0 0 4 4 -1 -5 -9 -13 0 26 Frame2: B 2 2 0.4624 0 0 0 4 4 -1 -2 -6 -10 1 -1 5 1 1 1 0 1 27 Frame3: B 3 3 0.4624 0 0 0 4 4 -1 -3 -7 -11 1 -1 5 0 1 1 1 1 28 Frame4: B 4 1 0.578 0 0 0 4 4 -1 -4 -8 -12 1 -1 5 0 1 1 1 1 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs #UseExtUsedByCurr ExtUsedByCurr(for each ref pic) 25 Frame1: B 1 3 0.4624 0 0 0 4 4 -1 -5 -9 -13 0 0 26 Frame2: B 2 2 0.4624 0 0 0 4 4 -1 -2 -6 -10 1 -1 5 1 1 1 0 1 0 27 Frame3: B 3 3 0.4624 0 0 0 4 4 -1 -3 -7 -11 1 -1 5 0 1 1 1 1 0 28 Frame4: B 4 1 0.578 0 0 0 4 4 -1 -4 -8 -12 1 -1 5 0 1 1 1 1 0 29 29 30 30 #=========== Motion Search ============= -
branches/SHM-3.0-dev/cfg/encoder_lowdelay_main10.cfg
r310 r357 22 22 DecodingRefreshType : 0 # Random Accesss 0:none, 1:CDR, 2:IDR 23 23 GOPSize : 4 # GOP Size (number of B slice = GOPSize-1) 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs 25 Frame1: B 1 3 0.4624 0 0 0 4 4 -1 -5 -9 -13 0 26 Frame2: B 2 2 0.4624 0 0 0 4 4 -1 -2 -6 -10 1 -1 5 1 1 1 0 1 27 Frame3: B 3 3 0.4624 0 0 0 4 4 -1 -3 -7 -11 1 -1 5 0 1 1 1 1 28 Frame4: B 4 1 0.578 0 0 0 4 4 -1 -4 -8 -12 1 -1 5 0 1 1 1 1 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs #UseExtUsedByCurr ExtUsedByCurr(for each ref pic) 25 Frame1: B 1 3 0.4624 0 0 0 4 4 -1 -5 -9 -13 0 0 26 Frame2: B 2 2 0.4624 0 0 0 4 4 -1 -2 -6 -10 1 -1 5 1 1 1 0 1 0 27 Frame3: B 3 3 0.4624 0 0 0 4 4 -1 -3 -7 -11 1 -1 5 0 1 1 1 1 0 28 Frame4: B 4 1 0.578 0 0 0 4 4 -1 -4 -8 -12 1 -1 5 0 1 1 1 1 0 29 29 30 30 #=========== Motion Search ============= -
branches/SHM-3.0-dev/cfg/encoder_randomaccess_main.cfg
r334 r357 22 22 DecodingRefreshType : 1 # Random Accesss 0:none, 1:CDR, 2:IDR 23 23 GOPSize : 8 # GOP Size (number of B slice = GOPSize-1) 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs 25 Frame1: B 8 1 0.442 0 0 0 4 4 -8 -10 -12 -16 0 26 Frame2: B 4 2 0.3536 0 0 0 2 3 -4 -6 4 1 4 5 1 1 0 0 1 27 Frame3: B 2 3 0.3536 0 0 0 2 4 -2 -4 2 6 1 2 4 1 1 1 1 28 Frame4: B 1 4 0.68 0 0 0 2 4 -1 1 3 7 1 1 5 1 0 1 1 1 29 Frame5: B 3 4 0.68 0 0 0 2 4 -1 -3 1 5 1 -2 5 1 1 1 1 0 30 Frame6: B 6 3 0.3536 0 0 0 2 4 -2 -4 -6 2 1 -3 5 1 1 1 1 0 31 Frame7: B 5 4 0.68 0 0 0 2 4 -1 -5 1 3 1 1 5 1 0 1 1 1 32 Frame8: B 7 4 0.68 0 0 0 2 4 -1 -3 -7 1 1 -2 5 1 1 1 1 0 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs #UseExtUsedByCurr ExtUsedByCurr(for each ref pic) 25 Frame1: B 8 1 0.442 0 0 0 4 4 -8 -10 -12 -16 0 0 26 Frame2: B 4 2 0.3536 0 0 0 2 3 -4 -6 4 1 4 5 1 1 0 0 1 0 27 Frame3: B 2 3 0.3536 0 0 0 2 4 -2 -4 2 6 1 2 4 1 1 1 1 0 28 Frame4: B 1 4 0.68 0 0 0 2 4 -1 1 3 7 1 1 5 1 0 1 1 1 0 29 Frame5: B 3 4 0.68 0 0 0 2 4 -1 -3 1 5 1 -2 5 1 1 1 1 0 0 30 Frame6: B 6 3 0.3536 0 0 0 2 4 -2 -4 -6 2 1 -3 5 1 1 1 1 0 0 31 Frame7: B 5 4 0.68 0 0 0 2 4 -1 -5 1 3 1 1 5 1 0 1 1 1 0 32 Frame8: B 7 4 0.68 0 0 0 2 4 -1 -3 -7 1 1 -2 5 1 1 1 1 0 0 33 33 34 FrameEL1: B 8 1 0.442 0 0 0 4 4 -8 -10 -12 -16 0 35 FrameEL2: B 4 2 0.3536 0 0 0 2 3 -4 -6 4 1 4 5 1 1 0 0 1 36 FrameEL3: B 2 3 0.3536 0 0 0 2 4 -2 -4 2 6 1 2 4 1 1 1 1 37 FrameEL4: B 1 4 0.68 0 0 0 2 4 -1 1 3 7 1 1 5 1 0 1 1 1 38 FrameEL5: B 3 4 0.68 0 0 0 2 4 -1 -3 1 5 1 -2 5 1 1 1 1 0 39 FrameEL6: B 6 3 0.3536 0 0 0 2 4 -2 -4 -6 2 0 40 FrameEL7: B 5 4 0.68 0 0 0 2 4 -1 -5 1 3 0 41 FrameEL8: B 7 4 0.68 0 0 0 2 4 -1 -3 -7 1 0 34 FrameEL1: B 8 1 0.442 0 0 0 4 4 -8 -10 -12 -16 0 0 35 FrameEL2: B 4 2 0.3536 0 0 0 2 3 -4 -6 4 1 4 5 1 1 0 0 1 0 36 FrameEL3: B 2 3 0.3536 0 0 0 2 4 -2 -4 2 6 1 2 4 1 1 1 1 0 37 FrameEL4: B 1 4 0.68 0 0 0 2 4 -1 1 3 7 1 1 5 1 0 1 1 1 0 38 FrameEL5: B 3 4 0.68 0 0 0 2 4 -1 -3 1 5 1 -2 5 1 1 1 1 0 0 39 FrameEL6: B 6 3 0.3536 0 0 0 2 4 -2 -4 -6 2 0 1 1 1 0 1 40 FrameEL7: B 5 4 0.68 0 0 0 2 4 -1 -5 1 3 0 0 41 FrameEL8: B 7 4 0.68 0 0 0 2 4 -1 -3 -7 1 0 1 1 1 0 1 42 42 #=========== Motion Search ============= 43 43 FastSearch : 1 # 0:Full search 1:TZ search -
branches/SHM-3.0-dev/cfg/encoder_randomaccess_main10.cfg
r334 r357 22 22 DecodingRefreshType : 1 # Random Accesss 0:none, 1:CDR, 2:IDR 23 23 GOPSize : 8 # GOP Size (number of B slice = GOPSize-1) 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs 25 Frame1: B 8 1 0.442 0 0 0 4 4 -8 -10 -12 -16 0 26 Frame2: B 4 2 0.3536 0 0 0 2 3 -4 -6 4 1 4 5 1 1 0 0 1 27 Frame3: B 2 3 0.3536 0 0 0 2 4 -2 -4 2 6 1 2 4 1 1 1 1 28 Frame4: B 1 4 0.68 0 0 0 2 4 -1 1 3 7 1 1 5 1 0 1 1 1 29 Frame5: B 3 4 0.68 0 0 0 2 4 -1 -3 1 5 1 -2 5 1 1 1 1 0 30 Frame6: B 6 3 0.3536 0 0 0 2 4 -2 -4 -6 2 1 -3 5 1 1 1 1 0 31 Frame7: B 5 4 0.68 0 0 0 2 4 -1 -5 1 3 1 1 5 1 0 1 1 1 32 Frame8: B 7 4 0.68 0 0 0 2 4 -1 -3 -7 1 1 -2 5 1 1 1 1 0 24 # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs #UseExtUsedByCurr ExtUsedByCurr(for each ref pic) 25 Frame1: B 8 1 0.442 0 0 0 4 4 -8 -10 -12 -16 0 0 26 Frame2: B 4 2 0.3536 0 0 0 2 3 -4 -6 4 1 4 5 1 1 0 0 1 0 27 Frame3: B 2 3 0.3536 0 0 0 2 4 -2 -4 2 6 1 2 4 1 1 1 1 0 28 Frame4: B 1 4 0.68 0 0 0 2 4 -1 1 3 7 1 1 5 1 0 1 1 1 0 29 Frame5: B 3 4 0.68 0 0 0 2 4 -1 -3 1 5 1 -2 5 1 1 1 1 0 0 30 Frame6: B 6 3 0.3536 0 0 0 2 4 -2 -4 -6 2 1 -3 5 1 1 1 1 0 0 31 Frame7: B 5 4 0.68 0 0 0 2 4 -1 -5 1 3 1 1 5 1 0 1 1 1 0 32 Frame8: B 7 4 0.68 0 0 0 2 4 -1 -3 -7 1 1 -2 5 1 1 1 1 0 0 33 33 34 FrameEL1: B 8 1 0.442 0 0 0 4 4 -8 -10 -12 -16 0 35 FrameEL2: B 4 2 0.3536 0 0 0 2 3 -4 -6 4 1 4 5 1 1 0 0 1 36 FrameEL3: B 2 3 0.3536 0 0 0 2 4 -2 -4 2 6 1 2 4 1 1 1 1 37 FrameEL4: B 1 4 0.68 0 0 0 2 4 -1 1 3 7 1 1 5 1 0 1 1 1 38 FrameEL5: B 3 4 0.68 0 0 0 2 4 -1 -3 1 5 1 -2 5 1 1 1 1 0 39 FrameEL6: B 6 3 0.3536 0 0 0 2 4 -2 -4 -6 2 0 40 FrameEL7: B 5 4 0.68 0 0 0 2 4 -1 -5 1 3 0 41 FrameEL8: B 7 4 0.68 0 0 0 2 4 -1 -3 -7 1 0 34 FrameEL1: B 8 1 0.442 0 0 0 4 4 -8 -10 -12 -16 0 0 35 FrameEL2: B 4 2 0.3536 0 0 0 2 3 -4 -6 4 1 4 5 1 1 0 0 1 0 36 FrameEL3: B 2 3 0.3536 0 0 0 2 4 -2 -4 2 6 1 2 4 1 1 1 1 0 37 FrameEL4: B 1 4 0.68 0 0 0 2 4 -1 1 3 7 1 1 5 1 0 1 1 1 0 38 FrameEL5: B 3 4 0.68 0 0 0 2 4 -1 -3 1 5 1 -2 5 1 1 1 1 0 0 39 FrameEL6: B 6 3 0.3536 0 0 0 2 4 -2 -4 -6 2 0 1 1 1 0 1 40 FrameEL7: B 5 4 0.68 0 0 0 2 4 -1 -5 1 3 0 0 41 FrameEL8: B 7 4 0.68 0 0 0 2 4 -1 -3 -7 1 0 1 1 1 0 1 42 42 #=========== Motion Search ============= 43 43 FastSearch : 1 # 0:Full search 1:TZ search -
branches/SHM-3.0-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r334 r357 217 217 { 218 218 in>>entry.m_refIdc[i]; 219 } 220 } 221 #endif 222 #if EXTERNAL_USEDBYCURR_N0082 223 if(entry.m_numRefPics>0){ 224 in>>entry.m_UseExtusedByCurrPic; 225 if(entry.m_UseExtusedByCurrPic) 226 { 227 for ( Int i = 0; i < entry.m_numRefPics; i++ ) 228 { 229 in>>entry.m_ExtusedByCurrPic[i]; 230 } 219 231 } 220 232 } … … 1467 1479 #endif 1468 1480 1469 #if !FINAL_RPL_CHANGE_N00821481 #if EXTERNAL_USEDBYCURR_N0082|| !FINAL_RPL_CHANGE_N0082 1470 1482 Bool verifiedGOP=false; 1471 1483 #endif 1472 1484 Bool errorGOP=false; 1473 #if !FINAL_RPL_CHANGE_N00821485 #if EXTERNAL_USEDBYCURR_N0082|| !FINAL_RPL_CHANGE_N0082 1474 1486 Int checkGOP=1; 1475 1487 Int numRefs = 1; … … 1482 1494 isOK[i]=false; 1483 1495 } 1484 #if !FINAL_RPL_CHANGE_N00821496 #if EXTERNAL_USEDBYCURR_N0082|| !FINAL_RPL_CHANGE_N0082 1485 1497 Int numOK=0; 1486 1498 #endif … … 1530 1542 for(UInt layer=0; layer<m_numLayers; layer++) 1531 1543 { 1532 if (m_acLayerCfg[layer].m_GOPListLayer[0].m_POC<0){ 1544 if (m_acLayerCfg[layer].m_GOPListLayer[0].m_POC<0) 1545 { 1533 1546 memcpy( m_acLayerCfg[layer].m_GOPListLayer, m_GOPList, sizeof(GOPEntry)*MAX_GOP ); 1534 1547 } … … 1536 1549 xConfirmPara(errorGOP,"Invalid GOP structure given"); 1537 1550 } 1538 //tentative for encoder 1539 if( m_acLayerCfg[1].m_GOPListLayer[5].m_POC == 6 && m_acLayerCfg[1].m_GOPListLayer[7].m_POC == 7 ){ 1540 //RA, POC5 1541 m_acLayerCfg[1].m_GOPListLayer[5].m_usedByCurrPic[2] = 0; 1542 m_acLayerCfg[1].m_GOPListLayer[5].m_refIdc[2] = 0; 1543 //RA, POC7 1544 m_acLayerCfg[1].m_GOPListLayer[7].m_usedByCurrPic[2] = 0; 1545 m_acLayerCfg[1].m_GOPListLayer[7].m_refIdc[2] = 0; 1546 } 1551 #if !EXTERNAL_USEDBYCURR_N0082 1547 1552 #else 1553 #endif 1548 1554 m_extraRPSs=0; 1549 1555 //start looping through frames in coding order until we can verify that the GOP structure is correct. … … 1741 1747 } 1742 1748 xConfirmPara(errorGOP,"Invalid GOP structure given"); 1749 #if !EXTERNAL_USEDBYCURR_N0082 1750 #endif 1751 #endif 1752 #if EXTERNAL_USEDBYCURR_N0082 1753 for(UInt layer=0; layer<m_numLayers; layer++) 1754 { 1755 for (Int i=0; i< m_iGOPSize; i++){ 1756 if (m_acLayerCfg[layer].m_GOPListLayer[i].m_UseExtusedByCurrPic == 1 ) 1757 { 1758 for(Int j=0; j<m_acLayerCfg[layer].m_GOPListLayer[i].m_numRefPics; j++ ) 1759 { 1760 m_acLayerCfg[layer].m_GOPListLayer[i].m_usedByCurrPic[j] = m_acLayerCfg[layer].m_GOPListLayer[i].m_ExtusedByCurrPic[j]; 1761 m_acLayerCfg[layer].m_GOPListLayer[i].m_refIdc[j] = m_acLayerCfg[layer].m_GOPListLayer[i].m_ExtusedByCurrPic[j]; 1762 } 1763 } 1764 } 1765 } 1743 1766 #endif 1744 1767 m_maxTempLayer = 1; -
branches/SHM-3.0-dev/source/Lib/TLibCommon/TypeDef.h
r338 r357 49 49 #define RPL_INIT_N0316_N0082 1 ///< N0316, N0082: initial reference picture list construction 50 50 #define FINAL_RPL_CHANGE_N0082 1 ///< N0082: final ref picture list change (encoder) 51 #define EXTERNAL_USEDBYCURR_N0082 1 ///< N0082: final ref picture list change (encoder) //dev ver. 51 52 #define M0464_TILE_BOUNDARY_ALIGNED_FLAG 1 ///< VUI flag to indicate tile boundary alignment 52 53 #define M0463_VUI_EXT_ILP_REF 1 ///< VUI extension inter-layer dependency offset signalling -
branches/SHM-3.0-dev/source/Lib/TLibEncoder/TEncCfg.h
r313 r357 69 69 Int m_numRefIdc; 70 70 Int m_refIdc[MAX_NUM_REF_PICS+1]; 71 #if EXTERNAL_USEDBYCURR_N0082 72 Int m_UseExtusedByCurrPic; 73 Int m_ExtusedByCurrPic[MAX_NUM_REF_PICS]; 74 #endif 71 75 GOPEntry() 72 76 : m_POC(-1) … … 83 87 , m_deltaRPS(0) 84 88 , m_numRefIdc(0) 89 #if EXTERNAL_USEDBYCURR_N0082 90 , m_UseExtusedByCurrPic(0) 91 #endif 85 92 { 86 93 ::memset( m_referencePics, 0, sizeof(m_referencePics) ); 87 94 ::memset( m_usedByCurrPic, 0, sizeof(m_usedByCurrPic) ); 88 95 ::memset( m_refIdc, 0, sizeof(m_refIdc) ); 96 #if EXTERNAL_USEDBYCURR_N0082 97 ::memset( m_usedByCurrPic, 0, sizeof(m_ExtusedByCurrPic) ); 98 #endif 89 99 } 90 100 };
Note: See TracChangeset for help on using the changeset viewer.