Microsoft XMV demuxer. More...
#include <stdint.h>
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "riff.h"
Go to the source code of this file.
Microsoft XMV demuxer.
Definition in file xmv.c.
#define XMV_AUDIO_ADPCM51 |
(XMV_AUDIO_ADPCM51_FRONTLEFTRIGHT | \ XMV_AUDIO_ADPCM51_FRONTCENTERLOW | \ XMV_AUDIO_ADPCM51_REARLEFTRIGHT)
Definition at line 42 of file xmv.c.
Referenced by xmv_read_header().
#define XMV_AUDIO_ADPCM51_FRONTCENTERLOW 2 |
#define XMV_AUDIO_ADPCM51_FRONTLEFTRIGHT 1 |
#define XMV_AUDIO_ADPCM51_REARLEFTRIGHT 4 |
#define XMV_BLOCK_ALIGN_SIZE 36 |
Definition at line 46 of file xmv.c.
Referenced by xmv_read_header().
#define XMV_MIN_HEADER_SIZE 36 |
Definition at line 36 of file xmv.c.
Referenced by xmv_probe().
typedef struct XMVAudioPacket XMVAudioPacket |
typedef struct XMVAudioTrack XMVAudioTrack |
typedef struct XMVDemuxContext XMVDemuxContext |
typedef struct XMVVideoPacket XMVVideoPacket |
static int xmv_fetch_audio_packet | ( | AVFormatContext * | s, |
AVPacket * | pkt, | ||
uint32_t | stream | ||
) | [static] |
Definition at line 436 of file xmv.c.
Referenced by xmv_read_packet().
static int xmv_fetch_new_packet | ( | AVFormatContext * | s | ) | [static] |
Definition at line 409 of file xmv.c.
Referenced by xmv_read_packet().
static int xmv_fetch_video_packet | ( | AVFormatContext * | s, |
AVPacket * | pkt | ||
) | [static] |
Definition at line 482 of file xmv.c.
Referenced by xmv_read_packet().
static int xmv_probe | ( | AVProbeData * | p | ) | [static] |
static int xmv_process_packet_header | ( | AVFormatContext * | s | ) | [static] |
Carve up the audio data in frame_count slices
Definition at line 303 of file xmv.c.
Referenced by xmv_fetch_new_packet().
static int xmv_read_close | ( | AVFormatContext * | s | ) | [static] |
Definition at line 131 of file xmv.c.
Referenced by xmv_read_header().
static void xmv_read_extradata | ( | uint8_t * | extradata, |
AVIOContext * | pb | ||
) | [static] |
Definition at line 274 of file xmv.c.
Referenced by xmv_process_packet_header().
static int xmv_read_header | ( | AVFormatContext * | s, |
AVFormatParameters * | ap | ||
) | [static] |
static int xmv_read_packet | ( | AVFormatContext * | s, |
AVPacket * | pkt | ||
) | [static] |
{ .name = "xmv", .long_name = NULL_IF_CONFIG_SMALL("Microsoft XMV"), .priv_data_size = sizeof(XMVDemuxContext), .read_probe = xmv_probe, .read_header = xmv_read_header, .read_packet = xmv_read_packet, .read_close = xmv_read_close, }