VLC 4.0.0-dev
vlc_decoder_device Struct Reference

Decoder context struct. More...

#include <vlc_codec.h>

Collaboration diagram for vlc_decoder_device:
[legend]

Data Fields

struct vlc_object_t obj
 
const struct vlc_decoder_device_operationsops
 
void * sys
 Private context that could be used by the "decoder device" module implementation. More...
 
enum vlc_decoder_device_type type
 Must be set from the "decoder device" module open entry point. More...
 
void * opaque
 Could be set from the "decoder device" module open entry point and will be used by hardware decoder modules. More...
 

Detailed Description

Decoder context struct.

Field Documentation

◆ obj

struct vlc_object_t vlc_decoder_device::obj

Referenced by decoder_device_Open().

◆ opaque

void* vlc_decoder_device::opaque

Could be set from the "decoder device" module open entry point and will be used by hardware decoder modules.

The type of pointer will depend of the type: VAAPI: VADisplay VDPAU: vdp_t * DXVA2: d3d9_decoder_device_t* D3D11VA: d3d11_decoder_device_t* VIDEOTOOLBOX: NULL AWindow: android AWindowHandler* NVDEC: decoder_device_nvdec_t* MMAL: MMAL_PORT_T*

◆ ops

const struct vlc_decoder_device_operations* vlc_decoder_device::ops

◆ sys

void* vlc_decoder_device::sys

Private context that could be used by the "decoder device" module implementation.

◆ type

enum vlc_decoder_device_type vlc_decoder_device::type

Must be set from the "decoder device" module open entry point.

Referenced by filter_HoldDecoderDeviceType().


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