FFmpeg
Data Structures | Macros | Functions
avformat_internal.h File Reference
#include <stdint.h>
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

 
struct   FFStreamGroup
 

Macros

#define  RELATIVE_TS_BASE   (INT64_MAX - (1LL << 48))
 

Functions

 
 
int64_t  ff_wrap_timestamp (const AVStream *st, int64_t timestamp)
  Wrap a given time stamp, if there is an indication for an overflow. More...
 
 
 
 
const struct AVCodecff_find_decoder (AVFormatContext *s, const AVStream *st, enum AVCodecID codec_id)
 
void  ff_free_stream (AVStream **st)
  Frees a stream without modifying the corresponding AVFormatContext. More...
 
  Frees a stream group without modifying the corresponding AVFormatContext. More...
 
 
void  avpriv_register_devices (const struct FFOutputFormat *const o[], const struct FFInputFormat *const i[])
 

Macro Definition Documentation

RELATIVE_TS_BASE

#define RELATIVE_TS_BASE   (INT64_MAX - (1LL << 48))

Definition at line 105 of file avformat_internal.h.

Function Documentation

ff_fc_internal()

static av_always_inline FormatContextInternal* ff_fc_internal ( AVFormatContexts )
static

Definition at line 100 of file avformat_internal.h.

Referenced by avformat_free_context(), avformat_init_output(), avformat_open_input(), avformat_queue_attached_pictures(), avformat_write_header(), avpriv_new_chapter(), compute_muxer_pkt_fields(), compute_pkt_fields(), deinit_muxer(), ff_flush_packet_queue(), ff_interleave_packet_per_dts(), ff_read_packet(), get_next_pkt(), handle_new_packet(), init_muxer(), interleaved_write_packet(), parse_packet(), probe_codec(), read_frame_internal(), update_initial_durations(), and update_initial_timestamps().

is_relative()

static av_always_inline int is_relative ( int64_t  ts )
static

Definition at line 107 of file avformat_internal.h.

Referenced by av_read_frame(), compute_pkt_fields(), ff_add_index_entry(), ff_rfps_add_frame(), read_frame_internal(), update_initial_timestamps(), and update_timestamps().

ff_wrap_timestamp()

int64_t ff_wrap_timestamp ( const AVStreamst,
int64_t  timestamp 
)

Wrap a given time stamp, if there is an indication for an overflow.

Parameters
st stream
timestamp the time stamp to wrap
Returns
resulting time stamp

Definition at line 68 of file demux.c.

Referenced by av_add_index_entry(), and read_timestamp().

ffstreamgroup()

static av_always_inline FFStreamGroup* ffstreamgroup ( AVStreamGroupstg )
static

Definition at line 130 of file avformat_internal.h.

cffstreamgroup()

static const av_always_inline FFStreamGroup* cffstreamgroup ( const AVStreamGroupstg )
static

Definition at line 135 of file avformat_internal.h.

Referenced by avformat_stream_group_add_stream().

ff_flush_packet_queue()

void ff_flush_packet_queue ( AVFormatContexts )

Definition at line 130 of file avformat.c.

Referenced by avformat_free_context(), estimate_timings_from_pts(), and ff_read_frame_flush().

ff_find_decoder()

const struct AVCodec* ff_find_decoder ( AVFormatContexts,
const AVStreamst,
enum AVCodecID  codec_id 
)

Definition at line 804 of file avformat.c.

Referenced by av_find_best_stream(), and find_probe_decoder().

ff_free_stream()

void ff_free_stream ( AVStream **  st )

Frees a stream without modifying the corresponding AVFormatContext.

Must only be called if the latter doesn't matter or if the stream is not yet attached to an AVFormatContext.

Definition at line 45 of file avformat.c.

Referenced by avformat_free_context(), avformat_new_stream(), and ff_remove_stream().

ff_free_stream_group()

void ff_free_stream_group ( AVStreamGroup **  pstg )

Frees a stream group without modifying the corresponding AVFormatContext.

Must only be called if the latter doesn't matter or if the stream is not yet attached to an AVFormatContext.

Definition at line 76 of file avformat.c.

Referenced by avformat_free_context(), avformat_stream_group_create(), and ff_remove_stream_group().

ff_is_intra_only()

int ff_is_intra_only ( enum AVCodecID  id )

Definition at line 850 of file avformat.c.

Referenced by compute_pkt_fields(), and init_muxer().

avpriv_register_devices()

void avpriv_register_devices ( const struct FFOutputFormat *const  o[],
const struct FFInputFormat *const  i[] 
)

Generated on Tue Nov 18 2025 19:24:11 for FFmpeg by   doxygen 1.8.17

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