FFmpeg
Data Structures | Data Fields
InputStream Struct Reference

#include <ffmpeg.h>

Data Structures

struct   sub2video
 

Data Fields

int  file_index
 
AVStreamst
 
int  discard
 
 
 
 
AVCodecdec
 
 
 
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)
 
 
 
double  ts_scale
 
int  saw_first_ts
 
 
 
 
 
 
 
 
 
 
 
 
 
 
struct {
   int   got_output
 
   int   ret
 
   AVSubtitle   subtitle
 
prev_sub
 
 
int  dr1
 
 
int  nb_filters
 
 
 
char *  hwaccel_device
 
 
 
 
 
 
 
 
uint64_t  data_size
 
uint64_t  nb_packets
 
uint64_t  frames_decoded
 
uint64_t  samples_decoded
 

Detailed Description

Definition at line 244 of file ffmpeg.h.

Field Documentation

int InputStream::file_index

Definition at line 245 of file ffmpeg.h.

Referenced by add_input_streams(), check_output_constraints(), configure_input_audio_filter(), configure_input_filter(), configure_input_video_filter(), decode_audio(), decode_video(), do_streamcopy(), do_video_out(), get_format(), guess_input_channel_layout(), init_input_stream(), new_audio_stream(), process_input(), sub2video_heartbeat(), sub2video_prepare(), transcode(), transcode_from_filter(), transcode_step(), and vdpau_alloc().

AVStream* InputStream::st

Definition at line 246 of file ffmpeg.h.

Referenced by add_input_streams(), check_keyboard_interaction(), check_output_constraints(), configure_input_audio_filter(), configure_input_filter(), configure_input_video_filter(), decode_audio(), decode_video(), do_streamcopy(), do_video_out(), get_format(), guess_input_channel_layout(), init_input_filter(), init_input_stream(), new_audio_stream(), new_output_stream(), open_output_file(), process_input(), process_input_packet(), sub2video_heartbeat(), sub2video_update(), transcode_init(), and vdpau_alloc().

int InputStream::discard

Definition at line 247 of file ffmpeg.h.

Referenced by add_input_streams(), init_input_filter(), new_output_stream(), open_output_file(), and process_input().

int InputStream::user_set_discard

Definition at line 248 of file ffmpeg.h.

Referenced by add_input_streams(), new_output_stream(), and open_output_file().

int InputStream::decoding_needed

Definition at line 249 of file ffmpeg.h.

Referenced by init_input_filter(), init_input_stream(), print_final_stats(), process_input(), process_input_packet(), transcode(), and transcode_init().

AVCodecContext* InputStream::dec_ctx

Definition at line 253 of file ffmpeg.h.

Referenced by add_input_streams(), configure_input_audio_filter(), configure_input_video_filter(), decode_audio(), decode_video(), do_streamcopy(), ffmpeg_cleanup(), guess_input_channel_layout(), init_input_filter(), init_input_stream(), print_final_stats(), process_input(), process_input_packet(), sub2video_prepare(), sub2video_update(), transcode(), transcode_init(), and transcode_subtitles().

AVCodec* InputStream::dec

Definition at line 254 of file ffmpeg.h.

Referenced by add_input_streams(), configure_input_filter(), init_input_stream(), and process_input_packet().

AVFrame* InputStream::decoded_frame

Definition at line 255 of file ffmpeg.h.

Referenced by decode_audio(), decode_video(), and ffmpeg_cleanup().

AVFrame* InputStream::filter_frame

Definition at line 256 of file ffmpeg.h.

Referenced by decode_audio(), decode_video(), and ffmpeg_cleanup().

int64_t InputStream::start

Definition at line 258 of file ffmpeg.h.

Referenced by get_input_packet(), and transcode_init().

int64_t InputStream::next_dts

Definition at line 261 of file ffmpeg.h.

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

int64_t InputStream::dts

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

Definition at line 262 of file ffmpeg.h.

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

int64_t InputStream::next_pts

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

Definition at line 264 of file ffmpeg.h.

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

int64_t InputStream::pts

current pts of the decoded frame (in AV_TIME_BASE units)

Definition at line 265 of file ffmpeg.h.

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

int InputStream::wrap_correction_done

Definition at line 266 of file ffmpeg.h.

Referenced by process_input().

int64_t InputStream::filter_in_rescale_delta_last

Definition at line 268 of file ffmpeg.h.

Referenced by add_input_streams(), and do_streamcopy().

double InputStream::ts_scale

Definition at line 270 of file ffmpeg.h.

Referenced by add_input_streams(), and process_input().

int InputStream::saw_first_ts

Definition at line 271 of file ffmpeg.h.

Referenced by process_input_packet().

int InputStream::showed_multi_packet_warning

Definition at line 272 of file ffmpeg.h.

Referenced by process_input_packet().

AVDictionary* InputStream::decoder_opts

Definition at line 273 of file ffmpeg.h.

Referenced by add_input_streams(), ffmpeg_cleanup(), and init_input_stream().

AVRational InputStream::framerate

Definition at line 274 of file ffmpeg.h.

Referenced by add_input_streams(), configure_input_video_filter(), process_input_packet(), and transcode_init().

int InputStream::top_field_first

Definition at line 275 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_video().

int InputStream::guess_layout_max

Definition at line 276 of file ffmpeg.h.

Referenced by add_input_streams(), and guess_input_channel_layout().

int InputStream::resample_height

Definition at line 278 of file ffmpeg.h.

Referenced by add_input_streams(), configure_input_video_filter(), decode_video(), and sub2video_prepare().

int InputStream::resample_width

Definition at line 279 of file ffmpeg.h.

Referenced by add_input_streams(), configure_input_video_filter(), decode_video(), and sub2video_prepare().

int InputStream::resample_pix_fmt

Definition at line 280 of file ffmpeg.h.

Referenced by add_input_streams(), configure_input_video_filter(), decode_video(), and sub2video_prepare().

int InputStream::resample_sample_fmt

Definition at line 282 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_audio().

int InputStream::resample_sample_rate

Definition at line 283 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_audio().

int InputStream::resample_channels

Definition at line 284 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_audio().

uint64_t InputStream::resample_channel_layout

Definition at line 285 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_audio().

int InputStream::fix_sub_duration

Definition at line 287 of file ffmpeg.h.

Referenced by add_input_streams(), and transcode_subtitles().

int InputStream::got_output

Definition at line 289 of file ffmpeg.h.

Referenced by transcode_subtitles().

int InputStream::ret

Definition at line 290 of file ffmpeg.h.

Referenced by transcode_subtitles().

AVSubtitle InputStream::subtitle

Definition at line 291 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), and transcode_subtitles().

