|
EMIPLIB
|
Extracts a part of an YUV420P frame. More...
#include <mipyuv420framecutter.h>


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. | |
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.
| bool MIPYUV420FrameCutter::destroy | ( | ) |
| bool MIPYUV420FrameCutter::init | ( | int | inputWidth, |
| int | inputHeight, | ||
| int | x0, | ||
| int | x1, | ||
| int | y0, | ||
| int | y1 | ||
| ) |
Initializes the component.
| inputWidth | The width that each input frame must have. |
| inputHeight | The height that each input frame must have. |
| x0 | Start X coordinate of the subframe. |
| x1 | End X coordinate (not included) of the subframe. |
| y0 | Start Y coordinate of the subframe. |
| y1 | End Y coordinate (not included) of the subframe. The subframe will have (x1-x0) as its width and (y1-y0) as its height. |
1.7.3