/external/skia/tests/ |
RecordOptsTest.cpp | 198 // saveLayer w/ clip mask should also NOT go away 229 SkRect clip = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(60)); local 281 recorder.clipRect(clip); 324 recorder.clipRect(clip); 336 recorder.clipRect(clip); 349 // Test that currently we do not fold alphas for patterns without the clip. This is just not
|
/external/webp/src/enc/ |
analysis_enc.c | 72 static WEBP_INLINE int clip(int v, int m, int M) { function 94 enc->dqm_[n].alpha_ = clip(alpha, -127, 127); 95 enc->dqm_[n].beta_ = clip(beta, 0, 255); 110 return clip(alpha, 0, MAX_ALPHA);
|
quant_enc.c | 125 static WEBP_INLINE int clip(int v, int m, int M) { function 249 m->y1_.q_[0] = kDcTable[clip(q + enc->dq_y1_dc_, 0, 127)]; 250 m->y1_.q_[1] = kAcTable[clip(q, 0, 127)]; 252 m->y2_.q_[0] = kDcTable[ clip(q + enc->dq_y2_dc_, 0, 127)] * 2; 253 m->y2_.q_[1] = kAcTable2[clip(q + enc->dq_y2_ac_, 0, 127)]; 255 m->uv_.q_[0] = kDcTable[clip(q + enc->dq_uv_dc_, 0, 117)]; 256 m->uv_.q_[1] = kAcTable[clip(q + enc->dq_uv_ac_, 0, 127)]; 302 const int qstep = kAcTable[clip(m->quant_, 0, 127)] >> 2; 417 enc->dqm_[i].quant_ = clip(q, 0, 127); 436 dq_uv_ac = clip(dq_uv_ac, MIN_DQ_UV, MAX_DQ_UV) [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()},
|
/frameworks/base/libs/hwui/ |
ClipArea.h | 79 SkRegion convertToRegion(const SkRegion& clip) const; 214 // paths to clip to larger areas (which is valid e.g. with SkRegion::kReplace_Op) 224 * of the current clip state. If null, it has not been computed.
|
RecordingCanvas.cpp | 120 // force matrix/clip isolation for layer 127 // operations will be able to store and restore the current clip and transform info, and 140 // unlikely case where an unclipped savelayer is recorded with a clip it can use, 163 // layerBounds is in original bounds space, but clipped by current recording clip 166 auto previousClip = getRecordedClip(); // capture before new snapshot clip has changed 170 previousClip, // clip to *draw* with 176 Rect clip = layerBounds; local 177 clip.translate(-unmappedBounds.left, -unmappedBounds.top); 178 snapshot.resetClip(clip.left, clip.top, clip.right, clip.bottom) [all...] |
SkiaCanvas.cpp | 132 // either (or both) the matrix and/or clip state after a SkCanvas::restore 133 // operation. It does this by explicitly saving off the clip & matrix state 144 bool preserveClip = !(rec->saveFlags & SaveFlags::Clip); 204 class SkiaCanvas::Clip { 206 Clip(const SkRect& rect, SkClipOp op, const SkMatrix& m) 208 Clip(const SkRRect& rrect, SkClipOp op, const SkMatrix& m) 210 Clip(const SkPath& path, SkClipOp op, const SkMatrix& m) 255 // functions to emulate legacy SaveFlags (i.e. independent matrix/clip flags) 260 // (either SaveFlags::Matrix or SaveFlags::Clip is missing). 281 void SkiaCanvas::recordClip(const T& clip, SkClipOp op) [all...] |
/hardware/qcom/display/msm8996/sdm/include/core/ |
display_interface.h | 87 kOverrideDEClip = 0x8, // Specifies user defined DE clip shift 163 uint16_t clip = 0; // DE clip shift member in struct:sdm::DisplayDetailEnhancerData
|
/hardware/qcom/display/msm8998/sdm/include/core/ |
display_interface.h | 90 kOverrideDEClip = 0x8, // Specifies user defined DE clip shift 185 uint16_t clip = 0; // DE clip shift member in struct:sdm::DisplayDetailEnhancerData
|
/hardware/qcom/display/sdm845/sdm/include/core/ |
display_interface.h | 90 kOverrideDEClip = 0x8, // Specifies user defined DE clip shift 185 uint16_t clip = 0; // DE clip shift member in struct:sdm::DisplayDetailEnhancerData
|
/external/libvorbis/doc/ |
Makefile.am | 28 vorbis-clip.txt \
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_vs_variant.c | 186 if (vsvg->base.key.clip) { 252 if (vsvg->base.key.clip) {
|
/external/skia/gm/ |
convexpolyeffect.cpp | 53 RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip) override { 55 fColor, GrProcessorAnalysisCoverage::kNone, clip, false, caps, &fColor);
|
windowrectangles.cpp | 65 * Draws a clip that will exercise window rectangles if they are supported. 77 // Set up the canvas's clip to match our SkClipStack. 110 * Visualizes the mask (alpha or stencil) for a clip with several window rectangles. The purpose of 111 * this test is to verify that window rectangles are being used during clip mask generation, and to 114 * We use window rectangles when generating the clip mask because there is no need to invest time 117 * This test works by filling the entire clip mask with a small checkerboard pattern before drawing 133 * Base class for GrClips that visualize a clip mask. 148 * This class clips a cover by an alpha mask. We use it to visualize the alpha clip mask. 167 * This class clips a cover by the stencil clip bit. We use it to visualize the stencil mask. 214 // the clip mask generation [all...] |
/external/skia/src/effects/ |
SkAlphaThresholdFilter.cpp | 117 GrFixedClip clip(SkIRect::MakeWH(bounds.width(), bounds.height())); 120 rtContext->drawRect(clip, std::move(paint), GrAA::kNo, inMatrix, rect);
|
/external/skia/src/gpu/ops/ |
GrAtlasTextOp.cpp | 47 const GrAppliedClip* clip) { 70 auto analysis = fProcessors.finalize(color, coverage, clip, false, caps, &fColor);
|
GrDrawAtlasOp.cpp | 180 const GrAppliedClip* clip) { 188 fHelper.xpRequiresDstTexture(caps, clip, GrProcessorAnalysisCoverage::kNone, &gpColor);
|
GrLatticeOp.cpp | 79 RequiresDstTexture finalize(const GrCaps& caps, const GrAppliedClip* clip) override { 80 return fHelper.xpRequiresDstTexture(caps, clip, GrProcessorAnalysisCoverage::kNone,
|
/external/skia/tools/skiaserve/ |
Request.cpp | 164 // We clip to kMaxWidth / kMaxHeight for performance reasons. 295 // TODO this is really slow and we should cache the matrix and clip 300 SkIRect clip = fDebugCanvas->getCurrentClip(); local 303 info["ClipRect"] = SkDrawCommand::MakeJsonIRect(clip);
|
/frameworks/base/core/jni/android/graphics/pdf/ |
PdfEditor.cpp | 170 FS_RECTF clip = {(float) clipLeft, (float) clipTop, (float) clipRight, (float) clipBottom}; local 172 FPDFPage_TransFormWithClip(page, &transform, &clip);
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
stateblock9.c | 218 /* Clip planes. */ 223 memcpy(dst->clip.ucp[i], 224 src->clip.ucp[i], sizeof(src->clip.ucp[0])); 419 /* Clip planes. */ 420 memcpy(&dst->clip, &src->clip, sizeof(dst->clip));
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_state_dump.c | 156 struct brw_clip_unit_state *clip = brw->batch.bo->virtual + offset; local 163 clip->thread4.max_threads + 1); 166 batch_out(brw, name, offset, 7, "vp xmin %f\n", clip->viewport_xmin); 167 batch_out(brw, name, offset, 8, "vp xmax %f\n", clip->viewport_xmax); 168 batch_out(brw, name, offset, 9, "vp ymin %f\n", clip->viewport_ymin); 169 batch_out(brw, name, offset, 10, "vp ymax %f\n", clip->viewport_ymax); 465 const char *name = "CLIP VP";
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
ScreenViewer.java | 256 private final Rectangle clip = new Rectangle(); field in class:ScreenViewer.LoupeViewer 333 g.getClipBounds(clip); 335 g.drawImage(grid, clip.x - clip.x % zoom, clip.y - clip.y % zoom, null);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RegionTest.java | 1356 Region clip = new Region(0, 0, 10, 10); local 1389 Region clip = new Region(); local [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mep/ |
allinsn.s | 954 .global clip 955 clip: label 956 clip $10,1 957 clip $15,4 958 clip $4,3 959 clip $15,3 960 clip $1,0
|