Home
last modified time | relevance | path

Searched refs:AVFormatContext (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/third_party/ffmpeg/libavformat/
Davformat.h319 struct AVFormatContext;
545 int (*write_header)(struct AVFormatContext *);
553 int (*write_packet)(struct AVFormatContext *, AVPacket *pkt);
554 int (*write_trailer)(struct AVFormatContext *);
559 int (*interleave_packet)(struct AVFormatContext *, AVPacket *out,
570 void (*get_output_timestamp)(struct AVFormatContext *s, int stream,
575 int (*control_message)(struct AVFormatContext *s, int type,
586 int (*write_uncoded_frame)(struct AVFormatContext *, int stream_index,
592 int (*get_device_list)(struct AVFormatContext *s, struct AVDeviceInfoList *device_list);
598 …int (*create_device_capabilities)(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *cap…
[all …]
Dinternal.h394 int ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
395 int (*compare)(AVFormatContext *, const AVPacket *, const AVPacket *));
397 void ff_read_frame_flush(AVFormatContext *s);
433 int port, int ttl, AVFormatContext *fmt);
447 int ff_write_chained(AVFormatContext *dst, int dst_stream, AVPacket *pkt,
448 AVFormatContext *src, int interleave);
529 int ff_find_stream_index(AVFormatContext *s, int id);
545 void ff_configure_buffers_for_index(AVFormatContext *s, int64_t time_tolerance);
559 AVChapter *avpriv_new_chapter(AVFormatContext *s, int id, AVRational time_base,
561 AVChapter *avpriv_new_chapter(AVFormatContext *s, int64_t id, AVRational time_base,
[all …]
Drtsp.h316 AVFormatContext *asf_ctx;
488 void ff_rtsp_parse_line(AVFormatContext *s,
497 int ff_rtsp_send_cmd_async(AVFormatContext *s, const char *method,
516 int ff_rtsp_send_cmd_with_content(AVFormatContext *s,
529 int ff_rtsp_send_cmd(AVFormatContext *s, const char *method,
556 int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
563 void ff_rtsp_skip_packet(AVFormatContext *s);
574 int ff_rtsp_connect(AVFormatContext *s);
581 void ff_rtsp_close_streams(AVFormatContext *s);
588 void ff_rtsp_close_connections(AVFormatContext *s);
[all …]
Drtpenc.h29 AVFormatContext *ic;
82 void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m);
84 void ff_rtp_send_h264_hevc(AVFormatContext *s1, const uint8_t *buf1, int size);
85 void ff_rtp_send_h261(AVFormatContext *s1, const uint8_t *buf1, int size);
86 void ff_rtp_send_h263(AVFormatContext *s1, const uint8_t *buf1, int size);
87 void ff_rtp_send_h263_rfc2190(AVFormatContext *s1, const uint8_t *buf1, int size,
89 void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size);
90 void ff_rtp_send_latm(AVFormatContext *s1, const uint8_t *buff, int size);
91 void ff_rtp_send_amr(AVFormatContext *s1, const uint8_t *buff, int size);
92 void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size);
[all …]
Doptions.c39 AVFormatContext* fc = (AVFormatContext*) ptr; in format_to_name()
47 AVFormatContext *s = obj; in format_child_next()
150 AVFormatContext* s = ptr; in get_category()
169 static int io_open_default(AVFormatContext *s, AVIOContext **pb, in io_open_default()
194 static void io_close_default(AVFormatContext *s, AVIOContext *pb) in io_close_default()
199 static void avformat_get_context_defaults(AVFormatContext *s) in avformat_get_context_defaults()
201 memset(s, 0, sizeof(AVFormatContext)); in avformat_get_context_defaults()
211 AVFormatContext *avformat_alloc_context(void) in avformat_alloc_context()
213 AVFormatContext *ic; in avformat_alloc_context()
215 ic = av_malloc(sizeof(AVFormatContext)); in avformat_alloc_context()
[all …]
Dwebm_chunk.c46 AVFormatContext *avf;
50 static int webm_chunk_init(AVFormatContext *s) in webm_chunk_init()
54 AVFormatContext *oc; in webm_chunk_init()
141 static int get_chunk_filename(AVFormatContext *s, char filename[MAX_FILENAME_SIZE]) in get_chunk_filename()
155 static int webm_chunk_write_header(AVFormatContext *s) in webm_chunk_write_header()
158 AVFormatContext *oc = wc->avf; in webm_chunk_write_header()
169 static int chunk_start(AVFormatContext *s) in chunk_start()
172 AVFormatContext *oc = wc->avf; in chunk_start()
182 static int chunk_end(AVFormatContext *s, int flush) in chunk_end()
185 AVFormatContext *oc = wc->avf; in chunk_end()
[all …]
Dfifo.c38 AVFormatContext *avf;
88 AVFormatContext *avf;
124 AVFormatContext *avf = ctx->avf; in fifo_thread_write_header()
126 AVFormatContext *avf2 = fifo->avf; in fifo_thread_write_header()
163 AVFormatContext *avf = ctx->avf; in fifo_thread_flush_output()
165 AVFormatContext *avf2 = fifo->avf; in fifo_thread_flush_output()
170 static int64_t next_duration(AVFormatContext *avf, AVPacket *pkt, int64_t *last_dts) in next_duration()
181 AVFormatContext *avf = ctx->avf; in fifo_thread_write_packet()
183 AVFormatContext *avf2 = fifo->avf; in fifo_thread_write_packet()
214 AVFormatContext *avf = ctx->avf; in fifo_thread_write_trailer()
[all …]
Did3v2.h128 void ff_id3v2_read(AVFormatContext *s, const char *magic, ID3v2ExtraMeta **extra_meta,
140 int ff_id3v2_write_metadata(AVFormatContext *s, ID3v2EncContext *id3);
145 int ff_id3v2_write_apic(AVFormatContext *s, ID3v2EncContext *id3, AVPacket *pkt);
158 int ff_id3v2_write_simple(struct AVFormatContext *s, int id3v2_version, const char *magic);
170 int ff_id3v2_parse_apic(AVFormatContext *s, ID3v2ExtraMeta *extra_meta);
175 int ff_id3v2_parse_chapters(AVFormatContext *s, ID3v2ExtraMeta *extra_meta);
188 int ff_id3v2_parse_priv(AVFormatContext *s, ID3v2ExtraMeta *extra_meta);
Doggdec.h41 int (*header)(AVFormatContext *, int);
42 int (*packet)(AVFormatContext *, int);
48 uint64_t (*gptopts)(AVFormatContext *, int, uint64_t, int64_t *dts);
58 void (*cleanup)(AVFormatContext *s, int idx);
133 int ff_vorbis_comment(AVFormatContext *ms, AVDictionary **m,
136 int ff_vorbis_stream_comment(AVFormatContext *as, AVStream *st,
152 ogg_gptopts (AVFormatContext * s, int i, uint64_t gp, int64_t *dts) in ogg_gptopts()
Drtspenc.c45 int ff_rtsp_setup_output_streams(AVFormatContext *s, const char *addr) in ff_rtsp_setup_output_streams()
51 AVFormatContext sdp_ctx, *ctx_array[1]; in ff_rtsp_setup_output_streams()
110 static int rtsp_write_record(AVFormatContext *s) in rtsp_write_record()
125 static int rtsp_write_header(AVFormatContext *s) in rtsp_write_header()
141 int ff_rtsp_tcp_write_packet(AVFormatContext *s, RTSPStream *rtsp_st) in ff_rtsp_tcp_write_packet()
144 AVFormatContext *rtpctx = rtsp_st->transport_priv; in ff_rtsp_tcp_write_packet()
180 static int rtsp_write_packet(AVFormatContext *s, AVPacket *pkt) in rtsp_write_packet()
186 AVFormatContext *rtpctx; in rtsp_write_packet()
226 static int rtsp_write_close(AVFormatContext *s) in rtsp_write_close()
Drtpdec.h43 RTPDemuxContext *ff_rtp_parse_open(AVFormatContext *s1, AVStream *st,
108 typedef int (*DynamicPayloadPacketHandlerProc)(AVFormatContext *ctx,
126 int (*init)(AVFormatContext *s, int st_index, PayloadContext *priv_data);
128 int (*parse_sdp_a_line)(AVFormatContext *s, int st_index,
148 AVFormatContext *ic;
223 int ff_parse_fmtp(AVFormatContext *s,
225 int (*parse_fmtp)(AVFormatContext *s,
Dmux.c90 AVRational ff_choose_timebase(AVFormatContext *s, AVStream *st, int min_precision) in ff_choose_timebase()
106 enum AVChromaLocation ff_choose_chroma_location(AVFormatContext *s, AVStream *st) in ff_choose_chroma_location()
136 int avformat_alloc_output_context2(AVFormatContext **avctx, ff_const59 AVOutputFormat *oformat, in avformat_alloc_output_context2()
139 AVFormatContext *s = avformat_alloc_context(); in avformat_alloc_output_context2()
197 static int validate_codec_tag(AVFormatContext *s, AVStream *st) in validate_codec_tag()
231 static int init_muxer(AVFormatContext *s, AVDictionary **options)
423 static int init_pts(AVFormatContext *s)
468 static void flush_if_needed(AVFormatContext *s)
478 static void deinit_muxer(AVFormatContext *s)
486 int avformat_init_output(AVFormatContext *s, AVDictionary **options)
[all …]
Drawdec.h46 int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt);
48 int ff_raw_audio_read_header(AVFormatContext *s);
50 int ff_raw_video_read_header(AVFormatContext *s);
52 int ff_raw_subtitle_read_header(AVFormatContext *s);
54 int ff_raw_data_read_header(AVFormatContext *s);
Daptxdec.c37 static AVStream *aptx_read_header_common(AVFormatContext *s) in aptx_read_header_common()
51 static int aptx_read_header(AVFormatContext *s) in aptx_read_header()
63 static int aptx_hd_read_header(AVFormatContext *s) in aptx_hd_read_header()
75 static int aptx_read_packet(AVFormatContext *s, AVPacket *pkt) in aptx_read_packet()
80 static int aptx_hd_read_packet(AVFormatContext *s, AVPacket *pkt) in aptx_hd_read_packet()
Dcodec2.c65 static int codec2_mode_frame_size(AVFormatContext *s, int mode) in codec2_mode_frame_size()
88 static int codec2_mode_block_align(AVFormatContext *s, int mode) in codec2_mode_block_align()
112 static int codec2_mode_bit_rate(AVFormatContext *s, int mode) in codec2_mode_bit_rate()
124 static int codec2_read_header_common(AVFormatContext *s, AVStream *st) in codec2_read_header_common()
149 static int codec2_read_header(AVFormatContext *s) in codec2_read_header()
184 static int codec2_read_packet(AVFormatContext *s, AVPacket *pkt) in codec2_read_packet()
212 static int codec2_write_header(AVFormatContext *s) in codec2_write_header()
235 static int codec2raw_read_header(AVFormatContext *s) in codec2raw_read_header()
Dttaenc.c39 static int tta_init(AVFormatContext *s) in tta_init()
70 static int tta_write_header(AVFormatContext *s) in tta_write_header()
92 static int tta_write_packet(AVFormatContext *s, AVPacket *pkt) in tta_write_packet()
123 static void tta_queue_flush(AVFormatContext *s) in tta_queue_flush()
135 static int tta_write_trailer(AVFormatContext *s) in tta_write_trailer()
160 static void tta_deinit(AVFormatContext *s) in tta_deinit()
Dkvag.c47 static int kvag_read_header(AVFormatContext *s) in kvag_read_header()
98 static int kvag_read_packet(AVFormatContext *s, AVPacket *pkt) in kvag_read_packet()
113 static int kvag_seek(AVFormatContext *s, int stream_index, in kvag_seek()
133 static int kvag_write_init(AVFormatContext *s) in kvag_write_init()
163 static int kvag_write_header(AVFormatContext *s) in kvag_write_header()
177 static int kvag_write_trailer(AVFormatContext *s) in kvag_write_trailer()
Dmxfenc.c108 void (*write_desc)(AVFormatContext *, AVStream *);
147 static void mxf_write_wav_desc(AVFormatContext *s, AVStream *st);
148 static void mxf_write_aes3_desc(AVFormatContext *s, AVStream *st);
149 static void mxf_write_mpegvideo_desc(AVFormatContext *s, AVStream *st);
150 static void mxf_write_h264_desc(AVFormatContext *s, AVStream *st);
151 static void mxf_write_cdci_desc(AVFormatContext *s, AVStream *st);
152 static void mxf_write_generic_sound_desc(AVFormatContext *s, AVStream *st);
153 static void mxf_write_s436m_anc_desc(AVFormatContext *s, AVStream *st);
433 static void mxf_write_umid(AVFormatContext *s, int type) in mxf_write_umid()
518 static void mxf_write_primer_pack(AVFormatContext *s) in mxf_write_primer_pack()
[all …]
Dwebmdashenc.c66 static double get_duration(AVFormatContext *s) in get_duration()
79 static int write_header(AVFormatContext *s) in write_header()
122 static void write_footer(AVFormatContext *s) in write_footer()
127 static int subsegment_alignment(AVFormatContext *s, const AdaptationSet *as) in subsegment_alignment()
141 static int bitstream_switching(AVFormatContext *s, const AdaptationSet *as) in bitstream_switching()
170 static int write_representation(AVFormatContext *s, AVStream *st, char *id, in write_representation()
227 static int check_matching_width(AVFormatContext *s, const AdaptationSet *as) in check_matching_width()
241 static int check_matching_height(AVFormatContext *s, const AdaptationSet *as) in check_matching_height()
255 static int check_matching_sample_rate(AVFormatContext *s, const AdaptationSet *as) in check_matching_sample_rate()
266 static void free_adaptation_sets(AVFormatContext *s) in free_adaptation_sets()
[all …]
/third_party/ffmpeg/libavdevice/
Ddecklink_common.h84 AVFormatContext *avctx;
203 int ff_decklink_set_configs(AVFormatContext *avctx, decklink_direction_t direction);
204 int ff_decklink_set_format(AVFormatContext *avctx, int width, int height, int tb_num, int tb_den, e…
205 int ff_decklink_set_format(AVFormatContext *avctx, decklink_direction_t direction);
206 int ff_decklink_list_devices(AVFormatContext *avctx, struct AVDeviceInfoList *device_list, int show…
207 void ff_decklink_list_devices_legacy(AVFormatContext *avctx, int show_inputs, int show_outputs);
208 int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direction = DIRECTION_OUT…
209 void ff_decklink_cleanup(AVFormatContext *avctx);
210 int ff_decklink_init_device(AVFormatContext *avctx, const char* name);
Davdevice.c53 int avdevice_app_to_dev_control_message(struct AVFormatContext *s, enum AVAppToDevMessageType type, in avdevice_app_to_dev_control_message()
61 int avdevice_dev_to_app_control_message(struct AVFormatContext *s, enum AVDevToAppMessageType type, in avdevice_dev_to_app_control_message()
70 int avdevice_capabilities_create(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s, in avdevice_capabilities_create()
76 void avdevice_capabilities_free(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s) in avdevice_capabilities_free()
82 int avdevice_list_devices(AVFormatContext *s, AVDeviceInfoList **device_list) in avdevice_list_devices()
107 static int list_devices_for_context(AVFormatContext *s, AVDictionary *options, in list_devices_for_context()
126 AVFormatContext *s = NULL; in avdevice_list_input_sources()
137 AVFormatContext *s = NULL; in avdevice_list_output_sinks()
Davdevice.h306 int avdevice_app_to_dev_control_message(struct AVFormatContext *s,
320 int avdevice_dev_to_app_control_message(struct AVFormatContext *s,
403 AVFormatContext *device_context;
441 int avdevice_capabilities_create(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s,
451 void avdevice_capabilities_free(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s);
484 int avdevice_list_devices(struct AVFormatContext *s, AVDeviceInfoList **device_list);
Ddecklink_dec.h29 int ff_decklink_read_header(AVFormatContext *avctx);
30 int ff_decklink_read_packet(AVFormatContext *avctx, AVPacket *pkt);
31 int ff_decklink_read_close(AVFormatContext *avctx);
32 int ff_decklink_list_input_devices(AVFormatContext *avctx, struct AVDeviceInfoList *device_list);
Ddecklink_enc.h29 int ff_decklink_write_header(AVFormatContext *avctx);
30 int ff_decklink_write_packet(AVFormatContext *avctx, AVPacket *pkt);
31 int ff_decklink_write_trailer(AVFormatContext *avctx);
32 int ff_decklink_list_output_devices(AVFormatContext *avctx, struct AVDeviceInfoList *device_list);
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DFFMpegExtractor.h39 static bool createAVFormatContext(AVIOContext *avioContext, AVFormatContext **avFormatContext);
41 static bool openAVFormatContext(AVFormatContext *avFormatContext);
43 static int32_t cleanup(AVIOContext *avioContext, AVFormatContext *avFormatContext);
45 static bool getStreamInfo(AVFormatContext *avFormatContext);
47 static AVStream *getBestAudioStream(AVFormatContext *avFormatContext);

12345678910>>...22