Bugfix in FrameDifference Module
This commit is contained in:
1 parent
1eb2c9093a
commit
a125fc5eac
1 file changed
+1
@@ -63,6 +63,7 @@ PlaYUVerFrame* FrameDifference::process( PlaYUVerFrame* Input1, PlaYUVerFrame* I
|
||||
diff = aux_pel_1 - aux_pel_2;
|
||||
diff = std::min( diff, 127 );
|
||||
diff = std::max( diff, -128 );
|
||||
diff += 128;
|
||||
*pOutputPelYUV++ = diff;
|
||||
}
|
||||
return m_pcFrameDifference;
|
||||
|
||||
Reference in new issue
Block a user