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
+2 -4
View File
@@ -48,13 +48,11 @@ PlaYUVerFrame* SetChromaHalfScale::process( PlaYUVerFrame* frame )
Pel* pPelInput = frame->getPelBufferYUV()[LUMA][0];
Pel* pPelOut = m_pcProcessedFrame->getPelBufferYUV()[0][0];
Pel halfScaleValue = 1 << ( frame->getBitsPel() - 1 );
for( UInt i = 0; i < frame->getHeight() * frame->getWidth(); i++ )
{
for( UInt i = 0; i < frame->getHeight() * frame->getWidth(); i++ ) {
*pPelOut++ = *pPelInput++;
}
pPelInput = frame->getPelBufferYUV()[CHROMA_U][0];
for( UInt i = 0; i < m_pcProcessedFrame->getChromaLength() * 2; i++ )
{
for( UInt i = 0; i < m_pcProcessedFrame->getChromaLength() * 2; i++ ) {
*pPelOut++ = halfScaleValue;
}
return m_pcProcessedFrame;