Home
last modified time | relevance | path

Searched refs:AVFormatContext (Results 1 - 25 of 539) sorted by relevance

12345678910>>...22

/third_party/ffmpeg/libavformat/
H A Davformat.h49 * Main lavf structure used for both muxing and demuxing is AVFormatContext,
53 * AVFormatContext, use avformat_alloc_context() (some functions, like
56 * Most importantly an AVFormatContext contains:
57 * @li the @ref AVFormatContext.iformat "input" or @ref AVFormatContext.oformat
60 * @li an @ref AVFormatContext.streams "array" of AVStreams, which describe all
63 * @li an @ref AVFormatContext.pb "I/O context". It is either opened by lavf or
70 * AVFormatContext, they can be examined from a user program by calling
71 * av_opt_next() / av_opt_find() on an allocated AVFormatContext (or its AVClass
73 * AVFormatContext
1238 typedef struct AVFormatContext { global() struct
1846 } AVFormatContext; global() typedef
[all...]
H A Drtsp.h314 AVFormatContext *asf_ctx;
323 * other cases, this is a copy of AVFormatContext->filename. */
445 void *transport_priv; /**< RTP/RDT parse context if input, RTP AVFormatContext if output */
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 *
[all...]
H A Dmux.h29 * Add packet to an AVFormatContext's packet_buffer list, determining its
33 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);
87 * Flags for AVFormatContext
[all...]
H A 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 *s
[all...]
H A 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);
145 * AVFormatContext
[all...]
H A Dinternal.h76 AVFormatContext pub;
98 int (*interleave_packet)(struct AVFormatContext *s, AVPacket *pkt,
131 * functions with their own AVFormatContext).
192 static av_always_inline FFFormatContext *ffformatcontext(AVFormatContext *s) in ffformatcontext()
433 void ff_flush_packet_queue(AVFormatContext *s);
503 * @param fmt the AVFormatContext, which might contain options modifying
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);
587 * Frees a stream without modifying the corresponding AVFormatContext
[all...]
H A 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 *o in chunk_end()
[all...]
H A Did3v2.h122 * Data is read from and stored to AVFormatContext.
128 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);
H A 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 *av in fifo_thread_write_trailer()
[all...]
H A 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,
H A 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()
H A 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()
62 /* We create the SDP based on the RTSP AVFormatContext where we in ff_rtsp_setup_output_streams()
67 * a temporary copy of the AVFormatContext, where the custom URL is set. in ff_rtsp_setup_output_streams()
69 * FIXME: Create the SDP without copying the AVFormatContext. 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 *
[all...]
H A Doptions.c35 * Options definition for AVFormatContext.
44 AVFormatContext* fc = (AVFormatContext*) ptr; in format_to_name()
52 AVFormatContext *s = obj; in format_child_next()
120 AVFormatContext* s = ptr; in get_category()
126 .class_name = "AVFormatContext",
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_contex
[all...]
H A 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()
H A 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);
H A 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()
H A Dkvag.c52 static int kvag_read_header(AVFormatContext *s) in kvag_read_header()
96 static int kvag_read_packet(AVFormatContext *s, AVPacket *pkt) in kvag_read_packet()
111 static int kvag_seek(AVFormatContext *s, int stream_index, in kvag_seek()
131 static int kvag_write_init(AVFormatContext *s) in kvag_write_init()
161 static int kvag_write_header(AVFormatContext *s) in kvag_write_header()
175 static int kvag_write_trailer(AVFormatContext *s) in kvag_write_trailer()
H A Doggdec.c62 static int64_t ogg_calc_pts(AVFormatContext *s, int idx, int64_t *dts);
63 static int ogg_new_stream(AVFormatContext *s, uint32_t serial);
64 static int ogg_restore(AVFormatContext *s);
66 static void free_stream(AVFormatContext *s, int i) in free_stream()
82 static int ogg_save(AVFormatContext *s) in ogg_save()
118 static int ogg_restore(AVFormatContext *s) in ogg_restore()
157 static int ogg_reset(AVFormatContext *s) in ogg_reset()
209 static int ogg_replace_stream(AVFormatContext *s, uint32_t serial, char *magic, int page_size, in ogg_replace_stream()
248 static int ogg_new_stream(AVFormatContext *s, uint32_t serial) in ogg_new_stream()
313 static int ogg_read_page(AVFormatContext *
[all...]
/third_party/ffmpeg/libavdevice/
H A 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()
H A 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, enum AVFieldOrder field_order, decklink_direction_t direction = DIRECTION_OUT);
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_inputs, int show_outputs);
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);
H A 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);
H A 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);
H A Davdevice.h312 int avdevice_app_to_dev_control_message(struct AVFormatContext *s,
326 int avdevice_dev_to_app_control_message(struct AVFormatContext *s,
370 * AVFormatContext *oc = NULL;
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);
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
H A 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/
H A 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 AVInputFormat *fmt, AVDictionary **options);
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()
177 LOG(ERROR) << "No AVFormatContext provided."; in FFmpegDemuxer()
260 AVFormatContext *CreateFormatContex
[all...]

Completed in 12 milliseconds

12345678910>>...22