FFmpeg
Data Structures | Data Fields
InputStream Struct Reference

#include <ffmpeg.h>

Data Structures

struct   sub2video
 

Data Fields

 
AVStreamst
 
 
 
 
 
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) More...
 
int64_t  next_pts
  synthetic pts for the next decode frame (in AV_TIME_BASE units) More...
 
int64_t  pts
  current pts of the decoded frame (in AV_TIME_BASE units) More...
 
 
 
int64_t  min_pts
 
int64_t  max_pts
 
int64_t  cfr_next_pts
 
int64_t  nb_samples
 
double  ts_scale
 
 
 
 
 
 
 
 
struct {
   int   got_output
 
   int   ret
 
   AVSubtitle   subtitle
 
prev_sub
 
 
int  dr1
 
 
 
 
 
char *  hwaccel_device
 
 
 
 
 
 
 
 
 
 
uint64_t  data_size
 
uint64_t  nb_packets
 
uint64_t  frames_decoded
 
uint64_t  samples_decoded
 
int64_t *  dts_buffer
 
 

Detailed Description

Definition at line 291 of file ffmpeg.h.

Field Documentation

int InputStream::file_index

Definition at line 292 of file ffmpeg.h.

Referenced by add_input_streams(), check_decode_result(), 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(), open_output_file(), process_input(), process_input_packet(), sub2video_heartbeat(), sub2video_prepare(), transcode(), transcode_from_filter(), transcode_init(), transcode_step(), and vdpau_alloc().

AVStream * InputStream::st

Definition at line 293 of file ffmpeg.h.

Referenced by add_input_streams(), check_decode_result(), check_keyboard_interaction(), check_output_constraints(), close_input_file(), configure_input_audio_filter(), configure_input_filter(), configure_input_video_filter(), decode_audio(), decode_video(), do_streamcopy(), do_video_out(), flush_encoders(), get_format(), guess_input_channel_layout(), ifilter_send_frame(), init_input_filter(), init_input_stream(), init_output_stream(), init_output_stream_encode(), init_output_stream_streamcopy(), new_audio_stream(), new_output_stream(), open_input_file(), open_output_file(), process_frame(), process_input(), process_input_packet(), read_interval_packets(), seek_to_start(), show_packet(), show_stream(), sub2video_heartbeat(), sub2video_update(), transcode_init(), and vdpau_alloc().

int InputStream::discard

Definition at line 294 of file ffmpeg.h.

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

int InputStream::user_set_discard

Definition at line 295 of file ffmpeg.h.

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

int InputStream::decoding_needed

Definition at line 296 of file ffmpeg.h.

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

AVCodecContext * InputStream::dec_ctx

Definition at line 300 of file ffmpeg.h.

Referenced by add_input_streams(), close_input_file(), 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(), init_output_stream(), init_output_stream_encode(), open_input_file(), print_final_stats(), process_frame(), process_input(), process_input_packet(), seek_to_start(), show_stream(), sub2video_get_blank_frame(), sub2video_prepare(), sub2video_update(), transcode(), and transcode_subtitles().

AVCodec* InputStream::dec

Definition at line 301 of file ffmpeg.h.

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

AVFrame* InputStream::decoded_frame

Definition at line 302 of file ffmpeg.h.

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

AVFrame* InputStream::filter_frame

Definition at line 303 of file ffmpeg.h.

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

int64_t InputStream::start

Definition at line 305 of file ffmpeg.h.

Referenced by get_input_packet(), and transcode_init().

int64_t InputStream::next_dts

Definition at line 308 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 309 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 311 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 312 of file ffmpeg.h.

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

int InputStream::wrap_correction_done

Definition at line 313 of file ffmpeg.h.

Referenced by process_input().

int64_t InputStream::filter_in_rescale_delta_last

Definition at line 315 of file ffmpeg.h.

Referenced by add_input_streams(), and do_streamcopy().

int64_t InputStream::min_pts

Definition at line 317 of file ffmpeg.h.

Referenced by add_input_streams(), process_input(), and seek_to_start().

int64_t InputStream::max_pts

Definition at line 318 of file ffmpeg.h.

Referenced by add_input_streams(), process_input(), and seek_to_start().

int64_t InputStream::cfr_next_pts

Definition at line 322 of file ffmpeg.h.

Referenced by decode_video().

int64_t InputStream::nb_samples

Definition at line 324 of file ffmpeg.h.

Referenced by add_input_streams(), and seek_to_start().

double InputStream::ts_scale

Definition at line 326 of file ffmpeg.h.

Referenced by add_input_streams(), and process_input().

int InputStream::saw_first_ts

Definition at line 327 of file ffmpeg.h.

Referenced by process_input_packet().

AVDictionary* InputStream::decoder_opts

Definition at line 328 of file ffmpeg.h.

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

AVRational InputStream::framerate

Definition at line 329 of file ffmpeg.h.

Referenced by add_input_streams(), configure_input_video_filter(), decode_video(), init_output_stream_encode(), init_output_stream_streamcopy(), process_input_packet(), and seek_to_start().

int InputStream::top_field_first

Definition at line 330 of file ffmpeg.h.

Referenced by add_input_streams(), and decode_video().

int InputStream::guess_layout_max

Definition at line 331 of file ffmpeg.h.

Referenced by add_input_streams(), and guess_input_channel_layout().

int InputStream::autorotate

Definition at line 333 of file ffmpeg.h.

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

int InputStream::fix_sub_duration

Definition at line 335 of file ffmpeg.h.

Referenced by add_input_streams(), and transcode_subtitles().

int InputStream::got_output

Definition at line 337 of file ffmpeg.h.

Referenced by process_input_packet(), transcode_step(), and transcode_subtitles().

int InputStream::ret

Definition at line 338 of file ffmpeg.h.

Referenced by transcode_subtitles().

AVSubtitle InputStream::subtitle

Definition at line 339 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), and transcode_subtitles().

