/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | luts_for_speedup_f32.rsh | 12 // VisibilityProbability.lut[y][x] = 1.0f/(max(x-y,0)+1). 14 // The value range of VisibilityProbability.lut[y][x] is [0,1]. 16 float lut[g_kMaxDepthValue + 1][g_kMaxDepthValue + 1]; 36 visibility_probability->lut[y][x] = 0; 39 visibility_probability->lut[y][x] = 1.0f / (max(z - y, 0) + 1); 46 visibility_probability->lut[y][x] = 51 visibility_probability->lut[y][x] = 1; 64 // lut[r][y+g_kMaxKernelRadius] = x; 68 int lut[g_kMaxKernelRadius + 1][2 * g_kMaxKernelRadius + 1]; 75 secant_offset->lut[r][y + g_kMaxKernelRadius] =
|
D | camera_response.rsh | 93 static inline float ApplyLUT_Float(float value, float lut[kLUTLength + 1]) { 97 return lut[pos] + delta * (lut[pos + 1] - lut[pos]); 118 static inline int ApplyLUT_Int(int value, int lut[kLUTLength]) { 119 return lut[value];
|
D | layered_filter_f32_helper.rsh | 77 const float *vis_prob = visibility_probability->lut[layer_info->front_depth]; 125 secant_offset->lut[kernel_radius_y] + g_kMaxKernelRadius;
|
D | layered_filter_d1new_helper.rsh | 137 const float *vis_prob = visibility_probability->lut[layer_info_i2.s0]; // layer_info.front_depth 188 secant_offset->lut[kernel_radius_y] + g_kMaxKernelRadius;
|
D | layered_filter_fast_f32.rscript | 261 g_visibility_probability.lut[g_target_layer.front_depth];
|
D | layered_filter_fast_d1new.rscript | 345 g_visibility_probability.lut[g_target_layer_i2.s0];
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicLUT.cpp | 36 ObjectBaseRef<Allocation> lut; member in android::renderscript::RsdCpuScriptIntrinsicLUT 46 lut.set(static_cast<Allocation *>(data)); in setGlobalObj() 60 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr; in kernel() 91 lut.clear(); in invokeFreeChildren()
|
D | rsCpuIntrinsic3DLUT.cpp | 49 void const *lut,
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptIntrinsic3DLUT.java | 63 public void setLUT(Allocation lut) { in setLUT() argument 64 final Type t = lut.getType(); in setLUT() 74 mLUT = lut; in setLUT()
|
/frameworks/native/libs/ui/tests/ |
D | colorspace_test.cpp | 166 auto lut = ColorSpace::createLUT(17, ColorSpace::sRGB(), ColorSpace::AdobeRGB()); in TEST_F() local 167 EXPECT_TRUE(lut != nullptr); in TEST_F() 170 auto r = lut.get()[0 * 17 * 17 + 8 * 17 + 16]; in TEST_F() 174 r = lut.get()[8 * 17 * 17 + 0 * 17 + 16]; // y (G) is flipped in TEST_F() 178 r = lut.get()[16 * 17 * 17 + 0 * 17 + 16]; // y (G) is flipped in TEST_F()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptIntrinsic3DLUT.java | 74 public void setLUT(Allocation lut) { 75 final Type t = lut.getType(); 85 mLUT = lut;
|
/frameworks/base/core/jni/ |
D | com_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp | 84 float* lut = new float[len]; in createLutInterpolator() local 85 env->GetFloatArrayRegion(jlut, 0, len, lut); in createLutInterpolator() 86 return reinterpret_cast<jlong>(new LUTInterpolator(lut, len)); in createLutInterpolator()
|
/frameworks/base/core/java/com/android/internal/view/animation/ |
D | FallbackLUTInterpolator.java | 71 float[] lut = createLUT(interpolator, duration); in createNativeInterpolator() local 72 return NativeInterpolatorFactoryHelper.createLutInterpolator(lut); in createNativeInterpolator()
|
/frameworks/native/libs/ui/tools/ |
D | lutgen.cpp | 144 auto lut = ColorSpace::createLUT(gSize, gColorSpaceSrc, gColorSpaceDst); in main() local 145 auto data = lut.get(); in main()
|
/frameworks/native/libs/ui/ |
D | ColorSpace.cpp | 359 std::unique_ptr<float3[]> lut(new float3[size * size * size]); in createLUT() local 360 float3* data = lut.get(); in createLUT() 376 return lut; in createLUT()
|
/frameworks/rs/cpp/ |
D | ScriptIntrinsics.cpp | 66 void ScriptIntrinsic3DLUT::setLUT(const sp<Allocation>& lut) { in setLUT() argument 67 sp<const Type> t = lut->getType(); in setLUT() 77 Script::setVar(0, lut); in setLUT()
|
D | rsCppStructs.h | 1809 void setLUT(const sp<Allocation>& lut);
|