• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/

Lines Matching refs:AVFormatContext

51  * Main lavf structure used for both muxing and demuxing is AVFormatContext,
55 * AVFormatContext, use avformat_alloc_context() (some functions, like
58 * Most importantly an AVFormatContext contains:
59 * @li the @ref AVFormatContext.iformat "input" or @ref AVFormatContext.oformat
62 * @li an @ref AVFormatContext.streams "array" of AVStreams, which describe all
65 * @li an @ref AVFormatContext.pb "I/O context". It is either opened by lavf or
83 * AVFormatContext *s = NULL;
88 * The above code attempts to allocate an AVFormatContext, open the
95 * In some cases you might want to preallocate an AVFormatContext yourself with
101 * AVFormatContext to newly created AVIOContext.
147 struct AVFormatContext;
159 * fields of the AVFormatContext, AVStream, AVChapter and AVProgram structs
268 attribute_deprecated void av_metadata_conv(struct AVFormatContext *ctx, const AVMetadataConv *d_conv,
405 int (*write_header)(struct AVFormatContext *);
406 int (*write_packet)(struct AVFormatContext *, AVPacket *pkt);
407 int (*write_trailer)(struct AVFormatContext *);
417 int (*set_parameters)(struct AVFormatContext *, AVFormatParameters *);
418 int (*interleave_packet)(struct AVFormatContext *, AVPacket *out,
481 * Read the format header and initialize the AVFormatContext
486 int (*read_header)(struct AVFormatContext *,
498 int (*read_packet)(struct AVFormatContext *, AVPacket *pkt);
501 * Close the stream. The AVFormatContext and AVStreams are not
504 int (*read_close)(struct AVFormatContext *);
514 int (*read_seek)(struct AVFormatContext *,
521 int64_t (*read_timestamp)(struct AVFormatContext *s, int stream_index,
547 int (*read_play)(struct AVFormatContext *);
553 int (*read_pause)(struct AVFormatContext *);
563 int (*read_seek2)(struct AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags);
620 int index; /**< stream index in AVFormatContext */
858 * sizeof(AVFormatContext) must not be used outside libav*, use
859 * avformat_alloc_context() to create an AVFormatContext.
861 typedef struct AVFormatContext {
1163 } AVFormatContext;
1239 * Allocate an AVFormatContext.
1243 AVFormatContext *avformat_alloc_context(void);
1246 * Free an AVFormatContext and all its streams.
1249 void avformat_free_context(AVFormatContext *s);
1252 * Get the AVClass for AVFormatContext. It can be used in combination with
1274 AVStream *avformat_new_stream(AVFormatContext *s, AVCodec *c);
1276 AVProgram *av_new_program(AVFormatContext *s, int id);
1350 attribute_deprecated int av_open_input_stream(AVFormatContext **ic_ptr,
1368 attribute_deprecated int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
1378 * @param ps Pointer to user-supplied AVFormatContext (allocated by avformat_alloc_context).
1379 * May be a pointer to NULL, in which case an AVFormatContext is allocated by this
1381 * Note that a user-supplied AVFormatContext will be freed on failure.
1385 * @param options A dictionary filled with AVFormatContext and demuxer-private options.
1393 int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputFormat *fmt, AVDictionary **options);
1412 int av_find_stream_info(AVFormatContext *ic);
1436 int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options);
1462 int av_find_best_stream(AVFormatContext *ic,
1479 int av_read_packet(AVFormatContext *s, AVPacket *pkt);
1505 int av_read_frame(AVFormatContext *s, AVPacket *pkt);
1518 int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp,
1547 int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags);
1553 int av_read_play(AVFormatContext *s);
1560 int av_read_pause(AVFormatContext *s);
1564 * Free a AVFormatContext allocated by av_open_input_stream.
1569 void av_close_input_stream(AVFormatContext *s);
1580 void av_close_input_file(AVFormatContext *s);
1584 * Close an opened input AVFormatContext. Free it and all its contents
1587 void avformat_close_input(AVFormatContext **s);
1604 AVStream *av_new_stream(AVFormatContext *s, int id);
1623 int av_seek_frame_binary(AVFormatContext *s, int stream_index,
1626 void av_update_cur_dts(AVFormatContext *s, AVStream *ref_st, int64_t timestamp);
1628 int64_t av_gen_search(AVFormatContext *s, int stream_index,
1633 int64_t (*read_timestamp)(struct AVFormatContext *, int , int64_t *, int64_t ));
1640 attribute_deprecated int av_set_parameters(AVFormatContext *s, AVFormatParameters *ap);
1654 * @param options An AVDictionary filled with AVFormatContext and muxer-private options.
1662 int avformat_write_header(AVFormatContext *s, AVDictionary **options);
1676 attribute_deprecated int av_write_header(AVFormatContext *s);
1691 int av_write_frame(AVFormatContext *s, AVPacket *pkt);
1709 * index of the corresponding stream in @ref AVFormatContext.streams
1717 int av_interleaved_write_frame(AVFormatContext *s, AVPacket *pkt);
1734 int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out,
1746 int av_write_trailer(AVFormatContext *s);
1853 int av_find_default_stream_index(AVFormatContext *s);
1902 attribute_deprecated void dump_format(AVFormatContext *ic,
1908 void av_dump_format(AVFormatContext *ic,
1974 int av_sdp_create(AVFormatContext *ac[], int n_files, char *buf, int size);
1977 attribute_deprecated int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size);