digiKam
heif_hevc.h
Go to the documentation of this file.
1 /*
2  * HEIF codec.
3  * Copyright (c) 2017 struktur AG, Dirk Farin <farin@struktur.de>
4  *
5  * This file is part of libheif.
6  *
7  * libheif 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  * libheif 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 libheif. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef HEIF_HEVC_H
22 #define HEIF_HEVC_H
23 
24 #include <assert.h>
25 #include <math.h>
26 
27 #include <memory>
28 #include <vector>
29 
30 #include "heif.h"
31 #include "box.h"
32 #include "error.h"
33 
34 
35 namespace heif {
36 
38 {
39 public:
40  virtual ~SEIMessage() { }
41 };
42 
43 
46 {
47 public:
48 };
49 
50 
51 Error decode_hevc_aux_sei_messages(const std::vector<uint8_t>& data,
52  std::vector<std::shared_ptr<SEIMessage>>& msgs);
53 
54 
55 Error parse_sps_for_hvcC_configuration(const uint8_t* sps, size_t size,
56  Box_hvcC::configuration* inout_config,
57  int* width, int* height);
58 
59 }
60 
61 #endif
Definition: error.h:75
Definition: heif_hevc.h:38
virtual ~SEIMessage()
Definition: heif_hevc.h:40
Definition: bitstream.h:41
Error parse_sps_for_hvcC_configuration(const uint8_t *sps, size_t size, Box_hvcC::configuration *inout_config, int *width, int *height)
Error decode_hevc_aux_sei_messages(const std::vector< uint8_t > &data, std::vector< std::shared_ptr< SEIMessage >> &msgs)
Definition: box.h:630
Definition: heif.h:520