UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
hw_accel_state Struct Reference

#include <hwaccel_libav_common.h>

Collaboration diagram for hw_accel_state:
Collaboration graph

Public Attributes

bool copy
 Specifies whether to use the copy mode.
 
void * ctx
 Type depends on hwaccel type.
 
AVFrame * tmp_frame
 Temporary frame used when copying.
 
enum hw_accel_type type
 
void(* uninit )(struct hw_accel_state *)
 Optional uninit function ptr.
 

Detailed Description

hw_accel_state describes the current state of hw. accleration

Definition at line 68 of file hwaccel_libav_common.h.

Member Data Documentation

◆ copy

bool hw_accel_state::copy

Specifies whether to use the copy mode.

Definition at line 71 of file hwaccel_libav_common.h.

Referenced by hwaccel_state_init(), and libavcodec_decompress().

◆ ctx

void* hw_accel_state::ctx

Type depends on hwaccel type.

Definition at line 76 of file hwaccel_libav_common.h.

Referenced by hwaccel_state_init(), hwaccel_state_reset(), and vaapi_uninit().

◆ tmp_frame

AVFrame* hw_accel_state::tmp_frame

Temporary frame used when copying.

Definition at line 72 of file hwaccel_libav_common.h.

Referenced by hwaccel_state_init(), and hwaccel_state_reset().

◆ type

enum hw_accel_type hw_accel_state::type

Definition at line 69 of file hwaccel_libav_common.h.

Referenced by handle_lavd_error(), and hwaccel_state_init().

◆ uninit

void(* hw_accel_state::uninit) (struct hw_accel_state *)

Optional uninit function ptr.

Definition at line 74 of file hwaccel_libav_common.h.

Referenced by hwaccel_state_init(), and hwaccel_state_reset().


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