HomeSort by relevance Sort by last modified time
    Searched full:sampler (Results 1 - 25 of 50) sorted by null

1 2

  /frameworks/base/libs/rs/
rsSampler.cpp 28 Sampler::Sampler(Context *rsc) : ObjectBase(rsc)
36 Sampler::Sampler(Context *rsc,
52 Sampler::~Sampler()
56 void Sampler::setupGL(const Context *rsc, bool npot)
89 void Sampler::bindToContext(SamplerState *ss, uint32_t slot)
95 void Sampler::unbindFromContext(SamplerState *ss)
105 Sampler *s = mSamplers[ct].get()
    [all...]
rsSampler.h 31 class Sampler : public ObjectBase
34 Sampler(Context *,
41 virtual ~Sampler();
59 Sampler(Context *);
75 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
rsProgram.h 48 void bindSampler(uint32_t slot, Sampler *);
89 // Texture lookups go though a sampler which in effect converts normalized
95 ObjectBaseRef<Sampler> mSamplers[MAX_TEXTURE];
rsComponent.cpp 210 0,//"SAMPLER",
238 0,//"SAMPLER",
307 "SAMPLER",
rsProgram.cpp 139 void Program::bindSampler(uint32_t slot, Sampler *s)
142 LOGE("Attempt to bind a Sampler to a slot > MAX_TEXTURE");
259 p->bindSampler(slot, static_cast<Sampler *>(s));
  /external/skia/src/images/
SkImageDecoder_libbmp.cpp 119 SkScaledBitmapSampler sampler(width, height, getSampleSize());
121 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
133 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, getDitherImage())) {
138 const int dstHeight = sampler.scaledHeight();
141 srcRow += sampler.srcY0() * srcRowBytes;
143 sampler.next(srcRow);
144 srcRow += sampler.srcDY() * srcRowBytes;
SkImageDecoder_libjpeg.cpp 374 SkScaledBitmapSampler sampler(cinfo.output_width, cinfo.output_height,
377 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
389 if (!sampler.begin(bm, sc, this->getDitherImage())) {
390 return return_false(cinfo, *bm, "sampler.begin");
395 // Possibly skip initial rows [sampler.srcY0]
396 if (!skip_src_rows(&cinfo, srcRow, sampler.srcY0())) {
411 sampler.next(srcRow);
417 if (!skip_src_rows(&cinfo, srcRow, sampler.srcDY() - 1)) {
624 SkScaledBitmapSampler sampler(width, height, skiaSampleSize)
    [all...]
SkImageDecoder_libpng.cpp 292 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
294 decodedBitmap->setConfig(config, sampler.scaledWidth(),
295 sampler.scaledHeight(), 0);
366 if (!sampler.begin(decodedBitmap, sc, doDither, ctLock.colors())) {
385 base += sampler.srcY0() * rb;
387 reallyHasAlpha |= sampler.next(base);
388 base += sampler.srcDY() * rb;
393 skip_src_rows(png_ptr, srcRow, sampler.srcY0());
398 reallyHasAlpha |= sampler.next(srcRow);
400 skip_src_rows(png_ptr, srcRow, sampler.srcDY() - 1)
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
Sampler.java 35 public class Sampler extends BaseObj {
49 Sampler(int id, RenderScript rs) {
113 static synchronized Sampler internalCreate(RenderScript rs, Builder b) {
121 return new Sampler(id, rs);
124 public Sampler create() {
  /external/v8/src/
platform-macos.cc 535 class Sampler::PlatformData : public Malloced {
537 explicit PlatformData(Sampler* sampler)
538 : sampler_(sampler),
544 Sampler* sampler_;
552 // Sampler thread handler.
554 // Loop until the sampler is disengaged.
609 // Entry point for sampler thread.
611 Sampler::PlatformData* data =
612 reinterpret_cast<Sampler::PlatformData*>(arg)
    [all...]
platform-freebsd.cc 562 static Sampler* active_sampler_ = NULL;
599 class Sampler::PlatformData : public Malloced {
611 Sampler::Sampler(int interval, bool profiling)
617 Sampler::~Sampler() {
622 void Sampler::Start() {
623 // There can only be one active sampler at the time on POSIX
643 // Set this sampler as the active sampler
    [all...]
platform-openbsd.cc 535 static Sampler* active_sampler_ = NULL;
551 class Sampler::PlatformData : public Malloced {
563 Sampler::Sampler(int interval, bool profiling)
569 Sampler::~Sampler() {
574 void Sampler::Start() {
575 // There can only be one active sampler at the time on POSIX
595 // Set this sampler as the active sampler
    [all...]
platform-solaris.cc 523 static Sampler* active_sampler_ = NULL;
542 class Sampler::PlatformData : public Malloced {
554 Sampler::Sampler(int interval, bool profiling)
560 Sampler::~Sampler() {
565 void Sampler::Start() {
566 // There can only be one active sampler at the time on POSIX
586 // Set this sampler as the active sampler
    [all...]
platform-linux.cc 670 static Sampler* active_sampler_ = NULL;
772 class Sampler::PlatformData : public Malloced {
784 Sampler::Sampler(int interval, bool profiling)
790 Sampler::~Sampler() {
795 void Sampler::Start() {
796 // There can only be one active sampler at the time on POSIX
818 // Set this sampler as the active sampler
    [all...]
platform.h 506 // Sampler
508 // A sampler periodically samples the state of the VM and optionally
532 class Sampler {
534 // Initialize sampler.
535 explicit Sampler(int interval, bool profiling);
536 virtual ~Sampler();
545 // Start and stop sampler.
549 // Is the sampler used for profiling.
552 // Whether the sampler is running (that is, consumes resources).
562 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler);
    [all...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/nexus/
NexusRS.java 22 import static android.renderscript.Sampler.Value.LINEAR;
23 import static android.renderscript.Sampler.Value.CLAMP;
24 import static android.renderscript.Sampler.Value.WRAP;
38 import android.renderscript.Sampler;
71 private Sampler mClampSampler;
72 private Sampler mWrapSampler;
218 // sampler and program fragment for pulses
219 Sampler.Builder sampleBuilder = new Sampler.Builder(mRS);
237 // sampler and program fragment for background imag
    [all...]
  /frameworks/base/libs/rs/java/Film/src/com/android/film/
FilmRS.java 71 private Sampler mSampler;
117 Sampler.Builder bs = new Sampler.Builder(mRS);
118 bs.setMin(Sampler.Value.LINEAR);//_MIP_LINEAR);
119 bs.setMag(Sampler.Value.LINEAR);
120 bs.setWrapS(Sampler.Value.CLAMP);
121 bs.setWrapT(Sampler.Value.WRAP);
  /packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/
GalaxyRS.java 25 import android.renderscript.Sampler;
30 import static android.renderscript.Sampler.Value.LINEAR;
31 import static android.renderscript.Sampler.Value.NEAREST;
32 import static android.renderscript.Sampler.Value.WRAP;
74 private Sampler mSampler;
76 private Sampler mStarSampler;
230 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS);
244 samplerBuilder = new Sampler.Builder(mRS);
  /libcore/dalvik/src/main/java/dalvik/system/
SamplingProfiler.java 106 * A sampler is created every time profiling starts and cleared
110 private TimerTask sampler; field in class:SamplingProfiler
247 if (sampler != null) {
250 sampler = new Sampler();
251 timer.scheduleAtFixedRate(sampler, 0, 1000/samplesPerSecond);
259 if (sampler == null) {
262 sampler.cancel();
263 sampler = null;
278 * The Sampler does the real work of the profiler
    [all...]
  /external/webkit/JavaScriptCore/runtime/
Executable.h 113 if (SamplingTool* sampler = globalData->interpreter->sampler())
114 sampler->notifyOfScope(this);
126 if (SamplingTool* sampler = exec->globalData().interpreter->sampler())
127 sampler->notifyOfScope(this);
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/
GenericWaveRS.java 20 import static android.renderscript.Sampler.Value.LINEAR;
21 import static android.renderscript.Sampler.Value.WRAP;
30 import android.renderscript.Sampler;
78 private Sampler mSampler;
195 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS);
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/
Visualization4RS.java 20 import static android.renderscript.Sampler.Value.LINEAR;
21 import static android.renderscript.Sampler.Value.WRAP;
33 import android.renderscript.Sampler;
68 private Sampler mSampler;
136 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS);
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/
Visualization5RS.java 30 import android.renderscript.Sampler;
37 import android.renderscript.Sampler.Value;
74 private Sampler mSamplerMip;
75 private Sampler mSamplerNoMip;
199 Sampler.Builder builder = new Sampler.Builder(mRS);
208 Sampler.Builder builder = new Sampler.Builder(mRS);
  /packages/wallpapers/Basic/src/com/android/wallpaper/fall/
FallRS.java 26 import android.renderscript.Sampler;
30 import static android.renderscript.Sampler.Value.LINEAR;
31 import static android.renderscript.Sampler.Value.CLAMP;
74 private Sampler mSampler;
285 Sampler.Builder sampleBuilder = new Sampler.Builder(mRS);
  /packages/wallpapers/Basic/src/com/android/wallpaper/grass/
GrassRS.java 19 import android.renderscript.Sampler;
35 import static android.renderscript.Sampler.Value.*;
393 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS);
398 Sampler sl = samplerBuilder.create();
402 Sampler sn = samplerBuilder.create();

Completed in 318 milliseconds

1 2