#include "libavutil/bswap.h"#include "libavutil/common.h"#include "libavutil/avstring.h"#include "libavutil/dict.h"#include "libavutil/mathematics.h"#include "libavcodec/mpegaudio.h"#include "avformat.h"#include "internal.h"#include "avio_internal.h"#include "riff.h"#include "asf.h"#include "asfcrypt.h"#include "avlanguage.h"#include <assert.h>Go to the source code of this file.
Data Structures | |
| struct | ASFContext |
Macros | |
| #define | ASF_MAX_STREAMS 127 |
| #define | FRAME_HEADER_SIZE 17 |
| #define | print_guid(g) |
| #define | DO_2BITS(bits, var, defval) |
Variables | |
| static const ff_asf_guid | index_guid |
| AVInputFormat | ff_asf_demuxer |
| #define ASF_MAX_STREAMS 127 |
Definition at line 81 of file asfdec.c.
Referenced by asf_read_pts(), and asf_read_stream_properties().
| #define DO_2BITS | ( | bits, | |
| var, | |||
| defval | |||
| ) |
Definition at line 710 of file asfdec.c.
Referenced by asf_read_frame_header(), and ff_asf_get_packet().
| #define FRAME_HEADER_SIZE 17 |
Definition at line 82 of file asfdec.c.
Referenced by asf_read_packet(), ff_asf_parse_packet(), ffm_read_packet(), and ffm_write_packet().
| #define print_guid | ( | g | ) |
Definition at line 133 of file asfdec.c.
Referenced by asf_read_header().
|
static |
Definition at line 1216 of file asfdec.c.
Referenced by asf_read_seek().
|
static |
|
static |
|
static |
Definition at line 448 of file asfdec.c.
Referenced by asf_read_header().
|
static |
My sample has that stream set to 0 maybe that mean the container. Asf stream count start at 1. I am using 0 to the container value since it's unused
Definition at line 467 of file asfdec.c.
Referenced by asf_read_header().
|
static |
Definition at line 400 of file asfdec.c.
Referenced by asf_read_header().
|
static |
Definition at line 189 of file asfdec.c.
Referenced by asf_read_header().
|
static |
|
static |
|
static |
Definition at line 502 of file asfdec.c.
Referenced by asf_read_header().
|
static |
Definition at line 552 of file asfdec.c.
Referenced by asf_read_header().
|
static |
Definition at line 520 of file asfdec.c.
Referenced by asf_read_header().
|
static |
Definition at line 1105 of file asfdec.c.
Referenced by asf_read_pts().
|
static |
|
static |
|
static |
Definition at line 213 of file asfdec.c.
Referenced by asf_read_header().
|
static |
Definition at line 1124 of file asfdec.c.
Referenced by asf_read_close(), asf_read_pts(), and asf_read_seek().
|
static |
Load a single ASF packet into the demuxer.
| s | demux context |
| pb | context to read data from |
This code allows handling of -EAGAIN at packet boundaries (i.e. if the packet sync code above triggers -EAGAIN). This does not imply complete -EAGAIN handling support at random positions in the stream.
Definition at line 725 of file asfdec.c.
Referenced by asf_read_packet().
|
static |
Parse data from individual ASF packets (which were previously loaded with asf_get_packet()).
| s | demux context |
| pb | context to read data from |
| pkt | pointer to store packet data into |
Definition at line 909 of file asfdec.c.
Referenced by asf_read_packet().
| void ff_get_guid | ( | AVIOContext * | s, |
| ff_asf_guid * | g | ||
| ) |
Definition at line 136 of file asfdec.c.
Referenced by asf_build_simple_index(), asf_read_ext_stream_properties(), asf_read_file_properties(), asf_read_header(), asf_read_stream_properties(), parse_chunks(), parse_legacy_attrib(), and parse_media_type().
|
static |
Definition at line 161 of file asfdec.c.
Referenced by asf_read_content_desc(), and asf_read_ext_content_desc().
|
static |
Definition at line 151 of file asfdec.c.
Referenced by asf_read_ext_content_desc(), and get_tag().
| AVInputFormat ff_asf_demuxer |
Definition at line 1307 of file asfdec.c.
Referenced by ff_wms_parse_sdp_a_line().
|
static |
Definition at line 85 of file asfdec.c.
Referenced by asf_build_simple_index().