struct { ... } InputStream::prev_sub

Referenced by ffmpeg_cleanup(), and transcode_subtitles().

Referenced by ffmpeg_cleanup(), sub2video_flush(), sub2video_get_blank_frame(), sub2video_heartbeat(), sub2video_prepare(), sub2video_push_ref(), and sub2video_update().

int InputStream::dr1

Definition at line 301 of file ffmpeg.h.

InputFilter** InputStream::filters

Definition at line 305 of file ffmpeg.h.

Referenced by decode_audio(), decode_video(), ffmpeg_cleanup(), init_input_filter(), sub2video_flush(), sub2video_heartbeat(), and sub2video_push_ref().

int InputStream::nb_filters

Definition at line 306 of file ffmpeg.h.

Referenced by decode_audio(), decode_video(), init_input_filter(), sub2video_flush(), sub2video_heartbeat(), and sub2video_push_ref().

int InputStream::reinit_filters

Definition at line 308 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_video().

enum HWAccelID InputStream::hwaccel_id

Definition at line 311 of file ffmpeg.h.

Referenced by add_input_streams(), dxva2_alloc(), dxva2_create_decoder(), dxva2_get_decoder_configuration(), dxva2_init(), get_format(), vda_init(), vdpau_alloc(), and vdpau_old_init().

char* InputStream::hwaccel_device

Definition at line 312 of file ffmpeg.h.

Referenced by add_input_streams(), dxva2_alloc(), ffmpeg_cleanup(), and vdpau_alloc().

enum HWAccelID InputStream::active_hwaccel_id

Definition at line 315 of file ffmpeg.h.

Referenced by get_format().

void* InputStream::hwaccel_ctx

Definition at line 316 of file ffmpeg.h.

Referenced by dxva2_alloc(), dxva2_create_decoder(), dxva2_destroy_decoder(), dxva2_get_buffer(), dxva2_get_decoder_configuration(), dxva2_init(), dxva2_uninit(), vda_init(), vda_retrieve_data(), vda_uninit(), vdpau_alloc(), vdpau_get_buffer(), vdpau_init(), vdpau_old_init(), vdpau_retrieve_data(), and vdpau_uninit().

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

Definition at line 317 of file ffmpeg.h.

Referenced by dxva2_alloc(), dxva2_uninit(), transcode(), vda_init(), vda_uninit(), vdpau_alloc(), and vdpau_uninit().

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

Definition at line 318 of file ffmpeg.h.

Referenced by dxva2_alloc(), dxva2_uninit(), get_buffer(), vdpau_alloc(), vdpau_init(), vdpau_old_init(), and vdpau_uninit().

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

Definition at line 319 of file ffmpeg.h.

Referenced by configure_input_video_filter(), decode_video(), dxva2_alloc(), dxva2_uninit(), vda_init(), vda_uninit(), vdpau_alloc(), vdpau_init(), vdpau_old_init(), and vdpau_uninit().

enum AVPixelFormat InputStream::hwaccel_pix_fmt

Definition at line 320 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 321 of file ffmpeg.h.

Referenced by configure_input_video_filter(), and decode_video().

uint64_t InputStream::data_size

Definition at line 325 of file ffmpeg.h.

Referenced by print_final_stats(), and process_input().

uint64_t InputStream::nb_packets

Definition at line 327 of file ffmpeg.h.

Referenced by print_final_stats(), and process_input().

uint64_t InputStream::frames_decoded

Definition at line 329 of file ffmpeg.h.

Referenced by decode_audio(), decode_video(), print_final_stats(), and transcode_subtitles().

uint64_t InputStream::samples_decoded

Definition at line 330 of file ffmpeg.h.

Referenced by decode_audio(), and print_final_stats().


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

Generated on Sun Mar 8 2015 02:35:40 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /