#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"
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) |
Definition in file sei.c.
void interpret_buffering_period_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Buffering period SEI message.
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().
void interpret_deblocking_filter_display_preference_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the deblocking filter display preference SEI message.
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().
void interpret_dec_ref_pic_marking_repetition_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Decoded Picture Buffer Management Repetition SEI message.
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().
void interpret_filler_payload_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Filler payload SEI message.
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.
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().
void interpret_full_frame_freeze_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Full-frame freeze SEI message.
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().
void interpret_full_frame_freeze_release_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Full-frame freeze release SEI message.
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.
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().
void interpret_motion_constrained_slice_group_set_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Motion-constrained slice group set SEI message.
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().
void interpret_pan_scan_rect_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Pan scan rectangle SEI message.
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().
void interpret_picture_timing_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Picture timing SEI message.
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().
void interpret_post_filter_hints_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the post filter hints SEI message (JVT-U035).
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().
void interpret_progressive_refinement_end_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Progressive refinement segment end SEI message.
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().
void interpret_progressive_refinement_start_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Progressive refinement segment start SEI message.
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().
void interpret_recovery_point_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Random access point SEI message.
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().
void interpret_reserved_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Reserved SEI message.
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.
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().
void interpret_spare_pic | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the spare picture SEI message.
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().
void interpret_stereo_video_info_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the stereo video info SEI message.
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().
void interpret_subsequence_characteristics_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Sub-sequence characteristics SEI message.
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().
void interpret_subsequence_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Sub-sequence information SEI message.
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().
void interpret_subsequence_layer_characteristics_info | ( | byte * | payload, | |
int | size, | |||
ImageParameters * | p_Img | |||
) |
Interpret the Sub-sequence layer characteristics SEI message.
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().
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.
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.
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 | |||
) |
Interpret the SEI rbsp.
msg | a pointer that point to the sei message. | |
size | the size of the sei message | |
p_Img | the image pointer |
Definition at line 65 of file sei.c.
References interpret_buffering_period_info(), interpret_deblocking_filter_display_preference_info(), interpret_dec_ref_pic_marking_repetition_info(), interpret_filler_payload_info(), interpret_film_grain_characteristics_info(), interpret_full_frame_freeze_info(), interpret_full_frame_freeze_release_info(), interpret_full_frame_snapshot_info(), interpret_motion_constrained_slice_group_set_info(), interpret_pan_scan_rect_info(), interpret_picture_timing_info(), interpret_post_filter_hints_info(), interpret_progressive_refinement_end_info(), interpret_progressive_refinement_start_info(), interpret_recovery_point_info(), interpret_reserved_info(), interpret_scene_information(), interpret_spare_pic(), interpret_stereo_video_info_info(), interpret_subsequence_characteristics_info(), interpret_subsequence_info(), interpret_subsequence_layer_characteristics_info(), interpret_user_data_registered_itu_t_t35_info(), and interpret_user_data_unregistered_info().
Referenced by read_new_slice().