Major changes on code

Remove Qt4 support
Change include headers
Change the include of QCustomPlot lib and updated code based on upstream
This commit is contained in:
2017-12-06 03:11:02 +00:00
parent 73d843abf5
commit 430bdc09cd
66 changed files with 38551 additions and 29387 deletions
+5 -10
View File
@@ -66,12 +66,10 @@ PlaYUVerFrame* FrameShift::process( std::vector<PlaYUVerFrame*> apcFrameList )
m_pcProcessedFrame->clear();
for( UInt y = yStartOut, yIn = yStartIn; y < yEndOut; y++, yIn++ )
{
for( UInt y = yStartOut, yIn = yStartIn; y < yEndOut; y++, yIn++ ) {
pPelInput = &( apcFrameList[0]->getPelBufferYUV()[LUMA][yIn][xStartIn] );
pPelOut = &( m_pcProcessedFrame->getPelBufferYUV()[LUMA][y][xStartOut] );
for( UInt x = xStartOut; x < xEndOut; x++ )
{
for( UInt x = xStartOut; x < xEndOut; x++ ) {
*pPelOut = *pPelInput;
pPelInput++;
pPelOut++;
@@ -89,14 +87,11 @@ PlaYUVerFrame* FrameShift::process( std::vector<PlaYUVerFrame*> apcFrameList )
yStartIn = iShiftVerChroma >= 0 ? 0 : -iShiftVerChroma;
yEndOut = iShiftVerChroma >= 0 ? m_pcProcessedFrame->getChromaHeight() : m_pcProcessedFrame->getChromaHeight() + iShiftVerChroma;
for( UInt c = 1; c < m_pcProcessedFrame->getNumberChannels(); c++ )
{
for( UInt y = yStartOut, yIn = yStartIn; y < yEndOut; y++, yIn++ )
{
for( UInt c = 1; c < m_pcProcessedFrame->getNumberChannels(); c++ ) {
for( UInt y = yStartOut, yIn = yStartIn; y < yEndOut; y++, yIn++ ) {
pPelInput = &( apcFrameList[0]->getPelBufferYUV()[c][yIn][xStartIn] );
pPelOut = &( m_pcProcessedFrame->getPelBufferYUV()[c][y][xStartOut] );
for( UInt x = xStartOut; x < xEndOut; x++ )
{
for( UInt x = xStartOut; x < xEndOut; x++ ) {
*pPelOut = *pPelInput;
pPelInput++;
pPelOut++;