FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Data Fields
InputStream Struct Reference

#include <ffmpeg.h>

Data Structures

struct  sub2video
 

Data Fields

int file_index
 
AVStreamst
 
int discard
 
int decoding_needed
 
AVCodecdec
 
AVFramedecoded_frame
 
AVFramefilter_frame
 
int64_t start
 
int64_t next_dts
 
int64_t dts
 dts of the last packet read for this stream (in AV_TIME_BASE units)
 
int64_t next_pts
 synthetic pts for the next decode frame (in AV_TIME_BASE units)
 
int64_t pts
 current pts of the decoded frame (in AV_TIME_BASE units)
 
int wrap_correction_done
 
int64_t filter_in_rescale_delta_last
 
double ts_scale
 
int saw_first_ts
 
int showed_multi_packet_warning
 
AVDictionaryopts
 
AVRational framerate
 
int top_field_first
 
int guess_layout_max
 
int resample_height
 
int resample_width
 
int resample_pix_fmt
 
int resample_sample_fmt
 
int resample_sample_rate
 
int resample_channels
 
uint64_t resample_channel_layout
 
int fix_sub_duration
 
struct {
   int   got_output
 
   int   ret
 
   AVSubtitle   subtitle
 
prev_sub
 
struct InputStream::sub2video sub2video
 
int dr1
 
InputFilter ** filters
 
int nb_filters
 
int reinit_filters
 
enum HWAccelID hwaccel_id
 
char * hwaccel_device
 
enum HWAccelID active_hwaccel_id
 
voidhwaccel_ctx
 
void(* hwaccel_uninit )(AVCodecContext *s)
 
int(* hwaccel_get_buffer )(AVCodecContext *s, AVFrame *frame, int flags)
 
int(* hwaccel_retrieve_data )(AVCodecContext *s, AVFrame *frame)
 
enum AVPixelFormat hwaccel_pix_fmt
 
enum AVPixelFormat hwaccel_retrieved_pix_fmt
 

Detailed Description

Definition at line 236 of file ffmpeg.h.

Field Documentation

int InputStream::file_index
AVStream* InputStream::st
int InputStream::discard
int InputStream::decoding_needed
AVCodec* InputStream::dec

Definition at line 241 of file ffmpeg.h.

Referenced by add_input_streams(), and init_input_stream().

AVFrame* InputStream::decoded_frame

Definition at line 242 of file ffmpeg.h.

Referenced by decode_audio(), and decode_video().

AVFrame* InputStream::filter_frame

Definition at line 243 of file ffmpeg.h.

Referenced by decode_audio(), and decode_video().

int64_t InputStream::start

Definition at line 245 of file ffmpeg.h.

Referenced by get_input_packet(), and transcode_init().

int64_t InputStream::next_dts

Definition at line 248 of file ffmpeg.h.

Referenced by decode_audio(), init_input_stream(), output_packet(), and process_input().

int64_t InputStream::dts

dts of the last packet read for this stream (in AV_TIME_BASE units)

Definition at line 249 of file ffmpeg.h.

Referenced by decode_audio(), decode_video(), do_streamcopy(), get_input_packet(), output_packet(), and process_input().

int64_t InputStream::next_pts

synthetic pts for the next decode frame (in AV_TIME_BASE units)

Definition at line 251 of file ffmpeg.h.

Referenced by decode_audio(), decode_video(), init_input_stream(), output_packet(), and process_input().

int64_t InputStream::pts

current pts of the decoded frame (in AV_TIME_BASE units)

Definition at line 252 of file ffmpeg.h.

Referenced by check_output_constraints(), decode_audio(), decode_video(), do_streamcopy(), output_packet(), and process_input().

int InputStream::wrap_correction_done

Definition at line 253 of file ffmpeg.h.

Referenced by process_input().

int64_t InputStream::filter_in_rescale_delta_last

Definition at line 255 of file ffmpeg.h.

Referenced by add_input_streams(), and do_streamcopy().

double InputStream::ts_scale

Definition at line 257 of file ffmpeg.h.

Referenced by add_input_streams(), and process_input().

int InputStream::saw_first_ts

Definition at line 258 of file ffmpeg.h.

Referenced by output_packet().

int InputStream::showed_multi_packet_warning

Definition at line 259 of file ffmpeg.h.

Referenced by output_packet().

AVDictionary* InputStream::opts

Definition at line 260 of file ffmpeg.h.

Referenced by add_input_streams(), and init_input_stream().

AVRational InputStream::framerate
int InputStream::top_field_first

Definition at line 262 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_video().

int InputStream::guess_layout_max

Definition at line 263 of file ffmpeg.h.

Referenced by add_input_streams(), and guess_input_channel_layout().

int InputStream::resample_height
int InputStream::resample_width
int InputStream::resample_pix_fmt
int InputStream::resample_sample_fmt

Definition at line 269 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_audio().

int InputStream::resample_sample_rate

Definition at line 270 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_audio().

int InputStream::resample_channels

Definition at line 271 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_audio().

uint64_t InputStream::resample_channel_layout

Definition at line 272 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_audio().

int InputStream::fix_sub_duration

Definition at line 274 of file ffmpeg.h.

Referenced by add_input_streams(), and transcode_subtitles().

int InputStream::got_output

Definition at line 276 of file ffmpeg.h.

Referenced by transcode_subtitles().

int InputStream::ret

Definition at line 277 of file ffmpeg.h.

Referenced by transcode_subtitles().

AVSubtitle InputStream::subtitle

Definition at line 278 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), and transcode_subtitles().

struct { ... } InputStream::prev_sub

Referenced by transcode_subtitles().

int InputStream::dr1

Definition at line 288 of file ffmpeg.h.

InputFilter** InputStream::filters
int InputStream::nb_filters
int InputStream::reinit_filters

Definition at line 295 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_video().

enum HWAccelID InputStream::hwaccel_id

Definition at line 298 of file ffmpeg.h.

Referenced by add_input_streams(), get_format(), vdpau_alloc(), and vdpau_init().

char* InputStream::hwaccel_device

Definition at line 299 of file ffmpeg.h.

Referenced by add_input_streams(), and vdpau_alloc().

enum HWAccelID InputStream::active_hwaccel_id

Definition at line 302 of file ffmpeg.h.

Referenced by get_format().

void* InputStream::hwaccel_ctx
void(* InputStream::hwaccel_uninit)(AVCodecContext *s)

Definition at line 304 of file ffmpeg.h.

Referenced by transcode(), vdpau_alloc(), and vdpau_uninit().

int(* InputStream::hwaccel_get_buffer)(AVCodecContext *s, AVFrame *frame, int flags)

Definition at line 305 of file ffmpeg.h.

Referenced by get_buffer(), vdpau_alloc(), vdpau_init(), and vdpau_uninit().

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

Definition at line 307 of file ffmpeg.h.

Referenced by add_input_streams(), decode_video(), get_buffer(), and get_format().

enum AVPixelFormat InputStream::hwaccel_retrieved_pix_fmt

Definition at line 308 of file ffmpeg.h.

Referenced by configure_input_video_filter(), and decode_video().


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