FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sdr2.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Macros

#define FIRST   0xA8
 

Functions

static int sdr2_probe (AVProbeData *p)
 
static int sdr2_read_header (AVFormatContext *s)
 
static int sdr2_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const uint8_t header [24]
 
AVInputFormat ff_sdr2_demuxer
 

Macro Definition Documentation

#define FIRST   0xA8

Definition at line 34 of file sdr2.c.

Referenced by sdr2_read_header(), and sdr2_read_packet().

Function Documentation

static int sdr2_probe ( AVProbeData p)
static

Definition at line 26 of file sdr2.c.

static int sdr2_read_header ( AVFormatContext s)
static

Definition at line 36 of file sdr2.c.

static int sdr2_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 73 of file sdr2.c.

Variable Documentation

const uint8_t header[24]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x01, 0x67, 0x42, 0x00, 0x1e,
0xa6, 0x80, 0xb0, 0x7e, 0x40, 0x00, 0x00, 0x00,
0x01, 0x68, 0xce, 0x38, 0x80, 0x00, 0x00, 0x00
}

Definition at line 67 of file sdr2.c.

Referenced by a64_write_header(), adpcm_decode_frame(), adts_aac_probe(), amr_read_header(), ass_read_header(), cbs_av1_split_fragment(), cdata_read_header(), check(), check_header_mismatch(), cpia_decode_frame(), decode_frame(), dss_read_seek(), ff_celt_bitstream_version_hack(), ff_flac_write_header(), ff_h263_handle_packet(), ff_img_read_packet(), ff_isom_write_av1c(), ff_ps_read_data(), find_expected_header(), fits_decode_frame(), fits_read_packet(), flac_read_header(), flic_read_header(), fourxm_read_header(), fourxm_read_packet(), get_best_header(), get_packet_header(), get_riff(), ilbc_read_header(), jacosub_read_header(), libspeex_decode_init(), libvorbis_encode_init(), loas_probe(), main(), matroska_decode_buffer(), mkv_strip_wavpack(), mp3_header_decompress(), mp3_read_header(), mp3_read_probe(), mp3_write_xing(), qdm2_decode_super_block(), qtrle_decode_frame(), redspark_probe(), redspark_read_header(), roq_write_header(), rtmp_write(), sdr2_read_packet(), subviewer_read_header(), svq3_decode_slice_header(), tonemap_opencl_init(), vaapi_encode_h264_add_nal(), vaapi_encode_h265_add_nal(), vp9_metadata_filter(), webvtt_read_header(), write_header(), write_keyword_value(), wsaud_read_header(), wsvqa_read_header(), wv_write_packet(), yuv4_read_header(), and yuv4_read_packet().

AVInputFormat ff_sdr2_demuxer
Initial value:
= {
.name = "sdr2",
.long_name = NULL_IF_CONFIG_SMALL("SDR2"),
.read_probe = sdr2_probe,
.read_header = sdr2_read_header,
.read_packet = sdr2_read_packet,
.extensions = "sdr2",
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:470
static int sdr2_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: sdr2.c:73
static int sdr2_probe(AVProbeData *p)
Definition: sdr2.c:26
static int sdr2_read_header(AVFormatContext *s)
Definition: sdr2.c:36

Definition at line 113 of file sdr2.c.