102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
movie_state Struct Reference

Data Fields

AVFormatContext * format
AVCodecContext * video_codec
AVCodecContext * audio_codec
struct SwsContext * sws
SwrContext * swr
SDL_AudioStream * audio_device
uint8_t * buffer
int video_stream
int audio_stream_index
int buf_w
int buf_h
int buf_stride
bool video_frame_ready
bool hit_eof
bool video_flushed
bool audio_flushed
bool has_timing_origin
uint64_t start_ticks
uint64_t audio_drain_deadline_ticks
double pts_origin
double next_video_time
double last_video_pts
double frame_duration
dttr_movie_result result

Detailed Description

Definition at line 40 of file movies.c.

Field Documentation

◆ audio_codec

AVCodecContext* movie_state::audio_codec

Definition at line 43 of file movies.c.

◆ audio_device

SDL_AudioStream* movie_state::audio_device

Definition at line 46 of file movies.c.

◆ audio_drain_deadline_ticks

uint64_t movie_state::audio_drain_deadline_ticks

Definition at line 59 of file movies.c.

◆ audio_flushed

bool movie_state::audio_flushed

Definition at line 56 of file movies.c.

◆ audio_stream_index

int movie_state::audio_stream_index

Definition at line 49 of file movies.c.

◆ buf_h

int movie_state::buf_h

Definition at line 51 of file movies.c.

◆ buf_stride

int movie_state::buf_stride

Definition at line 52 of file movies.c.

◆ buf_w

int movie_state::buf_w

Definition at line 50 of file movies.c.

◆ buffer

uint8_t* movie_state::buffer

Definition at line 47 of file movies.c.

◆ format

AVFormatContext* movie_state::format

Definition at line 41 of file movies.c.

◆ frame_duration

double movie_state::frame_duration

Definition at line 63 of file movies.c.

◆ has_timing_origin

bool movie_state::has_timing_origin

Definition at line 57 of file movies.c.

◆ hit_eof

bool movie_state::hit_eof

Definition at line 54 of file movies.c.

◆ last_video_pts

double movie_state::last_video_pts

Definition at line 62 of file movies.c.

◆ next_video_time

double movie_state::next_video_time

Definition at line 61 of file movies.c.

◆ pts_origin

double movie_state::pts_origin

Definition at line 60 of file movies.c.

◆ result

dttr_movie_result movie_state::result

Definition at line 64 of file movies.c.

◆ start_ticks

uint64_t movie_state::start_ticks

Definition at line 58 of file movies.c.

◆ swr

SwrContext* movie_state::swr

Definition at line 45 of file movies.c.

◆ sws

struct SwsContext* movie_state::sws

Definition at line 44 of file movies.c.

◆ video_codec

AVCodecContext* movie_state::video_codec

Definition at line 42 of file movies.c.

◆ video_flushed

bool movie_state::video_flushed

Definition at line 55 of file movies.c.

◆ video_frame_ready

bool movie_state::video_frame_ready

Definition at line 53 of file movies.c.

◆ video_stream

int movie_state::video_stream

Definition at line 48 of file movies.c.


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