FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
hnm.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  Hnm4DemuxContext
 

Macros

#define HNM4_TAG   MKTAG('H', 'N', 'M', '4')
 
#define HNM4_SAMPLE_RATE   22050
 
#define HNM4_FRAME_FPS   24
 
#define HNM4_CHUNK_ID_PL   19536
 
#define HNM4_CHUNK_ID_IZ   23113
 
#define HNM4_CHUNK_ID_IU   21833
 
#define HNM4_CHUNK_ID_SD   17491
 

Functions

static int hnm_probe (AVProbeData *p)
 
static int hnm_read_header (AVFormatContext *s)
 
static int hnm_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int hnm_read_close (AVFormatContext *s)
 

Variables

AVInputFormat ff_hnm_demuxer
 

Macro Definition Documentation

#define HNM4_TAG   MKTAG('H', 'N', 'M', '4')

Definition at line 27 of file hnm.c.

Referenced by hnm_probe().

#define HNM4_SAMPLE_RATE   22050

Definition at line 29 of file hnm.c.

#define HNM4_FRAME_FPS   24

Definition at line 30 of file hnm.c.

Referenced by hnm_read_header().

#define HNM4_CHUNK_ID_PL   19536

Definition at line 32 of file hnm.c.

Referenced by hnm_read_packet().

#define HNM4_CHUNK_ID_IZ   23113

Definition at line 33 of file hnm.c.

Referenced by hnm_read_packet().

#define HNM4_CHUNK_ID_IU   21833

Definition at line 34 of file hnm.c.

Referenced by hnm_read_packet().

#define HNM4_CHUNK_ID_SD   17491

Definition at line 35 of file hnm.c.

Referenced by hnm_read_packet().

Function Documentation

static int hnm_probe ( AVProbeData p)
static

Definition at line 53 of file hnm.c.

static int hnm_read_header ( AVFormatContext s)
static

Definition at line 66 of file hnm.c.

static int hnm_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 126 of file hnm.c.

static int hnm_read_close ( AVFormatContext s)
static

Definition at line 185 of file hnm.c.

Variable Documentation

AVInputFormat ff_hnm_demuxer
Initial value:

Definition at line 195 of file hnm.c.