Home
last modified time | relevance | path

Searched refs:fy (Results 1 – 25 of 519) sorted by relevance

12345678910>>...21

/external/tensorflow/tensorflow/contrib/resampler/kernels/
Dresampler_ops_gpu.cu.cc79 const int fy = std::floor(static_cast<float>(y)); in Resampler2DKernel() local
81 const int cy = fy + 1; in Resampler2DKernel()
86 (fx >= 0 && fy >= 0) ? dx * dy * GET_DATA_POINT(fx, fy) : zero; in Resampler2DKernel()
96 const T img_cxfy = (cx <= data_width - 1 && fy >= 0) in Resampler2DKernel()
97 ? (one - dx) * dy * GET_DATA_POINT(cx, fy) in Resampler2DKernel()
190 const int fy = std::floor(static_cast<float>(y)); in ResamplerGrad2DKernel() local
192 const int cy = fy + 1; in ResamplerGrad2DKernel()
196 const T img_fxfy = (fx >= 0 && fy >= 0) ? GET_DATA_POINT(fx, fy) : zero; in ResamplerGrad2DKernel()
206 (cx <= data_width - 1 && fy >= 0) ? GET_DATA_POINT(cx, fy) : zero; in ResamplerGrad2DKernel()
217 if (fx >= 0 && fy >= 0) { in ResamplerGrad2DKernel()
[all …]
Dresampler_ops.cc87 const int fy = std::floor(static_cast<float>(y)); in operator ()() local
89 const int cy = fy + 1; in operator ()()
94 const T img_fxfy = dx * dy * get_data_point(fx, fy, chan); in operator ()()
98 const T img_cxfy = (one - dx) * dy * get_data_point(cx, fy, chan); in operator ()()
274 const int fy = std::floor(static_cast<float>(y)); in operator ()() local
276 const int cy = fy + 1; in operator ()()
284 const T img_fxfy = get_data_point(fx, fy, chan); in operator ()()
287 const T img_cxfy = get_data_point(cx, fy, chan); in operator ()()
301 update_grad_data(fx, fy, chan, grad_output_value * dx * dy); in operator ()()
306 update_grad_data(cx, fy, chan, in operator ()()
/external/e2fsprogs/tests/scripts/
Dresize_test58 echo $FSCK -fy $TMPFILE >> $LOG 2>&1
59 $FSCK -fy $TMPFILE >> $LOG 2>&1
67 echo $FSCK -fy $TMPFILE >> $LOG 2>&1
68 if ! $FSCK -fy $TMPFILE >> $LOG 2>&1
97 echo $FSCK -fy $TMPFILE >> $LOG 2>&1
98 if ! $FSCK -fy $TMPFILE >> $LOG 2>&1
122 echo $FSCK -fy $TMPFILE >> $LOG 2>&1
123 if ! $FSCK -fy $TMPFILE >> $LOG 2>&1
147 echo $FSCK -fy $TMPFILE >> $LOG 2>&1
148 if ! $FSCK -fy $TMPFILE >> $LOG 2>&1
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c407 float fy = flip * viewport->scale[1] * -1.0f + viewport->translate[1]; in emit_viewport() local
422 fy, in emit_viewport()
455 prescale.translate[1] = fh + fy * 2.0f; in emit_viewport()
459 prescale.translate[1] = fh - 1.0f + fy * 2.0f; in emit_viewport()
462 fy -= fh; in emit_viewport()
474 if (fy < 0) { in emit_viewport()
476 prescale.translate[1] -= fy; in emit_viewport()
479 prescale.translate[1] += fy; in emit_viewport()
481 prescale.scale[1] *= fh / (fh + fy); in emit_viewport()
482 fh += fy; in emit_viewport()
[all …]
/external/lzma/CPP/7zip/UI/FileManager/
DOverwriteDialog.rc12 #undef fy
15 #define fy 50
28 LTEXT "", IDT_OVERWRITE_OLD_FILE_SIZE_TIME, x, 44, fx, fy, SS_NOPREFIX
33 LTEXT "", IDT_OVERWRITE_NEW_FILE_SIZE_TIME, x, 114, fx, fy, SS_NOPREFIX
54 #undef fy
55 #define fy 40
70 LTEXT "", IDT_OVERWRITE_OLD_FILE_SIZE_TIME, x, 20, fx, fy, SS_NOPREFIX
75 LTEXT "", IDT_OVERWRITE_NEW_FILE_SIZE_TIME, x, 72, fx, fy, SS_NOPREFIX
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
DMergeConsecutiveStores.ll19 @fy = common global %struct.X zeroinitializer, align 4
41 store i32 %0, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 0), align 4
42 store i32 %1, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 1), align 4
43 store i32 %2, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 2), align 4
44 store i32 %3, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 3), align 4
63 store i32 %0, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 0), align 16
64 store i32 %1, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 1), align 4
65 store i32 %2, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 2), align 4
66 store i32 %3, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 3), align 4
/external/llvm/test/CodeGen/PowerPC/
DMergeConsecutiveStores.ll19 @fy = common global %struct.X zeroinitializer, align 4
41 store i32 %0, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 0), align 4
42 store i32 %1, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 1), align 4
43 store i32 %2, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 2), align 4
44 store i32 %3, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 3), align 4
63 store i32 %0, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 0), align 16
64 store i32 %1, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 1), align 4
65 store i32 %2, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 2), align 4
66 store i32 %3, i32* getelementptr inbounds (%struct.X, %struct.X* @fy, i32 0, i32 3), align 4
/external/mesa3d/src/mesa/swrast/
Ds_aalinetemp.h41 const GLfloat fy = (GLfloat) iy; in NAME() local
60 line->span.array->z[i] = (GLuint) solve_plane(fx, fy, line->zPlane); in NAME()
62 line->span.array->rgba[i][RCOMP] = solve_plane_chan(fx, fy, line->rPlane); in NAME()
63 line->span.array->rgba[i][GCOMP] = solve_plane_chan(fx, fy, line->gPlane); in NAME()
64 line->span.array->rgba[i][BCOMP] = solve_plane_chan(fx, fy, line->bPlane); in NAME()
65 line->span.array->rgba[i][ACOMP] = solve_plane_chan(fx, fy, line->aPlane); in NAME()
73 const GLfloat invQ = solve_plane_recip(fx, fy, line->attrPlane[attr][3]); in NAME()
76 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invQ; in NAME()
85 const GLfloat invW = solve_plane_recip(fx, fy, line->wPlane); in NAME()
88 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invW; in NAME()
/external/skqp/src/core/
DSkScan_Antihair.cpp102 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) = 0;
103 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) = 0;
111 SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) override { in drawCap() argument
112 fy += SK_Fixed1/2; in drawCap()
114 int y = fy >> 16; in drawCap()
115 uint8_t a = (uint8_t)(fy >> 8); in drawCap()
129 return fy - SK_Fixed1/2; in drawCap()
132 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, in drawLine() argument
136 fy += SK_Fixed1/2; in drawLine()
138 int y = fy >> 16; in drawLine()
[all …]
/external/skia/src/core/
DSkScan_Antihair.cpp102 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) = 0;
103 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) = 0;
111 SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) override { in drawCap() argument
112 fy += SK_Fixed1/2; in drawCap()
114 int y = fy >> 16; in drawCap()
115 uint8_t a = (uint8_t)((fy >> 8) & 0xFF); in drawCap()
129 return fy - SK_Fixed1/2; in drawCap()
132 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, in drawLine() argument
136 fy += SK_Fixed1/2; in drawLine()
138 int y = fy >> 16; in drawLine()
[all …]
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DDragLatencyFragment.java244 double[] fy; in reshapeAndCalculate() local
253 fy = new double[fN]; in reshapeAndCalculate()
257 fy[i] = touchEventList.get(i).y; in reshapeAndCalculate()
294 calculateDragLatency(ft,fy, lt, ldir); in reshapeAndCalculate()
354 public void calculateDragLatency(double[] ft, double[] fy, double[] lt, int[] ldir) { in calculateDragLatency() argument
356 double[] ly = Utils.interp(lt, ft, fy); in calculateDragLatency()
384 double bestShift = Utils.findBestShift(lts, ft, fy); in calculateDragLatency()
389 drawLatencyGraph(ft, fy, lt, averageBestShift); in calculateDragLatency()
393 private void drawLatencyGraph(double[] ft, double[] fy, double[] lt, double averageBestShift) { in drawLatencyGraph() argument
398 touchEntries.add(new Entry((float) ft[i], (float) fy[i])); in drawLatencyGraph()
[all …]
/external/skqp/experimental/svg/model/
DSkSVGRadialGradient.cpp31 void SkSVGRadialGradient::setFy(const SkSVGLength& fy) { in setFy() argument
32 fFy.set(fy); in setFy()
58 if (const auto* fy = v.as<SkSVGLengthValue>()) { in onSetAttribute() local
59 this->setFy(*fy); in onSetAttribute()
/external/skia/experimental/svg/model/
DSkSVGRadialGradient.cpp31 void SkSVGRadialGradient::setFy(const SkSVGLength& fy) { in setFy() argument
32 fFy.set(fy); in setFy()
58 if (const auto* fy = v.as<SkSVGLengthValue>()) { in onSetAttribute() local
59 this->setFy(*fy); in onSetAttribute()
/external/freetype/src/autofit/
Dafhints.c358 point->fy, in af_glyph_hints_dump_points()
520 : seg->first->fy; in af_glyph_hints_get_segment_offset()
863 point->fy = (FT_Short)vec->y; in af_glyph_hints_reload()
868 end->fy = (FT_Short)outline->points[endpoint].y; in af_glyph_hints_reload()
883 out_y = point->fy - prev->fy; in af_glyph_hints_reload()
956 out_y = point->fy - prev->fy; in af_glyph_hints_reload()
1005 out_y += next->fy - point->fy; in af_glyph_hints_reload()
1064 in_y = point->fy - prev_v->fy; in af_glyph_hints_reload()
1067 out_y = next_u->fy - point->fy; in af_glyph_hints_reload()
1114 point->fy - prev_v->fy, in af_glyph_hints_reload()
[all …]
/external/skqp/tests/
DPathOpsSimplifyDegenerateThreadedTest.cpp28 int fy = f >> 2; in testSimplifyDegeneratesMain() local
29 if (state.fD && (ex - dx) * (fy - dy) in testSimplifyDegeneratesMain()
42 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyDegeneratesMain()
51 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyDegeneratesMain()
DPathOpsSimplifyTrianglesThreadedTest.cpp32 int fy = f >> 2; in testSimplifyTrianglesMain() local
33 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) { in testSimplifyTrianglesMain()
45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyTrianglesMain()
54 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyTrianglesMain()
/external/skia/tests/
DPathOpsSimplifyDegenerateThreadedTest.cpp28 int fy = f >> 2; in testSimplifyDegeneratesMain() local
29 if (state.fD && (ex - dx) * (fy - dy) in testSimplifyDegeneratesMain()
42 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyDegeneratesMain()
51 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyDegeneratesMain()
DPathOpsSimplifyTrianglesThreadedTest.cpp32 int fy = f >> 2; in testSimplifyTrianglesMain() local
33 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) { in testSimplifyTrianglesMain()
45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyTrianglesMain()
54 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyTrianglesMain()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dtest_iSACfixfloat.c116 FILE* fy; in main() local
130 fy = fopen("bit_rate.dat", "w"); in main()
131 fclose(fy); in main()
132 fy = fopen("bytes_frames.dat", "w"); in main()
133 fclose(fy); in main()
597 fy = fopen("bit_rate.dat", "a"); in main()
598 fprintf(fy, "Frame %i = %0.14f\n", framecnt, kbps); in main()
599 fclose(fy); in main()
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp278 float fy = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows; in init() local
281 m_positions.push_back(fy); in init()
314 … float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows; in init() local
317 m_positions.push_back(fy); in init()
345 float fy = -0.9f + 1.8f * ((float)stripNdx + (i%2 == 0 ? 0.0f : 0.8f)) / numStrips; in init() local
348 m_positions.push_back(fy); in init()
386 …float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numRo… in init() local
389 m_positions.push_back(fy); in init()
417 float fy = -0.9f + 1.8f * ((float)rowNdx + (i%3 == 0 ? 0.0f : 0.8f)) / numRows; in init() local
420 m_positions.push_back(fy); in init()
/external/e2fsprogs/tests/f_badcluster/
Dscript10 $FSCK -fy $TMPFILE > $OUT.new 2>&1
11 $FSCK -fy $TMPFILE >> $OUT.new 2>&1
12 $FSCK -fy $TMPFILE >> $OUT.new 2>&1
/external/e2fsprogs/tests/j_corrupt_revoke_csum/
Dscript7 FSCK_OPT=-fy
18 $FSCK -fy -N test_filesys $TMPFILE > $OUT.new 2>&1
22 $FSCK -fy -N test_filesys $TMPFILE >> $OUT.new 2>&1
/external/e2fsprogs/tests/j_corrupt_sb_magic/
Dscript7 FSCK_OPT=-fy
18 $FSCK -fy -N test_filesys $TMPFILE > $OUT.new 2>&1
22 $FSCK -fy -N test_filesys $TMPFILE >> $OUT.new 2>&1
/external/e2fsprogs/tests/j_corrupt_sb_csum/
Dscript7 FSCK_OPT=-fy
18 $FSCK -fy -N test_filesys $TMPFILE > $OUT.new 2>&1
22 $FSCK -fy -N test_filesys $TMPFILE >> $OUT.new 2>&1
/external/e2fsprogs/tests/j_corrupt_journal_block/
Dscript7 FSCK_OPT=-fy
18 $FSCK -fy -N test_filesys $TMPFILE > $OUT.new 2>&1
22 $FSCK -fy -N test_filesys $TMPFILE >> $OUT.new 2>&1

12345678910>>...21