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.


#define FIRST   0xA8


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


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 ( const AVProbeData p)

Definition at line 26 of file sdr2.c.

static int sdr2_read_header ( AVFormatContext s)

Definition at line 36 of file sdr2.c.

static int sdr2_read_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 73 of file sdr2.c.

Variable Documentation

const uint8_t header[24]
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(), av1_decode_frame(), av1_frame_alloc(), cbs_av1_split_fragment(), cdata_read_header(), check(), check_header_mismatch(), coded_lossless_param(), 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_mpeg1_init_uni_ac_vlc(), ff_ps_read_data(), ff_rtsp_open_transport_ctx(), find_expected_header(), fits_decode_frame(), fits_read_packet(), flac_read_header(), flic_read_header(), flush(), fourxm_read_header(), fourxm_read_packet(), get_best_header(), get_packet_header(), get_riff(), global_motion_params(), ilbc_read_header(), jacosub_read_header(), libspeex_decode_init(), libvorbis_encode_init(), load_grain_params(), 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(), skip_mode_params(), subviewer_read_header(), svq3_decode_slice_header(), tonemap_opencl_init(), truehd_core_filter(), update_reference_list(), vaapi_encode_h264_add_nal(), vaapi_encode_h265_add_nal(), vaapi_encode_make_misc_param_buffer(), vp9_metadata_update_fragment(), 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",
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:115
Use generic index building code.
Definition: avformat.h:463
static int sdr2_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: sdr2.c:73
static int sdr2_probe(const AVProbeData *p)
Definition: sdr2.c:26
static int sdr2_read_header(AVFormatContext *s)
Definition: sdr2.c:36

Definition at line 112 of file sdr2.c.