EMIPLIB
Public Member Functions

MIPVideoFrameStorage Class Reference

A video frame storage component. More...

#include <mipvideoframestorage.h>

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

List of all members.

Public Member Functions

bool init ()
 Initializes the component.
bool destroy ()
 De-initializes the component.
bool getData (uint64_t sourceID, uint8_t *pDest, int *width, int *height, MIPTime *t=0)
 Returns video frame data for source sourceID.
bool getSourceIDs (std::list< uint64_t > &sourceIDs)
 Fills in the list sourceIDs with the IDs of sources of which video frames are currently being stored.

Detailed Description

This component accepts raw video frames in YUV420P format and stores the last frame received from each source. It does not produce any messages itself.


Member Function Documentation

bool MIPVideoFrameStorage::destroy ( )
bool MIPVideoFrameStorage::getData ( uint64_t  sourceID,
uint8_t *  pDest,
int *  width,
int *  height,
MIPTime t = 0 
)

This function accesses the last video frame for a specific source.

Parameters:
sourceIDThe ID of the source whose video frame you which to access.
pDestBuffer to store the video frame data in, in YUV420P format. If the parameter is NULL, the video frame is not copied. The buffer must be large enough to store the frame in.
widthIf not NULL, the width of the video frame is stored in *width.
heightIf not NULL, the width of the video frame is stored in *height.
tIf not NULL, the time at which the video frame was received is stored in *t.
bool MIPVideoFrameStorage::init ( )

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