FFmpeg
Data Structures | Functions | Variables
dsicin.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.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 FFInputFormat 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 64 of file dsicin.c.

◆ cin_read_file_header()

static int cin_read_file_header ( CinDemuxContext cin,
AVIOContext pb 
)
static

Definition at line 77 of file dsicin.c.

Referenced by cin_read_header().

◆ cin_read_header()

static int cin_read_header ( AVFormatContext s)
static

Definition at line 97 of file dsicin.c.

◆ cin_read_frame_header()

static int cin_read_frame_header ( CinDemuxContext cin,
AVIOContext pb 
)
static

Definition at line 146 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 166 of file dsicin.c.

Variable Documentation

◆ ff_dsicin_demuxer

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

Definition at line 231 of file dsicin.c.

cin_read_packet
static int cin_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: dsicin.c:166
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:550
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:106
cin_probe
static int cin_probe(const AVProbeData *p)
Definition: dsicin.c:64
cin_read_header
static int cin_read_header(AVFormatContext *s)
Definition: dsicin.c:97
CinDemuxContext
Definition: dsicin.c:53
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30