FFmpeg  4.0
Data Fields
dshow_ctx Struct Reference

#include <libavdevice/dshow_capture.h>

Data Fields

const AVClassclass
 
IGraphBuilder * graph
 
char * device_name [2]
 
char * device_unique_name [2]
 
int video_device_number
 
int audio_device_number
 
int list_options
 
int list_devices
 
int audio_buffer_size
 
int crossbar_video_input_pin_number
 
int crossbar_audio_input_pin_number
 
char * video_pin_name
 
char * audio_pin_name
 
int show_video_device_dialog
 
int show_audio_device_dialog
 
int show_video_crossbar_connection_dialog
 
int show_audio_crossbar_connection_dialog
 
int show_analog_tv_tuner_dialog
 
int show_analog_tv_tuner_audio_dialog
 
char * audio_filter_load_file
 
char * audio_filter_save_file
 
char * video_filter_load_file
 
char * video_filter_save_file
 
IBaseFilter * device_filter [2]
 
IPin * device_pin [2]
 
libAVFiltercapture_filter [2]
 
libAVPincapture_pin [2]
 
HANDLE mutex
 
HANDLE event [2]
 
AVPacketListpktl
 
int eof
 
int64_t curbufsize [2]
 
unsigned int video_frame_num
 
IMediaControl * control
 
IMediaEvent * media_event
 
enum AVPixelFormat pixel_format
 
enum AVCodecID video_codec_id
 
char * framerate
 
int requested_width
 
int requested_height
 
AVRational requested_framerate
 
int sample_rate
 
int sample_size
 
int channels
 

Detailed Description

Definition at line 286 of file dshow_capture.h.

Field Documentation

◆ class

const AVClass* dshow_ctx::class

Definition at line 287 of file dshow_capture.h.

◆ graph

IGraphBuilder* dshow_ctx::graph

◆ device_name

char* dshow_ctx::device_name[2]

◆ device_unique_name

char* dshow_ctx::device_unique_name[2]

Definition at line 292 of file dshow_capture.h.

Referenced by dshow_list_device_options(), dshow_open_device(), and dshow_read_close().

◆ video_device_number

int dshow_ctx::video_device_number

Definition at line 294 of file dshow_capture.h.

Referenced by dshow_cycle_devices().

◆ audio_device_number

int dshow_ctx::audio_device_number

Definition at line 295 of file dshow_capture.h.

Referenced by dshow_cycle_devices().

◆ list_options

int dshow_ctx::list_options

Definition at line 297 of file dshow_capture.h.

Referenced by dshow_read_header(), and setup_crossbar_options().

◆ list_devices

int dshow_ctx::list_devices

Definition at line 298 of file dshow_capture.h.

Referenced by dshow_read_header().

◆ audio_buffer_size

int dshow_ctx::audio_buffer_size

Definition at line 299 of file dshow_capture.h.

Referenced by dshow_cycle_pins(), and dshow_set_audio_buffer_size().

◆ crossbar_video_input_pin_number

int dshow_ctx::crossbar_video_input_pin_number

Definition at line 300 of file dshow_capture.h.

Referenced by setup_crossbar_options().

◆ crossbar_audio_input_pin_number

int dshow_ctx::crossbar_audio_input_pin_number

Definition at line 301 of file dshow_capture.h.

Referenced by setup_crossbar_options().

◆ video_pin_name

char* dshow_ctx::video_pin_name

Definition at line 302 of file dshow_capture.h.

Referenced by dshow_cycle_pins().

◆ audio_pin_name

char* dshow_ctx::audio_pin_name

Definition at line 303 of file dshow_capture.h.

Referenced by dshow_cycle_pins().

◆ show_video_device_dialog

int dshow_ctx::show_video_device_dialog

Definition at line 304 of file dshow_capture.h.

Referenced by dshow_cycle_pins().

◆ show_audio_device_dialog

int dshow_ctx::show_audio_device_dialog

Definition at line 305 of file dshow_capture.h.

Referenced by dshow_cycle_pins().

◆ show_video_crossbar_connection_dialog

int dshow_ctx::show_video_crossbar_connection_dialog

Definition at line 306 of file dshow_capture.h.

Referenced by dshow_try_setup_crossbar_options().

◆ show_audio_crossbar_connection_dialog

int dshow_ctx::show_audio_crossbar_connection_dialog

Definition at line 307 of file dshow_capture.h.

Referenced by dshow_try_setup_crossbar_options().

◆ show_analog_tv_tuner_dialog

int dshow_ctx::show_analog_tv_tuner_dialog

Definition at line 308 of file dshow_capture.h.

Referenced by dshow_try_setup_crossbar_options().

◆ show_analog_tv_tuner_audio_dialog

