AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
avtranscoder::VideoFrameDesc Struct Reference

Description to create a video frame. More...

#include <VideoFrame.hpp>

Public Member Functions

 VideoFrameDesc (const size_t width=0, const size_t height=0, const AVPixelFormat pixelFormat=AV_PIX_FMT_NONE)
 
 VideoFrameDesc (const size_t width, const size_t height, const std::string &pixelFormatName)
 
void setParameters (const ProfileLoader::Profile &profile)
 Set the attributes from the given profile. More...
 

Data Fields

size_t _width
 
size_t _height
 
AVPixelFormat _pixelFormat
 
double _fps
 

Detailed Description

Description to create a video frame.

Parameters
width
height
pixelFormat

Definition at line 21 of file VideoFrame.hpp.

Constructor & Destructor Documentation

avtranscoder::VideoFrameDesc::VideoFrameDesc ( const size_t  width = 0,
const size_t  height = 0,
const AVPixelFormat  pixelFormat = AV_PIX_FMT_NONE 
)

Definition at line 16 of file VideoFrame.cpp.

avtranscoder::VideoFrameDesc::VideoFrameDesc ( const size_t  width,
const size_t  height,
const std::string &  pixelFormatName 
)

Definition at line 24 of file VideoFrame.cpp.

Member Function Documentation

Field Documentation

double avtranscoder::VideoFrameDesc::_fps

The documentation for this struct was generated from the following files: