Resolve some warnings

This commit is contained in:
2014-01-31 01:41:07 +00:00
parent 4280017fa0
commit 8f46cf8a5d
+6 -9
View File
@@ -36,6 +36,12 @@ InputStream::InputStream()
m_iStatus = 0;
m_pFile = NULL;
m_uiWidth = 0;
m_uiHeight = 0;
m_uiTotalFrameNum = 0;
m_uiCurrFrameNum = 0;
m_iErrorStatus = 0;
m_iPixelFormat = -1;
m_pppcInputPel[0] = NULL;
m_pppcInputPel[1] = NULL;
m_pppcInputPel[2] = NULL;
@@ -190,15 +196,6 @@ Void InputStream::init( QString filename, UInt width, UInt height, Int input_for
return;
}
static inline Pel iClip3Pel( Pel pel_value, Pel min_value, Pel max_value )
{
if( pel_value > max_value )
return max_value;
if( pel_value < min_value )
return min_value;
return pel_value;
}
static inline void yuvToRgb( int iY, int iU, int iV, int &iR, int &iG, int &iB )
{
iR = iY + 1402 * iV / 1000;