digiKam
sei.h
Go to the documentation of this file.
1 /*
2  * H.265 video codec.
3  * Copyright (c) 2013-2014 struktur AG, Dirk Farin <farin@struktur.de>
4  *
5  * This file is part of libde265.
6  *
7  * libde265 is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License as
9  * published by the Free Software Foundation, either version 3 of
10  * the License, or (at your option) any later version.
11  *
12  * libde265 is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with libde265. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef DE265_SEI_H
22 #define DE265_SEI_H
23 
24 #include "libde265/bitstream.h"
25 #include "libde265/de265.h"
26 
27 
54 };
55 
56 
61 };
62 
63 
64 typedef struct {
65  enum sei_decoded_picture_hash_type hash_type;
66  uint8_t md5[3][16];
67  uint16_t crc[3];
68  uint32_t checksum[3];
70 
71 
72 typedef struct {
73  enum sei_payload_type payload_type;
75 
76  union {
78  } data;
79 } sei_message;
80 
81 class seq_parameter_set;
82 
83 const char* sei_type_name(enum sei_payload_type type);
84 
86 void dump_sei(const sei_message*, const seq_parameter_set* sps);
88 
89 #endif
Definition: sps.h:86
de265_error
Definition: de265.h:82
QStringView suffix
Definition: itemviewutilities.cpp:594
de265_error read_sei(bitreader *reader, sei_message *, bool suffix, const seq_parameter_set *sps)
void dump_sei(const sei_message *, const seq_parameter_set *sps)
de265_error process_sei(const sei_message *, struct de265_image *img)
const char * sei_type_name(enum sei_payload_type type)
sei_decoded_picture_hash_type
Definition: sei.h:57
@ sei_decoded_picture_hash_type_MD5
Definition: sei.h:58
@ sei_decoded_picture_hash_type_CRC
Definition: sei.h:59
@ sei_decoded_picture_hash_type_checksum
Definition: sei.h:60
sei_payload_type
Definition: sei.h:28
@ sei_payload_type_progressive_refinement_segment_end
Definition: sei.h:39
@ sei_payload_type_recovery_point
Definition: sei.h:35
@ sei_payload_type_no_display
Definition: sei.h:52
@ sei_payload_type_active_parameter_sets
Definition: sei.h:46
@ sei_payload_type_picture_snapshot
Definition: sei.h:37
@ sei_payload_type_tone_mapping_info
Definition: sei.h:42
@ sei_payload_type_decoding_unit_info
Definition: sei.h:47
@ sei_payload_type_pan_scan_rect
Definition: sei.h:31
@ sei_payload_type_frame_packing_arrangement
Definition: sei.h:43
@ sei_payload_type_scalable_nesting
Definition: sei.h:50
@ sei_payload_type_post_filter_hint
Definition: sei.h:41
@ sei_payload_type_decoded_picture_hash
Definition: sei.h:49
@ sei_payload_type_structure_of_pictures_info
Definition: sei.h:45
@ sei_payload_type_scene_info
Definition: sei.h:36
@ sei_payload_type_pic_timing
Definition: sei.h:30
@ sei_payload_type_user_data_unregistered
Definition: sei.h:34
@ sei_payload_type_buffering_period
Definition: sei.h:29
@ sei_payload_type_filler_payload
Definition: sei.h:32
@ sei_payload_type_region_refresh_info
Definition: sei.h:51
@ sei_payload_type_progressive_refinement_segment_start
Definition: sei.h:38
@ sei_payload_type_temporal_sub_layer_zero_index
Definition: sei.h:48
@ sei_payload_type_user_data_registered_itu_t_t35
Definition: sei.h:33
@ sei_payload_type_film_grain_characteristics
Definition: sei.h:40
@ sei_payload_type_display_orientation
Definition: sei.h:44
@ sei_payload_type_motion_constrained_tile_sets
Definition: sei.h:53
Definition: bitstream.h:39
Definition: image.h:222
Definition: sei.h:64
Definition: sei.h:72
sei_decoded_picture_hash decoded_picture_hash
Definition: sei.h:77
int payload_size
Definition: sei.h:74