Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
imagedecoder.h File Reference
#include "../addon_base.h"

Classes

struct  KODI_ADDON_IMAGEDECODER_INFO_TAG
 
struct  KodiToAddonFuncTable_ImageDecoder
 
struct  AddonToKodiFuncTable_ImageDecoder
 
struct  AddonInstance_ImageDecoder
 

Typedefs

typedef KODI_ADDON_INSTANCE_HDL KODI_ADDON_IMAGEDECODER_HDL
 
typedef enum ADDON_IMG_FMT ADDON_IMG_FMT
 
typedef enum ADDON_IMG_ORIENTATION ADDON_IMG_ORIENTATION
 
typedef enum ADDON_IMG_COLOR ADDON_IMG_COLOR
 
typedef enum ADDON_IMG_METERING_MODE ADDON_IMG_METERING_MODE
 
typedef enum ADDON_IMG_EXPOSURE_PROGRAM ADDON_IMG_EXPOSURE_PROGRAM
 
typedef enum ADDON_IMG_EXPOSURE_MODE ADDON_IMG_EXPOSURE_MODE
 
typedef enum ADDON_IMG_LIGHT_SOURCE ADDON_IMG_LIGHT_SOURCE
 
typedef enum ADDON_IMG_FLASH_TYPE ADDON_IMG_FLASH_TYPE
 
typedef const char * file
 
typedef const char struct KODI_ADDON_IMAGEDECODER_INFO_TAGinfo
 
typedef const char * mimetype
 
typedef const char const uint8_tbuffer
 
typedef const char const uint8_t size_t buf_size
 
typedef const char const uint8_t size_t unsigned intwidth
 
typedef const char const uint8_t size_t unsigned int unsigned intheight
 
typedef uint8_tpixels
 
typedef uint8_t size_t pixels_size
 
typedef uint8_t size_t unsigned int unsigned int unsigned int pitch
 
typedef uint8_t size_t unsigned int unsigned int unsigned int enum ADDON_IMG_FMT format
 
typedef struct KodiToAddonFuncTable_ImageDecoder KodiToAddonFuncTable_ImageDecoder
 
typedef struct AddonToKodiFuncTable_ImageDecoder AddonToKodiFuncTable_ImageDecoder
 
typedef struct AddonInstance_ImageDecoder AddonInstance_ImageDecoder
 

Enumerations

enum  ADDON_IMG_FMT { ADDON_IMG_FMT_A8R8G8B8 = 1 , ADDON_IMG_FMT_A8 = 2 , ADDON_IMG_FMT_RGBA8 = 3 , ADDON_IMG_FMT_RGB8 = 4 }
 
enum  ADDON_IMG_ORIENTATION {
  ADDON_IMG_ORIENTATION_NONE = 0 , ADDON_IMG_ORIENTATION_FLIP_HORIZONTAL = 1 , ADDON_IMG_ORIENTATION_ROTATE_180_CCW = 2 , ADDON_IMG_ORIENTATION_FLIP_VERTICAL = 3 ,
  ADDON_IMG_ORIENTATION_TRANSPOSE = 4 , ADDON_IMG_ORIENTATION_ROTATE_270_CCW = 5 , ADDON_IMG_ORIENTATION_TRANSPOSE_OFF_AXIS = 6 , ADDON_IMG_ORIENTATION_ROTATE_90_CCW = 7
}
 
enum  ADDON_IMG_COLOR { ADDON_IMG_COLOR_COLORED , ADDON_IMG_COLOR_BLACK_WHITE }
 
enum  ADDON_IMG_METERING_MODE {
  ADDON_IMG_METERING_MODE_UNKNOWN = 0 , ADDON_IMG_METERING_MODE_AVERAGE = 1 , ADDON_IMG_METERING_MODE_CENTER_WEIGHT = 2 , ADDON_IMG_METERING_MODE_SPOT = 3 ,
  ADDON_IMG_METERING_MODE_MULTI_SPOT = 4 , ADDON_IMG_METERING_MODE_MULTI_SEGMENT = 5 , ADDON_IMG_METERING_MODE_PARTIAL = 6 , ADDON_IMG_METERING_MODE_OTHER = 255
}
 