struct { ... } InputStream::prev_sub

Referenced by ffmpeg_cleanup(), and transcode_subtitles().

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

int InputStream::dr1

Definition at line 350 of file ffmpeg.h.

InputFilter** InputStream::filters

Definition at line 354 of file ffmpeg.h.

Referenced by ffmpeg_cleanup(), init_input_filter(), send_filter_eof(), send_frame_to_filters(), sub2video_flush(), sub2video_heartbeat(), sub2video_push_ref(), and transcode_init().

int InputStream::nb_filters

Definition at line 355 of file ffmpeg.h.

Referenced by init_input_filter(), send_filter_eof(), send_frame_to_filters(), sub2video_flush(), sub2video_heartbeat(), sub2video_push_ref(), transcode_init(), and transcode_subtitles().

int InputStream::reinit_filters

Definition at line 357 of file ffmpeg.h.

Referenced by add_input_streams().

enum HWAccelID InputStream::hwaccel_id

Definition at line 360 of file ffmpeg.h.

Referenced by add_input_streams(), dxva2_alloc(), dxva2_create_decoder(), dxva2_get_decoder_configuration(), dxva2_init(), get_format(), vaapi_decode_init(), vdpau_alloc(), videotoolbox_init(), and videotoolbox_uninit().

char* InputStream::hwaccel_device

Definition at line 361 of file ffmpeg.h.

Referenced by add_input_streams(), cuvid_init(), dxva2_alloc(), ffmpeg_cleanup(), qsv_device_init(), vaapi_decode_init(), and vdpau_alloc().

enum AVPixelFormat InputStream::hwaccel_output_format

Definition at line 362 of file ffmpeg.h.

Referenced by add_input_streams(), and vaapi_decode_init().

enum HWAccelID InputStream::active_hwaccel_id

Definition at line 365 of file ffmpeg.h.

Referenced by get_format().

void* InputStream::hwaccel_ctx

Definition at line 366 of file ffmpeg.h.

Referenced by dxva2_alloc(), dxva2_create_decoder(), dxva2_get_buffer(), dxva2_get_decoder_configuration(), dxva2_init(), dxva2_retrieve_data(), dxva2_uninit(), vaapi_decode_init(), vaapi_decode_uninit(), vaapi_get_buffer(), vaapi_retrieve_data(), vdpau_alloc(), vdpau_get_buffer(), vdpau_init(), vdpau_retrieve_data(), vdpau_uninit(), videotoolbox_init(), videotoolbox_retrieve_data(), and videotoolbox_uninit().

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

Definition at line 367 of file ffmpeg.h.

Referenced by cuvid_init(), dxva2_alloc(), dxva2_uninit(), qsv_init(), transcode(), vaapi_decode_init(), vaapi_decode_uninit(), vdpau_alloc(), vdpau_uninit(), videotoolbox_init(), and videotoolbox_uninit().

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

Definition at line 368 of file ffmpeg.h.

Referenced by dxva2_alloc(), dxva2_uninit(), get_buffer(), qsv_init(), vaapi_decode_init(), vaapi_decode_uninit(), vdpau_alloc(), vdpau_init(), and vdpau_uninit().

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

Definition at line 369 of file ffmpeg.h.

Referenced by decode_video(), dxva2_alloc(), dxva2_uninit(), vaapi_decode_init(), vaapi_decode_uninit(), vdpau_alloc(), vdpau_init(), vdpau_uninit(), videotoolbox_init(), and videotoolbox_uninit().

enum AVPixelFormat InputStream::hwaccel_pix_fmt

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

Referenced by decode_video().

AVBufferRef* InputStream::hw_frames_ctx

Definition at line 372 of file ffmpeg.h.

Referenced by cuvid_init(), cuvid_uninit(), get_format(), qsv_get_buffer(), qsv_init(), qsv_uninit(), vaapi_decode_init(), and vaapi_decode_uninit().

uint64_t InputStream::data_size

Definition at line 376 of file ffmpeg.h.

Referenced by print_final_stats(), and process_input().

uint64_t InputStream::nb_packets

Definition at line 378 of file ffmpeg.h.

Referenced by print_final_stats(), and process_input().

uint64_t InputStream::frames_decoded

Definition at line 380 of file ffmpeg.h.

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

uint64_t InputStream::samples_decoded

Definition at line 381 of file ffmpeg.h.

Referenced by decode_audio(), and print_final_stats().

int64_t* InputStream::dts_buffer

Definition at line 383 of file ffmpeg.h.

Referenced by decode_video(), and ffmpeg_cleanup().

int InputStream::nb_dts_buffer

Definition at line 384 of file ffmpeg.h.

Referenced by decode_video().


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

Generated on Fri Jan 12 2018 01:46:25 for FFmpeg by   doxygen 1.8.6

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