19#ifndef AVCODEC_CBS_LCEVC_H
20#define AVCODEC_CBS_LCEVC_H
235#define LCEVC_PROCESS_BLOCK_TYPE_END { .payload_type = -1 }
286 uint32_t payload_type,
298 uint32_t payload_type,
306 uint32_t payload_type);
int ff_cbs_lcevc_alloc_process_block_payload(LCEVCRawProcessBlock *block, const LCEVCProcessBlockTypeDescriptor *desc)
Allocate a new payload for the given Process Block.
int ff_cbs_lcevc_add_process_block(CodedBitstreamContext *ctx, CodedBitstreamFragment *au, int position, uint32_t payload_type, void *payload_data, void *payload_ref)
Add a process block to an access unit.
int ff_cbs_lcevc_find_process_block(CodedBitstreamContext *ctx, CodedBitstreamFragment *au, uint32_t payload_type, LCEVCRawProcessBlock **block)
Iterate over blocks with the given payload type in an access unit.
void ff_cbs_lcevc_delete_process_block_type(CodedBitstreamContext *ctx, CodedBitstreamFragment *au, uint32_t payload_type)
Delete all blocks with the given payload type from an access unit.
const LCEVCProcessBlockTypeDescriptor * ff_cbs_lcevc_process_block_find_type(CodedBitstreamContext *ctx, int payload_type)
Find the type descriptor for the given payload type.
int(* LCEVCRawProcessBlockWriteFunction)(CodedBitstreamContext *ctx, struct PutBitContext *rw, void *current, LCEVCProcessBlockState *state, int nal_unit_type)
int(* LCEVCRawProcessBlockReadFunction)(CodedBitstreamContext *ctx, struct GetBitContext *rw, void *current, LCEVCProcessBlockState *state, int nal_unit_type)
void ff_cbs_lcevc_free_process_block_list(LCEVCRawProcessBlockList *list)
Free all Process Block in a block list.
int ff_cbs_lcevc_list_add(LCEVCRawProcessBlockList *list, int position)
Allocate a new empty Process Block in a block list at a given position.
static struct @346255127015250356166251341105367306144006377143 state
static struct @111144215057303131116103221376075045141373005341 current
LCEVC common definitions.
A reference to a data buffer.
Context structure for coded bitstream operations.
Coded bitstream fragment structure, combining one or more units.
LCEVCRawGlobalConfig * gc
RefStruct references.
LCEVCRawSequenceConfig * sc
RefStruct references.
LCEVCRawPictureConfig * pc
RefStruct references.
int dithering_control_flag
CodedBitstreamH2645Context common
uint8_t extension_present
LCEVCRawProcessBlockReadFunction read
LCEVCRawProcessBlockWriteFunction write
uint8_t additional_info_type
void * payload_ref
RefStruct reference.
LCEVCRawNALUnitHeader nal_unit_header
LCEVCRawPictureConfig * pc
RefStruct references.
LCEVCRawSequenceConfig * sc
RefStruct references.
LCEVCRawGlobalConfig * gc
RefStruct references.
uint8_t temporal_surfaces_rle_only_flag[3]
uint8_t surfaces_rle_only_flag[3][3][16]
uint8_t surfaces_entropy_enabled_flag[3][3][16]
uint8_t temporal_surfaces_entropy_enabled_flag[3]
uint8_t chroma_sampling_type
uint8_t level1_filtering_first_coefficient
uint16_t custom_resolution_width
uint16_t reserved_zeros_5bit
uint8_t temporal_tile_intra_signalling_enabled_flag
uint8_t tile_dimensions_type
uint8_t user_data_enabled
uint16_t upsampler_coeff3
uint8_t level1_filtering_second_coefficient
uint16_t custom_tile_height
uint16_t upsampler_coeff1
uint8_t level1_filtering_signalled_flag
uint8_t compression_type_size_per_tile
uint8_t scaling_mode_level1
uint8_t level1_depth_flag
uint8_t enhancement_depth_type
uint16_t custom_resolution_height
uint8_t compression_type_entropy_enabled_per_tile_flag
uint8_t predicted_residual_mode_flag
uint16_t upsampler_coeff2
uint8_t scaling_mode_level2
uint8_t chroma_step_width_multiplier
uint16_t upsampler_coeff4
uint8_t chroma_step_width_flag
uint8_t temporal_enabled_flag
uint8_t temporal_step_width_modifier
uint16_t custom_tile_width
uint8_t reserved_zeros_4bit
uint8_t temporal_step_width_modifier_signalled_flag
uint8_t processed_planes_type_flag
LCEVCRawNALUnitHeader nal_unit_header
LCEVCRawProcessBlockList process_block_list
uint8_t reserved_zeros_7bit
uint8_t picture_type_bit_flag
uint8_t dequant_offset_mode_flag
LCEVCRawGlobalConfig * gc
RefStruct references.
uint16_t step_width_sublayer2
uint8_t field_type_bit_flag
uint8_t temporal_refresh_bit_flag
uint8_t temporal_signalling_present_flag
uint8_t dequant_offset_signalled_flag
uint16_t step_width_sublayer1
uint8_t step_width_sublayer1_enabled_flag
uint8_t level1_filtering_enabled_flag
uint8_t quant_matrix_mode
uint8_t qm_coefficient_1[16]
uint8_t no_enhancement_bit_flag
uint8_t reserved_zeros_4bit
uint8_t qm_coefficient_0[16]
uint8_t reserved_zeros_5bit
uint8_t dithering_control_flag
uint8_t dithering_strength
LCEVCRawProcessBlock * blocks
uint8_t * extension_data
RefStruct reference.
void * payload_ref
RefStruct reference.
size_t extension_bit_length
void * payload_ref
RefStruct reference.
uint8_t conformance_window_flag
uint8_t reserved_zeros_1bit
uint32_t conf_win_right_offset
uint8_t reserved_zeros_5bit
uint8_t extended_level_idc
uint32_t conf_win_bottom_offset
uint32_t conf_win_left_offset
uint8_t extended_profile_idc
uint32_t conf_win_top_offset
uint8_t overscan_appropriate_flag
uint8_t matrix_coefficients
uint8_t video_full_range_flag
uint8_t aspect_ratio_info_present_flag
uint8_t overscan_info_present_flag
uint8_t chroma_sample_loc_type_bottom_field
uint8_t transfer_characteristics
uint8_t colour_description_present_flag
uint8_t chroma_loc_info_present_flag
uint8_t chroma_sample_loc_type_top_field
uint8_t video_signal_type_present_flag
static AVFormatContext * ctx