int dshow_ctx::show_analog_tv_tuner_audio_dialog

Definition at line 309 of file dshow_capture.h.

Referenced by dshow_try_setup_crossbar_options().

◆ audio_filter_load_file

char* dshow_ctx::audio_filter_load_file

Definition at line 310 of file dshow_capture.h.

Referenced by dshow_open_device().

◆ audio_filter_save_file

char* dshow_ctx::audio_filter_save_file

Definition at line 311 of file dshow_capture.h.

Referenced by dshow_open_device().

◆ video_filter_load_file

char* dshow_ctx::video_filter_load_file

Definition at line 312 of file dshow_capture.h.

Referenced by dshow_open_device().

◆ video_filter_save_file

char* dshow_ctx::video_filter_save_file

Definition at line 313 of file dshow_capture.h.

Referenced by dshow_open_device().

◆ device_filter

IBaseFilter* dshow_ctx::device_filter[2]

◆ device_pin

IPin* dshow_ctx::device_pin[2]

Definition at line 316 of file dshow_capture.h.

Referenced by dshow_cycle_pins(), dshow_open_device(), and dshow_read_close().

◆ capture_filter

libAVFilter* dshow_ctx::capture_filter[2]

Definition at line 317 of file dshow_capture.h.

Referenced by dshow_add_device(), dshow_open_device(), and dshow_read_close().

◆ capture_pin

libAVPin* dshow_ctx::capture_pin[2]

Definition at line 318 of file dshow_capture.h.

Referenced by dshow_add_device(), dshow_open_device(), and dshow_read_close().

◆ mutex

HANDLE dshow_ctx::mutex

Definition at line 320 of file dshow_capture.h.

Referenced by callback(), dshow_read_close(), dshow_read_header(), and dshow_read_packet().

◆ event

HANDLE dshow_ctx::event[2]

Definition at line 321 of file dshow_capture.h.

Referenced by callback(), dshow_read_close(), dshow_read_header(), and dshow_read_packet().

◆ pktl

AVPacketList* dshow_ctx::pktl

Definition at line 323 of file dshow_capture.h.

Referenced by callback(), dshow_read_close(), and dshow_read_packet().

◆ eof

int dshow_ctx::eof

Definition at line 325 of file dshow_capture.h.

Referenced by dshow_read_packet().

◆ curbufsize

int64_t dshow_ctx::curbufsize[2]

Definition at line 327 of file dshow_capture.h.

Referenced by callback(), dshow_read_header(), dshow_read_packet(), and shall_we_drop().

◆ video_frame_num

unsigned int dshow_ctx::video_frame_num

Definition at line 328 of file dshow_capture.h.

Referenced by shall_we_drop().

◆ control

IMediaControl* dshow_ctx::control

Definition at line 330 of file dshow_capture.h.

Referenced by dshow_read_close(), and dshow_read_header().

◆ media_event

IMediaEvent* dshow_ctx::media_event

Definition at line 331 of file dshow_capture.h.

Referenced by dshow_read_close(), dshow_read_header(), and dshow_read_packet().

◆ pixel_format

enum AVPixelFormat dshow_ctx::pixel_format

Definition at line 333 of file dshow_capture.h.

Referenced by dshow_cycle_formats(), dshow_cycle_pins(), and dshow_read_header().

◆ video_codec_id

enum AVCodecID dshow_ctx::video_codec_id

Definition at line 334 of file dshow_capture.h.

Referenced by dshow_cycle_formats(), dshow_cycle_pins(), and dshow_read_header().

◆ framerate

char* dshow_ctx::framerate

Definition at line 335 of file dshow_capture.h.

Referenced by dshow_cycle_formats(), dshow_cycle_pins(), and dshow_read_header().

◆ requested_width

int dshow_ctx::requested_width

Definition at line 337 of file dshow_capture.h.

Referenced by dshow_cycle_formats(), and dshow_cycle_pins().

◆ requested_height

int dshow_ctx::requested_height

Definition at line 338 of file dshow_capture.h.

Referenced by dshow_cycle_formats(), and dshow_cycle_pins().

◆ requested_framerate

AVRational dshow_ctx::requested_framerate

Definition at line 339 of file dshow_capture.h.

Referenced by dshow_cycle_formats(), and dshow_read_header().

◆ sample_rate

int dshow_ctx::sample_rate

Definition at line 341 of file dshow_capture.h.

Referenced by dshow_cycle_formats(), and dshow_cycle_pins().

◆ sample_size

int dshow_ctx::sample_size

Definition at line 342 of file dshow_capture.h.

Referenced by dshow_cycle_formats().

◆ channels

int dshow_ctx::channels

Definition at line 343 of file dshow_capture.h.

Referenced by dshow_cycle_formats(), and dshow_cycle_pins().


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