FFmpeg  4.0
Functions
hevc_sei.c File Reference
#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)
 
static int decode_nal_sei_content_light_info (HEVCSEIContentLight *s, GetBitContext *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, int size)
 
static int decode_registered_user_data_closed_caption (HEVCSEIA53Caption *s, GetBitContext *gb, int size)
 
static int decode_nal_sei_user_data_registered_itu_t_t35 (HEVCSEI *s, GetBitContext *gb, 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)
 
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 29 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 
)
static

Definition at line 53 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 
)
static

Definition at line 76 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 88 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 113 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 128 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 158 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,
int  size 
)
static

Definition at line 209 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 240 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 
)
static

Definition at line 269 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 276 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 305 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 318 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 346 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 351 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 364 of file hevc_sei.c.

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