Read uncompressed YUV420P frames from a file. More...
|bool||open (const std::string &fileName, int width, int height)|
|Opens a file. |
|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::open||(||const std::string &||fileName,|
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.