FFmpeg
Data Structures | Macros | Functions | Variables
cafdec.c File Reference

Core Audio Format demuxer. More...

#include <inttypes.h>
#include "avformat.h"
#include "internal.h"
#include "isom.h"
#include "mov_chan.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "libavutil/dict.h"
#include "caf.h"

Go to the source code of this file.

Data Structures

struct   CafContext
 

Macros

#define  ALAC_PREAMBLE   12
 
#define  ALAC_HEADER   36
 
#define  ALAC_NEW_KUKI   24
 
#define  _(x)   ((x) >= ' ' ? (x) : ' ')
 
#define  CAF_MAX_PKT_SIZE   4096
 

Functions

static int  probe (AVProbeData *p)
 
  Read audio description chunk.
 
static int  read_kuki_chunk (AVFormatContext *s, int64_t size)
  Read magic cookie chunk.
 
static int  read_pakt_chunk (AVFormatContext *s, int64_t size)
  Read packet table chunk.
 
static void  read_info_chunk (AVFormatContext *s, int64_t size)
  Read information chunk.
 
static int  read_header (AVFormatContext *s)
 
 
static int  read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
 

Variables

 

Detailed Description

Core Audio Format demuxer.

Definition in file cafdec.c.

Macro Definition Documentation

#define ALAC_PREAMBLE   12

Referenced by read_kuki_chunk().

#define ALAC_HEADER   36

Referenced by read_kuki_chunk().

#define ALAC_NEW_KUKI   24

Referenced by read_kuki_chunk().

#define _ (   x )    ((x) >= ' ' ? (x) : ' ')

Referenced by read_header(), and x11grab_read_packet().

#define CAF_MAX_PKT_SIZE   4096

Definition at line 331 of file cafdec.c.

Referenced by read_packet().

Function Documentation

static int probe ( AVProbeDatap )
static

Definition at line 51 of file cafdec.c.

static int read_desc_chunk ( AVFormatContexts )
static

Read audio description chunk.

Definition at line 59 of file cafdec.c.

Referenced by read_header().

static int read_kuki_chunk ( AVFormatContexts,
int64_t  size 
)
static

Read magic cookie chunk.

Definition at line 99 of file cafdec.c.

Referenced by read_header().

static int read_pakt_chunk ( AVFormatContexts,
int64_t  size 
)
static

Read packet table chunk.

Definition at line 166 of file cafdec.c.

Referenced by read_header().

static void read_info_chunk ( AVFormatContexts,
int64_t  size 
)
static

Read information chunk.

Definition at line 202 of file cafdec.c.

Referenced by read_header().

static int read_header ( AVFormatContexts )
static

Definition at line 216 of file cafdec.c.

static int read_packet ( AVFormatContexts,
AVPacketpkt 
)
static

Definition at line 333 of file cafdec.c.

static int read_seek ( AVFormatContexts,
int  stream_index,
int64_t  timestamp,
int  flags 
)
static

Definition at line 389 of file cafdec.c.

Variable Documentation

AVInputFormat ff_caf_demuxer
Initial value:
= {
.name = "caf",
.long_name = NULL_IF_CONFIG_SMALL("Apple CAF (Core Audio Format)"),
.priv_data_size = sizeof(CafContext),
.codec_tag = (const AVCodecTag* const []){ ff_codec_caf_tags, 0 },
}

Definition at line 422 of file cafdec.c.


Generated on Sun Mar 8 2015 02:35:29 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /