FFmpeg
Data Structures | Data Fields
InputStream Struct Reference

#include <ffmpeg.h>

Data Structures

struct  sub2video
 

Data Fields

const AVClassclass
 
int file_index
 
int index
 
AVStreamst
 
int discard
 
int user_set_discard
 
int decoding_needed
 
AVCodecParameterspar
 Codec parameters - to be used by the decoding/streamcopy code. More...
 
Decoderdecoder
 
AVCodecContextdec_ctx
 
const AVCodecdec
 
const AVCodecDescriptorcodec_desc
 
AVRational framerate_guessed
 
int64_t nb_samples
 
AVDictionarydecoder_opts
 
AVRational framerate
 
int top_field_first
 
int autorotate
 
int fix_sub_duration
 
struct InputStream::sub2video sub2video
 
InputFilter ** filters
 
int nb_filters
 
struct OutputStream ** outputs
 
int nb_outputs
 
int reinit_filters
 
enum HWAccelID hwaccel_id
 
enum AVHWDeviceType hwaccel_device_type
 
char * hwaccel_device
 
enum AVPixelFormat hwaccel_output_format
 
uint64_t frames_decoded
 
uint64_t samples_decoded
 
uint64_t decode_errors
 

Detailed Description

Definition at line 324 of file ffmpeg.h.

Field Documentation

◆ class

const AVClass* InputStream::class

Definition at line 325 of file ffmpeg.h.

Referenced by demux_stream_alloc().

◆ file_index

int InputStream::file_index

◆ index

int InputStream::index

◆ st

AVStream * InputStream::st

◆ discard

int InputStream::discard

◆ user_set_discard

int InputStream::user_set_discard

Definition at line 332 of file ffmpeg.h.

Referenced by ist_add(), ist_use(), map_auto_audio(), map_auto_video(), map_manual(), and opt_map_channel().

◆ decoding_needed

int InputStream::decoding_needed

◆ par

AVCodecParameters* InputStream::par

Codec parameters - to be used by the decoding/streamcopy code.

st->codecpar should not be accessed, because it may be modified concurrently by the demuxing thread.

Definition at line 342 of file ffmpeg.h.

Referenced by demux_final_stats(), input_packet_process(), ist_add(), ist_dts_update(), ist_free(), streamcopy_init(), ts_discontinuity_process(), and video_frame_process().

◆ decoder

Decoder* InputStream::decoder

◆ dec_ctx

AVCodecContext * InputStream::dec_ctx

◆ dec

const AVCodec* InputStream::dec

Definition at line 345 of file ffmpeg.h.

Referenced by dec_open(), dec_packet(), decoder_thread(), hw_device_setup_for_decode(), and ist_add().

◆ codec_desc

const AVCodecDescriptor* InputStream::codec_desc

Definition at line 346 of file ffmpeg.h.

Referenced by ist_add(), and ist_dts_update().

◆ framerate_guessed

AVRational InputStream::framerate_guessed

Definition at line 348 of file ffmpeg.h.

Referenced by configure_input_video_filter(), and ist_add().

◆ nb_samples

int64_t InputStream::nb_samples

Definition at line 350 of file ffmpeg.h.

Referenced by decoder_thread(), ist_add(), and packet_decode().

◆ decoder_opts

AVDictionary* InputStream::decoder_opts

Definition at line 352 of file ffmpeg.h.

Referenced by dec_open(), ist_add(), and ist_free().

◆ framerate

AVRational InputStream::framerate

◆ top_field_first

int InputStream::top_field_first

Definition at line 355 of file ffmpeg.h.

Referenced by ist_add(), and video_frame_process().

◆ autorotate

int InputStream::autorotate

Definition at line 358 of file ffmpeg.h.

Referenced by configure_input_video_filter(), enc_open(), and ist_add().

◆ fix_sub_duration

int InputStream::fix_sub_duration

Definition at line 360 of file ffmpeg.h.

Referenced by dec_open(), fix_sub_duration_heartbeat(), ist_add(), and process_subtitle().

◆ sub2video

◆ filters

InputFilter** InputStream::filters

◆ nb_filters

int InputStream::nb_filters

◆ outputs

struct OutputStream** InputStream::outputs

◆ nb_outputs

int InputStream::nb_outputs

Definition at line 377 of file ffmpeg.h.

Referenced by ist_output_add(), process_input(), process_input_packet(), and process_subtitle().

◆ reinit_filters

int InputStream::reinit_filters

Definition at line 379 of file ffmpeg.h.

Referenced by ifilter_send_frame(), and ist_add().

◆ hwaccel_id

enum HWAccelID InputStream::hwaccel_id

Definition at line 382 of file ffmpeg.h.

Referenced by get_format(), hw_device_setup_for_decode(), and ist_add().

◆ hwaccel_device_type

enum AVHWDeviceType InputStream::hwaccel_device_type

Definition at line 383 of file ffmpeg.h.

Referenced by get_format(), hw_device_setup_for_decode(), and ist_add().

◆ hwaccel_device

char* InputStream::hwaccel_device

Definition at line 384 of file ffmpeg.h.

Referenced by hw_device_setup_for_decode(), ist_add(), and ist_free().

◆ hwaccel_output_format

enum AVPixelFormat InputStream::hwaccel_output_format

Definition at line 385 of file ffmpeg.h.

Referenced by hwaccel_retrieve_data(), and ist_add().

◆ frames_decoded

uint64_t InputStream::frames_decoded

Definition at line 389 of file ffmpeg.h.

Referenced by demux_final_stats(), packet_decode(), transcode(), and transcode_subtitles().

◆ samples_decoded

uint64_t InputStream::samples_decoded

Definition at line 390 of file ffmpeg.h.

Referenced by demux_final_stats(), and packet_decode().

◆ decode_errors

uint64_t InputStream::decode_errors

Definition at line 391 of file ffmpeg.h.

Referenced by demux_final_stats(), packet_decode(), transcode(), and transcode_subtitles().


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