/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_sampler.java | 21 import android.renderscript.Sampler; 24 Sampler minification; 25 Sampler magnification; 26 Sampler wrapS; 27 Sampler wrapT; 28 Sampler anisotropy; 34 private Sampler.Builder getDefaultBuilder(RenderScript RS) { in getDefaultBuilder() 35 Sampler.Builder b = new Sampler.Builder(RS); in getDefaultBuilder() 36 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder() 37 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_sampler.java | 23 import androidx.renderscript.Sampler; 26 Sampler minification; 27 Sampler magnification; 28 Sampler wrapS; 29 Sampler wrapT; 30 Sampler anisotropy; 36 private Sampler.Builder getDefaultBuilder(RenderScript RS) { in getDefaultBuilder() 37 Sampler.Builder b = new Sampler.Builder(RS); in getDefaultBuilder() 38 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder() 39 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder() [all …]
|
D | UT_apitest.java | 26 import androidx.renderscript.Sampler; 51 Sampler sampler = Sampler.CLAMP_NEAREST(pRS); in run()
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_sampler.java | 26 Sampler minification; 27 Sampler magnification; 28 Sampler wrapS; 29 Sampler wrapT; 30 Sampler anisotropy; 37 private Sampler.Builder getDefaultBuilder(RenderScript RS) { in getDefaultBuilder() 38 Sampler.Builder b = new Sampler.Builder(RS); in getDefaultBuilder() 39 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder() 40 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder() 41 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder() [all …]
|
D | UT_apitest.java | 48 Sampler sampler = Sampler.CLAMP_NEAREST(pRS); in run()
|
/frameworks/rs/ |
D | rsSampler.cpp | 24 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { in Sampler() function in android::renderscript::Sampler 29 Sampler::Sampler(Context *rsc, in Sampler() function in android::renderscript::Sampler 46 Sampler::~Sampler() { in ~Sampler() 50 void Sampler::preDestroy() const { in preDestroy() 60 void Sampler::bindToContext(SamplerState *ss, uint32_t slot) { in bindToContext() 65 void Sampler::unbindFromContext(SamplerState *ss) { in unbindFromContext() 71 void Sampler::serialize(Context *rsc, OStream *stream) const { in serialize() 74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 78 ObjectBaseRef<Sampler> Sampler::getSampler(Context *rsc, in getSampler() 85 ObjectBaseRef<Sampler> returnRef; in getSampler() [all …]
|
D | rsSampler.h | 39 class Sampler : public ObjectBase { 58 static ObjectBaseRef<Sampler> getSampler(Context *, 70 static Sampler *createFromStream(Context *rsc, IStream *stream); 76 virtual ~Sampler(); 79 explicit Sampler(Context *); 80 Sampler(Context *, 92 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT]; 101 std::vector<Sampler *> mAllSamplers;
|
D | rsProgram.h | 47 Sampler **samplers; 71 void bindSampler(Context *, uint32_t slot, Sampler *); 75 ObjectBaseRef<Sampler> *mSamplers;
|
D | rsProgram.cpp | 43 mSamplers = new ObjectBaseRef<Sampler>[mHal.state.texturesCount]; in Program() 49 mHal.state.samplers = new Sampler*[mHal.state.texturesCount]; in Program() 200 void Program::bindSampler(Context *rsc, uint32_t slot, Sampler *s) { in bindSampler() 224 p->bindSampler(rsc, slot, static_cast<Sampler *>(s)); in rsi_ProgramBindSampler()
|
D | rs_hal.h | 95 class Sampler; variable 122 RS_BASE_OBJ(Sampler) rs_sampler; 353 bool (*init)(const Context *rsc, const Sampler *m); 354 void (*destroy)(const Context *rsc, const Sampler *m); 355 void (*updateCachedObject)(const Context *rsc, const Sampler *s, rs_sampler *obj);
|
/frameworks/rs/cpp/ |
D | Sampler.cpp | 20 using android::RSC::Sampler; 23 Sampler::Sampler(sp<RS> rs, void* id): in Sampler() function in Sampler 33 Sampler::Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag, in Sampler() function in Sampler 44 RsSamplerValue Sampler::getMinification() { in getMinification() 48 RsSamplerValue Sampler::getMagnification() { in getMagnification() 52 RsSamplerValue Sampler::getWrapS() { in getWrapS() 56 RsSamplerValue Sampler::getWrapT() { in getWrapT() 60 float Sampler::getAnisotropy() { in getAnisotropy() 64 sp<Sampler> Sampler::create(const sp<RS>& rs, RsSamplerValue min, RsSamplerValue mag, in create() 69 return new Sampler(rs, id, min, mag, wrapS, wrapT, anisotropy); in create() [all …]
|
D | rsCppStructs.h | 50 class Sampler; variable 521 sp<const Sampler> CLAMP_NEAREST; 522 sp<const Sampler> CLAMP_LINEAR; 523 sp<const Sampler> CLAMP_LINEAR_MIP_LINEAR; 524 sp<const Sampler> WRAP_NEAREST; 525 sp<const Sampler> WRAP_LINEAR; 526 sp<const Sampler> WRAP_LINEAR_MIP_LINEAR; 527 sp<const Sampler> MIRRORED_REPEAT_NEAREST; 528 sp<const Sampler> MIRRORED_REPEAT_LINEAR; 529 sp<const Sampler> MIRRORED_REPEAT_LINEAR_MIP_LINEAR; [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Sampler.java | 29 public class Sampler extends BaseObj { class 52 Sampler(long id, RenderScript rs) { in Sampler() method in Sampler 100 public static Sampler CLAMP_NEAREST(RenderScript rs) { in CLAMP_NEAREST() 124 public static Sampler CLAMP_LINEAR(RenderScript rs) { in CLAMP_LINEAR() 148 public static Sampler CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) { in CLAMP_LINEAR_MIP_LINEAR() 172 public static Sampler WRAP_NEAREST(RenderScript rs) { in WRAP_NEAREST() 196 public static Sampler WRAP_LINEAR(RenderScript rs) { in WRAP_LINEAR() 220 public static Sampler WRAP_LINEAR_MIP_LINEAR(RenderScript rs) { in WRAP_LINEAR_MIP_LINEAR() 244 public static Sampler MIRRORED_REPEAT_NEAREST(RenderScript rs) { in MIRRORED_REPEAT_NEAREST() 268 public static Sampler MIRRORED_REPEAT_LINEAR(RenderScript rs) { in MIRRORED_REPEAT_LINEAR() [all …]
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Sampler.java | 42 public class Sampler extends BaseObj { class 65 Sampler(long id, RenderScript rs) { in Sampler() method in Sampler 112 public static Sampler CLAMP_NEAREST(RenderScript rs) { in CLAMP_NEAREST() 132 public static Sampler CLAMP_LINEAR(RenderScript rs) { in CLAMP_LINEAR() 152 public static Sampler CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) { in CLAMP_LINEAR_MIP_LINEAR() 172 public static Sampler WRAP_NEAREST(RenderScript rs) { in WRAP_NEAREST() 192 public static Sampler WRAP_LINEAR(RenderScript rs) { in WRAP_LINEAR() 212 public static Sampler WRAP_LINEAR_MIP_LINEAR(RenderScript rs) { in WRAP_LINEAR_MIP_LINEAR() 232 public static Sampler MIRRORED_REPEAT_NEAREST(RenderScript rs) { in MIRRORED_REPEAT_NEAREST() 252 public static Sampler MIRRORED_REPEAT_LINEAR(RenderScript rs) { in MIRRORED_REPEAT_LINEAR() [all …]
|
/frameworks/rs/script_api/ |
D | rs_object_info.spec | 21 or Sampler object. These objects are created from Java. You can't create them from a 314 summary: Anisotropy of the Sampler 316 Get the Sampler's anisotropy. 318 …See <a href='http://developer.android.com/reference/android/renderscript/Sampler.html'>android.ren… 338 summary: Sampler minification value 340 Get the Sampler's minification value. 342 …See <a href='http://developer.android.com/reference/android/renderscript/Sampler.html'>android.ren… 362 summary: Sampler wrap T value 366 …See <a href='http://developer.android.com/reference/android/renderscript/Sampler.html'>android.ren…
|
/frameworks/rs/driver/ |
D | rsdSampler.cpp | 33 using android::renderscript::Sampler; 36 bool rsdSamplerInit(const Context *, const Sampler *s) { in rsdSamplerInit() 41 const android::renderscript::Sampler *s) { in rsdSamplerDestroy() 45 const Sampler *alloc, in rsdSamplerUpdateCachedObject()
|
D | rsdSampler.h | 24 const android::renderscript::Sampler *); 27 const android::renderscript::Sampler *); 30 const android::renderscript::Sampler *,
|
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/ |
D | SampleRSActivity.java | 30 import android.renderscript.Sampler; 45 private Sampler mSampler; 47 TextureViewUpdater(Allocation outAlloc, Sampler sampler) { in TextureViewUpdater() 119 TextureViewUpdater updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_LINEAR(mRS)); in onCreate() 125 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_LINEAR(mRS)); in onCreate() 131 updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_NEAREST(mRS)); in onCreate() 137 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_NEAREST(mRS)); in onCreate() 155 private synchronized void filterAlloc(Allocation alloc, Sampler sampler) { in filterAlloc()
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | Fisheye.java | 21 import android.renderscript.Sampler; 103 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 107 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 112 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 116 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest()
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | Fisheye.java | 21 import android.renderscript.Sampler; 108 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 112 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 117 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 121 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest()
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | Fisheye.java | 105 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 109 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 114 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 118 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | UT_apitest.java | 24 import android.renderscript.Sampler; 49 Sampler sampler = Sampler.CLAMP_NEAREST(pRS); in run()
|
/frameworks/rs/script_api/include/ |
D | rs_object_info.rsh | 23 * or Sampler object. These objects are created from Java. You can't create them from a 384 * rsSamplerGetAnisotropy: Anisotropy of the Sampler 386 * Get the Sampler's anisotropy. 396 * rsSamplerGetMagnification: Sampler magnification value 398 * Get the Sampler's magnification value. 408 * rsSamplerGetMinification: Sampler minification value 410 * Get the Sampler's minification value. 420 * rsSamplerGetWrapS: Sampler wrap S value 422 * Get the Sampler's wrap S value. 432 * rsSamplerGetWrapT: Sampler wrap T value
|
/frameworks/rs/tests/cpp_api/cppbasic/ |
D | compute.cpp | 43 sp<const Sampler> samp = Sampler::CLAMP_NEAREST(rs); in test_compute()
|
/frameworks/rs/tests/cpp_api/cppbasic-shared/ |
D | compute.cpp | 43 sp<const Sampler> samp = Sampler::CLAMP_NEAREST(rs); in test_compute()
|