Project Name
Version 1.0
|
Declares data types shared by the JPEG-HDR mobile libraries. More...
Data Structures | |
struct | jh_rect_ts |
Defines the coordinates and dimensions of the rectangle. More... | |
struct | jh_error_ts |
Defines the error reporting structure. The structure should be allocated by the user. More... | |
struct | jh_image_ts |
Defines the structure that holds the image data. More... | |
struct | jh_monitor_ts |
Defines the progress status of a library function, allowing both progress monitoring and encoding canceling. More... |
Macros | |
#define | MSG_SIZE 200 |
Maximum size of the string in the jh_error_ts description field. |
Typedefs | |
typedef enum jh_pixel_type_ts | jh_pixel_type_t |
Defines the pixel type of an image. | |
typedef struct jh_rect_ts | jh_rect_t |
Defines the coordinates and dimensions of the rectangle. | |
typedef enum jh_result_ts | jh_result_t |
Defines result codes, which are provided for debugging purposes. | |
typedef struct jh_error_ts | jh_error_t |
Defines the error reporting structure. The structure should be allocated by the user. | |
typedef struct jh_image_ts | jh_image_t |
Defines the structure that holds the image data. | |
typedef struct jh_monitor_ts | jh_monitor_t |
Defines the progress status of a library function, allowing both progress monitoring and encoding canceling. |
Enumerations | |
enum | jh_pixel_type_ts { JH_RGB8 = 1, JH_RGBA8 = 2, JH_RGB16 = 3, JH_RGBF = 4, JH_YUV444I8 = 5, JH_YUV420CH8 = 6 } |
Defines the pixel type of an image. More... | |
enum | jh_result_ts { JH_OK = 0, JH_MEMORY = 1, JH_CANCELED = 2, JH_INVALID_ARGUMENT = 3, JH_JPEG_ERROR = 4, JH_JPEG_FORMAT_ERROR = 5, JH_UNSUPPORTED = 6, JH_NOT_IMPLEMENTED = 7, JH_USER_STREAM_ERROR = 8, JH_M11_FORMAT_ERROR = 9, JH_M11_VERSION_ERROR = 10, JH_ERROR = 11, JH_ENCODER_ERROR = 12 } |
Defines result codes, which are provided for debugging purposes. More... |
Declares data types shared by the JPEG-HDR mobile libraries.
typedef struct jh_monitor_ts jh_monitor_t |
Defines the progress status of a library function, allowing both progress monitoring and encoding canceling.
cancel
to 1. The callee is supposed to watch this variable. When the value of cancel
becomes non-zero, the callee shuts down nicely whatever it is doing.progress
must be in the range 0 to 1, indicating the percentage of the work completed by the callee. When the progress is reported to the caller, the caller is allowed to update a progress indicator. The caller is responsible for setting the correct values of the variables.cancel
must be 0. enum jh_pixel_type_ts |
Defines the pixel type of an image.
Definition at line 33 of file jh_datatypes.h.
enum jh_result_ts |
Defines result codes, which are provided for debugging purposes.
Definition at line 53 of file jh_datatypes.h.