FFmpeg
Data Structures | Functions | Variables
dsicin.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"

Go to the source code of this file.

Data Structures

struct  CinFileHeader
 
struct  CinFrameHeader
 
struct  CinDemuxContext
 

Functions

static int cin_probe (const AVProbeData *p)
 
static int cin_read_file_header (CinDemuxContext *cin, AVIOContext *pb)
 
static int cin_read_header (AVFormatContext *s)
 
static int cin_read_frame_header (CinDemuxContext *cin, AVIOContext *pb)
 
static int cin_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const AVInputFormat ff_dsicin_demuxer
 

Detailed Description

Delphine Software International CIN file demuxer

Definition in file dsicin.c.

Function Documentation

◆ cin_probe()

static int cin_probe ( const AVProbeData p)
static

Definition at line 63 of file dsicin.c.

◆ cin_read_file_header()

static int cin_read_file_header ( CinDemuxContext cin,
AVIOContext pb 
)
static

Definition at line 76 of file dsicin.c.

Referenced by cin_read_header().

◆ cin_read_header()

static int cin_read_header ( AVFormatContext s)
static

Definition at line 96 of file dsicin.c.

◆ cin_read_frame_header()

static int cin_read_frame_header ( CinDemuxContext cin,
AVIOContext pb 
)
static

Definition at line 145 of file dsicin.c.

Referenced by cin_read_packet().

◆ cin_read_packet()

static int cin_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 165 of file dsicin.c.

Variable Documentation

◆ ff_dsicin_demuxer

const AVInputFormat ff_dsicin_demuxer
Initial value:
= {
.name = "dsicin",
.long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN"),
.priv_data_size = sizeof(CinDemuxContext),
}

Definition at line 230 of file dsicin.c.

cin_read_packet
static int cin_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: dsicin.c:165
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:41
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:545
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:115
cin_probe
static int cin_probe(const AVProbeData *p)
Definition: dsicin.c:63
cin_read_header
static int cin_read_header(AVFormatContext *s)
Definition: dsicin.c:96
CinDemuxContext
Definition: dsicin.c:52
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:29