38#define FF_OFMT_FLAG_ALLOW_FLUSH (1 << 1)
50#define FF_OFMT_FLAG_MAX_ONE_OF_EACH (1 << 2)
59#define FF_OFMT_FLAG_ONLY_DEFAULT_CODECS (1 << 3)
103 int flush,
int has_packet);
119 void *
data,
size_t data_size);
185 int flush,
int has_packet);
192 int flush,
int has_packet);
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
#define flags(name, subs,...)
void(* flush)(AVBSFContext *ctx)
AVCodecID
Identify the syntax and semantics of the bitstream.
int ff_format_output_open(AVFormatContext *s, const char *url, AVDictionary **options)
Utility function to open IO stream of output format.
const AVPacket * ff_interleaved_peek(AVFormatContext *s, int stream)
Find the next packet in the interleaving queue for the given stream.
int ff_interleave_packet_passthrough(AVFormatContext *s, AVPacket *pkt, int flush, int has_packet)
Interleave packets directly in the order in which they arrive without any sort of buffering.
int ff_write_chained(AVFormatContext *dst, int dst_stream, AVPacket *pkt, AVFormatContext *src, int interleave)
Write a packet to another muxer than the one the user originally intended.
int ff_format_shift_data(AVFormatContext *s, int64_t read_start, int shift_size)
Make shift_size amount of space at read_start by shifting data in the output at read_start until the ...
int ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt, int(*compare)(AVFormatContext *, const AVPacket *, const AVPacket *))
Add packet to an AVFormatContext's packet_buffer list, determining its interleaved position using com...
AVWriteUncodedFrameFlags
Flags for AVFormatContext.write_uncoded_frame()
@ AV_WRITE_UNCODED_FRAME_QUERY
Query whether the feature is possible on this stream.
int ff_parse_creation_time_metadata(AVFormatContext *s, int64_t *timestamp, int return_seconds)
Parse creation_time in AVFormatContext metadata if exists and warn if the parsing fails.
int ff_standardize_creation_time(AVFormatContext *s)
Standardize creation_time metadata in AVFormatContext to an ISO-8601 timestamp string.
int ff_stream_add_bitstream_filter(AVStream *st, const char *name, const char *args)
Add a bitstream filter to a stream.
int ff_get_muxer_ts_offset(AVFormatContext *s, int stream_index, int64_t *offset)
static const FFOutputFormat * ffofmt(const AVOutputFormat *fmt)
int ff_interleave_packet_per_dts(AVFormatContext *s, AVPacket *pkt, int flush, int has_packet)
Interleave an AVPacket per dts so it can be muxed.
This structure describes decoded (raw) audio or video data.
This structure stores compressed data.
static float compare(const AVFrame *haystack, const AVFrame *obj, int offx, int offy)
static void interleave(uint8_t *dst, uint8_t *src, int w, int h, int dst_linesize, int src_linesize, enum FilterMode mode, int swap)