Lines Matching refs:AVIOContext

30     AVIOContext pub;
82 static av_always_inline FFIOContext *ffiocontext(AVIOContext *ctx)
98 * Read size bytes from AVIOContext, returning a pointer.
112 int ffio_read_indirect(AVIOContext *s, unsigned char *buf, int size, const unsigned char **data);
114 void ffio_fill(AVIOContext *s, int b, int64_t count);
116 static av_always_inline void ffio_wfourcc(AVIOContext *pb, const uint8_t *s)
122 * Rewind the AVIOContext using the specified buffer containing the first buf_size bytes of the file.
127 * @param s The read-only AVIOContext to rewind
133 int ffio_rewind_with_probe_data(AVIOContext *s, unsigned char **buf, int buf_size);
135 uint64_t ffio_read_varlen(AVIOContext *bc);
138 * Read size bytes from AVIOContext into buf.
142 int ffio_read_size(AVIOContext *s, unsigned char *buf, int size);
145 * Reallocate a given buffer for AVIOContext.
147 * @param s the AVIOContext to realloc.
151 int ffio_realloc_buf(AVIOContext *s, int buf_size);
162 int ffio_ensure_seekback(AVIOContext *s, int64_t buf_size);
164 int ffio_limit(AVIOContext *s, int size);
166 void ffio_init_checksum(AVIOContext *s,
169 unsigned long ffio_get_checksum(AVIOContext *s);
186 int ffio_open_dyn_packet_buf(AVIOContext **s, int max_packet_size);
189 * Create and initialize a AVIOContext for accessing the
192 * AVIOContext can be used only for writing.
194 * @param s Used to return the pointer to the created AVIOContext.
199 int ffio_fdopen(AVIOContext **s, URLContext *h);
202 * Return the URLContext associated with the AVIOContext
207 URLContext *ffio_geturlcontext(AVIOContext *s);
211 * Read url related dictionary options from the AVIOContext and write to the given dictionary
213 int ffio_copy_url_options(AVIOContext* pb, AVDictionary** avio_opts);
223 int ffio_open_null_buf(AVIOContext **s);
225 int ffio_open_whitelist(AVIOContext **s, const char *url, int flags,
235 int ffio_close_null_buf(AVIOContext *s);
242 void ffio_reset_dyn_buf(AVIOContext *s);
249 void ffio_free_dyn_buf(AVIOContext **s);
253 * Read a whole line of text from AVIOContext to an AVBPrint buffer overwriting
258 * @param s the read-only AVIOContext
263 int64_t ff_read_line_to_bprint_overwrite(AVIOContext *s, struct AVBPrint *bp);
266 * Read a whole null-terminated string of text from AVIOContext to an AVBPrint
270 * @param s the read-only AVIOContext
272 * @param max_len the maximum length to be read from the AVIOContext.
275 * AVIOContext is not touched, and the function returns
281 int64_t ff_read_string_to_bprint_overwrite(AVIOContext *s, struct AVBPrint *bp,