Home
last modified time | relevance | path

Searched refs:QFactor (Results 1 – 25 of 65) sorted by relevance

123

/dports/math/vtk8/VTK-8.2.0/Filters/General/
H A DvtkQuantizePolyDataPoints.cxx25 this->QFactor = 0.25; in vtkQuantizePolyDataPoints()
32 out[0] = floor(in[0]/this->QFactor + 0.5)*this->QFactor; in OperateOnPoint()
33 out[1] = floor(in[1]/this->QFactor + 0.5)*this->QFactor; in OperateOnPoint()
34 out[2] = floor(in[2]/this->QFactor + 0.5)*this->QFactor; in OperateOnPoint()
40 out[0] = floor(in[0]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
41 out[1] = floor(in[1]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
42 out[2] = floor(in[2]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
43 out[3] = floor(in[3]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
44 out[4] = floor(in[4]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
45 out[5] = floor(in[5]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
[all …]
H A DvtkQuantizePolyDataPoints.h59 vtkSetClampMacro(QFactor,double,1E-5,VTK_FLOAT_MAX);
60 vtkGetMacro(QFactor,double);
77 double QFactor; variable
/dports/math/vtk9/VTK-9.1.0/Filters/General/
H A DvtkQuantizePolyDataPoints.cxx25 this->QFactor = 0.25; in vtkQuantizePolyDataPoints()
32 out[0] = floor(in[0] / this->QFactor + 0.5) * this->QFactor; in OperateOnPoint()
33 out[1] = floor(in[1] / this->QFactor + 0.5) * this->QFactor; in OperateOnPoint()
34 out[2] = floor(in[2] / this->QFactor + 0.5) * this->QFactor; in OperateOnPoint()
40 out[0] = floor(in[0] / this->QFactor + 0.5) * this->QFactor; in OperateOnBounds()
41 out[1] = floor(in[1] / this->QFactor + 0.5) * this->QFactor; in OperateOnBounds()
42 out[2] = floor(in[2] / this->QFactor + 0.5) * this->QFactor; in OperateOnBounds()
43 out[3] = floor(in[3] / this->QFactor + 0.5) * this->QFactor; in OperateOnBounds()
44 out[4] = floor(in[4] / this->QFactor + 0.5) * this->QFactor; in OperateOnBounds()
45 out[5] = floor(in[5] / this->QFactor + 0.5) * this->QFactor; in OperateOnBounds()
[all …]
H A DvtkQuantizePolyDataPoints.h59 vtkSetClampMacro(QFactor, double, 1E-5, VTK_FLOAT_MAX);
60 vtkGetMacro(QFactor, double);
77 double QFactor; variable
/dports/math/vtk6/VTK-6.2.0/Filters/General/
H A DvtkQuantizePolyDataPoints.cxx25 this->QFactor = 0.25; in vtkQuantizePolyDataPoints()
32 out[0] = floor(in[0]/this->QFactor + 0.5)*this->QFactor; in OperateOnPoint()
33 out[1] = floor(in[1]/this->QFactor + 0.5)*this->QFactor; in OperateOnPoint()
34 out[2] = floor(in[2]/this->QFactor + 0.5)*this->QFactor; in OperateOnPoint()
40 out[0] = floor(in[0]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
41 out[1] = floor(in[1]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
42 out[2] = floor(in[2]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
43 out[3] = floor(in[3]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
44 out[4] = floor(in[4]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
45 out[5] = floor(in[5]/this->QFactor + 0.5)*this->QFactor; in OperateOnBounds()
[all …]
H A DvtkQuantizePolyDataPoints.h53 vtkSetClampMacro(QFactor,double,1E-5,VTK_FLOAT_MAX);
54 vtkGetMacro(QFactor,double);
68 double QFactor; variable
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dsdcparam.c93 floatp QFactor, gs_memory_t * mem) in quant_param_string() argument
116 floatp QFactor, gs_memory_t * mem) in quant_param_array() argument
147 floatp QFactor = pdct->QFactor; in s_DCT_get_quantization_tables() local
208 if (QFactor == 1.0) { in s_DCT_get_quantization_tables()
211 QFactor, mem); in s_DCT_get_quantization_tables()
229 QFactor, mem); in s_DCT_get_quantization_tables()
378 UINT16 * pvals, floatp QFactor) in quant_params() argument
392 double v = bytes.data[i] * QFactor; in quant_params()
406 double v = floats.data[i] * QFactor; in quant_params()
436 pdct->QFactor < 0.0 || pdct->QFactor > 1000000.0 in s_DCT_put_params()
[all …]
H A Dgdevjpeg.c35 float QFactor; /* quality per DCTEncode conventions */ member
101 if ((ecode = param_write_float(plist, "QFactor", &jdev->QFactor)) < 0) in jpeg_get_params()
116 float qf = jdev->QFactor; in jpeg_put_params()
153 jdev->QFactor = qf; in jpeg_put_params()
186 state.QFactor = 1.0; /* disable quality adjustment in zfdcte.c */ in jpeg_print_page()
216 } else if (jdev->QFactor > 0.0) { in jpeg_print_page()
218 (int)(min(jdev->QFactor, 100.0) in jpeg_print_page()
H A Dsdctc.c43 ss->QFactor = 1.0; in s_DCT_set_defaults()
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dsdcparam.c93 floatp QFactor, gs_memory_t * mem) in quant_param_string() argument
116 floatp QFactor, gs_memory_t * mem) in quant_param_array() argument
147 floatp QFactor = pdct->QFactor; in s_DCT_get_quantization_tables() local
208 if (QFactor == 1.0) { in s_DCT_get_quantization_tables()
211 QFactor, mem); in s_DCT_get_quantization_tables()
229 QFactor, mem); in s_DCT_get_quantization_tables()
378 UINT16 * pvals, floatp QFactor) in quant_params() argument
392 double v = bytes.data[i] * QFactor; in quant_params()
406 double v = floats.data[i] * QFactor; in quant_params()
436 pdct->QFactor < 0.0 || pdct->QFactor > 1000000.0 in s_DCT_put_params()
[all …]
H A Dgdevjpeg.c35 float QFactor; /* quality per DCTEncode conventions */ member
101 if ((ecode = param_write_float(plist, "QFactor", &jdev->QFactor)) < 0) in jpeg_get_params()
116 float qf = jdev->QFactor; in jpeg_put_params()
153 jdev->QFactor = qf; in jpeg_put_params()
186 state.QFactor = 1.0; /* disable quality adjustment in zfdcte.c */ in jpeg_print_page()
216 } else if (jdev->QFactor > 0.0) { in jpeg_print_page()
218 (int)(min(jdev->QFactor, 100.0) in jpeg_print_page()
H A Dsdctc.c43 ss->QFactor = 1.0; in s_DCT_set_defaults()
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dsdcparam.c88 floatp QFactor, gs_memory_t * mem) in quant_param_string() argument
111 floatp QFactor, gs_memory_t * mem) in quant_param_array() argument
142 floatp QFactor = pdct->QFactor; in s_DCT_get_quantization_tables() local
203 if (QFactor == 1.0) { in s_DCT_get_quantization_tables()
206 QFactor, mem); in s_DCT_get_quantization_tables()
223 QFactor, mem); in s_DCT_get_quantization_tables()
372 UINT16 * pvals, floatp QFactor) in quant_params() argument
386 double v = bytes.data[i] * QFactor; in quant_params()
400 double v = floats.data[i] * QFactor; in quant_params()
430 pdct->QFactor < 0.0 || pdct->QFactor > 1000000.0 in s_DCT_put_params()
[all …]
H A Dgdevjpeg.c29 float QFactor; /* quality per DCTEncode conventions */ member
212 if ((ecode = param_write_float(plist, "QFactor", &jdev->QFactor)) < 0) in jpeg_get_params()
239 float qf = jdev->QFactor; in jpeg_put_params()
321 jdev->QFactor = qf; in jpeg_put_params()
430 state.QFactor = 1.0; /* disable quality adjustment in zfdcte.c */ in jpeg_print_page()
464 } else if (jdev->QFactor > 0.0) { in jpeg_print_page()
466 (int)(min(jdev->QFactor, 100.0) in jpeg_print_page()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dsdcparam.c90 double QFactor, gs_memory_t * mem) in quant_param_string() argument
113 double QFactor, gs_memory_t * mem) in quant_param_array() argument
124 data[i] = pvals[jpeg_inverse_order(i)] / QFactor; in quant_param_array()
144 double QFactor = pdct->QFactor; in s_DCT_get_quantization_tables() local
205 if (QFactor == 1.0) { in s_DCT_get_quantization_tables()
208 QFactor, mem); in s_DCT_get_quantization_tables()
225 QFactor, mem); in s_DCT_get_quantization_tables()
389 UINT16 * pvals, double QFactor) in quant_params() argument
403 double v = bytes.data[i] * QFactor; in quant_params()
447 pdct->QFactor < 0.0 || pdct->QFactor > 1000000.0 in s_DCT_put_params()
[all …]
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dsdcparam.c88 floatp QFactor, gs_memory_t * mem) in quant_param_string() argument
111 floatp QFactor, gs_memory_t * mem) in quant_param_array() argument
142 floatp QFactor = pdct->QFactor; in s_DCT_get_quantization_tables() local
203 if (QFactor == 1.0) { in s_DCT_get_quantization_tables()
206 QFactor, mem); in s_DCT_get_quantization_tables()
223 QFactor, mem); in s_DCT_get_quantization_tables()
372 UINT16 * pvals, floatp QFactor) in quant_params() argument
386 double v = bytes.data[i] * QFactor; in quant_params()
400 double v = floats.data[i] * QFactor; in quant_params()
430 pdct->QFactor < 0.0 || pdct->QFactor > 1000000.0 in s_DCT_put_params()
[all …]
H A Dgdevjpeg.c29 float QFactor; /* quality per DCTEncode conventions */ member
212 if ((ecode = param_write_float(plist, "QFactor", &jdev->QFactor)) < 0) in jpeg_get_params()
239 float qf = jdev->QFactor; in jpeg_put_params()
321 jdev->QFactor = qf; in jpeg_put_params()
430 state.QFactor = 1.0; /* disable quality adjustment in zfdcte.c */ in jpeg_print_page()
464 } else if (jdev->QFactor > 0.0) { in jpeg_print_page()
466 (int)(min(jdev->QFactor, 100.0) in jpeg_print_page()
H A Dsdctc.c36 ss->QFactor = 1.0; in s_DCT_set_defaults()
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dsdcparam.c89 floatp QFactor, gs_memory_t * mem) in quant_param_string() argument
112 floatp QFactor, gs_memory_t * mem) in quant_param_array() argument
123 data[i] = pvals[jpeg_inverse_order(i)] / QFactor; in quant_param_array()
143 floatp QFactor = pdct->QFactor; in s_DCT_get_quantization_tables() local
204 if (QFactor == 1.0) { in s_DCT_get_quantization_tables()
207 QFactor, mem); in s_DCT_get_quantization_tables()
224 QFactor, mem); in s_DCT_get_quantization_tables()
373 UINT16 * pvals, floatp QFactor) in quant_params() argument
387 double v = bytes.data[i] * QFactor; in quant_params()
431 pdct->QFactor < 0.0 || pdct->QFactor > 1000000.0 in s_DCT_put_params()
[all …]
H A Dgdevjpeg.c31 float QFactor; /* quality per DCTEncode conventions */ member
213 if ((ecode = param_write_float(plist, "QFactor", &jdev->QFactor)) < 0) in jpeg_get_params()
240 float qf = jdev->QFactor; in jpeg_put_params()
321 jdev->QFactor = qf; in jpeg_put_params()
433 state.QFactor = 1.0; /* disable quality adjustment in zfdcte.c */ in jpeg_print_page()
475 } else if (jdev->QFactor > 0.0) { in jpeg_print_page()
477 (int)(min(jdev->QFactor, 100.0) in jpeg_print_page()
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dsdcparam.c90 double QFactor, gs_memory_t * mem) in quant_param_string() argument
113 double QFactor, gs_memory_t * mem) in quant_param_array() argument
124 data[i] = pvals[jpeg_inverse_order(i)] / QFactor; in quant_param_array()
144 double QFactor = pdct->QFactor; in s_DCT_get_quantization_tables() local
205 if (QFactor == 1.0) { in s_DCT_get_quantization_tables()
208 QFactor, mem); in s_DCT_get_quantization_tables()
225 QFactor, mem); in s_DCT_get_quantization_tables()
389 UINT16 * pvals, double QFactor) in quant_params() argument
403 double v = bytes.data[i] * QFactor; in quant_params()
447 pdct->QFactor < 0.0 || pdct->QFactor > 1000000.0 in s_DCT_put_params()
[all …]
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dsdcparam.c89 floatp QFactor, gs_memory_t * mem) in quant_param_string() argument
112 floatp QFactor, gs_memory_t * mem) in quant_param_array() argument
123 data[i] = pvals[jpeg_inverse_order(i)] / QFactor; in quant_param_array()
143 floatp QFactor = pdct->QFactor; in s_DCT_get_quantization_tables() local
204 if (QFactor == 1.0) { in s_DCT_get_quantization_tables()
207 QFactor, mem); in s_DCT_get_quantization_tables()
224 QFactor, mem); in s_DCT_get_quantization_tables()
373 UINT16 * pvals, floatp QFactor) in quant_params() argument
387 double v = bytes.data[i] * QFactor; in quant_params()
431 pdct->QFactor < 0.0 || pdct->QFactor > 1000000.0 in s_DCT_put_params()
[all …]
H A Dgdevjpeg.c31 float QFactor; /* quality per DCTEncode conventions */ member
213 if ((ecode = param_write_float(plist, "QFactor", &jdev->QFactor)) < 0) in jpeg_get_params()
240 float qf = jdev->QFactor; in jpeg_put_params()
321 jdev->QFactor = qf; in jpeg_put_params()
433 state.QFactor = 1.0; /* disable quality adjustment in zfdcte.c */ in jpeg_print_page()
475 } else if (jdev->QFactor > 0.0) { in jpeg_print_page()
477 (int)(min(jdev->QFactor, 100.0) in jpeg_print_page()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/devices/
H A Dgdevjpeg.c32 float QFactor; /* quality per DCTEncode conventions */ member
224 if ((ecode = param_write_float(plist, "QFactor", &jdev->QFactor)) < 0) in jpeg_get_params()
251 float qf = jdev->QFactor; in jpeg_put_params()
334 jdev->QFactor = qf; in jpeg_put_params()
455 state.QFactor = 1.0; /* disable quality adjustment in zfdcte.c */ in jpeg_print_page()
506 } else if (jdev->QFactor > 0.0) { in jpeg_print_page()
508 (int)(min(jdev->QFactor, 100.0) in jpeg_print_page()
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/devices/
H A Dgdevjpeg.c32 float QFactor; /* quality per DCTEncode conventions */ member
224 if ((ecode = param_write_float(plist, "QFactor", &jdev->QFactor)) < 0) in jpeg_get_params()
251 float qf = jdev->QFactor; in jpeg_put_params()
334 jdev->QFactor = qf; in jpeg_put_params()
455 state.QFactor = 1.0; /* disable quality adjustment in zfdcte.c */ in jpeg_print_page()
506 } else if (jdev->QFactor > 0.0) { in jpeg_print_page()
508 (int)(min(jdev->QFactor, 100.0) in jpeg_print_page()

123