FFmpeg
Data Fields
AVHWAccel Struct Reference
libavcodec » Core functions/structures. » AVHWAccel

#include <avcodec.h>

Data Fields

const char *  name
  Name of the hardware accelerated codec. More...
 
enum AVMediaType  type
  Type of codec implemented by the hardware accelerator. More...
 
enum AVCodecID  id
  Codec implemented by the hardware accelerator. More...
 
  Supported pixel format. More...
 
int  capabilities
  Hardware accelerated codec capabilities. More...
 

Detailed Description

Definition at line 2099 of file avcodec.h.

Field Documentation

name

const char* AVHWAccel::name

Name of the hardware accelerated codec.

The name is globally unique among encoders and among decoders (but an encoder and a decoder can share the same name).

Definition at line 2105 of file avcodec.h.

Referenced by ff_get_format().

type

enum AVMediaType AVHWAccel::type

Type of codec implemented by the hardware accelerator.

See AVMEDIA_TYPE_xxx

Definition at line 2112 of file avcodec.h.

id

enum AVCodecID AVHWAccel::id

Codec implemented by the hardware accelerator.

See AV_CODEC_ID_xxx

Definition at line 2119 of file avcodec.h.

pix_fmt

enum AVPixelFormat AVHWAccel::pix_fmt

Supported pixel format.

Only hardware accelerated formats are supported here.

Definition at line 2126 of file avcodec.h.

Referenced by ff_d3d12va_decode_init(), ff_decode_get_hw_frames_ctx(), ff_dxva2_decode_init(), and nvdec_init_hwframes().

capabilities

int AVHWAccel::capabilities

Hardware accelerated codec capabilities.

see AV_HWACCEL_CODEC_CAP_*

Definition at line 2132 of file avcodec.h.


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

Generated on Fri Aug 22 2025 14:00:19 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /