EMIPLIB
Public Member Functions

MIPYUV420FrameCutter Class Reference

Extracts a part of an YUV420P frame. More...

#include <mipyuv420framecutter.h>

Inheritance diagram for MIPYUV420FrameCutter:
Inheritance graph
[legend]
Collaboration diagram for MIPYUV420FrameCutter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool init (int inputWidth, int inputHeight, int x0, int x1, int y0, int y1)
 Initializes the component.
bool destroy ()
 Deinitializes the component.

Detailed Description

This component takes a raw video frame, YUV420P encoded, as input and creates a video frame (same encoding) which containts a part of the input frame as output.


Member Function Documentation

bool MIPYUV420FrameCutter::destroy ( )
bool MIPYUV420FrameCutter::init ( int  inputWidth,
int  inputHeight,
int  x0,
int  x1,
int  y0,
int  y1 
)

Initializes the component.

Parameters:
inputWidthThe width that each input frame must have.
inputHeightThe height that each input frame must have.
x0Start X coordinate of the subframe.
x1End X coordinate (not included) of the subframe.
y0Start Y coordinate of the subframe.
y1End Y coordinate (not included) of the subframe. The subframe will have (x1-x0) as its width and (y1-y0) as its height.

The documentation for this class was generated from the following file: