Home
last modified time | relevance | path

Searched refs:getElement (Results 1 – 25 of 83) sorted by relevance

1234

/frameworks/rs/cpp/
DScriptIntrinsics.cpp59 if (ain->getType()->getElement()->isCompatible(mElement) == false || in forEach()
60 aout->getType()->getElement()->isCompatible(mElement) == false) { in forEach()
68 if (!t->getElement()->isCompatible(mElement)) { in setLUT()
93 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachClear()
94 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachClear()
101 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachSrc()
102 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachSrc()
109 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachDst()
110 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachDst()
117 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachSrcOver()
[all …]
DAllocation.cpp77 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt64()
85 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt32()
93 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt16()
101 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt8()
109 RsDataType dt = mType->getElement()->getDataType(); in validateIsFloat32()
117 RsDataType dt = mType->getElement()->getDataType(); in validateIsFloat64()
125 RsDataType dt = mType->getElement()->getDataType(); in validateIsObject()
228 if (mAutoPadding && (mType->getElement()->getVectorSize() == 3)) { in copy1DRangeFrom()
229 size_t eSize = mType->getElement()->getSizeBytes(); in copy1DRangeFrom()
233 … count, ptr, count * mType->getElement()->getSizeBytes())); in copy1DRangeFrom()
[all …]
DScriptIntrinsicBLAS.cpp187 if (!A->getType()->getElement()->isCompatible(e) || in validateGEMV()
188 !X->getType()->getElement()->isCompatible(e) || in validateGEMV()
189 !Y->getType()->getElement()->isCompatible(e)) { in validateGEMV()
327 if (!A->getType()->getElement()->isCompatible(e) || in validateTRMV()
328 !X->getType()->getElement()->isCompatible(e)) { in validateTRMV()
346 if (!Ap->getType()->getElement()->isCompatible(e) || in validateTPMV()
347 !X->getType()->getElement()->isCompatible(e)) { in validateTPMV()
634 if (!A->getType()->getElement()->isCompatible(e) || in validateSYMV()
635 !X->getType()->getElement()->isCompatible(e) || in validateSYMV()
636 !Y->getType()->getElement()->isCompatible(e) ) { in validateSYMV()
[all …]
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicHistogram.java88 if (ain.getType().getElement().getVectorSize() < in forEach()
89 mOut.getType().getElement().getVectorSize()) { in forEach()
94 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) && in forEach()
95 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) && in forEach()
96 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) && in forEach()
97 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) { in forEach()
141 if (mOut.getType().getElement() != Element.U32(mRS) && in setOutput()
142 mOut.getType().getElement() != Element.U32_2(mRS) && in setOutput()
143 mOut.getType().getElement() != Element.U32_3(mRS) && in setOutput()
144 mOut.getType().getElement() != Element.U32_4(mRS) && in setOutput()
[all …]
DScriptIntrinsicColorMatrix.java245 if (!ain.getElement().isCompatible(Element.U8(mRS)) && in forEach()
246 !ain.getElement().isCompatible(Element.U8_2(mRS)) && in forEach()
247 !ain.getElement().isCompatible(Element.U8_3(mRS)) && in forEach()
248 !ain.getElement().isCompatible(Element.U8_4(mRS)) && in forEach()
249 !ain.getElement().isCompatible(Element.F32(mRS)) && in forEach()
250 !ain.getElement().isCompatible(Element.F32_2(mRS)) && in forEach()
251 !ain.getElement().isCompatible(Element.F32_3(mRS)) && in forEach()
252 !ain.getElement().isCompatible(Element.F32_4(mRS))) { in forEach()
257 if (!aout.getElement().isCompatible(Element.U8(mRS)) && in forEach()
258 !aout.getElement().isCompatible(Element.U8_2(mRS)) && in forEach()
[all …]
DAllocation.java274 public Element getElement() { in getElement() method in Allocation
275 return mType.getElement(); in getElement()
360 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize()
362 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize()
412 mSize = mType.getCount() * mType.getElement().getBytesSize(); in Allocation()
639 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) { in validateBitmapFormat()
641 mType.getElement().mKind + ", type " + in validateBitmapFormat()
642 mType.getElement().mType + in validateBitmapFormat()
643 " of " + mType.getElement().getBytesSize() + in validateBitmapFormat()
648 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) || in validateBitmapFormat()
[all …]
DScriptIntrinsicBLAS.java279 if (!A.getType().getElement().isCompatible(e) || in validateGEMV()
280 !X.getType().getElement().isCompatible(e) || in validateGEMV()
281 !Y.getType().getElement().isCompatible(e)) { in validateGEMV()
541 if (!A.getType().getElement().isCompatible(e) || in validateTRMV()
542 !X.getType().getElement().isCompatible(e)) { in validateTRMV()
562 if (!Ap.getType().getElement().isCompatible(e) || in validateTPMV()
563 !X.getType().getElement().isCompatible(e)) { in validateTPMV()
1219 if (!A.getType().getElement().isCompatible(e) || in validateSYMV()
1220 !X.getType().getElement().isCompatible(e) || in validateSYMV()
1221 !Y.getType().getElement().isCompatible(e) ) { in validateSYMV()
[all …]
DAllocationAdapter.java233 Type t = Type.createX(rs, a.getElement(), a.getType().getX()); in create1D()
240 Type t = Type.createXY(rs, a.getElement(), a.getType().getX(), a.getType().getY()); in create2D()
273 if (!a.getType().getElement().equals(t.getElement())) { in createTyped()
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptIntrinsicHistogram.java98 if (ain.getType().getElement().getVectorSize() <
99 mOut.getType().getElement().getVectorSize()) {
104 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) &&
105 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) &&
106 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) &&
107 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) {
151 if (mOut.getType().getElement() != Element.U32(mRS) &&
152 mOut.getType().getElement() != Element.U32_2(mRS) &&
153 mOut.getType().getElement() != Element.U32_3(mRS) &&
154 mOut.getType().getElement() != Element.U32_4(mRS) &&
[all …]
DScriptIntrinsicColorMatrix.java225 if (!ain.getElement().isCompatible(Element.U8(mRS)) &&
226 !ain.getElement().isCompatible(Element.U8_2(mRS)) &&
227 !ain.getElement().isCompatible(Element.U8_3(mRS)) &&
228 !ain.getElement().isCompatible(Element.U8_4(mRS)) &&
229 !ain.getElement().isCompatible(Element.F32(mRS)) &&
230 !ain.getElement().isCompatible(Element.F32_2(mRS)) &&
231 !ain.getElement().isCompatible(Element.F32_3(mRS)) &&
232 !ain.getElement().isCompatible(Element.F32_4(mRS))) {
237 if (!aout.getElement().isCompatible(Element.U8(mRS)) &&
238 !aout.getElement().isCompatible(Element.U8_2(mRS)) &&
[all …]
DAllocation.java253 public Element getElement() { in getElement() method in Allocation
254 return mType.getElement(); in getElement()
328 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize()
330 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize()
379 mSize = mType.getCount() * mType.getElement().getBytesSize(); in Allocation()
526 int xBytesSize = mType.getX() * mType.getElement().getBytesSize(); in getByteBuffer()
570 mByteBufferStride = mType.getX() * mType.getElement().getBytesSize(); in getStride()
625 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) { in validateBitmapFormat()
627 mType.getElement().mKind + ", type " + in validateBitmapFormat()
628 mType.getElement().mType + in validateBitmapFormat()
[all …]
DScriptIntrinsicBLAS.java286 if (!A.getType().getElement().isCompatible(e) ||
287 !X.getType().getElement().isCompatible(e) ||
288 !Y.getType().getElement().isCompatible(e)) {
628 if (!A.getType().getElement().isCompatible(e) || in validateTRMV()
629 !X.getType().getElement().isCompatible(e)) { in validateTRMV()
649 if (!Ap.getType().getElement().isCompatible(e) || in validateTPMV()
650 !X.getType().getElement().isCompatible(e)) { in validateTPMV()
1498 if (!A.getType().getElement().isCompatible(e) || in validateSYMV()
1499 !X.getType().getElement().isCompatible(e) || in validateSYMV()
1500 !Y.getType().getElement().isCompatible(e) ) { in validateSYMV()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp171 T *ParameterManagerWrapper::getElement(const string &name, std::map<string, T *> &elementsMap) in getElement() function in android::audio_policy::ParameterManagerWrapper
180 const T *ParameterManagerWrapper::getElement(const string &name, const std::map<string, T *> &eleme… in getElement() function in android::audio_policy::ParameterManagerWrapper
196 getElement<ISelectionCriterionInterface>(gPhoneStateCriterionName, mPolicyCriteria); in setPhoneState()
212 getElement<ISelectionCriterionInterface>(gPhoneStateCriterionName, mPolicyCriteria); in getPhoneState()
229 getElement<ISelectionCriterionInterface>(gForceUseCriterionTag[usage], mPolicyCriteria); in setForceUse()
249 getElement<ISelectionCriterionInterface>(gForceUseCriterionTag[usage], mPolicyCriteria); in getForceUse()
274 getElement<ISelectionCriterionInterface>(criterionName, mPolicyCriteria); in setDeviceConnectionState()
302 getElement<ISelectionCriterionInterface>(gInputDeviceCriterionName, mPolicyCriteria); in setAvailableInputDevices()
315 getElement<ISelectionCriterionInterface>(gOutputDeviceCriterionName, mPolicyCriteria); in setAvailableOutputDevices()
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect107 if (!ain1.getType().getElement().isCompatible(__I32)) {
140 if (!ain1.getType().getElement().isCompatible(__I32)) {
173 if (!ain1.getType().getElement().isCompatible(__I32)) {
206 if (!ain1.getType().getElement().isCompatible(__I32)) {
239 if (!ain1.getType().getElement().isCompatible(__I32)) {
272 if (!ain1.getType().getElement().isCompatible(__I32)) {
305 if (!ain1.getType().getElement().isCompatible(__I32)) {
338 if (!ain1.getType().getElement().isCompatible(__I32)) {
371 if (!ain1.getType().getElement().isCompatible(__I32)) {
404 if (!ain1.getType().getElement().isCompatible(__I32)) {
[all …]
/frameworks/rs/
DrsApiType.cpp37 (*typeData++) = (uintptr_t)t->getElement(); in rsaTypeGetNativeData()
38 t->getElement()->incUserRef(); in rsaTypeGetNativeData()
DrsAllocation.cpp77 … success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr); in createAllocationStrided()
85 …success = rsc->mHal.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), r… in createAllocationStrided()
89 success = rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences()); in createAllocationStrided()
150 mHal.state.hasReferences = mHal.state.type->getElement()->getHasReferences(); in updateCache()
290 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
295 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
296 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData()
323 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementRead()
328 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementRead()
329 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementRead()
[all …]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect162 if (!ain1.getType().getElement().isCompatible(__F16)) {
166 if (!ain2.getType().getElement().isCompatible(__F16)) {
226 if (!ain1.getType().getElement().isCompatible(__F16)) {
230 if (!ain2.getType().getElement().isCompatible(__F16)) {
294 if (!ain1.getType().getElement().isCompatible(__F16)) {
298 if (!ain2.getType().getElement().isCompatible(__F16_2)) {
362 if (!ain1.getType().getElement().isCompatible(__F16)) {
366 if (!ain2.getType().getElement().isCompatible(__F16_2)) {
430 if (!ain1.getType().getElement().isCompatible(__F16)) {
434 if (!ain2.getType().getElement().isCompatible(__F16_4)) {
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect175 if (!ain1.getType().getElement().isCompatible(__F16)) {
208 if (!ain1.getType().getElement().isCompatible(__F16)) {
241 if (!ain1.getType().getElement().isCompatible(__F16)) {
274 if (!ain1.getType().getElement().isCompatible(__F16)) {
307 if (!ain1.getType().getElement().isCompatible(__F16)) {
340 if (!ain1.getType().getElement().isCompatible(__F16)) {
373 if (!ain1.getType().getElement().isCompatible(__F16)) {
406 if (!ain1.getType().getElement().isCompatible(__F16)) {
439 if (!ain1.getType().getElement().isCompatible(__F16)) {
472 if (!ain1.getType().getElement().isCompatible(__F16)) {
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_kernel_struct.java58 s.get_ain().getElement().destroy(); in run()
59 s.get_aout().getElement().destroy(); in run()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_kernel_struct.java56 s.get_ain().getElement().destroy(); in run()
57 s.get_aout().getElement().destroy(); in run()
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptC_reflection3264_divergent.java.expect275 if (!ain.getType().getElement().isCompatible(__I32)) {
279 if (!aout.getType().getElement().isCompatible(__I32)) {
318 if (!ain.getType().getElement().isCompatible(__I32)) {
322 if (!aout.getType().getElement().isCompatible(__I32)) {
357 if (!ain.getType().getElement().isCompatible(__I32)) {
361 if (!aout.getType().getElement().isCompatible(__I32)) {
393 if (!ain.getType().getElement().isCompatible(__I32)) {
397 if (!aout.getType().getElement().isCompatible(__I32)) {
428 if (!ain.getType().getElement().isCompatible(__I32)) {
432 if (!aout.getType().getElement().isCompatible(__I32)) {
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptC_reflection3264_divergent.java.expect272 if (!ain.getType().getElement().isCompatible(__I32)) {
276 if (!aout.getType().getElement().isCompatible(__I32)) {
315 if (!ain.getType().getElement().isCompatible(__I32)) {
319 if (!aout.getType().getElement().isCompatible(__I32)) {
354 if (!ain.getType().getElement().isCompatible(__I32)) {
358 if (!aout.getType().getElement().isCompatible(__I32)) {
390 if (!ain.getType().getElement().isCompatible(__I32)) {
394 if (!aout.getType().getElement().isCompatible(__I32)) {
425 if (!ain.getType().getElement().isCompatible(__I32)) {
429 if (!aout.getType().getElement().isCompatible(__I32)) {
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h164 T *getElement(const std::string &name, std::map<std::string, T *> &elementsMap);
176 const T *getElement(const std::string &name,
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect228 if (!ain1.getType().getElement().isCompatible(__I32)) {
261 if (!ain1.getType().getElement().isCompatible(__I32)) {
309 if (!ain1.getType().getElement().isCompatible(__F32)) {
313 if (!ain2.getType().getElement().isCompatible(__F32)) {
358 if (!ain1.getType().getElement().isCompatible(__F32)) {
391 if (!ain1.getType().getElement().isCompatible(__I32)) {
424 if (!ain1.getType().getElement().isCompatible(__I32)) {
457 if (!ain1.getType().getElement().isCompatible(__U8)) {
490 if (!ain1.getType().getElement().isCompatible(__U8)) {
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect228 if (!ain1.getType().getElement().isCompatible(__I32)) {
261 if (!ain1.getType().getElement().isCompatible(__I32)) {
309 if (!ain1.getType().getElement().isCompatible(__F32)) {
313 if (!ain2.getType().getElement().isCompatible(__F32)) {
358 if (!ain1.getType().getElement().isCompatible(__F32)) {
391 if (!ain1.getType().getElement().isCompatible(__I32)) {
424 if (!ain1.getType().getElement().isCompatible(__I32)) {
457 if (!ain1.getType().getElement().isCompatible(__U8)) {
490 if (!ain1.getType().getElement().isCompatible(__U8)) {

1234