13 #define MEDIA_DB "/cinelerra/media.db"
14 #define MEDIA_SHM_KEY 34543
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
21 // pixel weight match err limit
22 #define MEDIA_WEIGHT_ERRLMT 3.
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
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
40 // db clip frame sample standard size
43 #define SFRM_SZ (SWIDTH*SHEIGHT)