HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
H5IMpublic.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group. *
3  * Copyright by the Board of Trustees of the University of Illinois. *
4  * All rights reserved. *
5  * *
6  * This file is part of HDF5. The full HDF5 copyright notice, including *
7  * terms governing use, modification, and redistribution, is contained in *
8  * the files COPYING and Copyright.html. COPYING can be found at the root *
9  * of the source code distribution tree; Copyright.html can be found at the *
10  * root level of an installed copy of the electronic HDF5 document set and *
11  * is linked from the top-level documents page. It can also be found at *
12  * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
13  * access to either file, you may request a copy from help@hdfgroup.org. *
14  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 #ifndef _H5IMpublic_H
17 #define _H5IMpublic_H
18 
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 
26  const char *dset_name,
27  hsize_t width,
29  const unsigned char *buffer );
30 
32  const char *dset_name,
33  hsize_t width,
35  const char *interlace,
36  const unsigned char *buffer );
37 
39  const char *dset_name,
40  hsize_t *width,
41  hsize_t *height,
42  hsize_t *planes,
43  char *interlace,
44  hssize_t *npals );
45 
47  const char *dset_name,
48  unsigned char *buffer );
49 
51  const char *pal_name,
52  const hsize_t *pal_dims,
53  const unsigned char *pal_data );
54 
56  const char *image_name,
57  const char *pal_name );
58 
60  const char *image_name,
61  const char *pal_name );
62 
64  const char *image_name,
65  hssize_t *npals );
66 
68  const char *image_name,
69  int pal_number,
70  hsize_t *pal_dims );
71 
73  const char *image_name,
74  int pal_number,
75  unsigned char *pal_data );
76 
78  const char *dset_name );
79 
81  const char *dset_name );
82 
83 #ifdef __cplusplus
84 }
85 #endif
86 
87 #endif
H5_HLDLL herr_t H5IMmake_image_8bit(hid_t loc_id, const char *dset_name, hsize_t width, hsize_t height, const unsigned char *buffer)
H5_HLDLL herr_t H5IMlink_palette(hid_t loc_id, const char *image_name, const char *pal_name)
int herr_t
Definition: H5public.h:107
unsigned long long hsize_t
Definition: H5public.h:151
H5_HLDLL herr_t H5IMget_image_info(hid_t loc_id, const char *dset_name, hsize_t *width, hsize_t *height, hsize_t *planes, char *interlace, hssize_t *npals)
GLuint buffer
Definition: glcorearb.h:659
GLint GLsizei width
Definition: glcorearb.h:102
H5_HLDLL herr_t H5IMget_palette(hid_t loc_id, const char *image_name, int pal_number, unsigned char *pal_data)
H5_HLDLL herr_t H5IMget_palette_info(hid_t loc_id, const char *image_name, int pal_number, hsize_t *pal_dims)
H5_HLDLL herr_t H5IMis_image(hid_t loc_id, const char *dset_name)
int hid_t
Definition: H5Ipublic.h:56
H5_HLDLL herr_t H5IMmake_palette(hid_t loc_id, const char *pal_name, const hsize_t *pal_dims, const unsigned char *pal_data)
GLint GLsizei GLsizei height
Definition: glcorearb.h:102
H5_HLDLL herr_t H5IMis_palette(hid_t loc_id, const char *dset_name)
H5_HLDLL herr_t H5IMget_npalettes(hid_t loc_id, const char *image_name, hssize_t *npals)
#define H5_HLDLL
Definition: H5api_adpt.h:407
signed long long hssize_t
Definition: H5public.h:152
H5_HLDLL herr_t H5IMmake_image_24bit(hid_t loc_id, const char *dset_name, hsize_t width, hsize_t height, const char *interlace, const unsigned char *buffer)
H5_HLDLL herr_t H5IMread_image(hid_t loc_id, const char *dset_name, unsigned char *buffer)
H5_HLDLL herr_t H5IMunlink_palette(hid_t loc_id, const char *image_name, const char *pal_name)