github.com/cellofellow/gopkg@v0.0.0-20140722061823-eec0544a62ad/image/jxr/jxrlib/src/jxr_private.h (about) 1 // Copyright 2014 <chaishushan{AT}gmail.com>. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 #ifndef JXR_PRIVATE_H_ 6 #define JXR_PRIVATE_H_ 7 8 #include "jxr.h" 9 #include <JXRGlue.h> 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif 14 15 jxr_bool_t jxr_format_guid_valid( 16 const PKPixelFormatGUID* fmt 17 ); 18 19 jxr_bool_t jxr_parse_format_guid( 20 const PKPixelFormatGUID* fmt, 21 int* channels, int* depth, 22 jxr_data_type_t* type 23 ); 24 25 jxr_bool_t jxr_golden_format( 26 int channels, int depth, 27 jxr_data_type_t type, 28 const PKPixelFormatGUID** fmt 29 ); 30 31 ERR CreateWS_Discard( 32 struct WMPStream** ppWS 33 ); 34 35 #ifdef __cplusplus 36 } // extern "C" 37 #endif 38 #endif // JXR_PRIVATE_H_