Interface for modules in SubWindowHandle and plaYUVerApp
This commit is contained in:
1 parent
1c28febd17
commit
4be68f5bae
9 files changed
+119
-53
No files matched your search
@@ -26,8 +26,6 @@
|
||||
#include "FilterFrame.h"
|
||||
#include "PlaYUVerFrame.h"
|
||||
|
||||
|
||||
|
||||
namespace plaYUVer
|
||||
{
|
||||
|
||||
@@ -38,7 +36,19 @@ Void FilterFrame::create( PlaYUVerFrame* InputFrame )
|
||||
|
||||
PlaYUVerFrame* FilterFrame::process( PlaYUVerFrame* InputFrame )
|
||||
{
|
||||
Pel*** pppPelYUV = m_pcFilteredFrame->getPelBufferYUV();
|
||||
|
||||
m_pcFilteredFrame->CopyFrom( InputFrame );
|
||||
|
||||
for( Int y = 0; y < m_pcFilteredFrame->getHeight() / 2; y++ )
|
||||
{
|
||||
for( Int x = 0; x < m_pcFilteredFrame->getWidth() / 2; x++ )
|
||||
{
|
||||
pppPelYUV[1][y][x] = 128;
|
||||
pppPelYUV[2][y][x] = 128;
|
||||
}
|
||||
}
|
||||
|
||||
return m_pcFilteredFrame;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user