FFmpeg
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 (const 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

◆ FIRST

#define FIRST   0xA8

Definition at line 34 of file sdr2.c.

Function Documentation

◆ sdr2_probe()

static int sdr2_probe ( const AVProbeData p)
static

Definition at line 26 of file sdr2.c.

◆ sdr2_read_header()

static int sdr2_read_header ( AVFormatContext s)
static

Definition at line 36 of file sdr2.c.

◆ sdr2_read_packet()

static int sdr2_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 73 of file sdr2.c.

Variable Documentation

◆ header

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(), avpriv_fits_header_init(), avpriv_fits_header_parse_line(), avpriv_mpegaudio_decode_header(), cbs_av1_split_fragment(), cbs_h2645_split_fragment(), cdata_read_header(), check(), check_checksum(), check_header_mismatch(), cpia_decode_frame(), decode_aiff_header(), decode_frame(), decode_wave_header(), decrypt_init(), 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_mpa_check_header(), ff_mpeg4_decode_picture_header(), fill_data_min_max(), find_es_header(), find_expected_header(), fits_decode_frame(), fits_read_header(), fits_read_packet(), flac_read_header(), fourxm_read_header(), fourxm_read_packet(), get_best_header(), get_packet_header(), get_riff(), has_header(), ilbc_read_header(), is_image(), jacosub_read_header(), libspeex_decode_init(), libvorbis_encode_init(), loas_probe(), lxf_sync(), main(), mkv_strip_wavpack(), mp3_header_decompress(), mp3_read_header(), mp3_read_probe(), mp3_write_xing(), ogg_buffer_data(), parse_coding_header(), parse_frame_data(), parse_subframe_audio(), parse_subframe_header(), pcm_bluray_parse_header(), pcm_dvd_parse_header(), put_header(), qdm2_decode_super_block(), qtrle_decode_frame(), redspark_probe(), redspark_read_header(), roq_write_header(), rtmp_write(), score_header(), sdr2_read_packet(), set_atom_size(), subviewer_read_header(), svq3_decode_slice_header(), tonemap_opencl_init(), truehd_core_filter(), truemotion1_decode_header(), vaapi_encode_h264_add_nal(), vaapi_encode_h265_add_nal(), vaapi_encode_make_misc_param_buffer(), vaapi_encode_mpeg2_add_header(), vp9_metadata_filter(), write_header(), write_keyword_value(), write_streaminfo(), wsaud_read_header(), wsvqa_read_header(), wv_write_packet(), yuv4_read_header(), and yuv4_read_packet().

◆ ff_sdr2_demuxer

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",
}

Definition at line 112 of file sdr2.c.

sdr2_probe
static int sdr2_probe(const AVProbeData *p)
Definition: sdr2.c:26
sdr2_read_packet
static int sdr2_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: sdr2.c:73
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:463
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:188
sdr2_read_header
static int sdr2_read_header(AVFormatContext *s)
Definition: sdr2.c:36