FFmpeg
Data Fields
FormatContextInternal Struct Reference

#include <avformat_internal.h>

Data Fields

FFFormatContext fc
 
union {
   struct {
      int   initialized
 Whether or not avformat_init_output has already been called. More...
 
      int   streams_initialized
 Whether or not avformat_init_output fully initialized streams. More...
 
      int   nb_interleaved_streams
 Number of streams relevant for interleaving. More...
 
      int(*   interleave_packet )(struct AVFormatContext *s,
         AVPacket *pkt, int flush, int
         has_packet)
 The interleavement function in use. More...
 
   } 
 
   struct {
      PacketList   raw_packet_buffer
 Raw packets from the demuxer, prior to parsing and decoding. More...
 
      int   raw_packet_buffer_size
 Sum of the size of packets in raw_packet_buffer, in bytes. More...
 
      PacketList   parse_queue
 Packets split by the parser get queued here. More...
 
      int   metafree
 Contexts and child contexts do not contain a metadata option. More...
 
      int   chapter_ids_monotonic
 Set if chapter ids are strictly monotonic. More...
 
   } 
 
}; 
 

Detailed Description

Definition at line 33 of file avformat_internal.h.

Field Documentation

◆ fc

FFFormatContext FormatContextInternal::fc

◆ initialized

int FormatContextInternal::initialized

Whether or not avformat_init_output has already been called.

Definition at line 42 of file avformat_internal.h.

Referenced by avformat_free_context(), avformat_init_output(), avformat_write_header(), and deinit_muxer().

◆ streams_initialized

int FormatContextInternal::streams_initialized

Whether or not avformat_init_output fully initialized streams.

Definition at line 47 of file avformat_internal.h.

Referenced by avformat_init_output(), avformat_write_header(), and deinit_muxer().

◆ nb_interleaved_streams

int FormatContextInternal::nb_interleaved_streams

Number of streams relevant for interleaving.

Muxing only.

Definition at line 54 of file avformat_internal.h.

Referenced by ff_interleave_packet_per_dts(), and init_muxer().

◆ interleave_packet

int(* FormatContextInternal::interleave_packet) (struct AVFormatContext *s, AVPacket *pkt, int flush, int has_packet)

The interleavement function in use.

Always set.

Definition at line 59 of file avformat_internal.h.

Referenced by init_muxer(), and interleaved_write_packet().

◆ raw_packet_buffer

PacketList FormatContextInternal::raw_packet_buffer

Raw packets from the demuxer, prior to parsing and decoding.

This buffer is used for buffering packets until the codec can be identified, as parsing cannot be done without knowing the codec.

Definition at line 75 of file avformat_internal.h.

Referenced by avformat_queue_attached_pictures(), ff_flush_packet_queue(), ff_read_packet(), and handle_new_packet().

◆ raw_packet_buffer_size

int FormatContextInternal::raw_packet_buffer_size

Sum of the size of packets in raw_packet_buffer, in bytes.

Definition at line 80 of file avformat_internal.h.

Referenced by avformat_open_input(), ff_flush_packet_queue(), ff_read_packet(), handle_new_packet(), and probe_codec().

◆ parse_queue

PacketList FormatContextInternal::parse_queue

◆ metafree

int FormatContextInternal::metafree

Contexts and child contexts do not contain a metadata option.

Definition at line 90 of file avformat_internal.h.

Referenced by read_frame_internal().

◆ chapter_ids_monotonic

int FormatContextInternal::chapter_ids_monotonic

Set if chapter ids are strictly monotonic.

Definition at line 95 of file avformat_internal.h.

Referenced by avpriv_new_chapter().

◆ @367

union { ... }

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