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]
 
const 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(), ass_read_header(), av1_decode_frame(), av1_frame_alloc(), av_detection_bbox_alloc(), av_detection_bbox_create_side_data(), av_dovi_metadata_alloc(), av_get_detection_bbox(), avpriv_fits_header_init(), avpriv_fits_header_parse_line(), avpriv_mpegaudio_decode_header(), cbs_av1_split_fragment(), cbs_h2645_split_fragment(), cbs_read_data(), cdata_read_header(), check(), check_checksum(), check_header_mismatch(), coded_lossless_param(), contain_valid_detection_bbox(), cpia_decode_frame(), decode_aiff_header(), decode_frame(), decode_wave_header(), decrypt_init(), dnn_classify_post_proc(), dnn_detect_post_proc_ov(), dnn_detect_post_proc_tf(), dss_read_seek(), dump_detection_bbox(), extract_lltask_from_task(), ff_celt_bitstream_version_hack(), ff_dolby_e_parse_header(), ff_flac_write_header(), ff_frame_to_dnn_classify(), 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(), film_write_header(), filter_frame(), find_es_header(), find_expected_header(), fits_decode_frame(), fits_read_header(), fits_read_packet(), flac_read_header(), flashsv2_prime(), fourxm_read_header(), fourxm_read_packet(), get_best_header(), get_mmco_reset(), get_packet_header(), get_riff(), global_motion_params(), h264_filter(), has_header(), ilbc_read_header(), is_image(), jacosub_read_header(), libspeex_decode_init(), libvorbis_encode_init(), load_grain_params(), loas_probe(), lxf_sync(), lzss_decompress(), main(), mp3_header_decompress(), mp3_read_header(), mp3_read_probe(), mp3_write_xing(), ogg_buffer_data(), pam_encode_frame(), parse_coding_header(), parse_frame_data(), parse_subframe_audio(), parse_subframe_header(), pcm_bluray_parse_header(), pcm_dvd_parse_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(), sga_probe(), sga_read_header(), sga_read_packet(), skip_mode_params(), subviewer_read_header(), svq3_decode_slice_header(), tonemap_opencl_init(), truehd_core_filter(), truemotion1_decode_header(), update_context_with_frame_header(), update_reference_list(), vaapi_av1_end_frame(), vaapi_encode_h264_add_nal(), vaapi_encode_h265_add_nal(), vaapi_encode_make_misc_param_buffer(), vaapi_encode_mpeg2_add_header(), vp9_metadata_update_fragment(), 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

const 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:480
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
sdr2_read_header
static int sdr2_read_header(AVFormatContext *s)
Definition: sdr2.c:36