Browse Source

lavf doxy: add demuxing stuff to lavf_decoding group

tags/n0.9
Anton Khirnov 14 years ago
parent
commit
370f27dee3
1 changed files with 21 additions and 8 deletions
  1. +21
    -8
      libavformat/avformat.h

+ 21
- 8
libavformat/avformat.h View File

@@ -382,6 +382,10 @@ typedef struct AVOutputFormat {
struct AVOutputFormat *next;
} AVOutputFormat;

/**
* @addtogroup lavf_decoding
* @{
*/
typedef struct AVInputFormat {
/**
* A comma separated list of short names for the format. New names
@@ -503,6 +507,9 @@ typedef struct AVInputFormat {
/* private fields */
struct AVInputFormat *next;
} AVInputFormat;
/**
* @}
*/

enum AVStreamParseType {
AVSTREAM_PARSE_NONE,
@@ -1228,7 +1235,17 @@ enum CodecID av_codec_get_id(const struct AVCodecTag * const *tags, unsigned int
*/
unsigned int av_codec_get_tag(const struct AVCodecTag * const *tags, enum CodecID id);

/* media file input */
/**
* Allocate an AVFormatContext.
* avformat_free_context() can be used to free the context and everything
* allocated by the framework within it.
*/
AVFormatContext *avformat_alloc_context(void);

/**
* @addtogroup lavf_decoding
* @{
*/

/**
* Find AVInputFormat based on the short name of the input format.
@@ -1326,13 +1343,6 @@ attribute_deprecated int av_open_input_file(AVFormatContext **ic_ptr, const char
*/
int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputFormat *fmt, AVDictionary **options);

/**
* Allocate an AVFormatContext.
* avformat_free_context() can be used to free the context and everything
* allocated by the framework within it.
*/
AVFormatContext *avformat_alloc_context(void);

#if FF_API_FORMAT_PARAMETERS
/**
* Read packets of a media file to get stream information. This
@@ -1512,6 +1522,9 @@ void av_close_input_stream(AVFormatContext *s);
* @param s media file handle
*/
void av_close_input_file(AVFormatContext *s);
/**
* @}
*/

/**
* Free an AVFormatContext and all its streams.


Loading…
Cancel
Save