H5IMcc.h

00001 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00002  * Copyright by The HDF Group.                                               *
00003  * Copyright by the Board of Trustees of the University of Illinois.         *
00004  * All rights reserved.                                                      *
00005  *                                                                           *
00006  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
00007  * terms governing use, modification, and redistribution, is contained in    *
00008  * the files COPYING and Copyright.html.  COPYING can be found at the root   *
00009  * of the source code distribution tree; Copyright.html can be found at the  *
00010  * root level of an installed copy of the electronic HDF5 document set and   *
00011  * is linked from the top-level documents page.  It can also be found at     *
00012  * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
00013  * access to either file, you may request a copy from help@hdfgroup.org.     *
00014  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
00015 
00016 #ifndef _H5IMCC_H
00017 #define _H5IMCC_H
00018 
00019 #include "H5LTprivate.h"
00020 #include "H5IMprivate.h"
00021 #include "../../fortran/src/H5f90i_gen.h"
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00027 
00028 herr_t H5IMmake_image_8bitf( hid_t loc_id,
00029                              const char *dset_name,
00030                              hsize_t width,
00031                              hsize_t height,
00032                              int_f *buf );
00033 
00034 herr_t H5IMmake_image_24bitf( hid_t loc_id,
00035                               const char *dset_name,
00036                               hsize_t width,
00037                               hsize_t height,
00038                               const char *interlace,
00039                               int_f *buf);
00040 
00041 herr_t H5IMread_imagef( hid_t loc_id,
00042                         const char *dset_name,
00043                         int_f *buf );
00044 
00045 herr_t H5IMmake_palettef( hid_t loc_id,
00046                           const char *pal_name,
00047                           const hsize_t *pal_dims,
00048                           int_f *pal_data );
00049 
00050 herr_t H5IMget_palettef( hid_t loc_id,
00051                          const char *image_name,
00052                          int pal_number,
00053                          int_f *pal_data );
00054 
00055 
00056 #ifdef __cplusplus
00057 }
00058 #endif
00059 
00060 #endif