selphy_print/backend_panodata.h
Solomon Peachy e74960ad84 DNP: Continuous & Discrete Panorama Processing
* Image must be submitted as a single, full-sized page
   (eg 6x14/6x20 on DS620)
 * Backend splits image into the necessary 2 or 3 panels w/ 2" overlap
 * Backend blends the overlapping areas together
 * Discrete panoramas work the same way, only no overlap and are larger

 Successfully tested on the DS620!
2023-12-28 11:05:15 -05:00

25 lines
2.4 KiB
C

static struct dnp_panodata panodata = {
.elements = 21,
.rows[ 0] = { 0, { 1.0000000000, 1.0000000000, 1.0000000000 }, { 0.2000000000, 0.2000000000, 0.2000000000} },
.rows[ 1] = { 30, { 0.9933580000, 0.9963060000, 0.9946110000 }, { 0.2950650000, 0.2950650000, 0.2950650000} },
.rows[ 2] = { 60, { 0.9800000000, 0.9850000000, 0.9850000000 }, { 0.3900000000, 0.3900000000, 0.3900000000} },
.rows[ 3] = { 90, { 0.9540200000, 0.9602540000, 0.9677210000 }, { 0.4879980000, 0.4879980000, 0.4879980000} },
.rows[ 4] = { 120, { 0.9182812500, 0.9282812500, 0.9460937500 }, { 0.5800000000, 0.5800000000, 0.5800000000} },
.rows[ 5] = { 150, { 0.8730900000, 0.8920840000, 0.9206270000 }, { 0.6683700000, 0.6683700000, 0.6683700000} },
.rows[ 6] = { 180, { 0.8276562500, 0.8543750000, 0.8910937500 }, { 0.7400000000, 0.7400000000, 0.7400000000} },
.rows[ 7] = { 210, { 0.7800400000, 0.8030000000, 0.8550000000 }, { 0.8004440000, 0.8004440000, 0.8004440000} },
.rows[ 8] = { 240, { 0.7348437500, 0.7550000000, 0.8160000000 }, { 0.8450000000, 0.8450000000, 0.8450000000} },
.rows[ 9] = { 270, { 0.6750000000, 0.7020000000, 0.7785180000 }, { 0.8855640000, 0.8855640000, 0.8855640000} },
.rows[10] = { 300, { 0.6120000000, 0.6450000000, 0.7321875000 }, { 0.9150000000, 0.9150000000, 0.9150000000} },
.rows[11] = { 330, { 0.5617422160, 0.5950000000, 0.6879300400 }, { 0.9359207970, 0.9359207970, 0.9359207970} },
.rows[12] = { 360, { 0.5112158120, 0.5430000000, 0.6430933460 }, { 0.9533652920, 0.9533652920, 0.9533652920} },
.rows[13] = { 390, { 0.4626856430, 0.4970173200, 0.5963030420 }, { 0.9663907840, 0.9663907840, 0.9663907840} },
.rows[14] = { 420, { 0.4104687500, 0.4482812500, 0.5496875000 }, { 0.9770000000, 0.9770000000, 0.9770000000} },
.rows[15] = { 450, { 0.3518815000, 0.3938775000, 0.4979980000 }, { 0.9847240000, 0.9847240000, 0.9847240000} },
.rows[16] = { 480, { 0.2965625000, 0.3413281250, 0.4407812500 }, { 0.9900000000, 0.9900000000, 0.9900000000} },
.rows[17] = { 510, { 0.2393955000, 0.2762305000, 0.3738025000 }, { 0.9956110000, 0.9956110000, 0.9956110000} },
.rows[18] = { 540, { 0.1855468750, 0.2163281250, 0.3063281250 }, { 1.0000000000, 1.0000000000, 1.0000000000} },
.rows[19] = { 570, { 0.1243430000, 0.1441130000, 0.2241130000 }, { 1.0000000000, 1.0000000000, 1.0000000000} },
.rows[20] = { 600, { 0.0800000000, 0.0800000000, 0.1450000000 }, { 1.0000000000, 1.0000000000, 1.0000000000} },
};