/external/pdfium/core/fxge/skia/ |
fx_skia_device_unittest.cpp | 21 enum class Clip { kNo, kSame, kDifferentPath, kDifferentMatrix }; 26 Clip m_clip; 60 if (state.m_clip != State::Clip::kNo) 79 if (state.m_clip == State::Clip::kSame) 81 else if (state.m_clip == State::Clip::kDifferentPath) 83 else if (state.m_clip == State::Clip::kDifferentMatrix) 150 State::Clip::kSame, State::Graphic::kPath, 0xFF112233}); 152 {State::Change::kNo, State::Save::kYes, State::Clip::kDifferentPath, 154 Harness(&CommonTest, {State::Change::kNo, State::Save::kYes, State::Clip::kNo, 156 Harness(&CommonTest, {State::Change::kYes, State::Save::kNo, State::Clip::kNo [all...] |
fx_skia_device.cpp | 163 #define DRAW_SKIA_CLIP 0 // set to 1 to draw a green rectangle around the clip 475 SkPath* clip) { 534 // construct a clip parallel to the gradient that goes through 537 clip->moveTo(IntersectSides(rectPts[minBounds], slope, startEdgePt)); 538 clip->lineTo(IntersectSides(rectPts[minBounds], slope, endEdgePt)); 539 clip->lineTo(IntersectSides(rectPts[maxBounds], slope, endEdgePt)); 540 clip->lineTo(IntersectSides(rectPts[maxBounds], slope, startEdgePt)); 667 enum class Clip { 1328 const SkPath& clip = m_clips[skIndex]; local [all...] |
/external/tensorflow/tensorflow/compiler/tests/ |
lstm.py | 35 def Clip(x): 75 c_next = Clip(Clip(forget_gate * c_prev) + Clip(in_gate * in_value)) 76 m_next = Clip(out_gate * c_next)
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
image-inl.h | 410 const int orig_y = Clip(2 * y, ZERO, original.height_less_one_); 411 const int min_y = Clip(orig_y - 1, ZERO, original.height_less_one_); 412 const int max_y = Clip(orig_y + 1, ZERO, original.height_less_one_); 415 const int orig_x = Clip(2 * x, ZERO, original.width_less_one_); 416 const int min_x = Clip(orig_x - 1, ZERO, original.width_less_one_); 417 const int max_x = Clip(orig_x + 1, ZERO, original.width_less_one_); 462 const int start_x = Clip((x << 1) - window_radius, ZERO, max_x); 464 // Clip the boundaries to the size of the image. 467 Clip((y << 1) - window_radius + window_y, ZERO, max_y); 487 const int min_x = Clip(center_x - 1, ZERO, original.width_less_one_) [all...] |
optical_flow.cc | 88 const int fp_y = Clip(src_top_fixed + (y << 16), 0, fixed_y_max); 91 const int fp_x = Clip(src_left_fixed + (x << 16), 0, fixed_x_max); 100 const float y_pos = Clip(src_top_real + y, 0.0f, real_y_max); 103 const float x_pos = Clip(src_left_real + x, 0.0f, real_x_max); 143 const int fp_y = Clip(top_fixed + (win_y << 16), 0, fixed_y_max); 145 const int fp_x = Clip(left_fixed + (win_x << 16), 0, fixed_x_max); 151 const float y_pos = Clip(top_real + win_y, 0.0f, real_y_max); 153 const float x_pos = Clip(left_real + win_x, 0.0f, real_x_max);
|
image.h | 164 return (*this)[Clip(y, ZERO, height_less_one_)] 165 [Clip(x, ZERO, width_less_one_)];
|
utils.h | 119 inline static T Clip(const T a, const T floor, const T ceil) {
|
object_tracker.cc | 430 *dst_ptr++ = Clip(-(*dx_ptr++), 0, 255);
|
/external/clang/test/SemaTemplate/ |
instantiate-invalid.cpp | 6 template<class Clip=rasterizer_sl_clip_int> class rasterizer_scanline_aa
|
/external/skia/gm/ |
complexclip2.cpp | 20 enum Clip { 26 ComplexClip2GM(Clip clip, bool antiAlias) 27 : fClip(clip) 110 static const char* ClipStr(Clip clip) { 111 switch (clip) { 119 SkDEBUGFAIL("Unknown clip type."); 197 Clip fClip;
|
convexpolyclip.cpp | 152 constexpr char kTxt[] = "Clip Me!"; 164 const Clip* clip = iter.get(); variable 169 clip->getBounds(&bounds); 177 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa)); 192 clip->getBounds(&bounds); 201 clip->asClosedPath(&closedClipPath); 203 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa)); 220 class Clip { 228 Clip () : fClipType(kNone_ClipType) { [all...] |
/external/skqp/gm/ |
complexclip2.cpp | 20 enum Clip { 26 ComplexClip2GM(Clip clip, bool antiAlias) 27 : fClip(clip) 110 static const char* ClipStr(Clip clip) { 111 switch (clip) { 119 SkDEBUGFAIL("Unknown clip type."); 197 Clip fClip;
|
convexpolyclip.cpp | 152 constexpr char kTxt[] = "Clip Me!"; 164 const Clip* clip = iter.get(); variable 169 clip->getBounds(&bounds); 177 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa)); 192 clip->getBounds(&bounds); 201 clip->asClosedPath(&closedClipPath); 203 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa)); 220 class Clip { 228 Clip () : fClipType(kNone_ClipType) { [all...] |
/external/webrtc/webrtc/video/ |
video_loopback.cc | 188 DEFINE_string(clip, 190 "Name of the clip to show. If empty, using chroma generator."); 191 std::string Clip() { 217 {flags::Clip()},
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
tensor_utils.h | 28 float Clip(float f, float abs_limit); 176 // Clip elements of a vector using a abs_limit value.
|
/external/tensorflow/tensorflow/core/kernels/ |
eigen_activations_test.cc | 75 TEST(EigenBackwardSpatialConvolutionsTest, Clip) {
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
neon_tensor_utils.h | 131 float Clip(float f, float abs_limit) { return PortableClip(f, abs_limit); }
|
/external/skia/tests/ |
LazyProxyTest.cpp | 174 class Clip : public GrClip { 176 Clip(LazyProxyTest* test, GrTextureProxy* atlas) 229 rtc->priv().testingOnly_addDrawOp(LazyProxyTest::Clip(&test, mockAtlas->asTextureProxy()),
|
/external/skqp/tests/ |
LazyProxyTest.cpp | 170 class Clip : public GrClip { 172 Clip(LazyProxyTest* test, GrTextureProxy* atlas) 225 rtc->priv().testingOnly_addDrawOp(LazyProxyTest::Clip(&test, mockAtlas->asTextureProxy()),
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
portable_tensor_utils.h | 126 // Clip elements of a vector using a abs_limit value. 148 float Clip(float f, float abs_limit) { return PortableClip(f, abs_limit); }
|
/build/soong/cc/ |
ndk_library.go | 147 // fix up every module that was using it as its SDK version. Clip to the
|
/external/ImageMagick/PerlMagick/ |
Magick.xs | 309 {"blend", StringReference}, {"clip-to-self", MagickBooleanOptions} } }, 412 { "Clip", { {"id", StringReference}, {"inside", MagickBooleanOptions} } }, 581 {"clip-limit", RealReference} } }, [all...] |
/external/ImageMagick/PerlMagick/quantum/ |
quantum.xs.in | 309 {"blend", StringReference}, {"clip-to-self", MagickBooleanOptions} } }, 412 { "Clip", { {"id", StringReference}, {"inside", MagickBooleanOptions} } }, 581 {"clip-limit", RealReference} } }, [all...] |