Project Name  Version 1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Structures | Macros | Typedefs | Enumerations
jh_datatypes.h File Reference

Header file containing declarations of shared data types. This header file contains declarations of data structures, enumerations, and constants that are shared by the JPEG-HDR mobile encoder, decoder, and tonemapper libraries. More...

#include <stddef.h>

Go to the source code of this file.

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...
struct  jh_dst_mgr_t
struct  jh_stream_ts

Macros

#define MSG_SIZE   200
 Maximum size of the string in the jh_error_ts description field.
#define JH_SEEK_SET   0 /* beginning of the stream */
#define JH_SEEK_CUR   1 /* current position */
#define JH_SEEK_END   2 /* end of the stream */

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.
typedef struct jh_stream_ts jh_stream_t

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...

Detailed Description

Header file containing declarations of shared data types. This header file contains declarations of data structures, enumerations, and constants that are shared by the JPEG-HDR mobile encoder, decoder, and tonemapper libraries.

Definition in file jh_datatypes.h.