| EMIPLIB | 
Read uncompressed YUV420P frames from a file. More...
#include <mipyuv420fileinput.h>


| Public Member Functions | |
| bool | open (const std::string &fileName, int width, int height) | 
| Opens a file. | |
| bool | close () | 
| Closes the file again and deinitiazes the component. | |
This component allow you to read uncompressed, raw YUV420P frames from a file. It only accepts MIPSYSTEMMESSAGE_TYPE_ISTIME system messages as input, and produces a raw YUV420P video message as output.
| bool MIPYUV420FileInput::close | ( | ) | 
| bool MIPYUV420FileInput::open | ( | const std::string & | fileName, | 
| int | width, | ||
| int | height | ||
| ) | 
This method opens a file and will assume that each frame has a specific width and height. Each time the push method is called, this will result in (width*height*3)/2 bytes being read from the file, and being interpreted as the data of a single YUV frame. 
 1.7.3
 1.7.3