enum  ADDON_IMG_EXPOSURE_PROGRAM {
  ADDON_IMG_EXPOSURE_PROGRAM_UNDEFINED = 0 , ADDON_IMG_EXPOSURE_PROGRAM_MANUAL = 1 , ADDON_IMG_EXPOSURE_PROGRAM_NORMAL = 2 , ADDON_IMG_EXPOSURE_PROGRAM_APERTURE_PRIORITY = 3 ,
  ADDON_IMG_EXPOSURE_PROGRAM_SHUTTER_SPEED_PRIORITY = 4 , ADDON_IMG_EXPOSURE_PROGRAM_CREATIVE = 5 , ADDON_IMG_EXPOSURE_PROGRAM_ACTION = 6 , ADDON_IMG_EXPOSURE_PROGRAM_PORTRAIT = 7 ,
  ADDON_IMG_EXPOSURE_PROGRAM_LANDSCAPE = 8 , ADDON_IMG_EXPOSURE_PROGRAM_BULB = 9
}
 
enum  ADDON_IMG_EXPOSURE_MODE { ADDON_IMG_EXPOSURE_MODE_AUTO = 0 , ADDON_IMG_EXPOSURE_MODE_MANUAL = 1 , ADDON_IMG_EXPOSURE_MODE_AUTO_TRACKED = 2 }
 
enum  ADDON_IMG_LIGHT_SOURCE {
  ADDON_IMG_LIGHT_SOURCE_UNKNOWN = 0 , ADDON_IMG_LIGHT_SOURCE_DAYLIGHT = 1 , ADDON_IMG_LIGHT_SOURCE_FLUORESCENT = 2 , ADDON_IMG_LIGHT_SOURCE_TUNGSTEN = 3 ,
  ADDON_IMG_LIGHT_SOURCE_FLASH = 4 , ADDON_IMG_LIGHT_SOURCE_FINE_WEATHER = 9 , ADDON_IMG_LIGHT_SOURCE_CLOUDY_WEATHER = 10 , ADDON_IMG_LIGHT_SOURCE_SHADE = 11 ,
  ADDON_IMG_LIGHT_SOURCE_DAYLIGHT_FLUORESCENT = 12 , ADDON_IMG_LIGHT_SOURCE_DAY_WHITE_FLUORESCENT = 13 , ADDON_IMG_LIGHT_SOURCE_COOL_WHITE_FLUORESCENT = 14 , ADDON_IMG_LIGHT_SOURCE_WHITE_FLUORESCENT = 15 ,
  ADDON_IMG_LIGHT_SOURCE_STANDARD_LIGHT_A = 17 , ADDON_IMG_LIGHT_SOURCE_STANDARD_LIGHT_B = 18 , ADDON_IMG_LIGHT_SOURCE_STANDARD_LIGHT_C = 19 , ADDON_IMG_LIGHT_SOURCE_D55 = 20 ,
  ADDON_IMG_LIGHT_SOURCE_D65 = 21 , ADDON_IMG_LIGHT_SOURCE_D75 = 22 , ADDON_IMG_LIGHT_SOURCE_D50 = 23 , ADDON_IMG_LIGHT_SOURCE_ISO_STUDIO_TUNGSTEN = 24 ,
  ADDON_IMG_LIGHT_SOURCE_OTHER = 255
}
 
