Opened 14 years ago Closed 14 years ago #168 closed defect (fixed)JCTVC-E049 bug about the CABAC memory allocation for SAO
Description
Using revision r929 Int iMaxDepth = 4;
m_pppcRDSbacCoder = new TEncSbac** [iMaxDepth+1];
m_pppcBinCoderCABAC = new TEncBinCABAC** [iMaxDepth+1];
for ( Int iDepth = 0; iDepth < iMaxDepth+1; iDepth++ )
{
m_pppcRDSbacCoder[iDepth] = new TEncSbac* [CI_NUM];
m_pppcBinCoderCABAC[iDepth] = new TEncBinCABAC* [CI_NUM];
for (Int iCIIdx = 0; iCIIdx < CI_NUM; iCIIdx ++ )
{
m_pppcRDSbacCoder[iDepth][iCIIdx] = new TEncSbac;
m_pppcBinCoderCABAC [iDepth][iCIIdx] = new TEncBinCABAC;
m_pppcRDSbacCoder [iDepth][iCIIdx]->init( m_pppcBinCoderCABAC [iDepth][iCIIdx] );
}
}
Also, these variables should be deleted in function destoryEncBuffer(). Change History (4)comment:1 Changed 14 years ago by fbossen
comment:2 Changed 14 years ago by davidf
Updating component after adding WD (Text) tickets comment:3 Changed 14 years ago by davidf
comment:4 Changed 14 years ago by davidf
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
| ||||||||||||||||
Fixed in r957