Go to the documentation of this file.
19 #ifndef AVCODEC_CBS_SEI_H
20 #define AVCODEC_CBS_SEI_H
130 #define SEI_MESSAGE_TYPE_END { .type = -1 }
172 uint32_t payload_type,
184 uint32_t payload_type,
192 uint32_t payload_type);
uint16_t display_primaries_x[3]
int ff_cbs_sei_find_message(CodedBitstreamContext *ctx, CodedBitstreamFragment *au, uint32_t payload_type, SEIRawMessage **message)
Iterate over messages with the given payload type in an access unit.
size_t extension_bit_length
Context structure for coded bitstream operations.
int(* SEIMessageReadFunction)(CodedBitstreamContext *ctx, struct GetBitContext *rw, void *current, SEIMessageState *sei)
uint8_t * data
RefStruct reference.
uint32_t max_display_mastering_luminance
uint8_t * extension_data
RefStruct reference.
int ff_cbs_sei_list_add(SEIRawMessageList *list)
Allocate a new empty SEI message in a message list.
int ff_cbs_sei_add_message(CodedBitstreamContext *ctx, CodedBitstreamFragment *au, int prefix, uint32_t payload_type, void *payload_data, void *payload_ref)
Add an SEI message to an access unit.
uint8_t itu_t_t35_country_code
int(* SEIMessageWriteFunction)(CodedBitstreamContext *ctx, struct PutBitContext *rw, void *current, SEIMessageState *sei)
Coded bitstream fragment structure, combining one or more units.
int nb_messages_allocated
uint32_t min_display_mastering_luminance
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining list
static int FUNC() sei(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEI *current)
void * payload_ref
RefStruct reference.
int ff_cbs_sei_alloc_message_payload(SEIRawMessage *message, const SEIMessageTypeDescriptor *desc)
Allocate a new payload for the given SEI message.
uint8_t * data
RefStruct reference.
SEIMessageWriteFunction write
uint8_t itu_t_t35_country_code_extension_byte
SEIMessageReadFunction read
uint16_t display_primaries_y[3]
uint16_t max_content_light_level
uint8_t preferred_transfer_characteristics
const SEIMessageTypeDescriptor * ff_cbs_sei_find_type(CodedBitstreamContext *ctx, int payload_type)
Find the type descriptor for the given payload type.
uint32_t ambient_illuminance
void ff_cbs_sei_delete_message_type(CodedBitstreamContext *ctx, CodedBitstreamFragment *au, uint32_t payload_type)
Delete all messages with the given payload type from an access unit.
uint16_t max_pic_average_light_level
void ff_cbs_sei_free_message_list(SEIRawMessageList *list)
Free all SEI messages in a message list.
uint8_t uuid_iso_iec_11578[16]
uint8_t extension_present