Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QFFmpeg::HWAccel Class Reference

#include <qffmpeghwaccel_p.h>

Collaboration diagram for QFFmpeg::HWAccel:

Public Member Functions

 ~HWAccel ()
AVHWDeviceType deviceType () const
AVBufferRef * hwDeviceContextAsBuffer () const
AVHWDeviceContext * hwDeviceContext () const
AVPixelFormat hwFormat () const
const AVHWFramesConstraints * constraints () const
bool matchesSizeContraints (QSize size) const
void createFramesContext (AVPixelFormat swFormat, const QSize &size)
AVBufferRef * hwFramesContextAsBuffer () const
AVHWFramesContext * hwFramesContext () const

Static Public Member Functions

static HWAccelUPtr create (AVHWDeviceType deviceType)
static std::pair< std::optional< Codec >, HWAccelUPtrfindDecoderWithHwAccel (AVCodecID id)
static AVPixelFormat format (AVFrame *frame)
static const std::vector< AVHWDeviceType > & encodingDeviceTypes ()
static const std::vector< AVHWDeviceType > & decodingDeviceTypes ()

Detailed Description

Definition at line 61 of file qffmpeghwaccel_p.h.

Constructor & Destructor Documentation

◆ ~HWAccel()

QFFmpeg::HWAccel::~HWAccel ( )
default

Member Function Documentation

◆ constraints()

const AVHWFramesConstraints * QFFmpeg::HWAccel::constraints ( ) const

Definition at line 350 of file qffmpeghwaccel.cpp.

◆ create()

HWAccelUPtr QFFmpeg::HWAccel::create ( AVHWDeviceType deviceType)
static

Definition at line 310 of file qffmpeghwaccel.cpp.

◆ createFramesContext()

void QFFmpeg::HWAccel::createFramesContext ( AVPixelFormat swFormat,
const QSize & size )

Definition at line 377 of file qffmpeghwaccel.cpp.

◆ decodingDeviceTypes()

const std::vector< AVHWDeviceType > & QFFmpeg::HWAccel::decodingDeviceTypes ( )
static

Definition at line 334 of file qffmpeghwaccel.cpp.

◆ deviceType()

AVHWDeviceType QFFmpeg::HWAccel::deviceType ( ) const

Definition at line 372 of file qffmpeghwaccel.cpp.

◆ encodingDeviceTypes()

const std::vector< AVHWDeviceType > & QFFmpeg::HWAccel::encodingDeviceTypes ( )
static

Definition at line 328 of file qffmpeghwaccel.cpp.

◆ findDecoderWithHwAccel()

std::pair< std::optional< Codec >, HWAccelUPtr > QFFmpeg::HWAccel::findDecoderWithHwAccel ( AVCodecID id)
static

Definition at line 205 of file qffmpeghwaccel.cpp.

◆ format()

AVPixelFormat QFFmpeg::HWAccel::format ( AVFrame * frame)
static

Definition at line 318 of file qffmpeghwaccel.cpp.

◆ hwDeviceContext()

AVHWDeviceContext * QFFmpeg::HWAccel::hwDeviceContext ( ) const

Definition at line 340 of file qffmpeghwaccel.cpp.

◆ hwDeviceContextAsBuffer()

AVBufferRef * QFFmpeg::HWAccel::hwDeviceContextAsBuffer ( ) const
inline

Definition at line 78 of file qffmpeghwaccel_p.h.

◆ hwFormat()

AVPixelFormat QFFmpeg::HWAccel::hwFormat ( ) const

Definition at line 345 of file qffmpeghwaccel.cpp.

◆ hwFramesContext()

AVHWFramesContext * QFFmpeg::HWAccel::hwFramesContext ( ) const

Definition at line 401 of file qffmpeghwaccel.cpp.

◆ hwFramesContextAsBuffer()

AVBufferRef * QFFmpeg::HWAccel::hwFramesContextAsBuffer ( ) const
inline

Definition at line 86 of file qffmpeghwaccel_p.h.

◆ matchesSizeContraints()

bool QFFmpeg::HWAccel::matchesSizeContraints ( QSize size) const

Definition at line 360 of file qffmpeghwaccel.cpp.


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