Searched refs:RS (Results 51 - 75 of 84) sorted by relevance

1234

/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_kernel_struct.java34 private void initializeGlobals(RenderScript RS, ScriptC_kernel_struct s) { argument
38 t = new ScriptField_simpleStruct(RS, X);
41 t = new ScriptField_simpleStruct(RS, X);
H A DUT_reduce.java249 private boolean addint1D_array(RenderScript RS, ScriptC_reduce s, int seed, int[] size) { argument
258 private boolean addint1D(RenderScript RS, ScriptC_reduce s, int seed, int[] size) { argument
267 Allocation inputAllocation = Allocation.createSized(RS, Element.I32(RS), inputArray.length);
286 private boolean addint2D(RenderScript RS, ScriptC_reduce s, int seed, int[] size) { argument
298 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
300 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create());
319 private boolean addint3D(RenderScript RS, ScriptC_reduce s, int seed, int[] size) { argument
332 Type.Builder typeBuilder = new Type.Builder(RS, Elemen
355 patternInterleavedReduce(RenderScript RS, ScriptC_reduce s) argument
400 patternDuplicateAnonymousResult(RenderScript RS, ScriptC_reduce s) argument
443 findMinAndMax_array(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument
458 findMinAndMax(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument
512 findMinMat(RenderScript RS, int seed, int[] inputSize, int matSize, Element matElement, ReduceFindMinMat reduction) argument
544 findMinMat2(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument
549 findMinMat4(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument
563 fz_array(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument
578 fz(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument
614 fz2(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument
658 fz3(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument
707 histogram(RenderScript RS, final byte[] inputArray) argument
730 histogram_array(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument
741 histogram(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument
774 patternRedundantGet(RenderScript RS, ScriptC_reduce s) argument
803 mode(RenderScript RS, final byte[] inputArray) argument
812 mode_array(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument
843 sumgcd(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument
918 run(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument
975 run(TestDescription td, RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument
1009 runCorrectnessQuick(RenderScript RS, ScriptC_reduce s) argument
1061 runCorrectness(RenderScript RS, ScriptC_reduce s) argument
1085 runCorrectness1D(TestDescription td, RenderScript RS, ScriptC_reduce s) argument
1141 runCorrectness2D(TestDescription td, RenderScript RS, ScriptC_reduce s) argument
1212 runCorrectness3D(TestDescription td, RenderScript RS, ScriptC_reduce s) argument
1322 runPerformanceQuick(RenderScript RS, ScriptC_reduce s) argument
1332 runCorrectnessPatterns(RenderScript RS, ScriptC_reduce s) argument
[all...]
H A DUT_single_source_alloc.java41 private void initializeGlobals(RenderScript RS, ScriptC_single_source_alloc s, int nDims) { argument
/frameworks/rs/tests/cppf16/
H A Dcompute.cpp8 void testAllocationCreation(sp<RS> rs, sp<const Element> e, uint32_t nDims) {
22 sp<RS> rs = new RS();
/frameworks/rs/cpp/
H A DSampler.cpp23 Sampler::Sampler(sp<RS> rs, void* id):
33 Sampler::Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag,
64 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag,
67 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT,
72 #define CREATE_SAMPLER(N, MIN, MAG, WRAPS, WRAPT) sp<const Sampler> Sampler::N(sp<RS> rs) { \
H A DAllocation.cpp41 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) :
144 const void *typeID = RS::dispatch->AllocationGetType(mRS->getContext(), getID());
165 tryDispatch(mRS, RS::dispatch->AllocationSyncAll(mRS->getContext(), getIDSafe(), srcLocation));
176 if (RS::dispatch->AllocationGetPointer == nullptr) {
181 p = RS::dispatch->AllocationGetPointer(mRS->getContext(), getIDSafe(), 0,
232 tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
236 tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
254 tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
259 tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
267 tryDispatch(mRS, RS
[all...]
H A DElement.cpp75 #define CREATE_USER(N, T) android::RSC::sp<const Element> Element::N(android::RSC::sp<RS> rs) { \
103 #define CREATE_PIXEL(N, T, K) android::RSC::sp<const Element> Element::N(android::RSC::sp<RS> rs) { \
118 #define CREATE_VECTOR(N, T) android::RSC::sp<const Element> Element::N##_2(android::RSC::sp<RS> rs) { \
124 android::RSC::sp<const Element> Element::N##_3(android::RSC::sp<RS> rs) { \
130 android::RSC::sp<const Element> Element::N##_4(android::RSC::sp<RS> rs) { \
178 Element::Element(void *id, android::RSC::sp<RS> rs,
217 Element::Element(void *id, android::RSC::sp<RS> rs) :
274 Element::Element(void *id, android::RSC::sp<RS> rs,
319 android::RSC::sp<const Element> Element::createUser(android::RSC::sp<RS> rs, RsDataType dt) {
320 void * id = RS
[all...]
H A DType.cpp69 Type::Type(void *id, sp<RS> rs) : BaseObj(id, rs) {
92 RS::dispatch->TypeGetNativeData(mRS->getContext(), getID(), dataBuffer, 6);
110 sp<const Type> Type::create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t dimZ) {
111 void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false, 0);
127 Type::Builder::Builder(sp<RS> rs, sp<const Element> e) {
220 void * id = RS::dispatch->TypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ,
H A DScriptIntrinsics.cpp25 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e)
27 mID = createDispatch(rs, RS::dispatch->ScriptIntrinsicCreate(rs->getContext(), id,
36 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(sp<RS> rs, sp<const Element> e) {
44 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e)
70 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(sp<RS> rs, sp<const Element> e) {
78 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e)
205 sp<ScriptIntrinsicBlur> ScriptIntrinsicBlur::create(sp<RS> rs, sp<const Element> e) {
214 ScriptIntrinsicBlur::ScriptIntrinsicBlur(sp<RS> rs, sp<const Element> e)
245 sp<ScriptIntrinsicColorMatrix> ScriptIntrinsicColorMatrix::create(sp<RS> rs) {
249 ScriptIntrinsicColorMatrix::ScriptIntrinsicColorMatrix(sp<RS> r
[all...]
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
H A DFilters.java57 Filter(RenderScript RS) { s = new ScriptC_(RS); }
70 public ColorMatrixFilter(RenderScript RS) { s_mat = new ScriptC_colormatrix_f(RS); } argument
84 public ContrastFilter(RenderScript RS) { s = new ScriptC_contrast_f(RS); } argument
98 public ExposureFilter(RenderScript RS) { s = new ScriptC_exposure_f(RS); } argument
112 public FisheyeFilter(RenderScript RS) { argument
113 mRS = RS;
144 GreyFilter(RenderScript RS) argument
158 LevelsFilter(RenderScript RS) argument
217 ShadowsFilter(RenderScript RS) argument
235 VibranceFilter(RenderScript RS) argument
249 VignetteFilter(RenderScript RS) argument
[all...]
/frameworks/rs/tests/cppallocation/
H A Dcompute.cpp23 sp<RS> rs = new RS();
/frameworks/rs/tests/typecheck/
H A Dtypecheck.cpp25 sp<Allocation> createAlloc(sp<RS> rs, sp<const Element> e) {
35 sp<RS> rs = new RS(); \
/frameworks/av/media/libstagefright/filters/
H A DIntrinsicBlurFilter.h41 RSC::sp<RSC::RS> mRS;
H A DRSFilter.h46 RSC::sp<RSC::RS> mRS;
H A DSaturationFilter.h43 RSC::sp<RSC::RS> mRS;
H A DIntrinsicBlurFilter.cpp45 // TODO: use a single RS context object for entire application
46 mRS = new RSC::RS();
H A DSaturationFilter.cpp45 // TODO: use a single RS context object for entire application
46 mRS = new RSC::RS();
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/
H A DhelloComputeNDK.cpp37 sp<RS> rs = new RS();
/frameworks/rs/tests/cppstrided/
H A Dcompute.cpp24 sp<RS> rs = new RS();
/frameworks/rs/tests/cppbasic-getpointer/
H A Dcompute.cpp18 sp<RS> rs = new RS();
19 printf("New RS %p\n", rs.get());
/frameworks/rs/tests/latency/
H A Dlatency.cpp54 sp<RS> rs = new RS();
/frameworks/compile/slang/
H A Dslang_rs_object_ref_count.h39 // local variables of RS object types (rs_font, rs_allocation, ...). This
54 std::list<clang::VarDecl*> mRSO; // Declared RS objects in this scope (but
129 // an RS object type.
144 // Given a return statement RS that returns an rsObject, creates a temporary
152 clang::ReturnStmt* RS,
203 void VisitReturnStmt(clang::ReturnStmt *RS);
204 // We believe that RS objects are never involved in CompoundAssignOperator.
207 // Emit a global destructor to clean up RS objects.
/frameworks/rs/tests/cppbasic/
H A Dcompute.cpp14 sp<RS> rs = new RS();
15 printf("New RS %p\n", rs.get());
/frameworks/rs/tests/cppbasic-shared/
H A Dcompute.cpp14 sp<RS> rs = new RS();
15 printf("New RS %p\n", rs.get());
/frameworks/rs/
H A Dupdate_rs_prebuilts.sh71 # Build the RS runtime libraries.
113 echo !!! BUILDING RS PREBUILTS !!!
122 echo DONE BUILDING RS PREBUILTS
126 echo SKIPPING BUILD OF RS PREBUILTS

Completed in 286 milliseconds

1234