FFmpeg
Functions
hevc_sei.c File Reference
#include "atsc_a53.h"
#include "bytestream.h"
#include "dynamic_hdr10_plus.h"
#include "dynamic_hdr_vivid.h"
#include "golomb.h"
#include "hevc_ps.h"
#include "hevc_sei.h"

Go to the source code of this file.

Functions

static int decode_nal_sei_decoded_picture_hash (HEVCSEIPictureHash *s, GetByteContext *gb)
 
static int decode_nal_sei_mastering_display_info (HEVCSEIMasteringDisplay *s, GetByteContext *gb)
 
static int decode_nal_sei_content_light_info (HEVCSEIContentLight *s, GetByteContext *gb)
 
static int decode_nal_sei_frame_packing_arrangement (HEVCSEIFramePacking *s, GetBitContext *gb)
 
static int decode_nal_sei_display_orientation (HEVCSEIDisplayOrientation *s, GetBitContext *gb)
 
static int decode_nal_sei_pic_timing (HEVCSEI *s, GetBitContext *gb, const HEVCParamSets *ps, void *logctx)
 
static int decode_registered_user_data_closed_caption (HEVCSEIA53Caption *s, GetByteContext *gb)
 
static int decode_nal_sei_user_data_unregistered (HEVCSEIUnregistered *s, GetByteContext *gb)
 
static int decode_registered_user_data_dynamic_hdr_plus (HEVCSEIDynamicHDRPlus *s, GetByteContext *gb)
 
static int decode_registered_user_data_dynamic_hdr_vivid (HEVCSEIDynamicHDRVivid *s, GetByteContext *gb)
 
static int decode_nal_sei_user_data_registered_itu_t_t35 (HEVCSEI *s, GetByteContext *gb, void *logctx)
 
static int decode_nal_sei_active_parameter_sets (HEVCSEI *s, GetBitContext *gb, void *logctx)
 
static int decode_nal_sei_alternative_transfer (HEVCSEIAlternativeTransfer *s, GetByteContext *gb)
 
static int decode_nal_sei_timecode (HEVCSEITimeCode *s, GetBitContext *gb)
 
static int decode_film_grain_characteristics (HEVCSEIFilmGrainCharacteristics *h, GetBitContext *gb)
 
static int decode_nal_sei_prefix (GetBitContext *gb, GetByteContext *gbyte, void *logctx, HEVCSEI *s, const HEVCParamSets *ps, int type)
 
static int decode_nal_sei_suffix (GetBitContext *gb, GetByteContext *gbyte, void *logctx, HEVCSEI *s, int type)
 
static int decode_nal_sei_message (GetByteContext *gb, void *logctx, HEVCSEI *s, const HEVCParamSets *ps, int nal_unit_type)
 
int ff_hevc_decode_nal_sei (GetBitContext *gb, void *logctx, HEVCSEI *s, const HEVCParamSets *ps, enum HEVCNALUnitType type)
 
void ff_hevc_reset_sei (HEVCSEI *s)
 Reset SEI values that are stored on the Context. More...
 

Function Documentation

◆ decode_nal_sei_decoded_picture_hash()

static int decode_nal_sei_decoded_picture_hash ( HEVCSEIPictureHash s,
GetByteContext gb 
)
static

Definition at line 33 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix(), and decode_nal_sei_suffix().

◆ decode_nal_sei_mastering_display_info()

static int decode_nal_sei_mastering_display_info ( HEVCSEIMasteringDisplay s,
GetByteContext gb 
)
static

Definition at line 55 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_nal_sei_content_light_info()

static int decode_nal_sei_content_light_info ( HEVCSEIContentLight s,
GetByteContext gb 
)
static

Definition at line 84 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_nal_sei_frame_packing_arrangement()

static int decode_nal_sei_frame_packing_arrangement ( HEVCSEIFramePacking s,
GetBitContext gb 
)
static

Definition at line 101 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_nal_sei_display_orientation()

static int decode_nal_sei_display_orientation ( HEVCSEIDisplayOrientation s,
GetBitContext gb 
)
static

