/usr/include/complearn-1.0/complearn/complearn-compressor-driver.h is in libcomplearn1-headers 1.1.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | /* Generated by GOB (v2.0.15) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
#include <glib/garray.h>
#include <libintl.h>
#include <stdlib.h>
#include "real-compressor.h"
#include "complearn-real-compressor-adaptor.h"
#include "complearn-external-compressor.h"
#ifndef __COMPLEARNCOMPRESSIONDRIVER__
#define __COMPLEARNCOMPRESSIONDRIVER__
#define CL_MATRIX_BIGYTRIANGLE 0x01
#define CL_MATRIX_BIGXTRIANGLE 0x02
#define CL_MATRIX_DIAGONAL 0x04
#define CL_MATRIX_FULL (CL_MATRIX_BIGYTRIANGLE | CL_MATRIX_BIGXTRIANGLE | CL_MATRIX_DIAGONAL)
#define CL_IS_INDEX_IN(dim1, dim2, mode, x, y) ((dim1 != dim2) || (x == y && (mode & CL_MATRIX_DIAGONAL)) || (x < y && (mode & CL_MATRIX_BIGYTRIANGLE)) || (x > y && (mode & CL_MATRIX_BIGXTRIANGLE)))
struct _CompLearnCompressorDriverCommand {
gboolean is_pair;
guint32 first, second;
};
typedef struct _CompLearnCompressorDriverCommand CompLearnCompressorDriverCommand;
#endif
#ifndef __COMPLEARN_COMPRESSOR_DRIVER_H__
#define __COMPLEARN_COMPRESSOR_DRIVER_H__
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/*
* Type checking and casting macros
*/
#define COMPLEARN_TYPE_COMPRESSOR_DRIVER (complearn_compressor_driver_get_type())
#define COMPLEARN_COMPRESSOR_DRIVER(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), complearn_compressor_driver_get_type(), CompLearnCompressorDriver)
#define COMPLEARN_COMPRESSOR_DRIVER_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), complearn_compressor_driver_get_type(), CompLearnCompressorDriver const)
#define COMPLEARN_COMPRESSOR_DRIVER_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), complearn_compressor_driver_get_type(), CompLearnCompressorDriverClass)
#define COMPLEARN_IS_COMPRESSOR_DRIVER(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), complearn_compressor_driver_get_type ())
#define COMPLEARN_COMPRESSOR_DRIVER_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), complearn_compressor_driver_get_type(), CompLearnCompressorDriverClass)
/* Private structure type */
typedef struct _CompLearnCompressorDriverPrivate CompLearnCompressorDriverPrivate;
/*
* Main object structure
*/
#ifndef __TYPEDEF_COMPLEARN_COMPRESSOR_DRIVER__
#define __TYPEDEF_COMPLEARN_COMPRESSOR_DRIVER__
typedef struct _CompLearnCompressorDriver CompLearnCompressorDriver;
#endif
struct _CompLearnCompressorDriver {
GObject __parent__;
/*< private >*/
CompLearnCompressorDriverPrivate *_priv;
};
/*
* Class definition
*/
typedef struct _CompLearnCompressorDriverClass CompLearnCompressorDriverClass;
struct _CompLearnCompressorDriverClass {
GObjectClass __parent__;
};
/*
* Public methods
*/
GType complearn_compressor_driver_get_type (void);
GObject * complearn_compressor_driver_new (void);
guint32 complearn_compressor_driver_set_compressor (CompLearnCompressorDriver * cd,
CompLearnRealCompressor * rc);
guint32 complearn_compressor_driver_size (CompLearnCompressorDriver * cd);
gboolean complearn_compressor_driver_is_same_block (CompLearnCompressorDriver * cd,
guint a,
guint b);
guint32 complearn_compressor_driver_store (CompLearnCompressorDriver * cd,
GString * str);
gdouble complearn_compressor_driver_compress_single (CompLearnCompressorDriver * cd,
guint32 a);
gsl_vector * complearn_compressor_driver_compression_sequence_ser (CompLearnCompressorDriver * cd,
GArray * gas);
gsl_vector * complearn_compressor_driver_compression_sequence_par (CompLearnCompressorDriver * cd,
GArray * gas);
gsl_vector * complearn_compressor_driver_compression_sequence (CompLearnCompressorDriver * cd,
GArray * gas);
CompLearnCompressorDriverCommand complearn_compressor_driver_command_pair (guint32 a,
guint32 b);
CompLearnCompressorDriverCommand complearn_compressor_driver_command_single (guint32 a);
gsl_matrix * complearn_compressor_driver_compression_matrix (CompLearnCompressorDriver * cd,
GArray * dim1ind,
GArray * dim2ind,
int mode);
gsl_vector * complearn_compressor_driver_compression_vector (CompLearnCompressorDriver * cd);
gdouble complearn_compressor_driver_execute_instruction (CompLearnCompressorDriver * cd,
CompLearnCompressorDriverCommand cdc);
gdouble complearn_compressor_driver_compress_pair (CompLearnCompressorDriver * cd,
guint32 a,
guint32 b);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif
|