VLC 4.0.0-dev
Loading...
Searching...
No Matches
Decoder hardware device
Collaboration diagram for Decoder hardware device:

Data Structures

struct  vlc_decoder_device_operations
 
struct  vlc_decoder_device
 Decoder context struct. More...
 

Macros

#define set_callback_dec_device(activate, priority)
 

Typedefs

typedef struct vlc_decoder_device vlc_decoder_device
 Decoder context struct.
 
typedef int(* vlc_decoder_device_Open) (vlc_decoder_device *device, vlc_window_t *window)
 "decoder device" module open entry point
 

Enumerations

enum  vlc_decoder_device_type {
  VLC_DECODER_DEVICE_VAAPI , VLC_DECODER_DEVICE_VDPAU , VLC_DECODER_DEVICE_DXVA2 , VLC_DECODER_DEVICE_D3D11VA ,
  VLC_DECODER_DEVICE_VIDEOTOOLBOX , VLC_DECODER_DEVICE_AWINDOW , VLC_DECODER_DEVICE_NVDEC , VLC_DECODER_DEVICE_MMAL ,
  VLC_DECODER_DEVICE_GSTDECODE
}
 Decoder device type. More...
 

Functions

vlc_decoder_devicevlc_decoder_device_Create (vlc_object_t *, vlc_window_t *window)
 Create a decoder device from a window.
 
vlc_decoder_devicevlc_decoder_device_Hold (vlc_decoder_device *device)
 Hold a decoder device.
 
void vlc_decoder_device_Release (vlc_decoder_device *device)
 Release a decoder device.
 

Detailed Description

Macro Definition Documentation

◆ set_callback_dec_device

#define set_callback_dec_device (   activate,
  priority 
)
Value:
{ \
vlc_decoder_device_Open open__ = activate; \
(void) open__; \
set_callback(activate) \
} \
set_capability( "decoder device", priority )
int(* vlc_decoder_device_Open)(vlc_decoder_device *device, vlc_window_t *window)
"decoder device" module open entry point
Definition vlc_codec.h:639

Typedef Documentation

◆ vlc_decoder_device

Decoder context struct.

◆ vlc_decoder_device_Open

typedef int(* vlc_decoder_device_Open) (vlc_decoder_device *device, vlc_window_t *window)

"decoder device" module open entry point

Parameters
devicethe "decoder device" structure to initialize
windowpointer to a window to help device initialization (can be NULL)

Enumeration Type Documentation

◆ vlc_decoder_device_type

Decoder device type.

Enumerator
VLC_DECODER_DEVICE_VAAPI 
VLC_DECODER_DEVICE_VDPAU 
VLC_DECODER_DEVICE_DXVA2 
VLC_DECODER_DEVICE_D3D11VA 
VLC_DECODER_DEVICE_VIDEOTOOLBOX 
VLC_DECODER_DEVICE_AWINDOW 
VLC_DECODER_DEVICE_NVDEC 
VLC_DECODER_DEVICE_MMAL 
VLC_DECODER_DEVICE_GSTDECODE 

Function Documentation

◆ vlc_decoder_device_Create()

vlc_decoder_device * vlc_decoder_device_Create ( vlc_object_t o,
vlc_window_t window 
)

Create a decoder device from a window.

This function will be hidden in the future. It is now used by opengl vout module as a transition.

References vlc_decoder_device_priv::device, name, vlc_decoder_device::ops, vlc_decoder_device_priv::rc, var_InheritString(), vlc_atomic_rc_init(), vlc_custom_create, VLC_OBJECT, vlc_object_delete, and vlc_objres_clear().

Referenced by vout_GetDevice().

◆ vlc_decoder_device_Hold()

◆ vlc_decoder_device_Release()