FFmpeg
Functions
hevc_sei.c File Reference
#include "atsc_a53.h"
#include "dynamic_hdr10_plus.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, GetBitContext *gb)
 
static int decode_nal_sei_mastering_display_info (HEVCSEIMasteringDisplay *s, GetBitContext *gb, int size)
 
static int decode_nal_sei_content_light_info (HEVCSEIContentLight *s, GetBitContext *gb, int size)
 
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, int size)
 
static int decode_registered_user_data_closed_caption (HEVCSEIA53Caption *s, GetBitContext *gb, int size)
 
static int decode_nal_sei_user_data_unregistered (HEVCSEIUnregistered *s, GetBitContext *gb, int size)
 
static int decode_registered_user_data_dynamic_hdr_plus (HEVCSEIDynamicHDRPlus *s, GetBitContext *gb, int size)
 
static int decode_nal_sei_user_data_registered_itu_t_t35 (HEVCSEI *s, GetBitContext *gb, void *logctx, int size)
 
static int decode_nal_sei_active_parameter_sets (HEVCSEI *s, GetBitContext *gb, void *logctx)
 
static int decode_nal_sei_alternative_transfer (HEVCSEIAlternativeTransfer *s, GetBitContext *gb, int size)
 
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, void *logctx, HEVCSEI *s, const HEVCParamSets *ps, int type, int size)
 
static int decode_nal_sei_suffix (GetBitContext *gb, void *logctx, HEVCSEI *s, int type, int size)
 
static int decode_nal_sei_message (GetBitContext *gb, void *logctx, HEVCSEI *s, const HEVCParamSets *ps, int nal_unit_type)
 
static int more_rbsp_data (GetBitContext *gb)
 
int ff_hevc_decode_nal_sei (GetBitContext *gb, void *logctx, HEVCSEI *s, const HEVCParamSets *ps, int 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,
GetBitContext gb 
)
static

Definition at line 31 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,
GetBitContext gb,
int  size 
)
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,
GetBitContext gb,
int  size 
)
static

Definition at line 85 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 103 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 128 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,
int  size 
)
static

Definition at line 143 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,
GetBitContext gb,
int  size 
)
static

Definition at line 179 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,
GetBitContext gb,
int  size 
)
static

Definition at line 197 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,
GetBitContext gb,
int  size 
)
static

Definition at line 223 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,
GetBitContext gb,
void *  logctx,
int  size 
)
static

Definition at line 251 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 329 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,
GetBitContext gb,
int  size 
)
static

Definition at line 358 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 371 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 417 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

◆ decode_nal_sei_prefix()

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

Definition at line 460 of file hevc_sei.c.

Referenced by decode_nal_sei_message().

◆ decode_nal_sei_suffix()

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

Definition at line 495 of file hevc_sei.c.

Referenced by decode_nal_sei_message().

◆ decode_nal_sei_message()

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

Definition at line 508 of file hevc_sei.c.

Referenced by ff_hevc_decode_nal_sei().

◆ more_rbsp_data()

static int more_rbsp_data ( GetBitContext gb)
static

Definition at line 538 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,
int  type 
)

Definition at line 543 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 556 of file hevc_sei.c.

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