digiKam
visualize.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_VISUALIZE_H
22 #define DE265_VISUALIZE_H
23 
24 #include "libde265/de265.h"
25 #include "libde265/image.h"
26 
27 
28 void write_picture_to_file(const de265_image* img, const char* filename);
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 // TODO: these should either move to "sherlock265", or be part of the
35 // "official" public API
36 LIBDE265_API void draw_CB_grid(const de265_image* img, uint8_t* dst, int stride, uint32_t value, int pixelSize);
37 LIBDE265_API void draw_TB_grid(const de265_image* img, uint8_t* dst, int stride, uint32_t value, int pixelSize);
38 LIBDE265_API void draw_PB_grid(const de265_image* img, uint8_t* dst, int stride, uint32_t value, int pixelSize);
39 LIBDE265_API void draw_PB_pred_modes(const de265_image* img, uint8_t* dst, int stride, int pixelSize);
40 LIBDE265_API void draw_intra_pred_modes(const de265_image* img, uint8_t* dst, int stride, uint32_t value, int pixelSize);
41 LIBDE265_API void draw_QuantPY(const de265_image* img, uint8_t* dst, int stride, int pixelSize);
42 LIBDE265_API void draw_Motion(const de265_image* img, uint8_t* dst, int stride, int pixelSize);
43 LIBDE265_API void draw_Slices(const de265_image* img, uint8_t* dst, int stride, int pixelSize);
44 LIBDE265_API void draw_Tiles(const de265_image* img, uint8_t* dst, int stride, int pixelSize);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif
#define LIBDE265_API
Definition: de265.h:52
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: image.h:222
LIBDE265_API void draw_TB_grid(const de265_image *img, uint8_t *dst, int stride, uint32_t value, int pixelSize)
LIBDE265_API void draw_Tiles(const de265_image *img, uint8_t *dst, int stride, int pixelSize)
void write_picture_to_file(const de265_image *img, const char *filename)
LIBDE265_API void draw_QuantPY(const de265_image *img, uint8_t *dst, int stride, int pixelSize)
LIBDE265_API void draw_PB_grid(const de265_image *img, uint8_t *dst, int stride, uint32_t value, int pixelSize)
LIBDE265_API void draw_intra_pred_modes(const de265_image *img, uint8_t *dst, int stride, uint32_t value, int pixelSize)
LIBDE265_API void draw_Motion(const de265_image *img, uint8_t *dst, int stride, int pixelSize)
LIBDE265_API void draw_CB_grid(const de265_image *img, uint8_t *dst, int stride, uint32_t value, int pixelSize)
LIBDE265_API void draw_PB_pred_modes(const de265_image *img, uint8_t *dst, int stride, int pixelSize)
LIBDE265_API void draw_Slices(const de265_image *img, uint8_t *dst, int stride, int pixelSize)