FFmpeg
Loading...
Searching...
No Matches
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)
 

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.

Referenced by cbs_av1_split_fragment(), and obu_header().

◆ 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 frame(), message(), process_block(), trailing_bits(), and trailing_bits().

◆ byte_alignment()

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

Definition at line 67 of file cbs_av1_syntax_template.c.

◆ color_config()

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

◆ timing_info()

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

◆ 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 decoder_model_info(), and 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.

Referenced by sequence_header_obu().

◆ temporal_delimiter_obu()

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

Definition at line 340 of file cbs_av1_syntax_template.c.

Referenced by temporal_delimiter_obu().

◆ set_frame_refs()

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

Definition at line 351 of file cbs_av1_syntax_template.c.

Referenced by set_frame_refs(), and uncompressed_header().

◆ superres_params()

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

Definition at line 462 of file cbs_av1_syntax_template.c.

Referenced by frame_size(), frame_size_with_refs(), and superres_params().

◆ frame_size()

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

Definition at line 488 of file cbs_av1_syntax_template.c.

◆ render_size()

◆ frame_size_with_refs()

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

◆ interpolation_filter()

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

◆ tile_info()

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

Definition at line 592 of file cbs_av1_syntax_template.c.

◆ quantization_params()

◆ segmentation_params()

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

◆ delta_q_params()

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

Definition at line 827 of file cbs_av1_syntax_template.c.

Referenced by delta_q_params(), and uncompressed_header().

◆ delta_lf_params()

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

Definition at line 843 of file cbs_av1_syntax_template.c.

Referenced by delta_lf_params(), and uncompressed_header().

◆ loop_filter_params()

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

◆ cdef_params()

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

Definition at line 952 of file cbs_av1_syntax_template.c.

Referenced by cdef_params(), and uncompressed_header().

◆ lr_params()

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

Definition at line 987 of file cbs_av1_syntax_template.c.

Referenced by lr_params(), and uncompressed_header().

◆ read_tx_mode()

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

Definition at line 1028 of file cbs_av1_syntax_template.c.

Referenced by read_tx_mode(), and uncompressed_header().

◆ frame_reference_mode()

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

Definition at line 1042 of file cbs_av1_syntax_template.c.

Referenced by frame_reference_mode(), and uncompressed_header().

◆ skip_mode_params()

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

Definition at line 1056 of file cbs_av1_syntax_template.c.

◆ 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 1136 of file cbs_av1_syntax_template.c.

Referenced by global_motion_param(), and global_motion_params().

◆ global_motion_params()

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

Definition at line 1165 of file cbs_av1_syntax_template.c.

◆ film_grain_params()

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

Definition at line 1210 of file cbs_av1_syntax_template.c.

Referenced by film_grain_params(), and uncompressed_header().

◆ uncompressed_header()

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

◆ 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 1732 of file cbs_av1_syntax_template.c.

Referenced by frame_header_obu(), and frame_obu().

◆ tile_group_obu()

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

◆ frame_obu()

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

Definition at line 1869 of file cbs_av1_syntax_template.c.

Referenced by frame_obu().