Reduce the use of C-pointers in CalypFrame and CalypStream

This commit is contained in:
2021-07-10 16:28:10 +01:00
parent be82c6ca89
commit 8ef5b31268
25 changed files with 174 additions and 158 deletions
+2 -2
View File
@@ -82,8 +82,8 @@ bool FrameDifference::create( std::vector<CalypFrame*> apcFrameList )
CalypFrame* FrameDifference::process( std::vector<CalypFrame*> apcFrameList )
{
const CalypFrame& frame1 = apcFrameList[0];
const CalypFrame& frame2 = apcFrameList[1];
const CalypFrame& frame1 = *apcFrameList[0];
const CalypFrame& frame2 = *apcFrameList[1];
ClpPel* pOutputPelYUV = m_pcFrameDifference->getPelBufferYUV()[0][0];
short aux_pel_1, aux_pel_2;
short diff = 0;