/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
D | gstjpeg2000sampling.c | 66 gst_jpeg2000_sampling_to_string (GstJPEG2000Sampling sampling) in gst_jpeg2000_sampling_to_string() argument 68 g_return_val_if_fail (sampling > 0 in gst_jpeg2000_sampling_to_string() 69 && sampling <= G_N_ELEMENTS (gst_jpeg2000_sampling_strings), NULL); in gst_jpeg2000_sampling_to_string() 70 return gst_jpeg2000_sampling_strings[sampling - 1]; in gst_jpeg2000_sampling_to_string() 75 gst_jpeg2000_sampling_is_rgb (GstJPEG2000Sampling sampling) in gst_jpeg2000_sampling_is_rgb() argument 77 return sampling == GST_JPEG2000_SAMPLING_RGB || in gst_jpeg2000_sampling_is_rgb() 78 sampling == GST_JPEG2000_SAMPLING_RGBA || in gst_jpeg2000_sampling_is_rgb() 79 sampling == GST_JPEG2000_SAMPLING_BGR in gst_jpeg2000_sampling_is_rgb() 80 || sampling == GST_JPEG2000_SAMPLING_BGRA; in gst_jpeg2000_sampling_is_rgb() 85 gst_jpeg2000_sampling_is_yuv (GstJPEG2000Sampling sampling) in gst_jpeg2000_sampling_is_yuv() argument [all …]
|
D | gstjpeg2000sampling.h | 73 const gchar *gst_jpeg2000_sampling_to_string (GstJPEG2000Sampling sampling); 80 gboolean gst_jpeg2000_sampling_is_rgb (GstJPEG2000Sampling sampling); 83 gboolean gst_jpeg2000_sampling_is_yuv (GstJPEG2000Sampling sampling); 86 gboolean gst_jpeg2000_sampling_is_mono (GstJPEG2000Sampling sampling);
|
/third_party/skia/gm/ |
D | overdrawcolorfilter.cpp | 47 SkSamplingOptions sampling; in onDraw() local 53 canvas->drawImage(bitmap.asImage(), 0, 0, sampling, &paint); in onDraw() 55 canvas->drawImage(bitmap.asImage(), 0, 100, sampling, &paint); in onDraw() 57 canvas->drawImage(bitmap.asImage(), 0, 200, sampling, &paint); in onDraw() 59 canvas->drawImage(bitmap.asImage(), 0, 300, sampling, &paint); in onDraw() 61 canvas->drawImage(bitmap.asImage(), 100, 0, sampling, &paint); in onDraw() 63 canvas->drawImage(bitmap.asImage(), 100, 100, sampling, &paint); in onDraw() 65 canvas->drawImage(bitmap.asImage(), 100, 200, sampling, &paint); in onDraw()
|
D | srgb.cpp | 28 SkSamplingOptions sampling; variable 32 canvas->drawImage(img, 256, 0, sampling, &p); 35 canvas->drawImage(img, 0, 256, sampling, &p); 37 canvas->drawImage(img, 256, 256, sampling, &p); 40 canvas->drawImage(img, 0, 512, sampling, &p); 42 canvas->drawImage(img, 256, 512, sampling, &p);
|
D | bitmaprect.cpp | 68 auto sampling = SkSamplingOptions(); in onDraw() local 79 canvas->drawImage(image, 0, 0, sampling, &paint); in onDraw() 81 canvas->drawImageRect(image.get(), srcR, dstR, sampling, &paint, in onDraw() 84 canvas->drawImageRect(image.get(), SkRect::Make(src[i]), dstR, sampling, &paint, in onDraw() 218 SkSamplingOptions sampling; in onDraw() local 227 canvas->drawImageRect(fBigImage, srcR1, dstR1, sampling, &paint, in onDraw() 229 canvas->drawImageRect(fBigImage, srcR2, dstR2, sampling, &paint, in onDraw() 232 canvas->drawImageRect(fBigImage, SkRect::Make(srcR1.roundOut()), dstR1, sampling, in onDraw() 234 canvas->drawImageRect(fBigImage, SkRect::Make(srcR2.roundOut()), dstR2, sampling, in onDraw()
|
D | bleed.cpp | 128 const SkSamplingOptions& sampling, SkPaint* paint) { in drawImage() argument 139 sampling, paint, fConstraint); in drawImage() 141 canvas->drawImageRect(image.get(), srcRect, dstRect, sampling, paint, fConstraint); in drawImage() 147 const SkSamplingOptions& sampling) { in drawCase1() argument 155 drawImage(canvas, fSmallImage, fSmallSrcRect, dst, sampling, &paint); in drawCase1() 160 const SkSamplingOptions& sampling) { in drawCase2() argument 168 drawImage(canvas, fBigImage, fBigSrcRect, dst, sampling, &paint); in drawCase2() 173 const SkSamplingOptions& sampling) { in drawCase3() argument 185 drawImage(canvas, fBigImage, src, dst, sampling, &paint); in drawCase3() 190 const SkSamplingOptions& sampling) { in drawCase4() argument [all …]
|
D | drawbitmaprect.cpp | 108 const SkRect& dstR, const SkSamplingOptions& sampling, in bitmapproc() argument 110 canvas->drawImageRect(bm.asImage(), SkRect::Make(srcR), dstR, sampling, paint, in bitmapproc() 115 const SkRect& dstR, const SkSamplingOptions& sampling, in bitmapsubsetproc() argument 118 bitmapproc(canvas, nullptr, bm, srcR, dstR, sampling, paint); in bitmapsubsetproc() 124 canvas->drawImageRect(subset.asImage(), dstR, sampling, paint); in bitmapsubsetproc() 129 const SkRect& dstR, const SkSamplingOptions& sampling, const SkPaint* paint) { in imageproc() argument 130 canvas->drawImageRect(image, SkRect::Make(srcR), dstR, sampling, paint, in imageproc() 136 const SkSamplingOptions& sampling, const SkPaint* paint) { in imagesubsetproc() argument 138 imageproc(canvas, image, bm, srcR, dstR, sampling, paint); in imagesubsetproc() 144 canvas->drawImageRect(subset, dstR, sampling, paint); in imagesubsetproc()
|
D | imagefromyuvtextures.cpp | 197 auto draw_image = [canvas](SkImage* image, const SkSamplingOptions& sampling) -> SkSize { in onDraw() argument 201 canvas->drawImage(image, 0, 0, sampling, nullptr); in onDraw() 206 const SkSamplingOptions& sampling) -> SkSize { in onDraw() argument 213 canvas->drawImageRect(image, subset, dst, sampling, nullptr, in onDraw() 219 const SkSamplingOptions& sampling) -> SkSize { in onDraw() argument 227 sampling, m)); in onDraw() 241 for (const auto& sampling : { in onDraw() 249 auto s1 = draw(this->getYUVAImage(imageIndex++), sampling); in onDraw() 254 auto s2 = draw(fReferenceImage.get(), sampling); in onDraw()
|
/third_party/skia/tests/ |
D | DrawBitmapRectTest.cpp | 58 const SkSamplingOptions sampling; in test_treatAsSprite() local 65 REPORTER_ASSERT(reporter, SkTreatAsSprite(mat, size, sampling, noaaPaint)); in test_treatAsSprite() 74 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, sampling, noaaPaint)); in test_treatAsSprite() 75 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 83 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 85 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 89 REPORTER_ASSERT(reporter, SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 91 REPORTER_ASSERT(reporter, SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 96 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, sampling, noaaPaint)); in test_treatAsSprite() 97 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() [all …]
|
/third_party/skia/src/shaders/ |
D | SkImageShader.cpp | 71 const SkSamplingOptions& sampling, in SkImageShader() argument 76 , fSampling(sampling) in SkImageShader() 105 SkSamplingOptions sampling; in CreateProc() local 114 sampling = SkSamplingPriv::Read(buffer); in CreateProc() 124 return SkImageShader::Make(std::move(img), tmx, tmy, sampling, &localMatrix); in CreateProc() 191 auto supported = [](const SkSamplingOptions& sampling) { in onMakeContext() argument 198 if (sampling.filter == f && sampling.mipmap == m) { in onMakeContext() 313 const SkSamplingOptions& sampling, in SkMakeBitmapShaderForPaint() argument 316 tmx, tmy, sampling, localMatrix); in SkMakeBitmapShaderForPaint() 350 static SkSamplingOptions tweak_sampling(SkSamplingOptions sampling, const SkMatrix& matrix) { in tweak_sampling() argument [all …]
|
/third_party/skia/src/image/ |
D | SkImage.cpp | 111 bool SkImage::scalePixels(const SkPixmap& dst, const SkSamplingOptions& sampling, in scalePixels() argument 129 return bm.peekPixels(&pmap) && pmap.scalePixels(dst, sampling); in scalePixels() 145 const SkSamplingOptions& sampling, in makeShader() argument 148 sampling, localMatrix); in makeShader() 314 SkSamplingOptions sampling, in asFragmentProcessor() argument 322 if (sampling.useCubic && !GrValidCubicResampler(sampling.cubic)) { in asFragmentProcessor() 325 if (sampling.mipmap != SkMipmapMode::kNone && in asFragmentProcessor() 327 sampling = SkSamplingOptions(sampling.filter); in asFragmentProcessor() 329 return this->onAsFragmentProcessor(rContext, sampling, tileModes, m, subset, domain); in asFragmentProcessor() 336 SkSamplingOptions sampling, in MakeFragmentProcessorFromView() argument [all …]
|
D | SkRescaleAndReadPixels.cpp | 55 SkSamplingOptions sampling; in SkRescaleAndReadPixels() local 57 sampling = SkSamplingOptions(SkFilterMode::kLinear); in SkRescaleAndReadPixels() 59 sampling = SkSamplingOptions({1.0f/3, 1.0f/3}); in SkRescaleAndReadPixels() 61 return sampling; in SkRescaleAndReadPixels() 63 SkSamplingOptions sampling = rescaling_to_sampling(rescaleMode); in SkRescaleAndReadPixels() local 83 linearSurf->getCanvas()->drawImage(bmp.asImage().get(), -srcX, -srcY, sampling, &paint); in SkRescaleAndReadPixels() 126 SkRect::MakeIWH(nextW, nextH), sampling, &paint, constraint); in SkRescaleAndReadPixels()
|
/third_party/skia/third_party/externals/swiftshader/docs/ |
D | SamplingRoutines.md | 7 …1.2/html/vkspec.html#samplers) which provide the sampling state to be used by image reading and sa… 9 … [dynamic code generation](Reactor.md), where we wish to specialize the sampling code for both the… 14 …ution is to defer code generation for the sampling instructions until shader execution. For each i… 21 We cache the generated sampling routines, using the descriptors as well as the type of sampling ins… 23 …hich may experience high contention due to all shader worker threads needing the sampling routines. 25 …el cache's critical section, the hash table lookup is still a lot of work per sampling instruction. 27 …sampling instruction. Which is where the first-level or '[inline](https://en.wikipedia.org/wiki/In… 32 …Note that sampler object state and image view state that is relevant to sampling routine specializ… 36 Both these 32-bit identifiers are the only thing used as the key of the first-level sampling routin…
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
D | Image.java | 52 public Shader makeShader(TileMode tmx, TileMode tmy, SamplingOptions sampling) { in makeShader() argument 53 return makeShader(tmx, tmy, sampling, null); in makeShader() 56 public Shader makeShader(TileMode tmx, TileMode tmy, SamplingOptions sampling, in makeShader() argument 60 sampling.getNativeDesc(), in makeShader() 61 sampling.getCubicCoeffB(), sampling.getCubicCoeffC(), in makeShader()
|
/third_party/skia/src/gpu/v1/ |
D | Device_drawTexture.cpp | 426 SkSamplingOptions sampling, in draw_image() argument 431 can_use_draw_texture(paint, sampling.useCubic, sampling.mipmap)) { in draw_image() 444 sampling.filter, in draw_image() 480 if (!sampling.useCubic && in draw_image() 481 sampling.filter == SkFilterMode::kLinear && in draw_image() 483 sampling.mipmap == SkMipmapMode::kNone && in draw_image() 505 sampling, in draw_image() 581 SkSamplingOptions sampling, in draw_tiled_bitmap() argument 608 if (sampling.filter != SkFilterMode::kNearest || sampling.useCubic) { in draw_tiled_bitmap() 621 int outset = sampling.useCubic ? GrBicubicEffect::kFilterTexelPad : 1; in draw_tiled_bitmap() [all …]
|
/third_party/skia/src/core/ |
D | SkMatrixImageFilter.cpp | 20 const SkSamplingOptions& sampling, in SkMatrixImageFilter() argument 24 , fSampling(sampling) { in SkMatrixImageFilter() 30 const SkSamplingOptions& sampling, in Make() argument 33 sampling, in Make() 38 const SkMatrix& transform, const SkSamplingOptions& sampling, sk_sp<SkImageFilter> input) { in MatrixTransform() argument 39 return SkMatrixImageFilter::Make(transform, sampling, std::move(input)); in MatrixTransform() 47 auto sampling = [&]() { in CreateProc() local 54 return Make(matrix, sampling, common.getInput(0)); in CreateProc()
|
D | SkSamplingPriv.h | 40 static bool NoChangeWithIdentityMatrix(const SkSamplingOptions& sampling) { in NoChangeWithIdentityMatrix() argument 43 return !sampling.useCubic || sampling.cubic.B == 0; in NoChangeWithIdentityMatrix()
|
/third_party/skia/docs/examples/ |
D | alpha_bitmap_color_filter_mask_filter.cpp | 29 SkSamplingOptions sampling; in draw() local 34 canvas->drawImage(image.get(), 16, 16, sampling, &paint); in draw() 38 canvas->drawImage(image.get(), 144, 16, sampling, &paint); in draw() 41 canvas->drawImage(image.get(), 16, 144, sampling, &paint); in draw() 44 canvas->drawImage(image.get(), 144, 144, sampling, &paint); in draw()
|
D | Dither_b.cpp | 23 SkSamplingOptions sampling; in draw() local 24 canvas->drawImage(img, 0, 11, sampling, &paint); in draw() 25 canvas->drawImage(img, 0, 11, sampling, &paint); in draw() 26 canvas->drawImage(img, 0, 11, sampling, &paint); in draw()
|
D | Dst.cpp | 10 SkSamplingOptions sampling; in draw() local 12 sampling, nullptr, nullptr); in draw() 15 sampling, nullptr, nullptr); in draw()
|
D | Canvas_drawImageRect.cpp | 16 SkSamplingOptions sampling; in draw() local 22 SkRect::MakeLTRB(16, 16, 48, 48), sampling, nullptr, constraint); in draw() 23 sampling = SkSamplingOptions(SkFilterMode::kLinear); in draw()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkImageImageFilter.cpp | 24 const SkSamplingOptions& sampling) in SkImageImageFilter() argument 29 , fSampling(sampling) {} in SkImageImageFilter() 59 const SkSamplingOptions& sampling) { in Image() argument 65 std::move(image), srcRect, dstRect, sampling)); in Image() 75 SkSamplingOptions sampling; in CreateProc() local 77 sampling = SkSamplingPriv::FromFQ(buffer.checkFilterQuality(), kLinear_SkMediumAs); in CreateProc() 79 sampling = buffer.readSampling(); in CreateProc() 91 return SkImageFilters::Image(std::move(image), src, dst, sampling); in CreateProc()
|
/third_party/ltp/include/ |
D | tst_fuzzy_sync.h | 138 int sampling; member 307 pair->sampling = pair->min_samples; in tst_fzsync_pair_reset() 511 if (pair->sampling > 0 || over_max_dev) { in tst_fzsync_pair_update() 521 if (pair->sampling > 0 && --pair->sampling == 0) { in tst_fzsync_pair_update() 531 if (!pair->sampling) { in tst_fzsync_pair_update() 539 pair->sampling = -1; in tst_fzsync_pair_update() 541 } else if (!pair->sampling) { in tst_fzsync_pair_update() 544 pair->sampling = -1; in tst_fzsync_pair_update() 669 && (pair->sampling > 0)) { in tst_fzsync_run_a() 673 pair->sampling = 0; in tst_fzsync_run_a() [all …]
|
/third_party/skia/third_party/externals/tint/src/ast/ |
D | interpolate_decoration.cc | 30 : Base(pid, src), type(ty), sampling(smpl) {} in InterpolateDecoration() 42 return ctx->dst->create<InterpolateDecoration>(src, type, sampling); in Clone() 63 std::ostream& operator<<(std::ostream& out, InterpolationSampling sampling) { in operator <<() argument 64 switch (sampling) { in operator <<()
|
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/ |
D | raw_decoder.c | 342 sp = &rd->sampling; in dump_pattern_line() 401 sp = &rd->sampling; in _vbi3_raw_decoder_dump() 457 sp = &rd->sampling; in decode_pattern() 593 sp = &rd->sampling; in vbi3_raw_decoder_decode() 660 scan_lines = rd->sampling.count[0] + rd->sampling.count[1]; in remove_job_from_pattern() 741 scan_lines = rd->sampling.count[0] in add_job_to_pattern() 742 + rd->sampling.count[1]; in add_job_to_pattern() 908 scan_lines = rd->sampling.count[0] + rd->sampling.count[1]; in vbi3_raw_decoder_add_services() 921 if (525 == rd->sampling.scanning) { in vbi3_raw_decoder_add_services() 968 sp = &rd->sampling; in vbi3_raw_decoder_add_services() [all …]
|