Commit 5b785518 authored by Alberto Gonzalez's avatar Alberto Gonzalez

Reestructuración

Commit 2
----------------------------------------------------------------
EncSlice se ha llamado al constructor de EncCu para crear un nuevo objeto antes y después de llamar a compressCtu (líneas 1897-1903)
------------------------------------------------------------
Secundariamente:
- Añadidos punteros CodingStructure
- Añadido atributo EncCfg (m_pcEncCfg)
------------------------------------------------------------
CONTINUAR CON ATRIBUTOS DE EncCU en la línea marcada con el comentario ///////////CONTINUAR////////////
------------------------------------------------------------
Hasta este punto el encoder funciona con una media de 115 segundos por cada ejecucción
parent 09a8b39a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment