~ubuntu-branches/ubuntu/saucy/sphinxtrain/saucy

« back to all changes in this revision

Viewing changes to include/s3/s3lamb_io.h

  • Committer: Package Import Robot
  • Author(s): Samuel Thibault
  • Date: 2013-01-02 04:10:21 UTC
  • Revision ID: package-import@ubuntu.com-20130102041021-ynsizmz33fx02hea
Tags: upstream-1.0.8
ImportĀ upstreamĀ versionĀ 1.0.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ====================================================================
 
2
 * Copyright (c) 1996-2000 Carnegie Mellon University.  All rights 
 
3
 * reserved.
 
4
 *
 
5
 * Redistribution and use in source and binary forms, with or without
 
6
 * modification, are permitted provided that the following conditions
 
7
 * are met:
 
8
 *
 
9
 * 1. Redistributions of source code must retain the above copyright
 
10
 *    notice, this list of conditions and the following disclaimer. 
 
11
 *
 
12
 * 2. Redistributions in binary form must reproduce the above copyright
 
13
 *    notice, this list of conditions and the following disclaimer in
 
14
 *    the documentation and/or other materials provided with the
 
15
 *    distribution.
 
16
 *
 
17
 * This work was supported in part by funding from the Defense Advanced 
 
18
 * Research Projects Agency and the National Science Foundation of the 
 
19
 * United States of America, and the CMU Sphinx Speech Consortium.
 
20
 *
 
21
 * THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND 
 
22
 * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 
 
23
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 
24
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY
 
25
 * NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 
26
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
 
27
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
 
28
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
 
29
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
 
30
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
 
31
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
32
 *
 
33
 * ====================================================================
 
34
 *
 
35
 */
 
36
/*********************************************************************
 
37
 *
 
38
 * File: s3lamb_io.h
 
39
 * 
 
40
 * Description: 
 
41
 *    Prototypes and definitions for s3lamb_io
 
42
 *
 
43
 * Author: 
 
44
 *    Eric Thayer (eht@cs.cmu.edu)
 
45
 *********************************************************************/
 
46
 
 
47
#ifndef S3LAMB_IO_H
 
48
#define S3LAMB_IO_H
 
49
#ifdef __cplusplus
 
50
extern "C" {
 
51
#endif
 
52
#if 0
 
53
}
 
54
#endif
 
55
 
 
56
#define LAMBDA_FILE_VERSION "1.0"
 
57
#define LAMBDACNT_FILE_VERSION "1.0"
 
58
 
 
59
#include <sphinxbase/prim_type.h>
 
60
 
 
61
int
 
62
s3lamb_read(const char *fn,
 
63
            float32 **out_lambda,
 
64
            uint32 *out_n_lambda);
 
65
 
 
66
int
 
67
s3lamb_write(const char *fn,
 
68
             const float32 *lambda,
 
69
             uint32 n_lambda);
 
70
 
 
71
int
 
72
s3lambcnt_read(const char *fn,
 
73
               uint32 **out_lambda_cnt,
 
74
               uint32 *out_n_lambda_cnt);
 
75
 
 
76
int
 
77
s3lambcnt_write(const char *fn,
 
78
                const uint32 *lambda_cnt,
 
79
                uint32 n_lambda_cnt);
 
80
 
 
81
#ifdef __cplusplus
 
82
}
 
83
#endif
 
84
#endif /* S3LAMB_IO_H */ 
 
85
 
 
86
 
 
87
/*
 
88
 * Log record.  Maintained by RCS.
 
89
 *
 
90
 * $Log$
 
91
 * Revision 1.4  2004/07/21  17:46:10  egouvea
 
92
 * Changed the license terms to make it the same as sphinx2 and sphinx3.
 
93
 * 
 
94
 * Revision 1.3  2001/04/05 20:02:30  awb
 
95
 * *** empty log message ***
 
96
 *
 
97
 * Revision 1.2  2000/09/29 22:35:12  awb
 
98
 * *** empty log message ***
 
99
 *
 
100
 * Revision 1.1  2000/09/24 21:38:30  awb
 
101
 * *** empty log message ***
 
102
 *
 
103
 * Revision 1.1  97/07/16  11:39:10  eht
 
104
 * Initial revision
 
105
 * 
 
106
 *
 
107
 */