FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

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().

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().

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().

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().

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().

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().

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().

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().

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().

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().

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().

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().

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().

static int more_rbsp_data ( GetBitContext gb)
static

Definition at line 342 of file hevc_sei.c.

Referenced by 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 347 of file hevc_sei.c.

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

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 360 of file hevc_sei.c.

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