Home
last modified time | relevance | path

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

123

/frameworks/rs/cpp/
DScriptIntrinsics.cpp49 if (ain->getType()->getElement()->isCompatible(mElement) == false || in forEach()
50 aout->getType()->getElement()->isCompatible(mElement) == false) { in forEach()
58 if (!t->getElement()->isCompatible(mElement)) { in setLUT()
83 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachClear()
84 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachClear()
91 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachSrc()
92 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachSrc()
99 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachDst()
100 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachDst()
107 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.cpp181 if (!A->getType()->getElement()->isCompatible(e) || in validateGEMV()
182 !X->getType()->getElement()->isCompatible(e) || in validateGEMV()
183 !Y->getType()->getElement()->isCompatible(e)) { in validateGEMV()
321 if (!A->getType()->getElement()->isCompatible(e) || in validateTRMV()
322 !X->getType()->getElement()->isCompatible(e)) { in validateTRMV()
340 if (!Ap->getType()->getElement()->isCompatible(e) || in validateTPMV()
341 !X->getType()->getElement()->isCompatible(e)) { in validateTPMV()
628 if (!A->getType()->getElement()->isCompatible(e) || in validateSYMV()
629 !X->getType()->getElement()->isCompatible(e) || in validateSYMV()
630 !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/support/v8/renderscript/java/src/android/support/v8/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 …]
DScriptIntrinsicBlend.java55 if (!ain.getElement().isCompatible(Element.U8_4(mRS))) {
58 if (!aout.getElement().isCompatible(Element.U8_4(mRS))) {
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp222 T *ParameterManagerWrapper::getElement(const string &name, std::map<string, T *> &elementsMap) in getElement() function in android::audio_policy::ParameterManagerWrapper
231 const T *ParameterManagerWrapper::getElement(const string &name, const std::map<string, T *> &eleme… in getElement() function in android::audio_policy::ParameterManagerWrapper
260 getElement<ISelectionCriterionTypeInterface>(typeName, mPolicyCriterionTypes); in addCriterion()
338 getElement<ISelectionCriterionInterface>(gPhoneStateCriterionTag, mPolicyCriteria); in setPhoneState()
354 getElement<ISelectionCriterionInterface>(gPhoneStateCriterionTag, mPolicyCriteria); in getPhoneState()
371 getElement<ISelectionCriterionInterface>(gForceUseCriterionTag[usage], mPolicyCriteria); in setForceUse()
391 getElement<ISelectionCriterionInterface>(gForceUseCriterionTag[usage], mPolicyCriteria); in getForceUse()
410 getElement<ISelectionCriterionInterface>(gInputDeviceCriterionTag, mPolicyCriteria); in setAvailableInputDevices()
423 getElement<ISelectionCriterionInterface>(gOutputDeviceCriterionTag, mPolicyCriteria); in setAvailableOutputDevices()
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect104 if (!ain1.getType().getElement().isCompatible(__I32)) {
137 if (!ain1.getType().getElement().isCompatible(__I32)) {
170 if (!ain1.getType().getElement().isCompatible(__I32)) {
203 if (!ain1.getType().getElement().isCompatible(__I32)) {
236 if (!ain1.getType().getElement().isCompatible(__I32)) {
269 if (!ain1.getType().getElement().isCompatible(__I32)) {
302 if (!ain1.getType().getElement().isCompatible(__I32)) {
335 if (!ain1.getType().getElement().isCompatible(__I32)) {
368 if (!ain1.getType().getElement().isCompatible(__I32)) {
401 if (!ain1.getType().getElement().isCompatible(__I32)) {
[all …]
/frameworks/rs/
DrsApiType.cpp41 (*typeData++) = (uintptr_t)t->getElement(); in rsaTypeGetNativeData()
42 t->getElement()->incUserRef(); in rsaTypeGetNativeData()
DrsAllocation.cpp78 … success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr); in createAllocationStrided()
86 …success = rsc->mHal.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), r… in createAllocationStrided()
90 success = rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences()); in createAllocationStrided()
151 mHal.state.hasReferences = mHal.state.type->getElement()->getHasReferences(); in updateCache()
287 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
292 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
293 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData()
322 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementRead()
327 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementRead()
328 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.expect159 if (!ain1.getType().getElement().isCompatible(__F16)) {
163 if (!ain2.getType().getElement().isCompatible(__F16)) {
223 if (!ain1.getType().getElement().isCompatible(__F16)) {
227 if (!ain2.getType().getElement().isCompatible(__F16)) {
291 if (!ain1.getType().getElement().isCompatible(__F16)) {
295 if (!ain2.getType().getElement().isCompatible(__F16_2)) {
359 if (!ain1.getType().getElement().isCompatible(__F16)) {
363 if (!ain2.getType().getElement().isCompatible(__F16_2)) {
427 if (!ain1.getType().getElement().isCompatible(__F16)) {
431 if (!ain2.getType().getElement().isCompatible(__F16_4)) {
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect172 if (!ain1.getType().getElement().isCompatible(__F16)) {
205 if (!ain1.getType().getElement().isCompatible(__F16)) {
238 if (!ain1.getType().getElement().isCompatible(__F16)) {
271 if (!ain1.getType().getElement().isCompatible(__F16)) {
304 if (!ain1.getType().getElement().isCompatible(__F16)) {
337 if (!ain1.getType().getElement().isCompatible(__F16)) {
370 if (!ain1.getType().getElement().isCompatible(__F16)) {
403 if (!ain1.getType().getElement().isCompatible(__F16)) {
436 if (!ain1.getType().getElement().isCompatible(__F16)) {
469 if (!ain1.getType().getElement().isCompatible(__F16)) {
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h235 T *getElement(const std::string &name, std::map<std::string, T *> &elementsMap);
247 const T *getElement(const std::string &name,
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect225 if (!ain1.getType().getElement().isCompatible(__I32)) {
258 if (!ain1.getType().getElement().isCompatible(__I32)) {
306 if (!ain1.getType().getElement().isCompatible(__F32)) {
310 if (!ain2.getType().getElement().isCompatible(__F32)) {
355 if (!ain1.getType().getElement().isCompatible(__F32)) {
388 if (!ain1.getType().getElement().isCompatible(__I32)) {
421 if (!ain1.getType().getElement().isCompatible(__I32)) {
454 if (!ain1.getType().getElement().isCompatible(__U8)) {
487 if (!ain1.getType().getElement().isCompatible(__U8)) {
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect225 if (!ain1.getType().getElement().isCompatible(__I32)) {
258 if (!ain1.getType().getElement().isCompatible(__I32)) {
306 if (!ain1.getType().getElement().isCompatible(__F32)) {
310 if (!ain2.getType().getElement().isCompatible(__F32)) {
355 if (!ain1.getType().getElement().isCompatible(__F32)) {
388 if (!ain1.getType().getElement().isCompatible(__I32)) {
421 if (!ain1.getType().getElement().isCompatible(__I32)) {
454 if (!ain1.getType().getElement().isCompatible(__U8)) {
487 if (!ain1.getType().getElement().isCompatible(__U8)) {
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect187 if (!ain1.getType().getElement().isCompatible(__I32)) {
220 if (!ain1.getType().getElement().isCompatible(__I32)) {
253 if (!ain1.getType().getElement().isCompatible(__I32)) {
301 if (!ain1.getType().getElement().isCompatible(__F32)) {
305 if (!ain2.getType().getElement().isCompatible(__F32)) {
350 if (!ain1.getType().getElement().isCompatible(__U8)) {
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect2739 if (!ain1.getType().getElement().isCompatible(__F16)) {
2776 if (!ain1.getType().getElement().isCompatible(__F16_2)) {
2813 if (!ain1.getType().getElement().isCompatible(__F16_4)) {
2846 if (!ain1.getType().getElement().isCompatible(__F16)) {
2883 if (!ain1.getType().getElement().isCompatible(__F16_2)) {
2920 if (!ain1.getType().getElement().isCompatible(__F16_4)) {
2953 if (!ain1.getType().getElement().isCompatible(__F32)) {
2990 if (!ain1.getType().getElement().isCompatible(__F32_2)) {
3027 if (!ain1.getType().getElement().isCompatible(__F32_4)) {
3060 if (!ain1.getType().getElement().isCompatible(__F32)) {
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicHistogram.cpp108 uint32_t vSize = mAllocOut->getType()->getElement()->getVectorSize(); in preLaunch()
129 switch(ains[0]->getType()->getElement()->getVectorSize()) { in preLaunch()
157 uint32_t vSize = mAllocOut->getType()->getElement()->getVectorSize(); in postLaunch()

123