Home
last modified time | relevance | path

Searched refs:lut (Results 1 – 15 of 15) sorted by relevance

/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
Dluts_for_speedup_f32.rsh12 // 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] =
Dcamera_response.rsh93 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];
Dlayered_filter_f32_helper.rsh77 const float *vis_prob = visibility_probability->lut[layer_info->front_depth];
125 secant_offset->lut[kernel_radius_y] + g_kMaxKernelRadius;
Dlayered_filter_d1new_helper.rsh137 const float *vis_prob = visibility_probability->lut[layer_info_i2.s0]; // layer_info.front_depth
188 secant_offset->lut[kernel_radius_y] + g_kMaxKernelRadius;
Dlayered_filter_fast_f32.rs261 g_visibility_probability.lut[g_target_layer.front_depth];
Dlayered_filter_fast_d1new.rs347 g_visibility_probability.lut[g_target_layer_i2.s0];
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicLUT.cpp39 ObjectBaseRef<Allocation> lut; member in android::renderscript::RsdCpuScriptIntrinsicLUT
52 lut.set(static_cast<Allocation *>(data)); in setGlobalObj()
66 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr; in kernel()
97 lut.clear(); in invokeFreeChildren()
DrsCpuIntrinsic3DLUT.cpp56 void const *lut,
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsic3DLUT.java63 public void setLUT(Allocation lut) { in setLUT() argument
64 final Type t = lut.getType(); in setLUT()
74 mLUT = lut; in setLUT()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptIntrinsic3DLUT.java74 public void setLUT(Allocation lut) {
75 final Type t = lut.getType();
85 mLUT = lut;
/frameworks/base/core/jni/
Dcom_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp70 float* lut = new float[len]; in createLutInterpolator() local
71 env->GetFloatArrayRegion(jlut, 0, len, lut); in createLutInterpolator()
72 return reinterpret_cast<jlong>(new LUTInterpolator(lut, len)); in createLutInterpolator()
/frameworks/base/core/java/com/android/internal/view/animation/
DFallbackLUTInterpolator.java68 float[] lut = createLUT(interpolator, duration); in createNativeInterpolator() local
69 return NativeInterpolatorFactoryHelper.createLutInterpolator(lut); in createNativeInterpolator()
/frameworks/rs/cpp/
DScriptIntrinsics.cpp56 void ScriptIntrinsic3DLUT::setLUT(sp<Allocation> lut) { in setLUT() argument
57 sp<const Type> t = lut->getType(); in setLUT()
67 Script::setVar(0, lut); in setLUT()
DrsCppStructs.h1809 void setLUT(sp<Allocation> lut);
/frameworks/base/core/res/assets/webkit/
Dhyph_en_US.dic2941 1lut