FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVCodecHWConfig Struct Reference

#include <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 3339 of file avcodec.h.

Field Documentation

enum AVPixelFormat AVCodecHWConfig::pix_fmt

A hardware pixel format which the codec can use.

Examples:
hw_decode.c.

Definition at line 3343 of file avcodec.h.

Referenced by avcodec_default_get_format(), avcodec_get_hw_frames_parameters(), ff_get_format(), get_format(), hwaccel_init(), and main().

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 3348 of file avcodec.h.

Referenced by avcodec_default_get_format(), ff_get_format(), get_format(), hw_device_match_by_codec(), and main().

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 3355 of file avcodec.h.

Referenced by avcodec_default_get_format(), ff_get_format(), get_format(), hw_device_match_by_codec(), hw_device_setup_for_decode(), and main().


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