mask mousewheel segv bug, mask opengl sw fallback read to ram, fix tiff config withou...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / mediadb.inc
1 #ifndef _MEDIA_DB_INC_
2 #define _MEDIA_DB_INC_
3
4 class Dele;
5 class Deletions;
6 class Clip;
7 class Clips;
8 class Snip;
9 class Snips;
10 class MediaDb;
11
12 class theDb;
13 #define MEDIA_DB "/cinelerra/media.db"
14 #define MEDIA_SHM_KEY 34543
15
16 // correlation margin for clip position jiggling
17 #define TRANSITION_MARGIN 1.0
18 // merge cuts when clip is within clip margin seconds of last clip
19 #define CLIP_MARGIN 2.0
20
21 // pixel weight match err limit
22 #define MEDIA_WEIGHT_ERRLMT 3.
23 // search mean limit
24 #define MEDIA_MEAN_ERRLMT 4.
25 // search standard deviation err limit
26 #define MEDIA_STDDEV_ERRLMT 2.
27 // search centroid err limit
28 #define MEDIA_XCENTER_ERRLMT 1.
29 #define MEDIA_YCENTER_ERRLMT 1.
30 // search distance err limit
31 #define MEDIA_SEARCH_ERRLMT 6.
32 // db dupl chk search radius
33 #define MEDIA_SEARCH_DIST 256
34
35 // db frame chk distance err limit
36 #define MEDIA_FRAME_ERRLMT 0.25
37 // db frame chk search radius
38 #define MEDIA_FRAME_DIST 256
39
40 // db clip frame sample standard size
41 #define SWIDTH 80
42 #define SHEIGHT 45
43 #define SFRM_SZ (SWIDTH*SHEIGHT)
44
45 #endif