#include "avformat.h"
#include "riff.h"
#include "isom.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "caf.h"
Go to the source code of this file.
Data Structures | |
| struct | CaffContext | 
Defines | |
| #define | ALAC_PREAMBLE 12 | 
| #define | ALAC_HEADER 36 | 
| #define | _(x) ((x) >= ' ' ? (x) : ' ') | 
| #define | CAF_MAX_PKT_SIZE 4096 | 
Functions | |
| static int | probe (AVProbeData *p) | 
| static int | read_desc_chunk (AVFormatContext *s) | 
| 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, AVFormatParameters *ap) | 
| static int | read_packet (AVFormatContext *s, AVPacket *pkt) | 
| static int | read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) | 
Variables | |
| AVInputFormat | ff_caf_demuxer | 
Definition in file cafdec.c.
| #define _ | ( | x | ) | ((x) >= ' ' ? (x) : ' ') | 
Referenced by read_header().
| #define ALAC_HEADER 36 | 
Referenced by read_kuki_chunk().
| #define ALAC_PREAMBLE 12 | 
Referenced by read_kuki_chunk().
| #define CAF_MAX_PKT_SIZE 4096 | 
| static int probe | ( | AVProbeData * | p | ) |  [static] | 
        
| static int read_desc_chunk | ( | AVFormatContext * | s | ) |  [static] | 
        
| static int read_header | ( | AVFormatContext * | s, | |
| AVFormatParameters * | ap | |||
| ) |  [static] | 
        
| static void read_info_chunk | ( | AVFormatContext * | s, | |
| int64_t | size | |||
| ) |  [static] | 
        
| static int read_kuki_chunk | ( | AVFormatContext * | s, | |
| int64_t | size | |||
| ) |  [static] | 
        
| static int read_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) |  [static] | 
        
| static int read_pakt_chunk | ( | AVFormatContext * | s, | |
| int64_t | size | |||
| ) |  [static] | 
        
| static int read_seek | ( | AVFormatContext * | s, | |
| int | stream_index, | |||
| int64_t | timestamp, | |||
| int | flags | |||
| ) |  [static] | 
        
Initial value:
 {
    "caf",
    NULL_IF_CONFIG_SMALL("Apple Core Audio Format"),
    sizeof(CaffContext),
    probe,
    read_header,
    read_packet,
    NULL,
    read_seek,
    .codec_tag = (const AVCodecTag*[]){ff_codec_caf_tags, 0},
}
 1.5.8