Home
last modified time | relevance | path

Searched refs:FIXED_TO_DOUBLE (Results 1 – 11 of 11) sorted by relevance

/dports/graphics/lcms/lcms-1.19/src/
H A Dcmsmtrx.c174 return DOUBLE_TO_FIXED(FIXED_TO_DOUBLE(a) * FIXED_TO_DOUBLE(b)); in FixedMul()
332 c = FIXED_TO_DOUBLE(a -> n[i]); in VEC3equal()
698 FIXED_TO_DOUBLE(a->v[0].n[0]) * FIXED_TO_DOUBLE(v->n[0]) + in MAT3evalW()
699 FIXED_TO_DOUBLE(a->v[0].n[1]) * FIXED_TO_DOUBLE(v->n[1]) + in MAT3evalW()
700 FIXED_TO_DOUBLE(a->v[0].n[2]) * FIXED_TO_DOUBLE(v->n[2]) in MAT3evalW()
704 FIXED_TO_DOUBLE(a->v[1].n[0]) * FIXED_TO_DOUBLE(v->n[0]) + in MAT3evalW()
705 FIXED_TO_DOUBLE(a->v[1].n[1]) * FIXED_TO_DOUBLE(v->n[1]) + in MAT3evalW()
706 FIXED_TO_DOUBLE(a->v[1].n[2]) * FIXED_TO_DOUBLE(v->n[2]) in MAT3evalW()
710 FIXED_TO_DOUBLE(a->v[2].n[0]) * FIXED_TO_DOUBLE(v->n[0]) + in MAT3evalW()
711 FIXED_TO_DOUBLE(a->v[2].n[1]) * FIXED_TO_DOUBLE(v->n[1]) + in MAT3evalW()
[all …]
H A Dcmspcs.c228 x = FIXED_TO_DOUBLE(X) / D50X; in cmsXYZ2LabEncoded()
229 y = FIXED_TO_DOUBLE(Y) / D50Y; in cmsXYZ2LabEncoded()
230 z = FIXED_TO_DOUBLE(Z) / D50Z; in cmsXYZ2LabEncoded()
586 return FIXED_TO_DOUBLE(fix32); in XYZ2float()
H A Dcmsio1.c1098 m.v[0].n[0] = FIXED_TO_DOUBLE((Fixed32) All[0]); in ReadMatrixOffset()
1099 m.v[0].n[1] = FIXED_TO_DOUBLE((Fixed32) All[1]); in ReadMatrixOffset()
1100 m.v[0].n[2] = FIXED_TO_DOUBLE((Fixed32) All[2]); in ReadMatrixOffset()
1101 m.v[1].n[0] = FIXED_TO_DOUBLE((Fixed32) All[3]); in ReadMatrixOffset()
1102 m.v[1].n[1] = FIXED_TO_DOUBLE((Fixed32) All[4]); in ReadMatrixOffset()
1103 m.v[1].n[2] = FIXED_TO_DOUBLE((Fixed32) All[5]); in ReadMatrixOffset()
1104 m.v[2].n[0] = FIXED_TO_DOUBLE((Fixed32) All[6]); in ReadMatrixOffset()
1105 m.v[2].n[1] = FIXED_TO_DOUBLE((Fixed32) All[7]); in ReadMatrixOffset()
1108 o.n[0] = FIXED_TO_DOUBLE((Fixed32) All[9]); in ReadMatrixOffset()
1109 o.n[1] = FIXED_TO_DOUBLE((Fixed32) All[10]); in ReadMatrixOffset()
[all …]
H A Dcmsps2.c884 FIXED_TO_DOUBLE(Matrix->v[0].n[i]), in EmitCIEBasedABC()
885 FIXED_TO_DOUBLE(Matrix->v[1].n[i]), in EmitCIEBasedABC()
886 FIXED_TO_DOUBLE(Matrix->v[2].n[i])); in EmitCIEBasedABC()
/dports/x11/disman/disman-fd261a3b0c8991d1deb81e2d78e575bd96f5be60/backends/xrandr/
H A Dxrandroutput.cpp35 #define FIXED_TO_DOUBLE(f) ((double)((f) / 65536.0)) macro
427 const qreal width = FIXED_TO_DOUBLE(transform.matrix11) * modeSize.width(); in logicalSize()
428 const qreal height = FIXED_TO_DOUBLE(transform.matrix22) * modeSize.height(); in logicalSize()
/dports/x11/plasma5-libkscreen/libkscreen-5.23.5/backends/xrandr/
H A Dxrandroutput.cpp20 #define FIXED_TO_DOUBLE(f) ((double)((f) / 65536.0)) macro
352 const qreal width = FIXED_TO_DOUBLE(transform.matrix11) * modeSize.width(); in logicalSize()
353 const qreal height = FIXED_TO_DOUBLE(transform.matrix22) * modeSize.height(); in logicalSize()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dr_segs.c1660 a1 = FIXED_TO_DOUBLE(curline->v2->y-curline->v1->y); in R_StoreWallRange()
1661 b1 = FIXED_TO_DOUBLE(curline->v1->x-curline->v2->x); in R_StoreWallRange()
1662 c1 = a1*FIXED_TO_DOUBLE(curline->v1->x) + b1*FIXED_TO_DOUBLE(curline->v1->y); in R_StoreWallRange()
1664 a2 = -FIXED_TO_DOUBLE(FINESINE(temp>>ANGLETOFINESHIFT)); in R_StoreWallRange()
1666 c2 = a2*FIXED_TO_DOUBLE(viewx) + b2*FIXED_TO_DOUBLE(viewy); in R_StoreWallRange()
1682 a1 = FIXED_TO_DOUBLE(curline->v2->y-curline->v1->y); in R_StoreWallRange()
1683 b1 = FIXED_TO_DOUBLE(curline->v1->x-curline->v2->x); in R_StoreWallRange()
1684 c1 = a1*FIXED_TO_DOUBLE(curline->v1->x) + b1*FIXED_TO_DOUBLE(curline->v1->y); in R_StoreWallRange()
1686 a2 = -FIXED_TO_DOUBLE(FINESINE(temp>>ANGLETOFINESHIFT)); in R_StoreWallRange()
1688 c2 = a2*FIXED_TO_DOUBLE(viewx) + b2*FIXED_TO_DOUBLE(viewy); in R_StoreWallRange()
[all …]
/dports/audio/faudio/FAudio-21.01/src/
H A DFAudio_internal_simd.c401 FIXED_TO_DOUBLE(cur) in FAudio_INTERNAL_ResampleGeneric()
439 FIXED_TO_DOUBLE(cur) in FAudio_INTERNAL_ResampleMono_Scalar()
475 FIXED_TO_DOUBLE(cur) in FAudio_INTERNAL_ResampleStereo_Scalar()
480 FIXED_TO_DOUBLE(cur) in FAudio_INTERNAL_ResampleStereo_Scalar()
H A DFAudio_internal.h869 #define FIXED_TO_DOUBLE(fxd) ( \ macro
/dports/graphics/lcms/lcms-1.19/testbed/
H A Dtestcms.c226 FloatFactor = FIXED_TO_DOUBLE(DOUBLE_TO_FIXED(FloatFactor)); in TestFixedScaling()
/dports/graphics/lcms/lcms-1.19/include/
H A Dlcms.h1477 #define FIXED_TO_DOUBLE(x) (((double)x)/65536.0) macro