FFmpeg
Functions
cbs_av1_syntax_template.c File Reference

Go to the source code of this file.

Functions

static int FUNC() obu_header (CodedBitstreamContext *ctx, RWContext *rw, AV1RawOBUHeader *current)
 
static int FUNC() trailing_bits (CodedBitstreamContext *ctx, RWContext *rw, int nb_bits)
 
static int FUNC() byte_alignment (CodedBitstreamContext *ctx, RWContext *rw)
 
static int FUNC() color_config (CodedBitstreamContext *ctx, RWContext *rw, AV1RawColorConfig *current, int seq_profile)
 
static int FUNC() timing_info (CodedBitstreamContext *ctx, RWContext *rw, AV1RawTimingInfo *current)
 
static int FUNC() decoder_model_info (CodedBitstreamContext *ctx, RWContext *rw, AV1RawDecoderModelInfo *current)
 
static int FUNC() sequence_header_obu (CodedBitstreamContext *ctx, RWContext *rw, AV1RawSequenceHeader *current)
 
static int FUNC() temporal_delimiter_obu (CodedBitstreamContext *ctx, RWContext *rw)
 
static int FUNC() set_frame_refs (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() superres_params (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() frame_size (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() render_size (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() frame_size_with_refs (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() interpolation_filter (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() tile_info (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() quantization_params (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() segmentation_params (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() delta_q_params (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() delta_lf_params (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() loop_filter_params (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() cdef_params (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() lr_params (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() read_tx_mode (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() frame_reference_mode (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() skip_mode_params (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() global_motion_param (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current, int type, int ref, int idx)
 
static int FUNC() global_motion_params (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() film_grain_params (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFilmGrainParams *current, AV1RawFrameHeader *frame_header)
 
static int FUNC() uncompressed_header (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current)
 
static int FUNC() frame_header_obu (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrameHeader *current, int redundant, AVBufferRef *rw_buffer_ref)
 
static int FUNC() tile_group_obu (CodedBitstreamContext *ctx, RWContext *rw, AV1RawTileGroup *current)
 
static int FUNC() frame_obu (CodedBitstreamContext *ctx, RWContext *rw, AV1RawFrame *current, AVBufferRef *rw_buffer_ref)
 
static int FUNC() tile_list_obu (CodedBitstreamContext *ctx, RWContext *rw, AV1RawTileList *current)
 
static int FUNC() metadata_hdr_cll (CodedBitstreamContext *ctx, RWContext *rw, AV1RawMetadataHDRCLL *current)
 
static int FUNC() metadata_hdr_mdcv (CodedBitstreamContext *ctx, RWContext *rw, AV1RawMetadataHDRMDCV *current)
 
static int FUNC() scalability_structure (CodedBitstreamContext *ctx, RWContext *rw, AV1RawMetadataScalability *current)
 
static int FUNC() metadata_scalability (CodedBitstreamContext *ctx, RWContext *rw, AV1RawMetadataScalability *current)
 
static int FUNC() metadata_itut_t35 (CodedBitstreamContext *ctx, RWContext *rw, AV1RawMetadataITUTT35 *current)
 
static int FUNC() metadata_timecode (CodedBitstreamContext *ctx, RWContext *rw, AV1RawMetadataTimecode *current)
 
static int FUNC() metadata_obu (CodedBitstreamContext *ctx, RWContext *rw, AV1RawMetadata *current)
 
static int FUNC() padding_obu (CodedBitstreamContext *ctx, RWContext *rw, AV1RawPadding *current)
 

Function Documentation

◆ obu_header()

static int FUNC() obu_header ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawOBUHeader current 
)
static

Definition at line 19 of file cbs_av1_syntax_template.c.

◆ trailing_bits()

static int FUNC() trailing_bits ( CodedBitstreamContext ctx,
RWContext rw,
int  nb_bits 
)
static

Definition at line 50 of file cbs_av1_syntax_template.c.

Referenced by message().

◆ byte_alignment()

static int FUNC() byte_alignment ( CodedBitstreamContext ctx,
RWContext rw 
)
static

Definition at line 67 of file cbs_av1_syntax_template.c.

Referenced by frame_obu(), and tile_group_obu().

◆ color_config()

static int FUNC() color_config ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawColorConfig current,
int  seq_profile 
)
static

Definition at line 77 of file cbs_av1_syntax_template.c.

Referenced by sequence_header_obu().

◆ timing_info()

static int FUNC() timing_info ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawTimingInfo current 
)
static

Definition at line 158 of file cbs_av1_syntax_template.c.

Referenced by avf_read_packet(), decode_vui(), and sequence_header_obu().

◆ decoder_model_info()

static int FUNC() decoder_model_info ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawDecoderModelInfo current 
)
static

Definition at line 173 of file cbs_av1_syntax_template.c.

Referenced by sequence_header_obu().

◆ sequence_header_obu()

static int FUNC() sequence_header_obu ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawSequenceHeader current 
)
static

Definition at line 186 of file cbs_av1_syntax_template.c.

◆ temporal_delimiter_obu()

static int FUNC() temporal_delimiter_obu ( CodedBitstreamContext ctx,
RWContext rw 
)
static

Definition at line 337 of file cbs_av1_syntax_template.c.

◆ set_frame_refs()

static int FUNC() set_frame_refs ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 348 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ superres_params()

static int FUNC() superres_params ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 459 of file cbs_av1_syntax_template.c.

Referenced by frame_size(), and frame_size_with_refs().

◆ frame_size()

static int FUNC() frame_size ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 485 of file cbs_av1_syntax_template.c.

Referenced by frame_size_with_refs(), and uncompressed_header().

◆ render_size()

static int FUNC() render_size ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 508 of file cbs_av1_syntax_template.c.

Referenced by frame_size_with_refs(), and uncompressed_header().

◆ frame_size_with_refs()

static int FUNC() frame_size_with_refs ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 530 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ interpolation_filter()

static int FUNC() interpolation_filter ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 574 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ tile_info()

static int FUNC() tile_info ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 589 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ quantization_params()

static int FUNC() quantization_params ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 696 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ segmentation_params()

static int FUNC() segmentation_params ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 743 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ delta_q_params()

static int FUNC() delta_q_params ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 813 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ delta_lf_params()

static int FUNC() delta_lf_params ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 829 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ loop_filter_params()

static int FUNC() loop_filter_params ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 855 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ cdef_params()

static int FUNC() cdef_params ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 938 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ lr_params()

static int FUNC() lr_params ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 973 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ read_tx_mode()

static int FUNC() read_tx_mode ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 1014 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ frame_reference_mode()

static int FUNC() frame_reference_mode ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 1028 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ skip_mode_params()

static int FUNC() skip_mode_params ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 1042 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ global_motion_param()

static int FUNC() global_motion_param ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current,
int  type,
int  ref,
int  idx 
)
static

Definition at line 1122 of file cbs_av1_syntax_template.c.

Referenced by global_motion_params().

◆ global_motion_params()

static int FUNC() global_motion_params ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 1151 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ film_grain_params()

static int FUNC() film_grain_params ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFilmGrainParams current,
AV1RawFrameHeader frame_header 
)
static

Definition at line 1196 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ uncompressed_header()

static int FUNC() uncompressed_header ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current 
)
static

Definition at line 1303 of file cbs_av1_syntax_template.c.

Referenced by frame_header_obu().

◆ frame_header_obu()

static int FUNC() frame_header_obu ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrameHeader current,
int  redundant,
AVBufferRef rw_buffer_ref 
)
static

Definition at line 1681 of file cbs_av1_syntax_template.c.

Referenced by frame_obu().

◆ tile_group_obu()

static int FUNC() tile_group_obu ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawTileGroup current 
)
static

Definition at line 1772 of file cbs_av1_syntax_template.c.

Referenced by frame_obu().

◆ frame_obu()

static int FUNC() frame_obu ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawFrame current,
AVBufferRef rw_buffer_ref 
)
static

Definition at line 1810 of file cbs_av1_syntax_template.c.

◆ tile_list_obu()

static int FUNC() tile_list_obu ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawTileList current 
)
static

Definition at line 1826 of file cbs_av1_syntax_template.c.

◆ metadata_hdr_cll()

static int FUNC() metadata_hdr_cll ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawMetadataHDRCLL current 
)
static

Definition at line 1841 of file cbs_av1_syntax_template.c.

Referenced by metadata_obu().

◆ metadata_hdr_mdcv()

static int FUNC() metadata_hdr_mdcv ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawMetadataHDRMDCV current 
)
static

Definition at line 1852 of file cbs_av1_syntax_template.c.

Referenced by metadata_obu().

◆ scalability_structure()

static int FUNC() scalability_structure ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawMetadataScalability current 
)
static

Definition at line 1874 of file cbs_av1_syntax_template.c.

Referenced by metadata_scalability().

◆ metadata_scalability()

static int FUNC() metadata_scalability ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawMetadataScalability current 
)
static

Definition at line 1921 of file cbs_av1_syntax_template.c.

Referenced by metadata_obu().

◆ metadata_itut_t35()

static int FUNC() metadata_itut_t35 ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawMetadataITUTT35 current 
)
static

Definition at line 1934 of file cbs_av1_syntax_template.c.

Referenced by metadata_obu().

◆ metadata_timecode()

static int FUNC() metadata_timecode ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawMetadataTimecode current 
)
static

Definition at line 1962 of file cbs_av1_syntax_template.c.

Referenced by metadata_obu().

◆ metadata_obu()

static int FUNC() metadata_obu ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawMetadata current 
)
static

Definition at line 2000 of file cbs_av1_syntax_template.c.

◆ padding_obu()

static int FUNC() padding_obu ( CodedBitstreamContext ctx,
RWContext rw,
AV1RawPadding current 
)
static

Definition at line 2031 of file cbs_av1_syntax_template.c.