Re-format code
This commit is contained in:
@@ -34,10 +34,12 @@ FrameCrop::FrameCrop()
|
||||
m_uiNumberOfFrames = MODULE_REQUIRES_ONE_FRAME;
|
||||
m_uiModuleRequirements = MODULE_REQUIRES_OPTIONS;
|
||||
|
||||
m_cModuleOptions.addOptions() /**/
|
||||
( "xPosition", m_uiXPosition, "X cordinate of the left-top corner of the crop region [0]" ) /**/
|
||||
( "yPosition", m_uiYPosition, "Y cordinate of the left-top corner of the crop region [0]" ) /**/
|
||||
( "width", m_iXSize, "Width of the crop region [-1]" ) /**/
|
||||
m_cModuleOptions.addOptions() /**/
|
||||
( "xPosition", m_uiXPosition,
|
||||
"X cordinate of the left-top corner of the crop region [0]" ) /**/
|
||||
( "yPosition", m_uiYPosition,
|
||||
"Y cordinate of the left-top corner of the crop region [0]" ) /**/
|
||||
( "width", m_iXSize, "Width of the crop region [-1]" ) /**/
|
||||
( "height", m_iYSize, "Height of the crop region [-1]" );
|
||||
|
||||
m_pcCropedFrame = NULL;
|
||||
@@ -58,7 +60,8 @@ Void FrameCrop::create( PlaYUVerFrame* frame )
|
||||
{
|
||||
m_iYSize = frame->getHeight() - m_uiYPosition;
|
||||
}
|
||||
m_pcCropedFrame = new PlaYUVerFrame( m_iXSize, m_iYSize, frame->getPelFormat(), frame->getBitsPel() );
|
||||
m_pcCropedFrame =
|
||||
new PlaYUVerFrame( m_iXSize, m_iYSize, frame->getPelFormat(), frame->getBitsPel() );
|
||||
}
|
||||
|
||||
PlaYUVerFrame* FrameCrop::process( PlaYUVerFrame* frame )
|
||||
|
||||
Reference in New Issue
Block a user