FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
oggparsedaala.c File Reference
#include <stdlib.h>
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"

Go to the source code of this file.

Data Structures

struct  DaalaPixFmtMap
 
struct  DaalaInfoHeader
 

Functions

static int daala_match_pix_fmt (struct DaalaPixFmtMap *fmt)
 
static int daala_header (AVFormatContext *s, int idx)
 
static uint64_t daala_gptopts (AVFormatContext *ctx, int idx, uint64_t gp, int64_t *dts)
 
static int daala_packet (AVFormatContext *s, int idx)
 

Variables

static const struct DaalaPixFmtMap list_fmts []
 
const struct ogg_codec ff_daala_codec
 

Function Documentation

static int daala_match_pix_fmt ( struct DaalaPixFmtMap fmt)
inlinestatic

Definition at line 56 of file oggparsedaala.c.

Referenced by daala_header().

static int daala_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 78 of file oggparsedaala.c.

static uint64_t daala_gptopts ( AVFormatContext ctx,
int  idx,
uint64_t  gp,
int64_t *  dts 
)
static

Definition at line 193 of file oggparsedaala.c.

Referenced by daala_packet().

static int daala_packet ( AVFormatContext s,
int  idx 
)
static

Definition at line 216 of file oggparsedaala.c.

Variable Documentation

const struct DaalaPixFmtMap list_fmts[]
static
Initial value:
= {
{ AV_PIX_FMT_YUV420P, 8, 3, {0, 1, 1, 0}, {0, 1, 1, 0} },
{ AV_PIX_FMT_YUV444P, 8, 3, {0, 0, 0, 0}, {0, 0, 0, 0} }
}
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
Definition: pixfmt.h:67
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:62

Definition at line 38 of file oggparsedaala.c.

const struct ogg_codec ff_daala_codec
Initial value:
= {
.name = "Daala",
.magic = "\200daala",
.magicsize = 6,
.header = daala_header,
.packet = daala_packet,
.gptopts = daala_gptopts,
.granule_is_start = 1,
.nb_header = 3,
}
static uint64_t daala_gptopts(AVFormatContext *ctx, int idx, uint64_t gp, int64_t *dts)
static int daala_packet(AVFormatContext *s, int idx)
static int daala_header(AVFormatContext *s, int idx)
Definition: oggparsedaala.c:78

Definition at line 248 of file oggparsedaala.c.

Referenced by daala_header().