Miam-Player  0.8.0
A nice music player
QtAV::VideoFrameConverter Class Reference

#include <VideoFrame.h>

Public Member Functions

 VideoFrameConverter ()
 
 ~VideoFrameConverter ()
 
void setEq (int brightness, int contrast, int saturation)
 value out of [-100, 100] will be ignored More...
 
VideoFrame convert (const VideoFrame &frame, const VideoFormat &fmt) const
 convert return a frame with a given format from a given source frame. More...
 
VideoFrame convert (const VideoFrame &frame, VideoFormat::PixelFormat fmt) const
 
VideoFrame convert (const VideoFrame &frame, QImage::Format fmt) const
 
VideoFrame convert (const VideoFrame &frame, int fffmt) const
 

Constructor & Destructor Documentation

◆ VideoFrameConverter()

QtAV::VideoFrameConverter::VideoFrameConverter ( )

◆ ~VideoFrameConverter()

QtAV::VideoFrameConverter::~VideoFrameConverter ( )

Member Function Documentation

◆ convert() [1/4]

VideoFrame QtAV::VideoFrameConverter::convert ( const VideoFrame frame,
const VideoFormat fmt 
) const

convert return a frame with a given format from a given source frame.

The result frame data is always on host memory.

◆ convert() [2/4]

VideoFrame QtAV::VideoFrameConverter::convert ( const VideoFrame frame,
VideoFormat::PixelFormat  fmt 
) const

◆ convert() [3/4]

VideoFrame QtAV::VideoFrameConverter::convert ( const VideoFrame frame,
QImage::Format  fmt 
) const

◆ convert() [4/4]

VideoFrame QtAV::VideoFrameConverter::convert ( const VideoFrame frame,
int  fffmt 
) const

◆ setEq()

void QtAV::VideoFrameConverter::setEq ( int  brightness,
int  contrast,
int  saturation 
)

value out of [-100, 100] will be ignored


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