Searched refs:lut (Results 1 - 11 of 11) sorted by relevance

/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicLUT.cpp36 ObjectBaseRef<Allocation> lut; member in class:android::renderscript::RsdCpuScriptIntrinsicLUT
46 lut.set(static_cast<Allocation *>(data));
60 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr;
91 lut.clear();
H A DrsCpuIntrinsic3DLUT.cpp49 void const *lut,
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsic3DLUT.java63 public void setLUT(Allocation lut) { argument
64 final Type t = lut.getType();
74 mLUT = lut;
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsic3DLUT.java74 public void setLUT(Allocation lut) { argument
75 final Type t = lut.getType();
85 mLUT = lut;
/frameworks/base/core/java/com/android/internal/view/animation/
H A DFallbackLUTInterpolator.java71 float[] lut = createLUT(interpolator, duration);
72 return NativeInterpolatorFactoryHelper.createLutInterpolator(lut);
/frameworks/base/core/jni/
H A Dcom_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp84 float* lut = new float[len]; local
85 env->GetFloatArrayRegion(jlut, 0, len, lut);
86 return reinterpret_cast<jlong>(new LUTInterpolator(lut, len));
/frameworks/native/libs/ui/tests/
H A Dcolorspace_test.cpp166 auto lut = ColorSpace::createLUT(17, ColorSpace::sRGB(), ColorSpace::AdobeRGB());
167 EXPECT_TRUE(lut != nullptr);
170 auto r = lut.get()[0 * 17 * 17 + 8 * 17 + 16];
174 r = lut.get()[8 * 17 * 17 + 0 * 17 + 16]; // y (G) is flipped
178 r = lut.get()[16 * 17 * 17 + 0 * 17 + 16]; // y (G) is flipped
/frameworks/native/libs/ui/tools/
H A Dlutgen.cpp37 cout << "lutgen -d SIZE -s SOURCE -t TARGET <lut file>" << endl;
41 cout << "If <lut file> ends in .inc, data is generated without the array declaration." << endl;
144 auto lut = ColorSpace::createLUT(gSize, gColorSpaceSrc, gColorSpaceDst); local
145 auto data = lut.get();
/frameworks/native/libs/ui/
H A DColorSpace.cpp360 std::unique_ptr<float3> lut(new float3[size * size * size]);
361 float3* data = lut.get();
373 return lut;
/frameworks/rs/cpp/
H A DScriptIntrinsics.cpp66 void ScriptIntrinsic3DLUT::setLUT(const sp<Allocation>& lut) { argument
67 sp<const Type> t = lut->getType();
77 Script::setVar(0, lut);
H A DrsCppStructs.h1807 * @param[in] lut new lookup table
1809 void setLUT(const sp<Allocation>& lut);
4172 * @param[in] lut new lookup table

Completed in 198 milliseconds