sei.c File Reference

Functions to implement SEI messages. More...

#include "contributors.h"
#include <math.h>
#include "global.h"
#include "memalloc.h"
#include "sei.h"
#include "vlc.h"
#include "header.h"
#include "mbuffer.h"
#include "parset.h"

Include dependency graph for sei.c:

Go to the source code of this file.

Data Structures

struct  tone_mapping_struct_tmp
 Interpret the HDR tone-mapping SEI message (JVT-T060). More...

Functions

void InterpretSEIMessage (byte *msg, int size, ImageParameters *p_Img)
void interpret_spare_pic (byte *payload, int size, ImageParameters *p_Img)
void interpret_subsequence_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_subsequence_layer_characteristics_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_subsequence_characteristics_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_scene_information (byte *payload, int size, ImageParameters *p_Img)
void interpret_filler_payload_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_user_data_unregistered_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_user_data_registered_itu_t_t35_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_pan_scan_rect_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_recovery_point_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_dec_ref_pic_marking_repetition_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_full_frame_freeze_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_full_frame_freeze_release_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_full_frame_snapshot_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_progressive_refinement_start_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_progressive_refinement_end_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_motion_constrained_slice_group_set_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_film_grain_characteristics_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_deblocking_filter_display_preference_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_stereo_video_info_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_reserved_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_buffering_period_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_picture_timing_info (byte *payload, int size, ImageParameters *p_Img)
void interpret_tone_mapping (byte *payload, int size, ImageParameters *p_Img)
void interpret_post_filter_hints_info (byte *payload, int size, ImageParameters *p_Img)


Detailed Description

Functions to implement SEI messages.

Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file sei.c.


Function Documentation

void interpret_buffering_period_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Buffering period SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1581 of file sei.c.

References activate_sps(), Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, u_v(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_deblocking_filter_display_preference_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the deblocking filter display preference SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1437 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, u_1(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_dec_ref_pic_marking_repetition_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Decoded Picture Buffer Management Repetition SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 942 of file sei.c.

References Bitstream::bitstream_length, dec_ref_pic_marking(), Bitstream::frame_bitoffset, Bitstream::streamBuffer, u_1(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_filler_payload_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Filler payload SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 692 of file sei.c.

Referenced by InterpretSEIMessage().

void interpret_film_grain_characteristics_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the film grain characteristics SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1323 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, se_v(), Bitstream::streamBuffer, u_1(), u_v(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_full_frame_freeze_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Full-frame freeze SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1075 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_full_frame_freeze_release_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Full-frame freeze release SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1111 of file sei.c.

Referenced by InterpretSEIMessage().

void interpret_full_frame_snapshot_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Full-frame snapshot SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1139 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_motion_constrained_slice_group_set_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Motion-constrained slice group set SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1257 of file sei.c.

References Bitstream::bitstream_length, CeilLog2(), Bitstream::frame_bitoffset, Bitstream::streamBuffer, u_1(), u_v(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_pan_scan_rect_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Pan scan rectangle SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 831 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, se_v(), Bitstream::streamBuffer, u_1(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_picture_timing_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Picture timing SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1661 of file sei.c.

References Bitstream::bitstream_length, error(), Bitstream::frame_bitoffset, i_v(), Bitstream::streamBuffer, u_1(), and u_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_post_filter_hints_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the post filter hints SEI message (JVT-U035).

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 2116 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, free_mem3Dint(), get_mem3Dint(), se_v(), Bitstream::streamBuffer, u_1(), u_v(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_progressive_refinement_end_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Progressive refinement segment end SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1218 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_progressive_refinement_start_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Progressive refinement segment start SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1177 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_recovery_point_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Random access point SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 892 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, u_1(), u_v(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_reserved_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Reserved SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1545 of file sei.c.

Referenced by InterpretSEIMessage().

void interpret_scene_information ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Scene information SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 644 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_spare_pic ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the spare picture SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

KS: could not check this function, description is unclear (as stated in Ed. Note)

Definition at line 191 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, free_mem2Dpel(), free_mem3D(), get_mem2Dpel(), get_mem3D(), Bitstream::streamBuffer, u_1(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_stereo_video_info_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the stereo video info SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 1484 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, and u_1().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_subsequence_characteristics_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Sub-sequence characteristics SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 552 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, u_1(), u_v(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_subsequence_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Sub-sequence information SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 446 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, u_1(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_subsequence_layer_characteristics_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the Sub-sequence layer characteristics SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 503 of file sei.c.

References Bitstream::bitstream_length, Bitstream::frame_bitoffset, Bitstream::streamBuffer, u_1(), u_v(), and ue_v().

Referenced by InterpretSEIMessage().

Here is the call graph for this function:

void interpret_user_data_registered_itu_t_t35_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the User data registered by ITU-T T.35 SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 785 of file sei.c.

Referenced by InterpretSEIMessage().

void interpret_user_data_unregistered_info ( byte payload,
int  size,
ImageParameters *  p_Img 
)

Interpret the User data unregistered SEI message.

Parameters:
payload a pointer that point to the sei payload
size the size of the sei message
p_Img the image pointer

Definition at line 736 of file sei.c.

Referenced by InterpretSEIMessage().

void InterpretSEIMessage ( byte msg,
int  size,
ImageParameters *  p_Img 
)


Documentation generated with DoxyGen