FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
hevc_sei.c File Reference
#include "golomb.h"
#include "hevcdec.h"

Go to the source code of this file.

Enumerations

enum  HEVC_SEI_TYPE {
  SEI_TYPE_BUFFERING_PERIOD = 0, SEI_TYPE_PICTURE_TIMING = 1, SEI_TYPE_PAN_SCAN_RECT = 2, SEI_TYPE_FILLER_PAYLOAD = 3,
  SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35 = 4, SEI_TYPE_USER_DATA_UNREGISTERED = 5, SEI_TYPE_RECOVERY_POINT = 6, SEI_TYPE_SCENE_INFO = 9,
  SEI_TYPE_FULL_FRAME_SNAPSHOT = 15, SEI_TYPE_PROGRESSIVE_REFINEMENT_SEGMENT_START = 16, SEI_TYPE_PROGRESSIVE_REFINEMENT_SEGMENT_END = 17, SEI_TYPE_FILM_GRAIN_CHARACTERISTICS = 19,
  SEI_TYPE_POST_FILTER_HINT = 22, SEI_TYPE_TONE_MAPPING_INFO = 23, SEI_TYPE_FRAME_PACKING = 45, SEI_TYPE_DISPLAY_ORIENTATION = 47,
  SEI_TYPE_SOP_DESCRIPTION = 128, SEI_TYPE_ACTIVE_PARAMETER_SETS = 129, SEI_TYPE_DECODING_UNIT_INFO = 130, SEI_TYPE_TEMPORAL_LEVEL0_INDEX = 131,
  SEI_TYPE_DECODED_PICTURE_HASH = 132, SEI_TYPE_SCALABLE_NESTING = 133, SEI_TYPE_REGION_REFRESH_INFO = 134, SEI_TYPE_MASTERING_DISPLAY_INFO = 137,
  SEI_TYPE_CONTENT_LIGHT_LEVEL_INFO = 144
}
 

Functions

static int decode_nal_sei_decoded_picture_hash (HEVCContext *s)
 
static int decode_nal_sei_mastering_display_info (HEVCContext *s)
 
static int decode_nal_sei_frame_packing_arrangement (HEVCContext *s)
 
static int decode_nal_sei_display_orientation (HEVCContext *s)
 
static int decode_pic_timing (HEVCContext *s, int size)
 
static int decode_registered_user_data_closed_caption (HEVCContext *s, int size)
 
static int decode_nal_sei_user_data_registered_itu_t_t35 (HEVCContext *s, int size)
 
static int active_parameter_sets (HEVCContext *s)
 
static int decode_nal_sei_prefix (HEVCContext *s, int type, int size)
 
static int decode_nal_sei_suffix (HEVCContext *s, int type, int size)
 
static int decode_nal_sei_message (HEVCContext *s)
 
static int more_rbsp_data (GetBitContext *gb)
 
int ff_hevc_decode_nal_sei (HEVCContext *s)
 
void ff_hevc_reset_sei (HEVCContext *s)
 Reset SEI values that are stored on the Context. More...
 

Enumeration Type Documentation

Enumerator
SEI_TYPE_BUFFERING_PERIOD 
SEI_TYPE_PICTURE_TIMING 
SEI_TYPE_PAN_SCAN_RECT 
SEI_TYPE_FILLER_PAYLOAD 
SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35 
SEI_TYPE_USER_DATA_UNREGISTERED 
SEI_TYPE_RECOVERY_POINT 
SEI_TYPE_SCENE_INFO 
SEI_TYPE_FULL_FRAME_SNAPSHOT 
SEI_TYPE_PROGRESSIVE_REFINEMENT_SEGMENT_START 
SEI_TYPE_PROGRESSIVE_REFINEMENT_SEGMENT_END 
SEI_TYPE_FILM_GRAIN_CHARACTERISTICS 
SEI_TYPE_POST_FILTER_HINT 
SEI_TYPE_TONE_MAPPING_INFO 
SEI_TYPE_FRAME_PACKING 
SEI_TYPE_DISPLAY_ORIENTATION 
SEI_TYPE_SOP_DESCRIPTION 
SEI_TYPE_ACTIVE_PARAMETER_SETS 
SEI_TYPE_DECODING_UNIT_INFO 
SEI_TYPE_TEMPORAL_LEVEL0_INDEX 
SEI_TYPE_DECODED_PICTURE_HASH 
SEI_TYPE_SCALABLE_NESTING 
SEI_TYPE_REGION_REFRESH_INFO 
SEI_TYPE_MASTERING_DISPLAY_INFO 
SEI_TYPE_CONTENT_LIGHT_LEVEL_INFO 

Definition at line 28 of file hevc_sei.c.

Function Documentation

static int decode_nal_sei_decoded_picture_hash ( HEVCContext s)
static

Definition at line 56 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix(), and decode_nal_sei_suffix().

static int decode_nal_sei_mastering_display_info ( HEVCContext s)
static

Definition at line 81 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

static int decode_nal_sei_frame_packing_arrangement ( HEVCContext s)
static

Definition at line 105 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

static int decode_nal_sei_display_orientation ( HEVCContext s)
static

Definition at line 131 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

static int decode_pic_timing ( HEVCContext s,
int  size 
)
static

Definition at line 148 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

static int decode_registered_user_data_closed_caption ( HEVCContext s,
int  size 
)
static

Definition at line 177 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 ( HEVCContext s,
int  size 
)
static

Definition at line 229 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

static int active_parameter_sets ( HEVCContext s)
static

Definition at line 261 of file hevc_sei.c.

Referenced by decode_nal_sei_prefix().

static int decode_nal_sei_prefix ( HEVCContext s,
int  type,
int  size 
)
static

Definition at line 291 of file hevc_sei.c.

Referenced by decode_nal_sei_message().

static int decode_nal_sei_suffix ( HEVCContext s,
int  type,
int  size 
)
static

Definition at line 323 of file hevc_sei.c.

Referenced by decode_nal_sei_message().

static int decode_nal_sei_message ( HEVCContext s)
static

Definition at line 337 of file hevc_sei.c.

Referenced by ff_hevc_decode_nal_sei().

static int more_rbsp_data ( GetBitContext gb)
static

Definition at line 366 of file hevc_sei.c.

Referenced by ff_hevc_decode_nal_sei().

int ff_hevc_decode_nal_sei ( HEVCContext s)

Definition at line 371 of file hevc_sei.c.

Referenced by decode_nal_unit().

void ff_hevc_reset_sei ( HEVCContext 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 383 of file hevc_sei.c.

Referenced by hevc_init_context().