FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
takdec.c File Reference
#include "libavutil/crc.h"
#include "libavcodec/tak.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "rawdec.h"
#include "apetag.h"

Go to the source code of this file.

Data Structures

struct  TAKDemuxContext
 

Functions

static int tak_probe (AVProbeData *p)
 
static unsigned long tak_check_crc (unsigned long checksum, const uint8_t *buf, unsigned int len)
 
static int tak_read_header (AVFormatContext *s)
 
static int raw_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_tak_demuxer
 

Function Documentation

static int tak_probe ( AVProbeData p)
static

Definition at line 35 of file takdec.c.

static unsigned long tak_check_crc ( unsigned long  checksum,
const uint8_t buf,
unsigned int  len 
)
static

Definition at line 42 of file takdec.c.

Referenced by tak_read_header().

static int tak_read_header ( AVFormatContext s)
static

Definition at line 48 of file takdec.c.

static int raw_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 175 of file takdec.c.

Variable Documentation

AVInputFormat ff_tak_demuxer
Initial value:
= {
.name = "tak",
.long_name = NULL_IF_CONFIG_SMALL("raw TAK"),
.priv_data_size = sizeof(TAKDemuxContext),
.extensions = "tak",
.raw_codec_id = AV_CODEC_ID_TAK,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
static int raw_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: takdec.c:175
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:623
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int tak_probe(AVProbeData *p)
Definition: takdec.c:35
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:473
static int tak_read_header(AVFormatContext *s)
Definition: takdec.c:48
static int flags
Definition: cpu.c:47

Definition at line 201 of file takdec.c.