EMIPLIB
Public Member Functions | Static Public Member Functions

MIPAVCodecFrameConverter Class Reference

Convert video frames to a desired width, height and format using libavcodec. More...

#include <mipavcodecframeconverter.h>

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

List of all members.

Public Member Functions

bool init (int targetWidth, int targetHeight, uint32_t targetSubtype)
 Initializes the component and instructs it to convert messages to a specific width, height and raw video frame subtype.
bool destroy ()
 Cleans up the component.

Static Public Member Functions

static void initAVCodec ()
 Initializes the libavcodec library.

Detailed Description

This component will convert incoming video frames to a specific width, height and format. To do this, the libavcodec library is used.


Member Function Documentation

bool MIPAVCodecFrameConverter::destroy ( )
bool MIPAVCodecFrameConverter::init ( int  targetWidth,
int  targetHeight,
uint32_t  targetSubtype 
)

Initializes the component and instructs it to convert messages to a specific width, height and raw video frame subtype. Set targetWidth and targetHeight to -1 to conserve the original width and height of the frame.

static void MIPAVCodecFrameConverter::initAVCodec ( ) [static]

This function initializes the libavcodec library. The library should only be initialized once in an application.


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