Imported Upstream version 1.1.11
[platform/upstream/cdrkit.git] / libparanoia / gap.h
1 /*
2  * This file has been modified for the cdrkit suite.
3  *
4  * The behaviour and appearence of the program code below can differ to a major
5  * extent from the version distributed by the original author(s).
6  *
7  * For details, see Changelog file distributed with the cdrkit package. If you
8  * received this file from another source then ask the distributing person for
9  * a log of modifications.
10  *
11  */
12
13 /* @(#)gap.h    1.10 04/02/18 J. Schilling from cdparanoia-III-alpha9.8 */
14 /*
15  *      Modifications to make the code portable Copyright (c) 2002 J. Schilling
16  */
17 /*
18  * CopyPolicy: GNU Public License 2 applies
19  * Copyright (C) by Monty (xiphmont@mit.edu)
20  */
21
22 #ifndef _GAP_H_
23 #define _GAP_H_
24
25 extern long     i_paranoia_overlap_r(Int16_t * buffA, Int16_t * buffB,
26                                                                                         long offsetA, long offsetB);
27 extern long     i_paranoia_overlap_f(Int16_t * buffA, Int16_t * buffB,
28                                                                                         long offsetA, long offsetB,
29                                                                                         long sizeA, long sizeB);
30 extern int      i_stutter_or_gap(Int16_t * A, Int16_t * B,
31                                                                           long offA, long offB,
32                                                                           long gap);
33 extern void     i_analyze_rift_f(Int16_t * A, Int16_t * B,
34                                                                           long sizeA, long sizeB,
35                                                                           long aoffset, long boffset,
36                                                                           long *matchA, long *matchB, long *matchC);
37 extern void     i_analyze_rift_r(Int16_t * A, Int16_t * B,
38                                                                           long sizeA, long sizeB,
39                                                                           long aoffset, long boffset,
40                                                                           long *matchA, long *matchB, long *matchC);
41 extern void     analyze_rift_silence_f(Int16_t * A, Int16_t * B,
42                                                                                           long sizeA, long sizeB,
43                                                                                           long aoffset, long boffset,
44                                                                                           long *matchA, long *matchB);
45
46 #endif