Project Name
Version 1.0
|
Header file for the ARM-optimized tonemappers used in JPEG_HDR mobile encoder and decoder libraries. This file contains declarations of the functions, data structures, and enumerations for the collection of ARM-optimized tonemappers that are used in the JPEG-HDR mobile encoder and decoder libraries. More...
#include "jh_datatypes.h"
Go to the source code of this file.
Data Structures | |
struct | jh_tmo_description_ts |
Defines the description for a tonemapper type. More... | |
struct | jh_tmo_params_ts |
Defines the parameters that control the behavior of the tonemapper. Parameters are specified depending on the type of tonemapper. More... |
Typedefs | |
typedef enum jh_exposure_method_ts | jh_exposure_method_t |
Defines the exposure-mode settings for the tonemapper. | |
typedef enum jh_tmo_selector_ts | jh_tmo_selector_t |
Defines the tonemapper types. | |
typedef struct jh_tmo_description_ts | jh_tmo_description_t |
Defines the description for a tonemapper type. | |
typedef struct jh_tmo_params_ts | jh_tmo_params_t |
Defines the parameters that control the behavior of the tonemapper. Parameters are specified depending on the type of tonemapper. |
Enumerations | |
enum | jh_exposure_method_ts { JH_EX_MODE_MEDIAN = 1 } |
Defines the exposure-mode settings for the tonemapper. More... | |
enum | jh_tmo_selector_ts { JH_SIMPLE = 1, JH_EXP_GAMMA = 2, JH_HAMS = 3, JH_CPT = 4 } |
Defines the tonemapper types. More... |
Functions | |
int | jh_get_tmo_list (jh_tmo_description_t tmo_list[]) |
Returns the size of the list of tonemappers available for the encoder and the list itself as an array of values of type jh_tmo_description_ts. If jh_get_tmo_list() is called using NULL for tmo_list , returns only the size of the list as a value of type int. | |
int | jh_tonemap (const jh_tmo_params_t *tmo_params, jh_monitor_t *monitor, const jh_image_t *hdri, const jh_rect_t *r_in, jh_image_t *sdri, jh_error_t *error) |
Tone maps an HDR image and returns an SDR image. | |
int | jh_tonemap_memory_estimate (const int pixels, const jh_tmo_params_t *tmo_params, int *mem, jh_error_t *error) |
Estimates the amount of memory required for processing. | |
int | jh_tonemap_set_default (const jh_tmo_selector_t tmo, jh_tmo_params_t *params, jh_error_t *error) |
Sets default tone-mapping parameters. |
Header file for the ARM-optimized tonemappers used in JPEG_HDR mobile encoder and decoder libraries. This file contains declarations of the functions, data structures, and enumerations for the collection of ARM-optimized tonemappers that are used in the JPEG-HDR mobile encoder and decoder libraries.
Definition in file jh_tonemap.h.