UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
vidcap_state_lavf_decoder Struct Reference
Collaboration diagram for vidcap_state_lavf_decoder:
Collaboration graph

Public Attributes

AVCodecContext * aud_ctx
 
struct ring_buffer * audio_data
 
struct audio_desc audio_desc
 
int64_t audio_end_ts
 
pthread_mutex_t audio_frame_lock
 
long long audio_frames
 
int64_t audio_start_ts
 
int audio_stream_idx
 
av_to_uv_convert_t * conv_uv
 
codec_t convert_to
 
bool ended
 
bool failed
 
AVFormatContext * fmt_ctx
 
pthread_cond_t frame_consumed
 
struct timeval last_frame
 
struct timeval last_stream_stat
 
int64_t last_vid_pts
 last played PTS, if PTS == PTS_NO_VALUE, DTS is stored instead
 
pthread_mutex_t lock
 
bool loop
 
int max_queue_len
 
struct module mod
 
pthread_cond_t new_frame_ready
 
bool new_msg
 
bool no_decode
 
bool paused
 
int seek_sec
 
bool should_exit
 
char * src_filename
 
struct SwsContext * sws_ctx
 
int thread_count
 
pthread_t thread_id
 
int thread_type
 
AVCodecContext * vid_ctx
 
struct simple_linked_list * vid_frm_noaud
 
struct video_desc video_desc
 
struct simple_linked_list * video_frame_queue
 
long long video_frames
 
int video_stream_idx
 

Detailed Description

Definition at line 97 of file file.c.

Member Data Documentation

◆ aud_ctx

AVCodecContext* vidcap_state_lavf_decoder::aud_ctx

◆ audio_data

struct ring_buffer* vidcap_state_lavf_decoder::audio_data

◆ audio_desc

struct audio_desc vidcap_state_lavf_decoder::audio_desc

Definition at line 121 of file file.c.

Referenced by get_audio(), vidcap_file_init(), and vidcap_file_write_audio().

◆ audio_end_ts

int64_t vidcap_state_lavf_decoder::audio_end_ts

◆ audio_frame_lock

pthread_mutex_t vidcap_state_lavf_decoder::audio_frame_lock

◆ audio_frames

long long vidcap_state_lavf_decoder::audio_frames

Definition at line 140 of file file.c.

Referenced by get_timestamped_audio().

◆ audio_start_ts

int64_t vidcap_state_lavf_decoder::audio_start_ts

Definition at line 127 of file file.c.

Referenced by get_audio(), and vidcap_file_write_audio().

◆ audio_stream_idx

int vidcap_state_lavf_decoder::audio_stream_idx

◆ conv_uv

av_to_uv_convert_t* vidcap_state_lavf_decoder::conv_uv

Definition at line 106 of file file.c.

Referenced by process_video_pkt(), setup_video(), and vidcap_file_common_cleanup().

◆ convert_to

codec_t vidcap_state_lavf_decoder::convert_to

Definition at line 112 of file file.c.

Referenced by setup_video(), and vidcap_file_parse_fmt().

◆ ended

bool vidcap_state_lavf_decoder::ended

Definition at line 114 of file file.c.

Referenced by vidcap_file_process_messages(), and vidcap_file_worker().

◆ failed

bool vidcap_state_lavf_decoder::failed

Definition at line 108 of file file.c.

Referenced by vidcap_file_grab().

◆ fmt_ctx

◆ frame_consumed

pthread_cond_t vidcap_state_lavf_decoder::frame_consumed

◆ last_frame

struct timeval vidcap_state_lavf_decoder::last_frame

Definition at line 135 of file file.c.

Referenced by vidcap_file_grab().

◆ last_stream_stat

struct timeval vidcap_state_lavf_decoder::last_stream_stat

Definition at line 136 of file file.c.

Referenced by print_current_pos().

◆ last_vid_pts

int64_t vidcap_state_lavf_decoder::last_vid_pts

last played PTS, if PTS == PTS_NO_VALUE, DTS is stored instead

Definition at line 118 of file file.c.

Referenced by get_current_position_str(), process_video_pkt(), vidcap_file_init(), and vidcap_file_process_messages().

◆ lock

◆ loop

bool vidcap_state_lavf_decoder::loop

Definition at line 109 of file file.c.

Referenced by vidcap_file_parse_fmt(), and vidcap_file_worker().

◆ max_queue_len

int vidcap_state_lavf_decoder::max_queue_len

Definition at line 125 of file file.c.

Referenced by vidcap_file_init(), vidcap_file_parse_fmt(), and vidcap_file_worker().

◆ mod

◆ new_frame_ready

pthread_cond_t vidcap_state_lavf_decoder::new_frame_ready

◆ new_msg

bool vidcap_state_lavf_decoder::new_msg

Definition at line 110 of file file.c.

Referenced by vidcap_file_new_message(), and vidcap_file_worker().

◆ no_decode

bool vidcap_state_lavf_decoder::no_decode

Definition at line 111 of file file.c.

Referenced by process_video_pkt(), setup_video(), and vidcap_file_parse_fmt().

◆ paused

bool vidcap_state_lavf_decoder::paused

Definition at line 113 of file file.c.

Referenced by vidcap_file_grab(), and vidcap_file_process_messages().

◆ seek_sec

int vidcap_state_lavf_decoder::seek_sec

Definition at line 115 of file file.c.

Referenced by seek_start(), and vidcap_file_parse_fmt().

◆ should_exit

bool vidcap_state_lavf_decoder::should_exit

Definition at line 138 of file file.c.

Referenced by vidcap_file_grab(), vidcap_file_should_exit(), and vidcap_file_worker().

◆ src_filename

char* vidcap_state_lavf_decoder::src_filename

Definition at line 99 of file file.c.

Referenced by vidcap_file_common_cleanup(), vidcap_file_init(), and vidcap_file_parse_fmt().

◆ sws_ctx

struct SwsContext* vidcap_state_lavf_decoder::sws_ctx

Definition at line 105 of file file.c.

Referenced by process_video_pkt(), setup_video(), and vidcap_file_common_cleanup().

◆ thread_count

int vidcap_state_lavf_decoder::thread_count

Definition at line 102 of file file.c.

Referenced by setup_video(), vidcap_file_init(), and vidcap_file_parse_fmt().

◆ thread_id

pthread_t vidcap_state_lavf_decoder::thread_id

Definition at line 131 of file file.c.

Referenced by vidcap_file_done(), and vidcap_file_init().

◆ thread_type

int vidcap_state_lavf_decoder::thread_type

Definition at line 103 of file file.c.

Referenced by setup_video(), vidcap_file_init(), and vidcap_file_parse_fmt().

◆ vid_ctx

AVCodecContext * vidcap_state_lavf_decoder::vid_ctx

◆ vid_frm_noaud

◆ video_desc

struct video_desc vidcap_state_lavf_decoder::video_desc

◆ video_frame_queue

struct simple_linked_list* vidcap_state_lavf_decoder::video_frame_queue

◆ video_frames

long long vidcap_state_lavf_decoder::video_frames

Definition at line 141 of file file.c.

Referenced by get_timestamped_audio(), and vidcap_file_grab().

◆ video_stream_idx

int vidcap_state_lavf_decoder::video_stream_idx

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