Definition at line 118 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_nal_sei_pic_timing()

static int decode_nal_sei_pic_timing ( HEVCSEI s,
GetBitContext gb,
const HEVCParamSets ps,
void *  logctx 
)
static

Definition at line 133 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_registered_user_data_closed_caption()

static int decode_registered_user_data_closed_caption ( HEVCSEIA53Caption s,
GetByteContext gb 
)
static

Definition at line 164 of file hevc_sei.c.

Referenced by decode_nal_sei_user_data_registered_itu_t_t35().

◆ decode_nal_sei_user_data_unregistered()

static int decode_nal_sei_user_data_unregistered ( HEVCSEIUnregistered s,
GetByteContext gb 
)
static

Definition at line 177 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_registered_user_data_dynamic_hdr_plus()

static int decode_registered_user_data_dynamic_hdr_plus ( HEVCSEIDynamicHDRPlus s,
GetByteContext gb 
)
static

Definition at line 203 of file hevc_sei.c.

Referenced by decode_nal_sei_user_data_registered_itu_t_t35().

◆ decode_registered_user_data_dynamic_hdr_vivid()

static int decode_registered_user_data_dynamic_hdr_vivid ( HEVCSEIDynamicHDRVivid s,
GetByteContext gb 
)
static

Definition at line 229 of file hevc_sei.c.

Referenced by decode_nal_sei_user_data_registered_itu_t_t35().

◆ decode_nal_sei_user_data_registered_itu_t_t35()

static int decode_nal_sei_user_data_registered_itu_t_t35 ( HEVCSEI s,
GetByteContext gb,
void *  logctx 
)
static

Definition at line 255 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_nal_sei_active_parameter_sets()

static int decode_nal_sei_active_parameter_sets ( HEVCSEI s,
GetBitContext gb,
void *  logctx 
)
static

Definition at line 340 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_nal_sei_alternative_transfer()

static int decode_nal_sei_alternative_transfer ( HEVCSEIAlternativeTransfer s,
GetByteContext gb 
)
static

Definition at line 365 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_nal_sei_timecode()

static int decode_nal_sei_timecode ( HEVCSEITimeCode s,
GetBitContext gb 
)
static

Definition at line 377 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_film_grain_characteristics()

static int decode_film_grain_characteristics ( HEVCSEIFilmGrainCharacteristics h,
GetBitContext gb 
)
static

Definition at line 423 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_nal_sei_prefix()

static int decode_nal_sei_prefix ( GetBitContext gb,
GetByteContext gbyte,
void *  logctx,
HEVCSEI s,
const HEVCParamSets ps,
int  type 
)
static

Definition at line 466 of file hevc_sei.c.

Referenced by decode_nal_sei_message().

◆ decode_nal_sei_suffix()

static int decode_nal_sei_suffix ( GetBitContext gb,
GetByteContext gbyte,
void *  logctx,
HEVCSEI s,
int  type 
)
static

Definition at line 501 of file hevc_sei.c.

Referenced by decode_nal_sei_message().

◆ decode_nal_sei_message()

static int decode_nal_sei_message ( GetByteContext gb,
void *  logctx,
HEVCSEI s,
const HEVCParamSets ps,
int  nal_unit_type 
)
static

Definition at line 513 of file hevc_sei.c.

Referenced by ff_hevc_decode_nal_sei().

◆ ff_hevc_decode_nal_sei()

int ff_hevc_decode_nal_sei ( GetBitContext gb,
void *  logctx,
HEVCSEI s,
const HEVCParamSets ps,
enum HEVCNALUnitType  type 
)

Definition at line 552 of file hevc_sei.c.

Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().

◆ ff_hevc_reset_sei()

void ff_hevc_reset_sei ( HEVCSEI s)

Reset SEI values that are stored on the Context.

e.g. Caption data that was extracted during NAL parsing.

Parameters
sHEVCContext.

Definition at line 570 of file hevc_sei.c.

Referenced by hevc_decode_flush(), hevc_decode_free(), hevc_init_context(), hevc_parser_close(), and parse_nal_units().