/dports/misc/mnn/MNN-1.2.0/source/geometry/ |
H A D | GeometryImageOp.cpp | 47 dstInfo->heightScale = (float)(inH) / (float)(outH); in _ConverterInterp() 52 if (outH == 1) { in _ConverterInterp() 63 dstInfo->heightScale = (float)(inH) / (float)(outH); in _ConverterInterp() 70 if (outH == 1) { in _ConverterInterp() 84 dstInfo->heightScale = (float)(inH) / (float)(outH); in _ConverterInterp() 92 if (outH > 1) { in _ConverterInterp() 93 dstInfo->heightScale = (float)inH / (float)outH; in _ConverterInterp() 108 dstInfo->heightScale = (float)(inH) / (float)(outH); in _ConverterInterp() 114 dstInfo->heightScale = (float)(inH) / (float)(outH); in _ConverterInterp() 187 auto outH = outputs[0]->height(); in onCompute() local [all …]
|
/dports/astro/astrometry/astrometry.net-0.85/util/ |
H A D | resample-main.c | 45 double* outimg, int outW, int outH, anwcs_t* outwcs, in resample_image() argument 54 for (i=0; i<outH; i++) { in resample_image() 127 logverb("Row %i of %i\n", i+1, outH); in resample_image() 142 int outW, outH; in main() local 233 outH = anwcs_imageh(outwcs); in main() 235 logmsg("Output image will be %i x %i\n", outW, outH); in main() 237 outimg = malloc(outW * outH * sizeof(double)); in main() 238 for (i=0; i<outW*outH; i++) in main() 242 outimg, outW, outH, outwcs, in main() 251 for (i=0; i<outW*outH; i++) in main() [all …]
|
H A D | wcs-resample.c | 40 int outW, outH; in resample_wcs_files() local 66 outH = anwcs_imageh(outwcs); in resample_wcs_files() 95 outimg = calloc(outW * outH, sizeof(float)); in resample_wcs_files() 117 for (i=0; i<(outW*outH); i++) { in resample_wcs_files() 129 qoutimg.npix = outW * outH; in resample_wcs_files() 163 BH = (int)ceil(outH / (float)B); in find_overlap_grid() 169 y = MIN(outH-1, B*i); in find_overlap_grid() 229 jhi = outH; in resample_wcs() 312 int outW, int outH) { in resample_wcs_rgba() argument 328 jlo = MIN(outH, bj *B); in resample_wcs_rgba() [all …]
|
/dports/misc/mnn/MNN-1.2.0/source/backend/cpu/ |
H A D | CPUGridSample.cpp | 91 auto outH = outputTensor->buffer().dim[2].extent; in onResize() local 93 mTempCordBuffer.reset(Tensor::createDevice<float>({1, outH * outW * 2})); in onResize() 116 auto outH = outputTensor->buffer().dim[2].extent; in onExecute() local 120 auto tileCount = channelC4 * outH; in onExecute() 126 for (auto h = 0; h < outH; ++h) { in onExecute() 138 auto c = index / outH; in onExecute() 139 auto h = index % outH; in onExecute() 141 auto outC = _outputPtr + c * outW * outH * 4; in onExecute() 143 auto outH = outC + h * outW * 4; in onExecute() local 147 … Vec4::save(outH + 4 * w, interpolate(y, x, inpC, inH, inW, mMode, mPaddingMode)); in onExecute()
|
H A D | CPUResize.cpp | 64 const int outH = output.dim[2].extent; in CPUResizeCubicC4() local 98 …o topData = reinterpret_cast<float*>(output.host) + b * outBatchSize + (int)n * 4 * outW * outH; in CPUResizeCubicC4() 99 for (int dy = 0; dy < outH; dy++) { in CPUResizeCubicC4() 154 const int outH = output.dim[2].extent; in CPUResizeBilinearC4() local 173 for (int dy = 0; dy < outH; dy++) { in CPUResizeBilinearC4() 224 const int outH = output.dim[2].extent; in CPUResizeNearestneighborRoundC4() local 242 …einterpret_cast<float*>(output.host) + b * outputBatchSize + static_cast<int>(n) * 4 * outW * outH; in CPUResizeNearestneighborRoundC4() 243 for (int dy = 0; dy < outH; ++dy) { in CPUResizeNearestneighborRoundC4() 265 const int outH = output.dim[2].extent; in CPUResizeNearestneighborC4() local 283 …einterpret_cast<float*>(output.host) + b * outputBatchSize + static_cast<int>(n) * 4 * outW * outH; in CPUResizeNearestneighborC4() [all …]
|
/dports/x11/eaglemode/eaglemode-0.95.0/src/emPdf/ |
H A D | emPdfServerProc.c | 279 int instId, pageIndex, outW, outH; in emPdfRender() local 285 &instId,&pageIndex,&srcX,&srcY,&srcW,&srcH,&outW,&outH in emPdfRender() 291 outW<=0 || outH<=0 in emPdfRender() 299 buf=(unsigned char*)malloc(outW*outH*4); in emPdfRender() 300 memset(buf,0xff,outW*outH*4); in emPdfRender() 306 outH, in emPdfRender() 329 cairo_scale(cr,outW/srcW,outH/srcH); in emPdfRender() 338 memset(buf,0x88,outW*outH*4); in emPdfRender() 349 fprintf(f,"P6\n%d\n%d\n255\n",outW,outH); in emPdfRender() 352 pe=buf+outW*outH*4; in emPdfRender() [all …]
|
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/util/ |
H A D | wcs-resample.c | 154 static anbool* find_overlap_grid(int B, int outW, int outH, in find_overlap_grid() argument 163 BH = (int)ceil(outH / (float)B); in find_overlap_grid() 169 y = MIN(outH-1, B*i); in find_overlap_grid() 217 const anwcs_t* outwcs, float* outimg, int outW, int outH, in resample_wcs() argument 229 jhi = outH; in resample_wcs() 312 int outW, int outH) { in resample_wcs_rgba() argument 319 bib = find_overlap_grid(B, outW, outH, outwcs, inwcs, &BW, &BH); in resample_wcs_rgba() 328 jlo = MIN(outH, bj *B); in resample_wcs_rgba() 329 jhi = MIN(outH, (bj+1)*B); in resample_wcs_rgba()
|
/dports/lang/ghc/ghc-8.10.7/libraries/haskeline/tests/ |
H A D | RunTTY.hs | 57 (Just inH, Just outH, Nothing, ph) 65 firstOutput <- getOutput outH 66 outputs <- mapM (inputOutput inH outH) inputs 68 lastOutput <- getOutput outH -- output triggered by EOF, if any 75 inputOutput inH outH input = do 77 getOutput outH
|
/dports/lang/elm/compiler-0.19.1/_cabal_deps/haskeline-0.8.0.0/tests/ |
H A D | RunTTY.hs | 57 (Just inH, Just outH, Nothing, ph) 65 firstOutput <- getOutput outH 66 outputs <- mapM (inputOutput inH outH) inputs 68 lastOutput <- getOutput outH -- output triggered by EOF, if any 75 inputOutput inH outH input = do 77 getOutput outH
|
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/haskeline-0.8.2/tests/ |
H A D | RunTTY.hs | 57 (Just inH, Just outH, Nothing, ph) 65 firstOutput <- getOutput outH 66 outputs <- mapM (inputOutput inH outH) inputs 68 lastOutput <- getOutput outH -- output triggered by EOF, if any 75 inputOutput inH outH input = do 77 getOutput outH
|
/dports/net/h323plus/h323plus-1_27_2/plugins/audio/SILK/silkSrc/ |
H A D | SKP_Silk_resample_3_2.c | 52 SKP_int16 outH[ 3 * IN_SUBFR_LEN_RESAMPLE_3_2 ]; in SKP_Silk_resample_3_2() local 63 SKP_Silk_resample_3_1( outH, &S[ 0 ], in, LSubFrameIn ); in SKP_Silk_resample_3_2() 67 SKP_Silk_resample_1_2_coarse( outH, &S[ 7 ], out, scratch, LSubFrameOut ); in SKP_Silk_resample_3_2()
|
H A D | SKP_Silk_resample_2_3.c | 52 SKP_int16 outH[ 3 * OUT_SUBFR_LEN ]; in SKP_Silk_resample_2_3() local 65 SKP_Silk_resample_2_1_coarse( in, &S[ 0 ], outH, scratch, LSubFrameIn ); in SKP_Silk_resample_2_3() 68 SKP_Silk_resample_1_3( out, &S[ 4 ], outH, SKP_LSHIFT( LSubFrameIn, 1 ) ); in SKP_Silk_resample_2_3()
|
H A D | SKP_Silk_resample_3_4.c | 52 SKP_int16 outH[ 3 * IN_SUBFR_LEN_RESAMPLE_3_4 ]; in SKP_Silk_resample_3_4() local 64 SKP_Silk_resample_3_1( outH, &S[ 0 ], in, LSubFrameIn ); in SKP_Silk_resample_3_4() 69 … SKP_Silk_resample_1_2_coarsest( outH, &S[ 7 ], outL, scratch, SKP_LSHIFT( LSubFrameOut, 1 ) ); in SKP_Silk_resample_3_4()
|
H A D | SKP_Silk_resample_4_3.c | 52 SKP_int16 outH[ 3 * OUT_SUBFR_LEN ]; in SKP_Silk_resample_4_3() local 66 SKP_Silk_resample_2_1_coarse( in, &S[ 0 ], outH, scratch, LSubFrameIn ); in SKP_Silk_resample_4_3() 68 SKP_Silk_resample_2_1_coarse( outH, &S[ 4 ], outHH, scratch, SKP_LSHIFT( LSubFrameIn, 1 ) ); in SKP_Silk_resample_4_3()
|
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/font/ |
H A D | ossimGdBitmapFont.cpp | 152 long outH = outBox.height(); in rasterizeNormal() local 188 if((inW == outW)&&(inH==outH)) in rasterizeNormal() 196 long *yLut = new long[outH]; in rasterizeNormal() 202 for(i = 0; i < outH; ++i) in rasterizeNormal() 204 yLut[i] = (int)(i*((double)inH/(double)outH)); in rasterizeNormal() 208 for(long row= 0; row < outH; ++row) in rasterizeNormal()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/test/Transforms/InstCombine/ |
H A D | 2012-06-06-LoadOfPHIs.ll | 4 define void @func(double %r, double %g, double %b, double* %outH, double* %outS, double* %outL) nou… 84 store double 0.000000e+00, double* %outH 117 store double %tmp54, double* %outH 133 store double %tmp65, double* %outH 145 store double %tmp74, double* %outH 149 %tmp76 = load double, double* %outH 151 store double %tmp77, double* %outH 157 store double %tmp80, double* %outH
|
/dports/devel/llvm11/llvm-11.0.1.src/test/Transforms/InstCombine/ |
H A D | 2012-06-06-LoadOfPHIs.ll | 4 define void @func(double %r, double %g, double %b, double* %outH, double* %outS, double* %outL) nou… 84 store double 0.000000e+00, double* %outH 117 store double %tmp54, double* %outH 133 store double %tmp65, double* %outH 145 store double %tmp74, double* %outH 149 %tmp76 = load double, double* %outH 151 store double %tmp77, double* %outH 157 store double %tmp80, double* %outH
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/test/Transforms/InstCombine/ |
H A D | 2012-06-06-LoadOfPHIs.ll | 4 define void @func(double %r, double %g, double %b, double* %outH, double* %outS, double* %outL) nou… 84 store double 0.000000e+00, double* %outH 117 store double %tmp54, double* %outH 133 store double %tmp65, double* %outH 145 store double %tmp74, double* %outH 149 %tmp76 = load double, double* %outH 151 store double %tmp77, double* %outH 157 store double %tmp80, double* %outH
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/test/Transforms/InstCombine/ |
H A D | 2012-06-06-LoadOfPHIs.ll | 4 define void @func(double %r, double %g, double %b, double* %outH, double* %outS, double* %outL) nou… 84 store double 0.000000e+00, double* %outH 117 store double %tmp54, double* %outH 133 store double %tmp65, double* %outH 145 store double %tmp74, double* %outH 149 %tmp76 = load double, double* %outH 151 store double %tmp77, double* %outH 157 store double %tmp80, double* %outH
|
/dports/devel/llvm10/llvm-10.0.1.src/test/Transforms/InstCombine/ |
H A D | 2012-06-06-LoadOfPHIs.ll | 4 define void @func(double %r, double %g, double %b, double* %outH, double* %outS, double* %outL) nou… 84 store double 0.000000e+00, double* %outH 117 store double %tmp54, double* %outH 133 store double %tmp65, double* %outH 145 store double %tmp74, double* %outH 149 %tmp76 = load double, double* %outH 151 store double %tmp77, double* %outH 157 store double %tmp80, double* %outH
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/test/Transforms/InstCombine/ |
H A D | 2012-06-06-LoadOfPHIs.ll | 4 define void @func(double %r, double %g, double %b, double* %outH, double* %outS, double* %outL) nou… 84 store double 0.000000e+00, double* %outH 117 store double %tmp54, double* %outH 133 store double %tmp65, double* %outH 145 store double %tmp74, double* %outH 149 %tmp76 = load double, double* %outH 151 store double %tmp77, double* %outH 157 store double %tmp80, double* %outH
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/test/Transforms/InstCombine/ |
H A D | 2012-06-06-LoadOfPHIs.ll | 4 define void @func(double %r, double %g, double %b, double* %outH, double* %outS, double* %outL) nou… 84 store double 0.000000e+00, double* %outH 117 store double %tmp54, double* %outH 133 store double %tmp65, double* %outH 145 store double %tmp74, double* %outH 149 %tmp76 = load double, double* %outH 151 store double %tmp77, double* %outH 157 store double %tmp80, double* %outH
|
/dports/devel/llvm90/llvm-9.0.1.src/test/Transforms/InstCombine/ |
H A D | 2012-06-06-LoadOfPHIs.ll | 4 define void @func(double %r, double %g, double %b, double* %outH, double* %outS, double* %outL) nou… 84 store double 0.000000e+00, double* %outH 117 store double %tmp54, double* %outH 133 store double %tmp65, double* %outH 145 store double %tmp74, double* %outH 149 %tmp76 = load double, double* %outH 151 store double %tmp77, double* %outH 157 store double %tmp80, double* %outH
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/test/Transforms/InstCombine/ |
H A D | 2012-06-06-LoadOfPHIs.ll | 4 define void @func(double %r, double %g, double %b, double* %outH, double* %outS, double* %outL) nou… 84 store double 0.000000e+00, double* %outH 117 store double %tmp54, double* %outH 133 store double %tmp65, double* %outH 145 store double %tmp74, double* %outH 149 %tmp76 = load double, double* %outH 151 store double %tmp77, double* %outH 157 store double %tmp80, double* %outH
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/test/Transforms/InstCombine/ |
H A D | 2012-06-06-LoadOfPHIs.ll | 4 define void @func(double %r, double %g, double %b, double* %outH, double* %outS, double* %outL) nou… 84 store double 0.000000e+00, double* %outH 117 store double %tmp54, double* %outH 133 store double %tmp65, double* %outH 145 store double %tmp74, double* %outH 149 %tmp76 = load double, double* %outH 151 store double %tmp77, double* %outH 157 store double %tmp80, double* %outH
|