File: ofa.h

package info (click to toggle)
libofa 0.9.3-21
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,080 kB
  • sloc: cpp: 24,487; sh: 8,366; makefile: 47; ansic: 14
file content (32 lines) | stat: -rw-r--r-- 873 bytes parent folder | download | duplicates (8)
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
/* ------------------------------------------------------------------

   libofa -- the Open Fingerprint Architecture library

   Copyright (C) 2006 MusicIP Corporation
   All rights reserved.

-------------------------------------------------------------------*/
#ifndef _OFA_H_
#define _OFA_H_

#ifdef __cplusplus
extern "C"
{
#endif

#define OFA_LITTLE_ENDIAN (0)
#define OFA_BIG_ENDIAN (1)

/* Retrieve the version of the library */
void ofa_get_version(int *major, int *minor, int *rev);

/* This is the simplest interface required to generate fingerprints.
   examples/protocol.h defines some higher level classes which can be connected
   to codecs in various formats for a higher level API */
const char *ofa_create_print(unsigned char* samples, int byteOrder, long size, int sRate, int stereo);

#ifdef __cplusplus
}
#endif

#endif