diff --git a/source/Lib/EncoderLib/EncCu.h b/source/Lib/EncoderLib/EncCu.h index 350cc46281ec2704524a1295af72a79b280e04e9..2f1d38c8c8103be4e1a9ea431794bde12d985676 100644 --- a/source/Lib/EncoderLib/EncCu.h +++ b/source/Lib/EncoderLib/EncCu.h @@ -334,6 +334,25 @@ public: m_ctxPool = other.m_ctxPool ? new CtxPool(*other.m_ctxPool) : nullptr; m_cuChromaQpOffsetIdxPlus1 = other.m_cuChromaQpOffsetIdxPlus1; m_unitPool = XuPool(other.m_unitPool); + m_pelUnitBufPool = PelUnitBufPool(other.m_pelUnitBufPool); + + m_pTempCS = new CodingStructure**(*other.m_pTempCS); + *m_pTempCS = new CodingStructure*(); + **m_pTempCS = (**other.m_pTempCS) ? new CodingStructure(***other.m_pTempCS) : nullptr; + + m_pBestCS = new CodingStructure**(*other.m_pBestCS); + *m_pBestCS = new CodingStructure*(); + **m_pBestCS = (**other.m_pBestCS) ? new CodingStructure(***other.m_pBestCS) : nullptr; + + m_pTempCS2 = new CodingStructure**(*other.m_pTempCS2); + *m_pTempCS2 = new CodingStructure*(); + **m_pTempCS2 = (**other.m_pTempCS2) ? new CodingStructure(***other.m_pTempCS2) : nullptr; + + m_pBestCS2 = new CodingStructure**(*other.m_pBestCS2); + *m_pBestCS2 = new CodingStructure*(); + **m_pBestCS2 = (**other.m_pBestCS2) ? new CodingStructure(***other.m_pBestCS2) : nullptr; + + m_pcEncCfg = other.m_pcEncCfg ? new EncCfg(*other.m_pcEncCfg) : nullptr; ///////////CONTINUAR//////////// } //END ALBERTO