9#ifndef C_API_ADDONINSTANCE_IMAGE_DECODER_H
10#define C_API_ADDONINSTANCE_IMAGE_DECODER_H
12#include "../addon_base.h"
49 KODI_HANDLE kodi_instance;
55 KODI_HANDLE addonInstance;
57 unsigned char* buffer,
58 unsigned int buf_size,
60 unsigned int* height);
63 unsigned char* pixels,
ImageFormat
Image format types Used to define wanted target format where image decoder should give to Kodi.
Definition: image_decoder.h:26
@ ADDON_IMG_FMT_A8
A 8, alpha only, 8bpp, AAA...
Definition: image_decoder.h:32
@ ADDON_IMG_FMT_A8R8G8B8
A 32-bit ARGB pixel format, with alpha, that uses 8 bits per channel, ARGBARGB...
Definition: image_decoder.h:29
@ ADDON_IMG_FMT_RGB8
RGB 8:8:8, with alpha, 24bpp, RGBRGB...
Definition: image_decoder.h:38
@ ADDON_IMG_FMT_RGBA8
RGBA 8:8:8:8, with alpha, 32bpp, RGBARGBA...
Definition: image_decoder.h:35
Definition: image_decoder.h:71
Definition: image_decoder.h:43
Definition: image_decoder.h:48
Definition: image_decoder.h:54