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, AV1RawFrameHeader *current)
 
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 43 of file cbs_av1_syntax_template.c.

◆ byte_alignment()

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

Definition at line 60 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 70 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 151 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 166 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 179 of file cbs_av1_syntax_template.c.

◆ temporal_delimiter_obu()

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

Definition at line 330 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 341 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 452 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 478 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 501 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 523 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 562 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 577 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 675 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 722 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 773 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 789 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 815 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 870 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 905 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 946 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 960 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 974 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 1054 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 1083 of file cbs_av1_syntax_template.c.

Referenced by uncompressed_header().

◆ film_grain_params()

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

Definition at line 1128 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 1234 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 1589 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 1678 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 1714 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 1730 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 1745 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 1756 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 1778 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 1825 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 1838 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 1866 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 1904 of file cbs_av1_syntax_template.c.

◆ padding_obu()

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

Definition at line 1935 of file cbs_av1_syntax_template.c.