FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
cbs_h264.h File Reference
#include <stddef.h>
#include <stdint.h>
#include "cbs.h"
#include "cbs_h2645.h"
#include "h264.h"

Go to the source code of this file.

Data Structures

struct  H264RawNALUnitHeader
 
struct  H264RawScalingList
 
struct  H264RawHRD
 
struct  H264RawVUI
 
struct  H264RawSPS
 
struct  H264RawSPSExtension
 
struct  H264RawPPS
 
struct  H264RawAUD
 
struct  H264RawSEIBufferingPeriod
 
struct  H264RawSEIPicTimestamp
 
struct  H264RawSEIPicTiming
 
struct  H264RawSEIPanScanRect
 
struct  H264RawSEIUserDataRegistered
 
struct  H264RawSEIUserDataUnregistered
 
struct  H264RawSEIRecoveryPoint
 
struct  H264RawSEIDisplayOrientation
 
struct  H264RawSEIMasteringDisplayColourVolume
 
struct  H264RawSEIPayload
 
struct  H264RawSEI
 
struct  H264RawSliceHeader
 
struct  H264RawSlice
 
struct  H264RawFiller
 
struct  CodedBitstreamH264Context
 

Enumerations

enum  { H264_MAX_SEI_PAYLOADS = 64 }
 

Functions

int ff_cbs_h264_add_sei_message (CodedBitstreamContext *ctx, CodedBitstreamFragment *access_unit, const H264RawSEIPayload *payload)
 Add an SEI message to an access unit. More...
 
int ff_cbs_h264_delete_sei_message (CodedBitstreamContext *ctx, CodedBitstreamFragment *access_unit, CodedBitstreamUnit *nal_unit, int position)
 Delete an SEI message from an access unit. More...
 

Enumeration Type Documentation

anonymous enum
Enumerator
H264_MAX_SEI_PAYLOADS 

Definition at line 30 of file cbs_h264.h.

Function Documentation

int ff_cbs_h264_add_sei_message ( CodedBitstreamContext ctx,
CodedBitstreamFragment access_unit,
const H264RawSEIPayload payload 
)

Add an SEI message to an access unit.

Definition at line 1524 of file cbs_h2645.c.

Referenced by h264_metadata_filter().

int ff_cbs_h264_delete_sei_message ( CodedBitstreamContext ctx,
CodedBitstreamFragment access_unit,
CodedBitstreamUnit nal_unit,
int  position 
)

Delete an SEI message from an access unit.

Deletes from nal_unit, which must be an SEI NAL unit. If this is the last message in nal_unit, also deletes it from access_unit.

Definition at line 1586 of file cbs_h2645.c.

Referenced by h264_metadata_filter().