FFmpeg  4.2.2
Data Fields
AVCodecHWConfig Struct Reference

#include <libavcodec/avcodec.h>

Data Fields

enum AVPixelFormat pix_fmt
 A hardware pixel format which the codec can use. More...
 
int methods
 Bit set of AV_CODEC_HW_CONFIG_METHOD_* flags, describing the possible setup methods which can be used with this configuration. More...
 
enum AVHWDeviceType device_type
 The device type associated with the configuration. More...
 

Detailed Description

Examples:
hw_decode.c.

Definition at line 3455 of file avcodec.h.

Field Documentation

◆ pix_fmt

enum AVPixelFormat AVCodecHWConfig::pix_fmt

A hardware pixel format which the codec can use.

Examples:
hw_decode.c.

Definition at line 3459 of file avcodec.h.

Referenced by main().

◆ methods

int AVCodecHWConfig::methods

Bit set of AV_CODEC_HW_CONFIG_METHOD_* flags, describing the possible setup methods which can be used with this configuration.

Examples:
hw_decode.c.

Definition at line 3464 of file avcodec.h.

Referenced by main().

◆ device_type

enum AVHWDeviceType AVCodecHWConfig::device_type

The device type associated with the configuration.

Must be set for AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX and AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX, otherwise unused.

Examples:
hw_decode.c.

Definition at line 3471 of file avcodec.h.

Referenced by main().


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