Searched defs:type (Results 101 - 125 of 1121) sorted by last modified time

1234567891011>>

/frameworks/rs/
H A DrsAllocation.h56 const Type * type; member in struct:android::renderscript::Allocation::Hal::State
117 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type);
123 const Type * getType() const {return mHal.state.type;}
216 mHal.state.type = t;
232 static void writePackedData(Context *rsc, const Type *type, uint8_t *dst,
H A DrsApiStubs.cpp32 // to avoid the confusion. Currently, RsContext is used as the API type for
108 * without knowing the type makeup. This allows the debugger to be attached at
324 extern "C" void rsaTypeGetNativeData(RsContext ctxWrapper, RsType type, uintptr_t *typeData, uint32_t typeDataSize) argument
326 RS_DISPATCH(ctxWrapper, TypeGetNativeData, type, typeData, typeDataSize);
581 const RsType * type, size_t type_length)
586 dstF, dstF_length, type, type_length);
577 rsScriptGroupCreate(RsContext ctxWrapper, RsScriptKernelID * kernels, size_t kernels_length, RsScriptKernelID * src, size_t src_length, RsScriptKernelID * dstK, size_t dstK_length, RsScriptFieldID * dstF, size_t dstF_length, const RsType * type, size_t type_length) argument
H A DrsApiType.cpp26 extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t typeDataSize) { argument
30 Type *t = static_cast<Type *>(type);
H A DrsHidlAdaptation.cpp223 void RsHidlAdaptation::TypeGetNativeData(RsContext context, RsType type, uintptr_t *typedata, uint32_t typeDataSize) argument
225 uint64_t _type = (uint64_t)(uintptr_t)type;
414 uint64_t type = GetIContextHandle(context)->typeCreate(_element, dimX, dimY, dimZ, mipmaps, faces, local
416 return (RsType) type;
419 RsAllocation RsHidlAdaptation::AllocationCreateTyped (RsContext context, RsType type, argument
423 uint64_t _type = (uint64_t)(uintptr_t)type;
432 RsAllocation RsHidlAdaptation::AllocationCreateFromBitmap (RsContext context, RsType type, argument
436 uint64_t _type = (uint64_t)(uintptr_t)type;
446 RsAllocation RsHidlAdaptation::AllocationCubeCreateFromBitmap(RsContext context, RsType type, argument
450 uint64_t _type = (uint64_t)(uintptr_t)type;
960 ScriptGroupCreate(RsContext context, RsScriptKernelID * kernels, size_t kernelsSize, RsScriptKernelID * src, size_t srcSize, RsScriptKernelID * dstK, size_t dstKSize, RsScriptFieldID * dstF, size_t dstFSize, const RsType * type, size_t typeSize) argument
[all...]
H A DrsScriptC_Lib.cpp345 RsAllocation rsrAllocationCreateTyped(Context *rsc, const RsType type, argument
348 return rsi_AllocationCreateTyped(rsc, type, mipmaps, usages, ptr);
H A DrsScriptGroup.cpp197 const Type ** type, size_t typeSize) {
217 l->mType = type[ct];
371 const RsType * type, size_t typeSize) {
379 (const Type **) type, typeSize);
192 create(Context *rsc, ScriptKernelID ** kernels, size_t kernelsSize, ScriptKernelID ** src, size_t srcSize, ScriptKernelID ** dstK, size_t dstKSize, ScriptFieldID ** dstF, size_t dstFSize, const Type ** type, size_t typeSize) argument
366 rsi_ScriptGroupCreate(Context *rsc, RsScriptKernelID * kernels, size_t kernelsSize, RsScriptKernelID * src, size_t srcSize, RsScriptKernelID * dstK, size_t dstKSize, RsScriptFieldID * dstF, size_t dstFSize, const RsType * type, size_t typeSize) argument
H A DrsType.cpp183 ALOGE("type loading skipped due to invalid class id\n");
201 Type *type = Type::getType(rsc, elem, &p, sizeof(p)); local
205 return type;
261 ALOGE("pointer for type: %p", nt);
262 ALOGE("pointer for type.drv: %p", &nt->mHal.drv);
352 if (rsc->mHal.funcs.type.updateCachedObject != nullptr) {
353 rsc->mHal.funcs.type.updateCachedObject(rsc, this, (rs_type *)dstObj);
H A Drs_hal.h379 } type; member in struct:android::renderscript::__anon2032
H A Dspec.h15 int type; member in struct:__anon2068
/frameworks/rs/rsov/compiler/spirit/
H A Dmodule.cpp247 ConstantInst *Module::getConstant(TypeIntInst *type, int32_t value) { argument
248 return getGlobalSection()->getConstant(type, value);
251 ConstantInst *Module::getConstant(TypeIntInst *type, uint32_t value) { argument
252 return getGlobalSection()->getConstant(type, value);
255 ConstantInst *Module::getConstant(TypeFloatInst *type, float value) { argument
256 return getGlobalSection()->getConstant(type, value);
259 ConstantCompositeInst *Module::getConstantComposite(TypeVectorInst *type, argument
262 return getGlobalSection()->getConstantComposite(type, components, width);
265 ConstantCompositeInst *Module::getConstantComposite(TypeVectorInst *type, argument
270 // resulting vector type
275 getConstantComposite(TypeVectorInst *type, ConstantInst *comp0, ConstantInst *comp1, ConstantInst *comp2, ConstantInst *comp3) argument
669 getConstant(TypeIntInst *type, int32_t value) argument
679 getConstant(TypeIntInst *type, uint32_t value) argument
689 getConstant(TypeFloatInst *type, float value) argument
[all...]
/frameworks/rs/rsov/driver/
H A DrsovAllocation.cpp83 const Type *type, uint8_t *ptr,
85 alloc->mHal.drvState.lod[0].dimX = type->getDimX();
86 alloc->mHal.drvState.lod[0].dimY = type->getDimY();
87 alloc->mHal.drvState.lod[0].dimZ = type->getDimZ();
91 alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes();
93 alloc->mHal.drvState.lodCount = type->getLODCount();
94 alloc->mHal.drvState.faceCount = type->getDimFaces();
117 rsRound(tx * type->getElementSizeBytes(), requiredAlignment);
142 const Type *type, uint8_t *ptr) {
143 return AllocationBuildPointerTable(rsc, alloc, type, pt
82 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr, size_t requiredAlignment) argument
141 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr) argument
219 RSoVAllocation(RSoVContext *context, const Type *type, size_t bufferSize) argument
302 const Type *type = alloc->getType(); local
571 const Type *type = alloc->mHal.state.type; local
[all...]
H A DrsovRuntimeStubs.cpp302 Type *type = (Type *)rsrTypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, local
304 if (type == nullptr) return obj;
305 type->callUpdateCacheObject(rsc, &obj);
309 type->incSysRef();
310 type->decUserRef();
316 RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages,
321 if (type == nullptr) {
322 ALOGE("rs_allocation creation error: Invalid type");
334 rsc, type, mipmaps, usages, (uintptr_t)ptr);
371 Allocation *rsCreateAllocation(::rs_type type, argument
315 CreateAllocation( RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, void *ptr) argument
395 rsCreateAllocation( ::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, void *ptr) argument
[all...]
/frameworks/rs/script_api/
H A DGenerateDocumentation.cpp111 // Not a RenderScript specific type.
354 Type* type = spec->getType(); local
356 << makeAttributeTag(spec->getAttribute(), "", type->getDeprecatedApiLevel(),
357 type->getDeprecatedMessage())
525 static bool writeDetailedType(GeneratedFile* file, Type* type) { argument
526 if (type->hidden()) {
529 const string& name = type->getName();
535 *file << " <span class='normal'>: " << type->getSummary() << "</span>\n";
539 for (auto spec : type->getSpecifications()) {
543 writeDeprecatedWarning(file, type);
[all...]
H A DGenerateHeaderFiles.cpp129 const Type* type = spec.getType(); local
130 const string& typeName = type->getName();
132 writeVersionGuardStart(file, info, type->getFinalVersion());
135 makeAttributeTag(spec.getAttribute(), "", type->getDeprecatedApiLevel(),
136 type->getDeprecatedMessage());
196 static void writeTypeComment(GeneratedFile* file, const Type& type) { argument
197 const string name = type.getName();
198 writeComment(file, name, type.getSummary(), type.getDescription(), type
358 Type* type = spec->getType(); local
[all...]
H A DGenerateStubsWhiteList.cpp59 * substitution for the provided type name, as would be done (mostly) by a
64 const auto type = types.find(typeName); local
65 if (type != types.end()) {
66 for (TypeSpecification* spec : type->second->getSpecifications()) {
92 /* Expand the typedefs found in 'type' into their equivalents and tokenize
96 list<string> expandTypedefs(const string type, unsigned int apiLevel, int intSize, string& vectorSize) { argument
98 istringstream stream(type);
109 /* Get the new vector size. This is for the case of the type being for example
184 /* Mangle the type name that's represented by the vector size and list of tokens.
190 * See http://mentorembedded.github.io/cxx-abi/abi.html#mangle.type fo
[all...]
H A DGenerateTestFiles.cpp105 * random data. This random data must be compatible with the specified type. This is
553 string type = p->javaBaseType; local
555 type = "Target.Floaty";
557 mJava->indent() << "args." << p->variableName << " = new " << type << "["
665 cerr << "Error. Unreachable. Return type is not floating point\n";
990 // Check if we need to use '&' for this type of argument.
H A DSpecification.cpp55 // Patterns that get substituted with C type or RS Data type names in function
109 // Returns true if each entry in typeVector is an RS numerical type
111 for (auto type: typeVector) {
112 if (findCType(type) == -1)
118 void getVectorSizeAndBaseType(const string& type, string& vectorSize, string& baseType) { argument
120 baseType = type;
122 /* If it's a vector type, we need to split the base type from the size.
123 * We know that's it's a vector type i
139 parseParameterDefinition(const string& type, const string& name, const string& testOption, int lineNumber, bool isReturn, Scanner* scanner) argument
405 Type* type = systemSpecification.findOrCreateType(name, &created); local
539 getParam(size_t index, int replacementIndexes[MAX_REPLACEABLES], std::string* type, std::string* name, std::string* testOption, int* lineNumber) const argument
721 string type, name, testOption; local
790 Type* type = spec->getType(); local
[all...]
H A DSpecification.h43 // Table of type equivalences.
46 const char* rsDataType; // RS data type
62 std::string type; member in struct:ParameterEntry
68 * - compatible(type): The values must also be fully representable in the specified type.
80 std::string rsType; // The Renderscript type, e.g. "uint3"
82 std::string javaBaseType; // The type we need to declare in Java, e.g. "unsigned int"
83 std::string specType; // The type found in the spec, e.g. "f16"
116 /* Fill this object from the type, name, and testOption.
119 void parseParameterDefinition(const std::string& type, cons
311 TypeSpecification(Type* type) argument
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DAllocation.java202 * No mipmaps will be generated and the type generated from the incoming
405 "64 bit integer source does not match allocation type " + mType.mElement.mType);
414 "32 bit integer source does not match allocation type " + mType.mElement.mType);
423 "16 bit integer source does not match allocation type " + mType.mElement.mType);
432 "8 bit integer source does not match allocation type " + mType.mElement.mType);
440 "32 bit float source does not match allocation type " + mType.mElement.mType);
448 "64 bit float source does not match allocation type " + mType.mElement.mType);
460 "Object source does not match allocation type " + mType.mElement.mType);
484 throw new RSIllegalArgumentException("Source must be exactly one usage type.");
627 mType.getElement().mKind + ", type "
2557 createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) argument
2585 createTyped(RenderScript rs, Type type, int usage) argument
2598 createTyped(RenderScript rs, Type type) argument
[all...]
H A DRenderScript.java266 * ContextType specifies the specific type of context to be created.
353 native long rsnElementCreate(long con, long type, int kind, boolean norm, int vecSize); argument
354 synchronized long nElementCreate(long type, int kind, boolean norm, int vecSize) { argument
356 return rsnElementCreate(mContext, type, kind, norm, vecSize);
387 native long rsnAllocationCreateTyped(long con, long type, int mip, int usage, long pointer); argument
388 synchronized long nAllocationCreateTyped(long type, int mip, int usage, long pointer) { argument
390 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer);
392 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); argument
393 synchronized long nAllocationCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { argument
395 return rsnAllocationCreateFromBitmap(mContext, type, mi
398 rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, Bitmap bmp, int usage) argument
399 nAllocationCreateBitmapBackedAllocation(long type, int mip, Bitmap bmp, int usage) argument
405 rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage) argument
406 nAllocationCubeCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) argument
410 rsnAllocationCreateBitmapRef(long con, long type, Bitmap bmp) argument
411 nAllocationCreateBitmapRef(long type, Bitmap bmp) argument
1029 rsnIncElementCreate(long con, long type, int kind, boolean norm, int vecSize) argument
1030 nIncElementCreate(long type, int kind, boolean norm, int vecSize) argument
1039 rsnIncAllocationCreateTyped(long con, long incCon, long alloc, long type, int xBytesSize) argument
1040 nIncAllocationCreateTyped(long alloc, long type, int xBytesSize) argument
[all...]
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp934 nElementCreate(JNIEnv *_env, jobject _this, jlong con, jlong type, jint kind, argument
937 LOG_API("nElementCreate, con(%p), type(%i), kind(%i), norm(%i), size(%i)", (RsContext)con,
938 type, kind, norm, size);
940 (RsDataType)type,
1028 nAllocationCreateTyped(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mips, jint usage, argument
1031 LOG_API("nAllocationCreateTyped, con(%p), type(%p), mip(%i), usage(%i), ptr(%p)",
1032 (RsContext)con, (RsElement)type, mips, usage, (void *)pointer);
1033 return (jlong)(uintptr_t) dispatchTab.AllocationCreateTyped((RsContext)con, (RsType)type,
1078 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, argument
1087 (RsType)type,
1098 nAllocationCreateBitmapBackedAllocation(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, jobject jbitmap, jint usage) argument
1117 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, jobject jbitmap, jint usage) argument
2182 nIncElementCreate(JNIEnv *_env, jobject _this, jlong con, jlong type, jint kind, jboolean norm, jint size) argument
2205 nIncAllocationCreateTyped(JNIEnv *_env, jobject _this, jlong con, jlong incCon, jlong alloc, jlong type, jint xBytesSize) argument
[all...]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DViewfinderProcessor.java246 public static void reProcessImage(Context context, String urlName, int type) { argument
252 processImage(b, context, type);
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
H A DGenImage.java81 public static int loadShader(int type, String shaderCode){ argument
83 // create a vertex shader type (GLES20.GL_VERTEX_SHADER)
84 // or a fragment shader type (GLES20.GL_FRAGMENT_SHADER)
85 int shader = GLES20.glCreateShader(type);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCarrierKeyDownloadManager.java99 private static final String JSON_TYPE = "key-type";
407 * including the Carrier public key, the key type and the key identifier. Once the nodes have
410 * "key-type": "WLAN",
442 int type = UNINITIALIZED_KEY_TYPE;
444 type = TelephonyManager.KEY_TYPE_WLAN;
446 type = TelephonyManager.KEY_TYPE_EPDG;
455 savePublicKey(keyInfo.first, type, identifier, keyInfo.second, mcc, mnc);
560 * @param type key-type.
567 public void savePublicKey(PublicKey publicKey, int type, Strin argument
[all...]
H A DDeviceStateMonitor.java366 * @param eventType Device state event type
440 * Convert the device state type into string
442 * @param type Device state type
445 private String deviceTypeToString(int type) { argument
446 switch (type) {
457 * @param type Device state type. See DeviceStateType defined in types.hal.
460 private void sendDeviceState(int type, boolean state) { argument
461 log("send type
[all...]

Completed in 194 milliseconds

1234567891011>>