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
 
int want_frame_data
 
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 {
   int   got_output
 
   int   ret
 
   AVSubtitle   subtitle
 
prev_sub
 
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
 
int(* hwaccel_retrieve_data )(AVCodecContext *s, AVFrame *frame)
 
enum AVPixelFormat hwaccel_pix_fmt
 
uint64_t frames_decoded
 
uint64_t samples_decoded
 
uint64_t decode_errors
 

Detailed Description

Definition at line 329 of file ffmpeg.h.

Field Documentation

◆ class

const AVClass* InputStream::class

Definition at line 330 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

◆ decoding_needed

int InputStream::decoding_needed

◆ want_frame_data

int InputStream::want_frame_data

Definition at line 342 of file ffmpeg.h.

Referenced by dec_packet().

◆ 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 349 of file ffmpeg.h.

Referenced by add_input_streams(), decode_flush(), demux_final_stats(), input_packet_process(), 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 352 of file ffmpeg.h.

Referenced by add_input_streams(), dec_open(), and hw_device_setup_for_decode().

◆ codec_desc

const AVCodecDescriptor* InputStream::codec_desc

Definition at line 353 of file ffmpeg.h.

Referenced by add_input_streams(), and ist_dts_update().

◆ framerate_guessed

AVRational InputStream::framerate_guessed

Definition at line 355 of file ffmpeg.h.

Referenced by add_input_streams(), and configure_input_video_filter().

◆ nb_samples

int64_t InputStream::nb_samples

Definition at line 357 of file ffmpeg.h.

Referenced by add_input_streams(), dec_packet(), and decode_flush().

◆ decoder_opts

AVDictionary* InputStream::decoder_opts

Definition at line 359 of file ffmpeg.h.

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

◆ framerate

AVRational InputStream::framerate

◆ top_field_first

int InputStream::top_field_first

Definition at line 361 of file ffmpeg.h.

Referenced by add_input_streams(), and video_frame_process().

◆ autorotate

int InputStream::autorotate

Definition at line 363 of file ffmpeg.h.

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

◆ fix_sub_duration

int InputStream::fix_sub_duration

Definition at line 365 of file ffmpeg.h.

Referenced by add_input_streams(), fix_sub_duration_heartbeat(), and process_subtitle().

◆ got_output

int InputStream::got_output

Definition at line 367 of file ffmpeg.h.

Referenced by process_subtitle().

◆ ret

int InputStream::ret

Definition at line 368 of file ffmpeg.h.

Referenced by process_subtitle().

◆ subtitle

AVSubtitle InputStream::subtitle

Definition at line 369 of file ffmpeg.h.

Referenced by fix_sub_duration_heartbeat(), ist_free(), and process_subtitle().

◆ prev_sub

struct { ... } InputStream::prev_sub

◆ 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 387 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 389 of file ffmpeg.h.

Referenced by add_input_streams(), and ifilter_send_frame().

◆ hwaccel_id

enum HWAccelID InputStream::hwaccel_id

Definition at line 392 of file ffmpeg.h.

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

◆ hwaccel_device_type

enum AVHWDeviceType InputStream::hwaccel_device_type

Definition at line 393 of file ffmpeg.h.

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

◆ hwaccel_device

char* InputStream::hwaccel_device

Definition at line 394 of file ffmpeg.h.

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

◆ hwaccel_output_format

enum AVPixelFormat InputStream::hwaccel_output_format

Definition at line 395 of file ffmpeg.h.

Referenced by add_input_streams(), and hwaccel_retrieve_data().

◆ hwaccel_retrieve_data

int(* InputStream::hwaccel_retrieve_data) (AVCodecContext *s, AVFrame *frame)

Definition at line 397 of file ffmpeg.h.

Referenced by hwaccel_decode_init(), and video_frame_process().

◆ hwaccel_pix_fmt

enum AVPixelFormat InputStream::hwaccel_pix_fmt

Definition at line 398 of file ffmpeg.h.

Referenced by add_input_streams(), get_format(), and video_frame_process().

◆ frames_decoded

uint64_t InputStream::frames_decoded

Definition at line 402 of file ffmpeg.h.

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

◆ samples_decoded

uint64_t InputStream::samples_decoded

Definition at line 403 of file ffmpeg.h.

Referenced by dec_packet(), and demux_final_stats().

◆ decode_errors

uint64_t InputStream::decode_errors

Definition at line 404 of file ffmpeg.h.

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


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