TUT HEVC Encoder
sei.h
Go to the documentation of this file.
1#ifndef UDU_SEI_H_
2#define UDU_SEI_H_
3/*****************************************************************************
4 * This file is part of Kvazaar HEVC encoder.
5 *
6 * Copyright (c) 2022, Tampere University, ITU/ISO/IEC, project contributors
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without modification,
10 * are permitted provided that the following conditions are met:
11 *
12 * * Redistributions of source code must retain the above copyright notice, this
13 * list of conditions and the following disclaimer.
14 *
15 * * Redistributions in binary form must reproduce the above copyright notice, this
16 * list of conditions and the following disclaimer in the documentation and/or
17 * other materials provided with the distribution.
18 *
19 * * Neither the name of the Tampere University or ITU/ISO/IEC nor the names of its
20 * contributors may be used to endorse or promote products derived from
21 * this software without specific prior written permission.
22 *
23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
24 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
27 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28 * INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON
30 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 * INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
33 ****************************************************************************/
34
40#include "global.h" // IWYU pragma: keep
41
42#define SEI_PAYLOAD_TYPE_PIC_TIMING 1
43#define SEI_PAYLOAD_TYPE_USER_DATA_UNREGISTERED 5
44#define SEI_PAYLOAD_TYPE_DECODED_PICTURE_HASH 132
45
46// Flag value used for length / value extension.
47#define FF_BYTE 0xFF
48
49// UUID for the encoder info user defined unregistered message
50// random uuid_iso_iec_11578 generated with www.famkruithof.net/uuid/uuidgen
51static const uint8_t encoder_info_uuid[16] = {
52 0x32, 0xfe, 0x46, 0x6c, 0x98, 0x41, 0x42, 0x69,
53 0xae, 0x35, 0x6a, 0x91, 0x54, 0x9e, 0xf3, 0xf1};
54
55#endif // UDU_SEI_H_
Header that is included in every other header.
static const uint8_t encoder_info_uuid[16]
Definition: sei.h:51