Home
last modified time | relevance | path

Searched refs:AVIOContext (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/third_party/ffmpeg/libavformat/
Davio.h161 typedef struct AVIOContext { struct
352 } AVIOContext; argument
462 AVIOContext *avio_alloc_context(
477 void avio_context_free(AVIOContext **s);
479 void avio_w8(AVIOContext *s, int b);
480 void avio_write(AVIOContext *s, const unsigned char *buf, int size);
481 void avio_wl64(AVIOContext *s, uint64_t val);
482 void avio_wb64(AVIOContext *s, uint64_t val);
483 void avio_wl32(AVIOContext *s, unsigned int val);
484 void avio_wb32(AVIOContext *s, unsigned int val);
[all …]
Davio_internal.h29 int ffio_init_context(AVIOContext *s,
54 int ffio_read_indirect(AVIOContext *s, unsigned char *buf, int size, const unsigned char **data);
56 void ffio_fill(AVIOContext *s, int b, int count);
58 static av_always_inline void ffio_wfourcc(AVIOContext *pb, const uint8_t *s) in ffio_wfourcc()
75 int ffio_rewind_with_probe_data(AVIOContext *s, unsigned char **buf, int buf_size);
77 uint64_t ffio_read_varlen(AVIOContext *bc);
84 int ffio_read_size(AVIOContext *s, unsigned char *buf, int size);
87 int ffio_set_buf_size(AVIOContext *s, int buf_size);
96 int ffio_realloc_buf(AVIOContext *s, int buf_size);
105 int ffio_ensure_seekback(AVIOContext *s, int64_t buf_size);
[all …]
Daviobuf.c47 AVIOContext *s = obj; in ff_avio_child_next()
56 #define OFFSET(x) offsetof(AVIOContext,x)
73 static void fill_buffer(AVIOContext *s);
74 static int url_resetbuf(AVIOContext *s, int flags);
76 int ffio_init_context(AVIOContext *s, in ffio_init_context()
85 memset(s, 0, sizeof(AVIOContext)); in ffio_init_context()
126 AVIOContext *avio_alloc_context( in avio_alloc_context()
135 AVIOContext *s = av_malloc(sizeof(AVIOContext)); in avio_alloc_context()
143 void avio_context_free(AVIOContext **ps) in avio_context_free()
148 static void writeout(AVIOContext *s, const uint8_t *data, int len) in writeout()
[all …]
Dhlsplaylist.h39 void ff_hls_write_playlist_version(AVIOContext *out, int version);
40 void ff_hls_write_audio_rendition(AVIOContext *out, const char *agroup,
43 void ff_hls_write_subtitle_rendition(AVIOContext *out, const char *sgroup,
46 void ff_hls_write_stream_info(AVStream *st, AVIOContext *out, int bandwidth,
50 void ff_hls_write_playlist_header(AVIOContext *out, int version, int allowcache,
53 void ff_hls_write_init_file(AVIOContext *out, const char *filename,
55 int ff_hls_write_file_entry(AVIOContext *out, int insert_discont,
63 void ff_hls_write_end_list (AVIOContext *out);
Driff.h38 int64_t ff_start_tag(AVIOContext *pb, const char *tag);
39 void ff_end_tag(AVIOContext *pb, int64_t start);
47 int ff_get_bmp_header(AVIOContext *pb, AVStream *st, uint32_t *size);
49 void ff_put_bmp_header(AVIOContext *pb, AVCodecParameters *par, int for_asf, int ignore_extradata);
68 int ff_put_wav_header(AVFormatContext *s, AVIOContext *pb, AVCodecParameters *par, int flags);
71 int ff_get_wav_header(AVFormatContext *s, AVIOContext *pb, AVCodecParameters *par, int size, int bi…
90 void ff_riff_write_info_tag(AVIOContext *pb, const char *tag, const char *str);
123 int ff_get_guid(AVIOContext *s, ff_asf_guid *g);
124 void ff_put_guid(AVIOContext *s, const ff_asf_guid *g);
Dmovenccenc.h63 int ff_mov_cenc_write_packet(MOVMuxCencContext* ctx, AVIOContext *pb, const uint8_t *buf_in, int si…
68 int ff_mov_cenc_avc_parse_nal_units(MOVMuxCencContext* ctx, AVIOContext *pb, const uint8_t *buf_in,…
74 AVIOContext *pb, const uint8_t *buf_in, int size);
79 void ff_mov_cenc_write_stbl_atoms(MOVMuxCencContext* ctx, AVIOContext *pb);
84 int ff_mov_cenc_write_sinf_tag(struct MOVTrack* track, AVIOContext *pb, uint8_t* kid);
Dhlsplaylist.c31 void ff_hls_write_playlist_version(AVIOContext *out, int version) in ff_hls_write_playlist_version()
39 void ff_hls_write_audio_rendition(AVIOContext *out, const char *agroup, in ff_hls_write_audio_rendition()
54 void ff_hls_write_subtitle_rendition(AVIOContext *out, const char *sgroup, in ff_hls_write_subtitle_rendition()
69 void ff_hls_write_stream_info(AVStream *st, AVIOContext *out, int bandwidth, in ff_hls_write_stream_info()
98 void ff_hls_write_playlist_header(AVIOContext *out, int version, int allowcache, in ff_hls_write_playlist_header()
122 void ff_hls_write_init_file(AVIOContext *out, const char *filename, in ff_hls_write_init_file()
132 int ff_hls_write_file_entry(AVIOContext *out, int insert_discont, in ff_hls_write_file_entry()
189 void ff_hls_write_end_list(AVIOContext *out) in ff_hls_write_end_list()
Did3v2enc.c32 static void id3v2_put_size(AVIOContext *pb, int size) in id3v2_put_size()
46 static void id3v2_encode_string(AVIOContext *pb, const uint8_t *str, in id3v2_encode_string()
49 int (*put)(AVIOContext*, const char*); in id3v2_encode_string()
65 static int id3v2_put_ttag(ID3v2EncContext *id3, AVIOContext *avioc, const char *str1, const char *s… in id3v2_put_ttag()
70 AVIOContext *dyn_buf; in id3v2_put_ttag()
104 static int id3v2_put_priv(ID3v2EncContext *id3, AVIOContext *avioc, const char *key, const char *da… in id3v2_put_priv()
108 AVIOContext *dyn_buf; in id3v2_put_priv()
152 static int id3v2_check_write_tag(ID3v2EncContext *id3, AVIOContext *pb, AVDictionaryEntry *t, in id3v2_check_write_tag()
205 void ff_id3v2_start(ID3v2EncContext *id3, AVIOContext *pb, int id3v2_version, in ff_id3v2_start()
219 static int write_metadata(AVIOContext *pb, AVDictionary **metadata, in write_metadata()
[all …]
Dmovenccenc.c89 static void mov_cenc_write_encrypted(MOVMuxCencContext* ctx, AVIOContext *pb, in mov_cenc_write_encrypted()
167 int ff_mov_cenc_write_packet(MOVMuxCencContext* ctx, AVIOContext *pb, in ff_mov_cenc_write_packet()
192 int ff_mov_cenc_avc_parse_nal_units(MOVMuxCencContext* ctx, AVIOContext *pb, in ff_mov_cenc_avc_parse_nal_units()
233 int nal_length_size, AVIOContext *pb, const uint8_t *buf_in, int size) in ff_mov_cenc_avc_write_nal_units()
282 static int64_t update_size(AVIOContext *pb, int64_t pos) in update_size()
292 static int mov_cenc_write_senc_tag(MOVMuxCencContext* ctx, AVIOContext *pb, in mov_cenc_write_senc_tag()
306 static int mov_cenc_write_saio_tag(AVIOContext *pb, int64_t auxiliary_info_offset) in mov_cenc_write_saio_tag()
325 static int mov_cenc_write_saiz_tag(MOVMuxCencContext* ctx, AVIOContext *pb) in mov_cenc_write_saiz_tag()
339 void ff_mov_cenc_write_stbl_atoms(MOVMuxCencContext* ctx, AVIOContext *pb) in ff_mov_cenc_write_stbl_atoms()
348 static int mov_cenc_write_schi_tag(AVIOContext *pb, uint8_t* kid) in mov_cenc_write_schi_tag()
[all …]
Dwtvenc.c123 typedef int WTVHeaderWriteFunc(AVIOContext *pb);
139 AVIOContext *pb = s->pb; in write_chunk_header()
161 AVIOContext *pb = s->pb; in write_chunk_header2()
171 AVIOContext *pb = s->pb; in finish_chunk_noindex()
185 AVIOContext *pb = s->pb; in write_index()
216 static void put_videoinfoheader2(AVIOContext *pb, AVStream *st) in put_videoinfoheader2()
263 AVIOContext *pb = s->pb; in write_stream_codec_info()
319 AVIOContext *pb = s->pb; in write_stream_codec()
339 AVIOContext *pb = s->pb; in write_sync()
356 AVIOContext *pb = s->pb; in write_stream_data()
[all …]
Disom.h159 AVIOContext *pb;
296 int ff_mp4_read_descr_len(AVIOContext *pb);
297 int ff_mp4_read_descr(AVFormatContext *fc, AVIOContext *pb, int *tag);
298 int ff_mp4_read_dec_config_descr(AVFormatContext *fc, AVStream *st, AVIOContext *pb);
299 void ff_mp4_parse_es_descr(AVIOContext *pb, int *es_id);
360 int ff_mov_read_esds(AVFormatContext *fc, AVIOContext *pb);
362 int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries);
363 void ff_mov_write_chan(AVIOContext *pb, int64_t channel_layout);
Dgxfenc.c135 static void gxf_write_padding(AVIOContext *pb, int64_t to_pad) in gxf_write_padding()
142 static int64_t updatePacketSize(AVIOContext *pb, int64_t pos) in updatePacketSize()
159 static int64_t updateSize(AVIOContext *pb, int64_t pos) in updateSize()
170 static void gxf_write_packet_header(AVIOContext *pb, GXFPktType type) in gxf_write_packet_header()
181 static int gxf_write_mpeg_auxiliary(AVIOContext *pb, AVStream *st) in gxf_write_mpeg_auxiliary()
220 static int gxf_write_dv_auxiliary(AVIOContext *pb, AVStream *st) in gxf_write_dv_auxiliary()
233 static int gxf_write_timecode_auxiliary(AVIOContext *pb, GXFContext *gxf) in gxf_write_timecode_auxiliary()
250 AVIOContext *pb = s->pb; in gxf_write_track_description()
311 AVIOContext *pb = s->pb; in gxf_write_material_data_section()
362 AVIOContext *pb = s->pb; in gxf_write_track_description_section()
[all …]
Dsubtitles.h42 AVIOContext *pb;
45 AVIOContext buf_pb;
61 void ff_text_init_avio(void *s, FFTextReader *r, AVIOContext *pb);
164 void ff_subtitles_read_chunk(AVIOContext *pb, AVBPrint *buf);
Drm.h51 int ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVIOContext *pb,
72 int ff_rm_parse_packet (AVFormatContext *s, AVIOContext *pb,
92 int ff_rm_retrieve_cache (AVFormatContext *s, AVIOContext *pb,
Dtedcaptionsdec.c70 static void next_byte(AVIOContext *pb, int *cur_byte) in next_byte()
77 static void skip_spaces(AVIOContext *pb, int *cur_byte) in skip_spaces()
84 static int expect_byte(AVIOContext *pb, int *cur_byte, uint8_t c) in expect_byte()
93 static int parse_string(AVIOContext *pb, int *cur_byte, AVBPrint *bp, int full) in parse_string()
141 static int parse_label(AVIOContext *pb, int *cur_byte, AVBPrint *bp) in parse_label()
154 static int parse_boolean(AVIOContext *pb, int *cur_byte, int *result) in parse_boolean()
176 static int parse_int(AVIOContext *pb, int *cur_byte, int64_t *result) in parse_int()
193 static int parse_file(AVIOContext *pb, FFDemuxSubtitlesQueue *subs) in parse_file()
Dmatroskaenc.c76 AVIOContext *bc;
130 AVIOContext *cluster_bc;
181 static void put_ebml_id(AVIOContext *pb, uint32_t id) in put_ebml_id()
193 static void put_ebml_size_unknown(AVIOContext *pb, int bytes) in put_ebml_size_unknown()
226 static void put_ebml_num(AVIOContext *pb, uint64_t num, int bytes) in put_ebml_num()
239 static void put_ebml_length(AVIOContext *pb, uint64_t length, int bytes) in put_ebml_length()
257 static void put_ebml_uid(AVIOContext *pb, uint32_t elementid, uint64_t uid) in put_ebml_uid()
264 static void put_ebml_uint(AVIOContext *pb, uint32_t elementid, uint64_t val) in put_ebml_uint()
277 static void put_ebml_sint(AVIOContext *pb, uint32_t elementid, int64_t val) in put_ebml_sint()
291 static void put_ebml_float(AVIOContext *pb, uint32_t elementid, double val) in put_ebml_float()
[all …]
Did3v2.c168 static unsigned int get_size(AVIOContext *s, int len) in get_size()
204 static int check_tag(AVIOContext *s, int offset, unsigned int len) in check_tag()
242 static int decode_str(AVFormatContext *s, AVIOContext *pb, int encoding, in decode_str()
249 unsigned int (*get)(AVIOContext*) = avio_rb16; in decode_str()
250 AVIOContext *dynbuf; in decode_str()
319 static void read_ttag(AVFormatContext *s, AVIOContext *pb, int taglen, in read_ttag()
358 static void read_uslt(AVFormatContext *s, AVIOContext *pb, int taglen, in read_uslt()
407 static void read_comment(AVFormatContext *s, AVIOContext *pb, int taglen, in read_comment()
449 static void read_geobtag(AVFormatContext *s, AVIOContext *pb, int taglen, in read_geobtag()
582 static void read_apic(AVFormatContext *s, AVIOContext *pb, int taglen, in read_apic()
[all …]
Dmvdec.c57 static char *var_read_string(AVIOContext *pb, int size) in var_read_string()
74 static int var_read_int(AVIOContext *pb, int size) in var_read_int()
85 static AVRational var_read_float(AVIOContext *pb, int size) in var_read_float()
123 AVIOContext *pb = avctx->pb; in parse_global_var()
147 AVIOContext *pb = avctx->pb; in parse_audio_var()
179 AVIOContext *pb = avctx->pb; in parse_video_var()
238 AVIOContext *pb = avctx->pb; in read_table()
264 static void read_index(AVIOContext *pb, AVStream *st) in read_index()
286 AVIOContext *pb = avctx->pb; in mv_read_header()
432 AVIOContext *pb = avctx->pb; in mv_read_packet()
Dwebvttenc.c30 static void webvtt_write_time(AVIOContext *pb, int64_t millisec) in webvtt_write_time()
50 AVIOContext *pb = ctx->pb; in webvtt_write_header()
66 AVIOContext *pb = ctx->pb; in webvtt_write_packet()
Dvc1testenc.c31 AVIOContext *pb = s->pb; in vc1test_write_header()
59 AVIOContext *pb = s->pb; in vc1test_write_packet()
74 AVIOContext *pb = s->pb; in vc1test_write_trailer()
Dwtvdec.c51 AVIOContext *pb_filesystem; /**< file system (AVFormatContext->pb) */
62 static int64_t seek_by_sector(AVIOContext *pb, int64_t sector, int64_t offset) in seek_by_sector()
73 AVIOContext *pb = wf->pb_filesystem; in wtvfile_read_packet()
111 AVIOContext *pb = wf->pb_filesystem; in wtvfile_seek()
134 static int read_ints(AVIOContext *pb, uint32_t *data, int count) in read_ints()
151 static AVIOContext * wtvfile_open_sector(unsigned first_sector, uint64_t length, int depth, AVForma… in wtvfile_open_sector()
153 AVIOContext *pb; in wtvfile_open_sector()
255 static AVIOContext * wtvfile_open2(AVFormatContext *s, const uint8_t *buf, int buf_size, const uint… in wtvfile_open2()
306 static void wtvfile_close(AVIOContext *pb) in wtvfile_close()
324 AVIOContext *pb; /**< timeline file */
[all …]
Dmovenc.c135 static int64_t update_size(AVIOContext *pb, int64_t pos) in update_size()
169 static int mov_write_stco_tag(AVIOContext *pb, MOVTrack *track) in mov_write_stco_tag()
193 static int mov_write_stsz_tag(AVIOContext *pb, MOVTrack *track) in mov_write_stsz_tag()
229 static int mov_write_stsc_tag(AVIOContext *pb, MOVTrack *track) in mov_write_stsc_tag()
258 static int mov_write_stss_tag(AVIOContext *pb, MOVTrack *track, uint32_t flag) in mov_write_stss_tag()
282 static int mov_write_sdtp_tag(AVIOContext *pb, MOVTrack *track) in mov_write_sdtp_tag()
305 static int mov_write_amr_tag(AVIOContext *pb, MOVTrack *track) in mov_write_amr_tag()
319 static int mov_write_ac3_tag(AVFormatContext *s, AVIOContext *pb, MOVTrack *track) in mov_write_ac3_tag()
539 static int mov_write_eac3_tag(AVFormatContext *s, AVIOContext *pb, MOVTrack *track) in mov_write_eac3_tag()
594 static int mov_write_extradata_tag(AVIOContext *pb, MOVTrack *track) in mov_write_extradata_tag()
[all …]
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavprotocol.h70 int gst_ffmpeg_pipe_open (GstFFMpegPipe *ffpipe, int flags, AVIOContext ** context);
71 int gst_ffmpeg_pipe_close (AVIOContext * h);
73 int gst_ffmpegdata_open (GstPad * pad, int flags, AVIOContext ** context);
74 int gst_ffmpegdata_close (AVIOContext * h);
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DFFMpegExtractor.h37 AVIOContext **avioContext);
39 static bool createAVFormatContext(AVIOContext *avioContext, AVFormatContext **avFormatContext);
43 static int32_t cleanup(AVIOContext *avioContext, AVFormatContext *avFormatContext);
DFFMpegExtractor.cpp45 AVIOContext **avioContext) { in createAVIOContext()
67 FFMpegExtractor::createAVFormatContext(AVIOContext *avioContext, AVFormatContext **avFormatContext)… in createAVFormatContext()
130 std::unique_ptr<AVIOContext, void(*)(AVIOContext *)> ioContext { in decode()
132 [](AVIOContext *c) { in decode()
138 AVIOContext *tmp = nullptr; in decode()

12345678910>>...12