Go to the source code of this file.
 | 
| static int  | asf_probe (const AVProbeData *pd) | 
|   | 
| static int  | get_value (AVIOContext *pb, int type, int type2_size) | 
|   | 
| static int  | asf_read_picture (AVFormatContext *s, int len) | 
|   | 
| static void  | get_id3_tag (AVFormatContext *s, int len) | 
|   | 
| static void  | get_tag (AVFormatContext *s, const char *key, int type, int len, int type2_size) | 
|   | 
| static int  | asf_read_file_properties (AVFormatContext *s, int64_t size) | 
|   | 
| static int  | asf_read_stream_properties (AVFormatContext *s, int64_t size) | 
|   | 
| static int  | asf_read_ext_stream_properties (AVFormatContext *s, int64_t size) | 
|   | 
| static int  | asf_read_content_desc (AVFormatContext *s, int64_t size) | 
|   | 
| static int  | asf_read_ext_content_desc (AVFormatContext *s, int64_t size) | 
|   | 
| static int  | asf_read_language_list (AVFormatContext *s, int64_t size) | 
|   | 
| static int  | asf_read_metadata (AVFormatContext *s, int64_t size) | 
|   | 
| static int  | asf_read_marker (AVFormatContext *s, int64_t size) | 
|   | 
| static int  | asf_read_header (AVFormatContext *s) | 
|   | 
| static int  | asf_get_packet (AVFormatContext *s, AVIOContext *pb) | 
|   | Load a single ASF packet into the demuxer.  More...
  | 
|   | 
| static int  | asf_read_frame_header (AVFormatContext *s, AVIOContext *pb) | 
|   | 
| static int  | asf_parse_packet (AVFormatContext *s, AVIOContext *pb, AVPacket *pkt) | 
|   | Parse data from individual ASF packets (which were previously loaded with asf_get_packet()).  More...
  | 
|   | 
| static int  | asf_read_packet (AVFormatContext *s, AVPacket *pkt) | 
|   | 
| static void  | asf_reset_header (AVFormatContext *s) | 
|   | 
| static void  | skip_to_key (AVFormatContext *s) | 
|   | 
| static int  | asf_read_close (AVFormatContext *s) | 
|   | 
| static int64_t  | asf_read_pts (AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pos_limit) | 
|   | 
| static int  | asf_build_simple_index (AVFormatContext *s, int stream_index) | 
|   | 
| static int  | asf_read_seek (AVFormatContext *s, int stream_index, int64_t pts, int flags) | 
|   | 
◆ ASF_MAX_STREAMS
      
        
          | #define ASF_MAX_STREAMS   127 | 
        
      
 
 
◆ FRAME_HEADER_SIZE
      
        
          | #define FRAME_HEADER_SIZE   6 | 
        
      
 
 
◆ print_guid
      
        
          | #define print_guid | 
          ( | 
            | 
          g | ) | 
             while(0) | 
        
      
 
 
◆ LEN
◆ DO_2BITS
      
        
          | #define DO_2BITS | 
          ( | 
            | 
          bits,  | 
        
        
           | 
           | 
            | 
          var,  | 
        
        
           | 
           | 
            | 
          defval  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:
    case 3:                                     \
        rsize += 4;                             \
        break;                                  \
    case 2:                                     \
        rsize += 2;                             \
        break;                                  \
    case 1:                                     \
        rsize++;                                \
        break;                                  \
    default:                                    \
        var = defval;                           \
        break;                                  \
    }
 
Definition at line 950 of file asfdec_f.c.
 
 
◆ asf_probe()
◆ get_value()
◆ asf_read_picture()
◆ get_id3_tag()
◆ get_tag()
◆ asf_read_file_properties()
◆ asf_read_stream_properties()
◆ asf_read_ext_stream_properties()
◆ asf_read_content_desc()
◆ asf_read_ext_content_desc()
◆ asf_read_language_list()
◆ asf_read_metadata()
◆ asf_read_marker()
◆ asf_read_header()
◆ asf_get_packet()
Load a single ASF packet into the demuxer. 
- Parameters
 - 
  
    | s | demux context  | 
    | pb | context to read data from  | 
  
   
- Returns
 - 0 on success, <0 on error 
 
Definition at line 975 of file asfdec_f.c.
Referenced by asf_read_packet().
 
 
◆ asf_read_frame_header()
◆ asf_parse_packet()
Parse data from individual ASF packets (which were previously loaded with asf_get_packet()). 
- Parameters
 - 
  
    | s | demux context  | 
    | pb | context to read data from  | 
    | pkt | pointer to store packet data into  | 
  
   
- Returns
 - 0 if data was stored in pkt, <0 on error or 1 if more ASF packets need to be loaded (through asf_get_packet()) 
 
Definition at line 1226 of file asfdec_f.c.
Referenced by asf_read_packet().
 
 
◆ asf_read_packet()
◆ asf_reset_header()
◆ skip_to_key()
◆ asf_read_close()
◆ asf_read_pts()
  
  
      
        
          | static int64_t asf_read_pts  | 
          ( | 
          AVFormatContext *  | 
          s,  | 
         
        
           | 
           | 
          int  | 
          stream_index,  | 
         
        
           | 
           | 
          int64_t *  | 
          ppos,  | 
         
        
           | 
           | 
          int64_t  | 
          pos_limit  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ asf_build_simple_index()
◆ asf_read_seek()
◆ options
◆ asf_class
Initial value:= {
    .class_name = "asf demuxer",
}
 
Definition at line 126 of file asfdec_f.c.
 
 
◆ ff_asf_demuxer
 
static const AVClass asf_class
 
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
 
static av_cold int read_close(AVFormatContext *ctx)
 
unsigned int avio_rl16(AVIOContext *s)
 
static int asf_read_close(AVFormatContext *s)
 
static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int flags)
 
static int asf_probe(const AVProbeData *pd)
 
static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
 
#define LIBAVUTIL_VERSION_INT
 
static int read_header(FFV1Context *f)
 
const char * av_default_item_name(void *ptr)
Return the context name.
 
static const AVOption options[]
 
unsigned int avio_rl32(AVIOContext *s)
 
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
 
int avio_r8(AVIOContext *s)
 
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
 
static int64_t asf_read_pts(AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pos_limit)
 
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
 
#define flags(name, subs,...)
 
static int asf_read_header(AVFormatContext *s)