enum  ADDON_IMG_FLASH_TYPE {
  ADDON_IMG_FLASH_TYPE_NO_FLASH = 0x0 , ADDON_IMG_FLASH_TYPE_FIRED = 0x1 , ADDON_IMG_FLASH_TYPE_FIRED_RETURN_NOT_DETECTED = 0x5 , ADDON_IMG_FLASH_TYPE_FIRED_RETURN_DETECTED = 0x7 ,
  ADDON_IMG_FLASH_TYPE_ = 0x8 , ADDON_IMG_FLASH_TYPE_ON_Fired = 0x9 , ADDON_IMG_FLASH_TYPE_ON_RETURN_NOT_DETECTED = 0xd , ADDON_IMG_FLASH_TYPE_ON_RETURN_DETECTED = 0xf ,
  ADDON_IMG_FLASH_TYPE_OFF_DID_NOT_FIRE = 0x10 , ADDON_IMG_FLASH_TYPE_OFF_DID_NOT_FIRE_RETURN_NOT_DETECTED = 0x14 , ADDON_IMG_FLASH_TYPE_AUTO_DID_NOT_FIRE = 0x18 , ADDON_IMG_FLASH_TYPE_AUTO_FIRED = 0x19 ,
  ADDON_IMG_FLASH_TYPE_AUTO_FIRED_RETURN_NOT_DETECTED = 0x1d , ADDON_IMG_FLASH_TYPE_AUTO_FIRED_RETURN_DETECTED = 0x1f , ADDON_IMG_FLASH_TYPE_NO_FLASH_FUNCTION = 0x20 , ADDON_IMG_FLASH_TYPE_OFF_NO_FLASH_FUNCTION = 0x30 ,
  ADDON_IMG_FLASH_TYPE_FIRED_REDEYE_REDUCTION = 0x41 , ADDON_IMG_FLASH_TYPE_FIRED_REDEYE_REDUCTION_RETURN_NOT_DETECTED = 0x45 , ADDON_IMG_FLASH_TYPE_FIRED_REDEYE_REDUCTION_RETURN_DETECTED = 0x47 , ADDON_IMG_FLASH_TYPE_ON_REDEYE_REDUCTION = 0x49 ,
  ADDON_IMG_FLASH_TYPE_ON_REDEYE_REDUCTION_RETURN_NOT_DETECTED = 0x4d , ADDON_IMG_FLASH_TYPE_ON_REDEYE_REDUCTION_RETURN_DETECTED = 0x4f , ADDON_IMG_FLASH_TYPE_OFF_REDEYE_REDUCTION = 0x50 , ADDON_IMG_FLASH_TYPE_AUTO_DID_NOT_FIRE_REDEYE_REDUCTION = 0x58 ,
  ADDON_IMG_FLASH_TYPE_AUTO_FIRED_REDEYE_REDUCTION = 0x59 , ADDON_IMG_FLASH_TYPE_AUTO_FIRED_REDEYE_REDUCTION_RETURN_NOT_DETECTED = 0x5d , ADDON_IMG_FLASH_TYPE_AUTO_FIRED_REDEYE_REDUCTION_RETURN_DETECTED = 0x5f
}
 

Functions

typedef bool (ATTR_APIENTRYP PFN_KODI_ADDON_IMAGEDECODER_SUPPORTS_FILE_V1)(const KODI_ADDON_IMAGEDECODER_HDL hdl
 

Typedef Documentation

◆ AddonInstance_ImageDecoder

typedef struct AddonInstance_ImageDecoder AddonInstance_ImageDecoder

◆ AddonToKodiFuncTable_ImageDecoder

typedef struct AddonToKodiFuncTable_ImageDecoder AddonToKodiFuncTable_ImageDecoder

◆ buf_size

typedef const char const uint8_t size_t buf_size

◆ buffer

typedef const char const uint8_t* buffer

◆ file

typedef const char* file

◆ format

typedef uint8_t size_t unsigned int unsigned int unsigned int enum ADDON_IMG_FMT format

◆ height

typedef uint8_t size_t unsigned int unsigned int height

◆ info

typedef const char struct KODI_ADDON_IMAGEDECODER_INFO_TAG* info

◆ KODI_ADDON_IMAGEDECODER_HDL

◆ KodiToAddonFuncTable_ImageDecoder

typedef struct KodiToAddonFuncTable_ImageDecoder KodiToAddonFuncTable_ImageDecoder

◆ mimetype

typedef const char* mimetype

◆ pitch

typedef uint8_t size_t unsigned int unsigned int unsigned int pitch

◆ pixels

typedef uint8_t* pixels

◆ pixels_size

typedef uint8_t size_t pixels_size

◆ width

typedef uint8_t size_t unsigned int width

Function Documentation

◆ bool()

typedef bool ( ATTR_APIENTRYP PFN_KODI_ADDON_IMAGEDECODER_SUPPORTS_FILE_V1) const