HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 401 - 425 of 5756) sorted by null

<<11121314151617181920>>

  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
UiTest.java 26 import android.renderscript.Allocation.MipmapControl;
82 mTests[index].testName = Allocation.createFromString(mRS,
84 Allocation.USAGE_SCRIPT);
87 Allocation.USAGE_SCRIPT);
128 private Allocation loadTextureRGB(int id) {
129 return Allocation.createFromBitmapResource(mRS, mRes, id,
130 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
131 Allocation.USAGE_GRAPHICS_TEXTURE);
134 private Allocation loadTextureARGB(int id) {
136 return Allocation.createFromBitmap(mRS, b
    [all...]
  /frameworks/compile/slang/tests/P_export_types_v20/
export_types.rs 21 rs_allocation allocation;
  /frameworks/rs/cpp/
Script.cpp 29 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout,
44 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const {
58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
  /frameworks/rs/driver/
rsdAllocation.cpp 92 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc,
104 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr,
123 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) {
165 static void UploadToTexture(const Context *rsc, const Allocation *alloc) {
203 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) {
228 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) {
255 static size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) {
303 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc,
315 size_t offsets[Allocation::MAX_LOD];
371 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero)
    [all...]
  /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Blur25.java 34 private Allocation mScratchPixelsAllocation1;
35 private Allocation mScratchPixelsAllocation2;
75 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
76 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
Blur25G.java 34 private Allocation mScratchPixelsAllocation1;
35 private Allocation mScratchPixelsAllocation2;
64 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
65 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
Grain.java 28 private Allocation mNoise;
29 private Allocation mNoise2;
71 mNoise = Allocation.createTyped(mRS, tb.create());
72 mNoise2 = Allocation.createTyped(mRS, tb.create());
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
TestBase.java 22 import android.renderscript.Allocation;
34 protected Allocation mInPixelsAllocation;
35 protected Allocation mInPixelsAllocation2;
36 protected Allocation mOutPixelsAllocation;
  /frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/
MathErr.java 26 private Allocation mAllocationSrc;
27 private Allocation mAllocationRes;
40 mAllocationSrc = Allocation.createSized(rs, Element.F32(rs), BUF_SIZE);
41 mAllocationRes = Allocation.createSized(rs, Element.F32(rs), BUF_SIZE);
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
check_dims.rs 8 // input allocation (i.e. don't affect anything between dimX and stride for
  /frameworks/rs/
rsFBOCache.cpp 29 mHal.state.colorTargets = new Allocation*[mHal.state.colorTargetsCount];
30 mColorTargets = new ObjectBaseRef<Allocation>[mHal.state.colorTargetsCount];
47 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) {
63 void FBOCache::bindDepthTarget(Context *rsc, Allocation *a) {
rsScriptC.h 47 const Allocation * ain,
48 Allocation * aout,
55 const Allocation ** ains,
57 Allocation * aout,
rsScriptC_Lib.cpp 220 void rsrAllocationIoSend(Context *rsc, Allocation *src) {
224 void rsrAllocationIoReceive(Context *rsc, Allocation *src) {
230 Allocation *in, Allocation *out,
236 void rsrAllocationSyncAll(Context *rsc, Allocation *a, RsAllocationUsageType usage) {
240 void rsrAllocationCopy1DRange(Context *rsc, Allocation *dstAlloc,
244 Allocation *srcAlloc,
251 void rsrAllocationCopy2DRange(Context *rsc, Allocation *dstAlloc,
255 Allocation *srcAlloc,
rsScriptGroup.h 43 ObjectBaseRef<Allocation> mAlloc;
65 ObjectBaseRef<Allocation> mAlloc;
93 void setInput(Context *rsc, ScriptKernelID *kid, Allocation *a);
94 void setOutput(Context *rsc, ScriptKernelID *kid, Allocation *a);
  /frameworks/rs/tests/latency/
latency.cpp 70 sp<Allocation> ain = Allocation::createTyped(rs, t);
71 sp<Allocation> aout = Allocation::createTyped(rs, t);
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/
rsAllocation.h 46 class Allocation : public ObjectBase {
47 // The graphics equivalent of malloc. The allocation contains a structure of elements.
82 } lod[android::renderscript::Allocation::MAX_LOD];
99 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
102 virtual ~Allocation();
109 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
137 static Allocation *createFromStream(Context *rsc, IStream *stream);
178 const android::renderscript::Allocation *alloc;
190 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
rsScriptGroup.h 43 ObjectBaseRef<Allocation> mAlloc;
65 ObjectBaseRef<Allocation> mAlloc;
93 void setInput(Context *rsc, ScriptKernelID *kid, Allocation *a);
94 void setOutput(Context *rsc, ScriptKernelID *kid, Allocation *a);
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/
rsAllocation.h 46 class Allocation : public ObjectBase {
47 // The graphics equivalent of malloc. The allocation contains a structure of elements.
82 } lod[android::renderscript::Allocation::MAX_LOD];
99 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
102 virtual ~Allocation();
109 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
137 static Allocation *createFromStream(Context *rsc, IStream *stream);
178 const android::renderscript::Allocation *alloc;
190 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
rsScriptGroup.h 43 ObjectBaseRef<Allocation> mAlloc;
65 ObjectBaseRef<Allocation> mAlloc;
93 void setInput(Context *rsc, ScriptKernelID *kid, Allocation *a);
94 void setOutput(Context *rsc, ScriptKernelID *kid, Allocation *a);
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/
rsAllocation.h 46 class Allocation : public ObjectBase {
47 // The graphics equivalent of malloc. The allocation contains a structure of elements.
82 } lod[android::renderscript::Allocation::MAX_LOD];
99 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
102 virtual ~Allocation();
109 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
137 static Allocation *createFromStream(Context *rsc, IStream *stream);
178 const android::renderscript::Allocation *alloc;
190 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
rsScriptGroup.h 43 ObjectBaseRef<Allocation> mAlloc;
65 ObjectBaseRef<Allocation> mAlloc;
93 void setInput(Context *rsc, ScriptKernelID *kid, Allocation *a);
94 void setOutput(Context *rsc, ScriptKernelID *kid, Allocation *a);
  /frameworks/base/docs/html/sdk/api_diff/21/changes/
android.renderscript.Allocation.html 10 android.renderscript.Allocation
74 Class android.renderscript.<A HREF="../../../../reference/android/renderscript/Allocation.html" target="_top"><font size="+2"><code>Allocation</code></font></A>
86 <A NAME="android.renderscript.Allocation.copy1DRangeFrom_added(int, int, java.lang.Object)"></A>
87 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/renderscript/Allocation.html#copy1DRangeFrom(int, int, java.lang.Object)" target="_top"><code>copy1DRangeFrom</code></A>(<code>int,</nobr> int<nobr>,</nobr> Object<nobr><nobr></code>)</nobr>
93 <A NAME="android.renderscript.Allocation.copy1DRangeFromUnchecked_added(int, int, java.lang.Object)"></A>
94 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/renderscript/Allocation.html#copy1DRangeFromUnchecked(int, int, java.lang.Object)" target="_top"><code>copy1DRangeFromUnchecked</code></A>(<code>int,</nobr> int<nobr>,</nobr> Object<nobr><nobr></code>)</nobr>
100 <A NAME="android.renderscript.Allocation.copy2DRangeFrom_added(int, int, int, int, java.lang.Object)"></A>
101 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/renderscript/Allocation.html#copy2DRangeFrom(int, int, int, int, java.lang.Object)" target="_top"><code>copy2DRangeFrom</code></A>(<code>int,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> Object<nobr><nobr></code>)</nobr>
107 <A NAME="android.renderscript.Allocation.copyFrom_added(java.lang.Object)"></A
    [all...]
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicColorMatrix.java 29 * writing it to the output {@link Allocation}.
50 * allocation.
69 * allocation.
211 * {@link Allocation} and copy to the output {@link Allocation}.
221 * @param ain Input allocation
222 * @param aout Output allocation
224 public void forEach(Allocation ain, Allocation aout) {
230 * {@link Allocation} and copy to the output {@link Allocation}
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
CachingPipeline.java 27 import android.support.v8.renderscript.Allocation;
56 private volatile Allocation mOriginalAllocation = null;
57 private volatile Allocation mFiltersOnlyOriginalAllocation = null;
59 protected volatile Allocation mInPixelsAllocation;
60 protected volatile Allocation mOutPixelsAllocation;
197 Allocation filtersOnlyOriginalAllocation = mFiltersOnlyOriginalAllocation;
198 mFiltersOnlyOriginalAllocation = Allocation.createFromBitmap(RS, originalBitmap,
199 Allocation.MipmapControl.MIPMAP_NONE, Allocation.USAGE_SCRIPT);
204 Allocation originalAllocation = mOriginalAllocation
    [all...]
  /device/asus/flo/
media_codecs.xml 23 <Quirk name="requires-loaded-to-idle-after-allocation"/>
34 <Quirk name="requires-loaded-to-idle-after-allocation"/>
41 <Quirk name="requires-loaded-to-idle-after-allocation"/>
54 <Quirk name="defers-output-buffer-allocation"/>
66 <Quirk name="defers-output-buffer-allocation"/>
79 <Quirk name="defers-output-buffer-allocation"/>
90 <Quirk name="defers-output-buffer-allocation"/>
102 <Quirk name="defers-output-buffer-allocation"/>

Completed in 502 milliseconds

<<11121314151617181920>>