• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavformat/

Lines Matching defs:ByteIOContext

267  * sizeof(ByteIOContext) must not be used outside libav*.
290 } ByteIOContext;
292 int init_put_byte(ByteIOContext *s,
300 ByteIOContext *av_alloc_put_byte(
309 void put_byte(ByteIOContext *s, int b);
310 void put_buffer(ByteIOContext *s, const unsigned char *buf, int size);
311 void put_le64(ByteIOContext *s, uint64_t val);
312 void put_be64(ByteIOContext *s, uint64_t val);
313 void put_le32(ByteIOContext *s, unsigned int val);
314 void put_be32(ByteIOContext *s, unsigned int val);
315 void put_le24(ByteIOContext *s, unsigned int val);
316 void put_be24(ByteIOContext *s, unsigned int val);
317 void put_le16(ByteIOContext *s, unsigned int val);
318 void put_be16(ByteIOContext *s, unsigned int val);
319 void put_tag(ByteIOContext *s, const char *tag);
321 void put_strz(ByteIOContext *s, const char *buf);
324 * fseek() equivalent for ByteIOContext.
327 int64_t url_fseek(ByteIOContext *s, int64_t offset, int whence);
333 void url_fskip(ByteIOContext *s, int64_t offset);
336 * ftell() equivalent for ByteIOContext.
339 int64_t url_ftell(ByteIOContext *s);
345 int64_t url_fsize(ByteIOContext *s);
348 * feof() equivalent for ByteIOContext.
351 int url_feof(ByteIOContext *s);
353 int url_ferror(ByteIOContext *s);
355 int av_url_read_fpause(ByteIOContext *h, int pause);
356 int64_t av_url_read_fseek(ByteIOContext *h, int stream_index,
361 int url_fgetc(ByteIOContext *s);
365 int url_fprintf(ByteIOContext *s, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3)));
367 int url_fprintf(ByteIOContext *s, const char *fmt, ...);
372 char *url_fgets(ByteIOContext *s, char *buf, int buf_size);
374 void put_flush_packet(ByteIOContext *s);
378 * Reads size bytes from ByteIOContext into buf.
381 int get_buffer(ByteIOContext *s, unsigned char *buf, int size);
384 * Reads size bytes from ByteIOContext into buf.
389 int get_partial_buffer(ByteIOContext *s, unsigned char *buf, int size);
393 int get_byte(ByteIOContext *s);
394 unsigned int get_le24(ByteIOContext *s);
395 unsigned int get_le32(ByteIOContext *s);
396 uint64_t get_le64(ByteIOContext *s);
397 unsigned int get_le16(ByteIOContext *s);
399 char *get_strz(ByteIOContext *s, char *buf, int maxlen);
400 unsigned int get_be16(ByteIOContext *s);
401 unsigned int get_be24(ByteIOContext *s);
402 unsigned int get_be32(ByteIOContext *s);
403 uint64_t get_be64(ByteIOContext *s);
405 uint64_t ff_get_v(ByteIOContext *bc);
407 static inline int url_is_streamed(ByteIOContext *s)
413 * Creates and initializes a ByteIOContext for accessing the
416 * ByteIOContext can be used only for writing.
418 * @param s Used to return the pointer to the created ByteIOContext.
423 int url_fdopen(ByteIOContext **s, URLContext *h);
426 int url_setbufsize(ByteIOContext *s, int buf_size);
432 int url_resetbuf(ByteIOContext *s, int flags);
436 * Rewinds the ByteIOContext using the specified buffer containing the first buf_size bytes of the file.
442 * @param s The read-only ByteIOContext to rewind
448 int ff_rewind_with_probe_data(ByteIOContext *s, unsigned char *buf, int buf_size);
451 * Creates and initializes a ByteIOContext for accessing the
454 * read+write mode, the ByteIOContext can be used only for writing.
456 * @param s Used to return the pointer to the created ByteIOContext.
463 int url_fopen(ByteIOContext **s, const char *url, int flags);
465 int url_fclose(ByteIOContext *s);
466 URLContext *url_fileno(ByteIOContext *s);
476 int url_fget_max_packet_size(ByteIOContext *s);
478 int url_open_buf(ByteIOContext **s, uint8_t *buf, int buf_size, int flags);
481 int url_close_buf(ByteIOContext *s);
489 int url_open_dyn_buf(ByteIOContext **s);
500 int url_open_dyn_packet_buf(ByteIOContext **s, int max_packet_size);
509 int url_close_dyn_buf(ByteIOContext *s, uint8_t **pbuffer);
513 unsigned long get_checksum(ByteIOContext *s);
514 void init_checksum(ByteIOContext *s,