/frameworks/rs/cpu_ref/ |
rsCpuScriptGroup.h | 28 void setInput(const ScriptKernelID *kid, Allocation *) override; 29 void setOutput(const ScriptKernelID *kid, Allocation *) override; 43 Allocation *const* ins; 45 Allocation *const* outs;
|
rsCpuIntrinsic.h | 37 const Allocation *ains[RS_KERNEL_INPUT_LIMIT]; 50 const Allocation ** ain, 52 Allocation * aout, 61 void preLaunch(uint32_t slot, const Allocation ** ains, 62 uint32_t inLen, Allocation * aout, const void * usr, 64 void postLaunch(uint32_t slot, const Allocation ** ains, 65 uint32_t inLen, Allocation * aout, 74 void setGlobalBind(uint32_t slot, Allocation *data) override;
|
/frameworks/rs/ |
rsGrallocConsumer.h | 27 class Allocation; 40 GrallocConsumer(const Context *, Allocation *, uint32_t numAlloc); 46 uint32_t getNextAvailableIdx(Allocation *a); 57 Allocation **mAlloc;
|
rsMesh.h | 43 // Position, normal, texcoord, etc could either be strided in one allocation 45 Allocation **vertexBuffers; 49 Allocation **indexBuffers; 67 void setVertexBuffer(Allocation *vb, uint32_t index) { 72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { 88 ObjectBaseRef<Allocation> *mVertexBuffers; 89 ObjectBaseRef<Allocation> *mIndexBuffers;
|
rsProgram.h | 43 Allocation **textures; 50 Allocation **constants; 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 74 ObjectBaseRef<Allocation> *mTextures; 76 ObjectBaseRef<Allocation> *mConstants;
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicYuvToRGB.java | 23 * The input allocation is supplied in NV21 format as a U8 28 private Allocation mInput; 61 * Set the input yuv allocation, must be {@link Element#U8}. 63 * @param ain The input allocation. 65 public void setInput(Allocation ain) { 73 * @param aout Output allocation. Must match creation element 76 public void forEach(Allocation aout) { 77 forEach(0, (Allocation) null, aout, null);
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
TestBase.java | 22 import android.renderscript.Allocation; 32 protected Allocation mInPixelsAllocation; 33 protected Allocation mInPixelsAllocation2; 34 public Allocation mOutPixelsAllocation;
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
UT_instance.java | 21 import android.renderscript.Allocation; 46 Allocation ai1 = Allocation.createTyped(mRS, t); 47 Allocation ai2 = Allocation.createTyped(mRS, t); 48 Allocation ai3 = Allocation.createTyped(mRS, t); 49 Allocation ai4 = Allocation.createTyped(mRS, t); 50 Allocation ai5 = Allocation.createTyped(mRS, t) [all...] |
UT_blur_validation.java | 18 import android.renderscript.Allocation; 31 private Allocation input1D, output1D; 32 private Allocation input2D, output2D; 55 input1D = Allocation.createSized(RS, 58 Allocation.USAGE_SCRIPT); 60 output1D = Allocation.createTyped(RS, input1D.getType()); 67 input2D = Allocation.createTyped(RS, ty); 68 output2D = Allocation.createTyped(RS, ty);
|
UT_math_fp16.java | 20 import android.renderscript.Allocation; 25 private Allocation testAllocation1, testAllocation2;
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
UT_instance.java | 23 import android.support.v8.renderscript.Allocation; 48 Allocation ai1 = Allocation.createTyped(mRS, t); 49 Allocation ai2 = Allocation.createTyped(mRS, t); 50 Allocation ai3 = Allocation.createTyped(mRS, t); 51 Allocation ai4 = Allocation.createTyped(mRS, t); 52 Allocation ai5 = Allocation.createTyped(mRS, t) [all...] |
UT_blur_validation.java | 20 import android.support.v8.renderscript.Allocation; 33 private Allocation input1D, output1D; 34 private Allocation input2D, output2D; 57 input1D = Allocation.createSized(RS, 60 Allocation.USAGE_SCRIPT); 62 output1D = Allocation.createTyped(RS, input1D.getType()); 69 input2D = Allocation.createTyped(RS, ty); 70 output2D = Allocation.createTyped(RS, ty);
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
BlockingInputAllocation.java | 22 import android.renderscript.Allocation; 28 * An {@link Allocation} wrapper that can be used to block until new buffers are available. 30 * <p>Can only be used only with {@link Allocation#USAGE_IO_INPUT} usage Allocations.</p> 40 private final Allocation mAllocation; 45 * Wrap an existing Allocation with this {@link BlockingInputAllocation}. 50 * @param allocation A non-{@code null} {@link Allocation allocation} 54 * If {@code allocation} was {@code null} 56 * If {@code allocation}'s usage did not have one of USAGE_IO_INPUT or USAGE_IO_OUTPU [all...] |
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
UT_instance.java | 49 Allocation ai1 = Allocation.createTyped(mRS, t); 50 Allocation ai2 = Allocation.createTyped(mRS, t); 51 Allocation ai3 = Allocation.createTyped(mRS, t); 52 Allocation ai4 = Allocation.createTyped(mRS, t); 53 Allocation ai5 = Allocation.createTyped(mRS, t) [all...] |
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
/cts/tests/tests/rscpp/librscpptest/ |
rs_jni_foreach.cpp | 52 sp<Allocation> in = Allocation::createTyped(mRS, t); 54 sp<Allocation> out = Allocation::createTyped(mRS, t); 60 in = Allocation::createTyped(mRS, t); 62 out = Allocation::createTyped(mRS, t); 68 in = Allocation::createTyped(mRS, t); 70 out = Allocation::createTyped(mRS, t); 76 in = Allocation::createTyped(mRS, t); 78 out = Allocation::createTyped(mRS, t) [all...] |
/frameworks/base/libs/hwui/utils/ |
FatVector.h | 44 struct Allocation { 45 PREVENT_COPY_AND_ASSIGN(Allocation); 47 Allocation() {}; 56 explicit InlineStdAllocator(Allocation& allocation) 57 : mAllocation(allocation) {} 79 Allocation& mAllocation; 101 typename InlineStdAllocator<T, SIZE>::Allocation mAllocation;
|
/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsic3DLUT.java | 23 * allocation. The 8 nearest values are sampled and linearly interpolated. The 28 private Allocation mLUT; 57 * Sets the {@link android.renderscript.Allocation} to be used as the lookup table. 63 public void setLUT(Allocation lut) { 83 * @param ain Input allocation 84 * @param aout Output allocation 86 public void forEach(Allocation ain, Allocation aout) { 94 * @param ain Input allocation 95 * @param aout Output allocation [all...] |
ScriptIntrinsicBlur.java | 21 * specified radius to all elements of an allocation. 27 private Allocation mInput; 34 * Create an intrinsic for applying a blur to an allocation. The 59 * @param ain The input allocation 61 public void setInput(Allocation ain) { 63 throw new RSIllegalArgumentException("Input set to a 1D Allocation"); 85 * allocation. 87 * @param aout Output allocation. Must match creation element 90 public void forEach(Allocation aout) { 92 throw new RSIllegalArgumentException("Output is a 1D Allocation"); [all...] |
ScriptIntrinsicConvolve5x5.java | 20 * Intrinsic for applying a 5x5 convolve to an allocation. 25 private Allocation mInput; 72 * @param ain The input allocation. 74 public void setInput(Allocation ain) { 104 * allocation. 106 * @param aout Output allocation. Must match creation element 109 public void forEach(Allocation aout) { 110 forEach(0, (Allocation) null, aout, null); 115 * allocation. 117 * @param aout Output allocation. Must match creation elemen [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationTest.java | 20 import android.renderscript.Allocation; 22 import android.renderscript.Allocation.MipmapControl; 48 Allocation.createTyped(mRS, typeBuilder.create()).destroy(); 59 Allocation.createTyped(mRS, typeBuilder.setX(8).create(), 61 Allocation.USAGE_GRAPHICS_TEXTURE).destroy(); 62 Allocation.createTyped(mRS, typeBuilder.setY(8).create(), 64 Allocation.USAGE_GRAPHICS_TEXTURE).destroy(); 66 Allocation.createTyped(mRS, typeBuilder.create(), 68 Allocation.USAGE_GRAPHICS_TEXTURE | 69 Allocation.USAGE_SCRIPT).destroy() [all...] |
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSColorMatrixTest.java | 57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 69 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); 88 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 89 Allocation rsOutput = Allocation.createTyped(mRS, build.create()) [all...] |
/frameworks/rs/tests/lldb/cpp/KernelVariables/ |
KernelVariables.cpp | 34 auto a = Allocation::createTyped(rs, t); 35 auto b = Allocation::createTyped(rs, t); 40 sp<Allocation> int_allocation = Allocation::createSized(rs, Element::I32(rs), 4); 50 sp<Allocation> int_allocation2 = Allocation::createTyped(rs, typeI32Builder2D.create()); 64 sp<Allocation> int_allocation3 = Allocation::createTyped(rs, typeI32Builder3D.create()); 73 sp<Allocation> yuv_allocation = Allocation::createTyped(rs, yuvTypeBuilder.create()) [all...] |