Home
last modified time | relevance | path

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

12345678910>>...22

/third_party/ffmpeg/libavformat/
Davformat.h330 struct AVFormatContext;
557 int (*write_header)(struct AVFormatContext *);
565 int (*write_packet)(struct AVFormatContext *, AVPacket *pkt);
566 int (*write_trailer)(struct AVFormatContext *);
583 int (*interleave_packet)(struct AVFormatContext *s, AVPacket *pkt,
594 void (*get_output_timestamp)(struct AVFormatContext *s, int stream,
599 int (*control_message)(struct AVFormatContext *s, int type,
610 int (*write_uncoded_frame)(struct AVFormatContext *, int stream_index,
616 int (*get_device_list)(struct AVFormatContext *s, struct AVDeviceInfoList *device_list);
627 int (*init)(struct AVFormatContext *);
[all …]
Drtsp.h314 AVFormatContext *asf_ctx;
487 void ff_rtsp_parse_line(AVFormatContext *s,
496 int ff_rtsp_send_cmd_async(AVFormatContext *s, const char *method,
515 int ff_rtsp_send_cmd_with_content(AVFormatContext *s,
528 int ff_rtsp_send_cmd(AVFormatContext *s, const char *method,
555 int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
564 int ff_rtsp_skip_packet(AVFormatContext *s);
575 int ff_rtsp_connect(AVFormatContext *s);
582 void ff_rtsp_close_streams(AVFormatContext *s);
589 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 …]
Dmux.h33 int ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
34 int (*compare)(AVFormatContext *, const AVPacket *, const AVPacket *));
40 int ff_interleave_packet_per_dts(AVFormatContext *s, AVPacket *pkt,
47 int ff_interleave_packet_passthrough(AVFormatContext *s, AVPacket *pkt,
55 const AVPacket *ff_interleaved_peek(AVFormatContext *s, int stream);
57 int ff_get_muxer_ts_offset(AVFormatContext *s, int stream_index, int64_t *offset);
83 int ff_write_chained(AVFormatContext *dst, int dst_stream, AVPacket *pkt,
84 AVFormatContext *src, int interleave);
104 int ff_format_shift_data(AVFormatContext *s, int64_t read_start, int shift_size);
114 int ff_format_output_open(AVFormatContext *s, const char *url, AVDictionary **options);
[all …]
Ddemux.h87 int ff_read_packet(AVFormatContext *s, AVPacket *pkt);
89 void ff_read_frame_flush(AVFormatContext *s);
98 int ff_seek_frame_binary(AVFormatContext *s, int stream_index,
109 void avpriv_update_cur_dts(AVFormatContext *s, AVStream *ref_st, int64_t timestamp);
111 int ff_find_last_ts(AVFormatContext *s, int stream_index, int64_t *ts, int64_t *pos,
112 int64_t (*read_timestamp)(struct AVFormatContext *, int , int64_t *, int64_t ));
120 int64_t ff_gen_search(AVFormatContext *s, int stream_index,
125 … int64_t (*read_timestamp)(struct AVFormatContext *, int , int64_t *, int64_t ));
141 void ff_configure_buffers_for_index(AVFormatContext *s, int64_t time_tolerance);
148 void ff_reduce_index(AVFormatContext *s, int stream_index);
[all …]
Dinternal.h76 AVFormatContext pub;
98 int (*interleave_packet)(struct AVFormatContext *s, AVPacket *pkt,
192 static av_always_inline FFFormatContext *ffformatcontext(AVFormatContext *s) in ffformatcontext()
433 void ff_flush_packet_queue(AVFormatContext *s);
509 int port, int ttl, AVFormatContext *fmt);
562 const AVCodec *ff_find_decoder(AVFormatContext *s, const AVStream *st,
584 int ff_framehash_write_header(AVFormatContext *s);
596 void ff_remove_stream(AVFormatContext *s, AVStream *st);
651 int ff_copy_whiteblacklists(AVFormatContext *dst, const AVFormatContext *src);
661 int ff_format_io_close(AVFormatContext *s, AVIOContext **pb);
[all …]
Dwebm_chunk.c47 AVFormatContext *avf;
51 static int webm_chunk_init(AVFormatContext *s) in webm_chunk_init()
55 AVFormatContext *oc; in webm_chunk_init()
136 static int get_chunk_filename(AVFormatContext *s, char filename[MAX_FILENAME_SIZE]) in get_chunk_filename()
150 static int webm_chunk_write_header(AVFormatContext *s) in webm_chunk_write_header()
153 AVFormatContext *oc = wc->avf; in webm_chunk_write_header()
164 static int chunk_start(AVFormatContext *s) in chunk_start()
167 AVFormatContext *oc = wc->avf; in chunk_start()
177 static int chunk_end(AVFormatContext *s, int flush) in chunk_end()
180 AVFormatContext *oc = wc->avf; in chunk_end()
[all …]
Dfifo.c39 AVFormatContext *avf;
89 AVFormatContext *avf;
125 AVFormatContext *avf = ctx->avf; in fifo_thread_write_header()
127 AVFormatContext *avf2 = fifo->avf; in fifo_thread_write_header()
164 AVFormatContext *avf = ctx->avf; in fifo_thread_flush_output()
166 AVFormatContext *avf2 = fifo->avf; in fifo_thread_flush_output()
171 static int64_t next_duration(AVFormatContext *avf, AVPacket *pkt, int64_t *last_dts) in next_duration()
182 AVFormatContext *avf = ctx->avf; in fifo_thread_write_packet()
184 AVFormatContext *avf2 = fifo->avf; in fifo_thread_write_packet()
225 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);
Drtspenc.c46 int ff_rtsp_setup_output_streams(AVFormatContext *s, const char *addr) in ff_rtsp_setup_output_streams()
52 AVFormatContext sdp_ctx, *ctx_array[1]; in ff_rtsp_setup_output_streams()
111 static int rtsp_write_record(AVFormatContext *s) in rtsp_write_record()
126 static int rtsp_write_header(AVFormatContext *s) in rtsp_write_header()
142 int ff_rtsp_tcp_write_packet(AVFormatContext *s, RTSPStream *rtsp_st) in ff_rtsp_tcp_write_packet()
145 AVFormatContext *rtpctx = rtsp_st->transport_priv; in ff_rtsp_tcp_write_packet()
181 static int rtsp_write_packet(AVFormatContext *s, AVPacket *pkt) in rtsp_write_packet()
187 AVFormatContext *rtpctx; in rtsp_write_packet()
230 static int rtsp_write_close(AVFormatContext *s) in rtsp_write_close()
Doggdec.h40 int (*header)(AVFormatContext *, int);
41 int (*packet)(AVFormatContext *, int);
47 uint64_t (*gptopts)(AVFormatContext *, int, uint64_t, int64_t *dts);
57 void (*cleanup)(AVFormatContext *s, int idx);
140 int ff_vorbis_comment(AVFormatContext *ms, AVDictionary **m,
151 int ff_vorbis_stream_comment(AVFormatContext *as, AVStream *st,
167 ogg_gptopts (AVFormatContext * s, int i, uint64_t gp, int64_t *dts) in ogg_gptopts()
Doptions.c44 AVFormatContext* fc = (AVFormatContext*) ptr; in format_to_name()
52 AVFormatContext *s = obj; in format_child_next()
120 AVFormatContext* s = ptr; in get_category()
136 static int io_open_default(AVFormatContext *s, AVIOContext **pb, in io_open_default()
154 void ff_format_io_close_default(AVFormatContext *s, AVIOContext *pb) in ff_format_io_close_default()
159 static int io_close2_default(AVFormatContext *s, AVIOContext *pb) in io_close2_default()
164 AVFormatContext *avformat_alloc_context(void) in avformat_alloc_context()
167 AVFormatContext *s; in avformat_alloc_context()
192 enum AVDurationEstimationMethod av_fmt_ctx_get_duration_estimation_method(const AVFormatContext* ct… in av_fmt_ctx_get_duration_estimation_method()
237 AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c) in avformat_new_stream()
Drtpdec.h44 RTPDemuxContext *ff_rtp_parse_open(AVFormatContext *s1, AVStream *st,
109 typedef int (*DynamicPayloadPacketHandlerProc)(AVFormatContext *ctx,
127 int (*init)(AVFormatContext *s, int st_index, PayloadContext *priv_data);
129 int (*parse_sdp_a_line)(AVFormatContext *s, int st_index,
149 AVFormatContext *ic;
214 int ff_parse_fmtp(AVFormatContext *s,
216 int (*parse_fmtp)(AVFormatContext *s,
Dmux.c91 int avformat_alloc_output_context2(AVFormatContext **avctx, const AVOutputFormat *oformat, in avformat_alloc_output_context2()
94 AVFormatContext *s = avformat_alloc_context(); in avformat_alloc_output_context2()
147 static int validate_codec_tag(AVFormatContext *s, AVStream *st) in validate_codec_tag()
180 static int init_muxer(AVFormatContext *s, AVDictionary **options) in init_muxer()
361 static int init_pts(AVFormatContext *s) in init_pts()
409 static void flush_if_needed(AVFormatContext *s) in flush_if_needed()
419 static void deinit_muxer(AVFormatContext *s) in deinit_muxer()
428 int avformat_init_output(AVFormatContext *s, AVDictionary **options) in avformat_init_output()
449 int avformat_write_header(AVFormatContext *s, AVDictionary **options) in avformat_write_header()
491 static int compute_muxer_pkt_fields(AVFormatContext *s, AVStream *st, AVPacket *pkt) in compute_muxer_pkt_fields()
[all …]
Dcodec2.c67 static int codec2_mode_frame_size(AVFormatContext *s, int mode) in codec2_mode_frame_size()
90 static int codec2_mode_block_align(AVFormatContext *s, int mode) in codec2_mode_block_align()
114 static int codec2_mode_bit_rate(AVFormatContext *s, int mode) in codec2_mode_bit_rate()
126 static int codec2_read_header_common(AVFormatContext *s, AVStream *st) in codec2_read_header_common()
150 static int codec2_read_header(AVFormatContext *s) in codec2_read_header()
185 static int codec2_read_packet(AVFormatContext *s, AVPacket *pkt) in codec2_read_packet()
213 static int codec2_write_header(AVFormatContext *s) in codec2_write_header()
236 static int codec2raw_read_header(AVFormatContext *s) in codec2raw_read_header()
Dmxfenc.c107 void (*write_desc)(AVFormatContext *, AVStream *);
146 static void mxf_write_wav_desc(AVFormatContext *s, AVStream *st);
147 static void mxf_write_aes3_desc(AVFormatContext *s, AVStream *st);
148 static void mxf_write_mpegvideo_desc(AVFormatContext *s, AVStream *st);
149 static void mxf_write_h264_desc(AVFormatContext *s, AVStream *st);
150 static void mxf_write_cdci_desc(AVFormatContext *s, AVStream *st);
151 static void mxf_write_generic_sound_desc(AVFormatContext *s, AVStream *st);
152 static void mxf_write_s436m_anc_desc(AVFormatContext *s, AVStream *st);
434 static void mxf_write_umid(AVFormatContext *s, int type) in mxf_write_umid()
520 static void mxf_write_primer_pack(AVFormatContext *s) in mxf_write_primer_pack()
[all …]
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()
/third_party/ffmpeg/libavdevice/
Ddecklink_common.h87 AVFormatContext *avctx;
225 int ff_decklink_set_configs(AVFormatContext *avctx, decklink_direction_t direction);
226 int ff_decklink_set_format(AVFormatContext *avctx, int width, int height, int tb_num, int tb_den, e…
227 int ff_decklink_set_format(AVFormatContext *avctx, decklink_direction_t direction);
228 int ff_decklink_list_devices(AVFormatContext *avctx, struct AVDeviceInfoList *device_list, int show…
229 void ff_decklink_list_devices_legacy(AVFormatContext *avctx, int show_inputs, int show_outputs);
230 int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direction = DIRECTION_OUT…
231 void ff_decklink_cleanup(AVFormatContext *avctx);
232 int ff_decklink_init_device(AVFormatContext *avctx, const char* name);
Davdevice.c29 int avdevice_app_to_dev_control_message(struct AVFormatContext *s, enum AVAppToDevMessageType type, in avdevice_app_to_dev_control_message()
37 int avdevice_dev_to_app_control_message(struct AVFormatContext *s, enum AVDevToAppMessageType type, in avdevice_dev_to_app_control_message()
46 int avdevice_capabilities_create(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s, in avdevice_capabilities_create()
52 void avdevice_capabilities_free(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s) in avdevice_capabilities_free()
58 int avdevice_list_devices(AVFormatContext *s, AVDeviceInfoList **device_list) in avdevice_list_devices()
85 static int list_devices_for_context(AVFormatContext *s, AVDictionary *options, in list_devices_for_context()
104 AVFormatContext *s = NULL; in avdevice_list_input_sources()
115 AVFormatContext *s = NULL; in avdevice_list_output_sinks()
Davdevice.h312 int avdevice_app_to_dev_control_message(struct AVFormatContext *s,
326 int avdevice_dev_to_app_control_message(struct AVFormatContext *s,
409 AVFormatContext *device_context;
447 int avdevice_capabilities_create(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s,
457 void avdevice_capabilities_free(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s);
492 int avdevice_list_devices(struct AVFormatContext *s, AVDeviceInfoList **device_list);
Ddecklink_dec.h31 int ff_decklink_read_header(AVFormatContext *avctx);
32 int ff_decklink_read_packet(AVFormatContext *avctx, AVPacket *pkt);
33 int ff_decklink_read_close(AVFormatContext *avctx);
34 int ff_decklink_list_input_devices(AVFormatContext *avctx, struct AVDeviceInfoList *device_list);
Ddecklink_enc.h31 int ff_decklink_write_header(AVFormatContext *avctx);
32 int ff_decklink_write_packet(AVFormatContext *avctx, AVPacket *pkt);
33 int ff_decklink_write_trailer(AVFormatContext *avctx);
34 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);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
DextFFmpegDemuxer.h83 typedef int (*pFFMpeg_av_find_best_stream) (AVFormatContext *ic,
90 typedef int (*pFFMpeg_av_read_frame)(AVFormatContext *s, AVPacket *pkt);
92 typedef AVFormatContext* (*pFFMpeg_avformat_alloc_context)(void);
96 typedef int (*pFFMpeg_avformat_find_stream_info)(AVFormatContext *ic, AVDictionary **options);
98 typedef int (*pFFMpeg_avformat_open_input)(AVFormatContext **ps, const char *url, const AVInputForm…
100 typedef void (*pFFMpeg_avformat_close_input)(AVFormatContext **s);
126 AVFormatContext *fmtc = NULL;
175 FFmpegDemuxer(AVFormatContext *fmtc_, FFMpegAPI* api_) : fmtc(fmtc_), api(api_) { in FFmpegDemuxer()
260 AVFormatContext *CreateFormatContext(DataProvider *pDataProvider, FFMpegAPI* api_) { in CreateFormatContext()
263 AVFormatContext *ctx = NULL; in CreateFormatContext()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
DextFFmpegDemuxer.h84 typedef int (*pFFMpeg_av_find_best_stream) (AVFormatContext *ic,
91 typedef int (*pFFMpeg_av_read_frame)(AVFormatContext *s, AVPacket *pkt);
93 typedef AVFormatContext* (*pFFMpeg_avformat_alloc_context)(void);
97 typedef int (*pFFMpeg_avformat_find_stream_info)(AVFormatContext *ic, AVDictionary **options);
99 typedef int (*pFFMpeg_avformat_open_input)(AVFormatContext **ps, const char *url, const AVInputForm…
101 typedef void (*pFFMpeg_avformat_close_input)(AVFormatContext **s);
127 AVFormatContext *fmtc = NULL;
176 FFmpegDemuxer(AVFormatContext *fmtc_, FFMpegAPI* api_) : fmtc(fmtc_), api(api_) { in FFmpegDemuxer()
261 AVFormatContext *CreateFormatContext(DataProvider *pDataProvider, FFMpegAPI* api_) { in CreateFormatContext()
264 AVFormatContext *ctx = NULL; in CreateFormatContext()
[all …]

12345678910>>...22