/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 | 67 public void setLUT(Allocation lut) { in setLUT() argument 68 final Type t = lut.getType(); in setLUT() 78 mLUT = lut; in setLUT()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptIntrinsic3DLUT.java | 78 public void setLUT(Allocation lut) { 79 final Type t = lut.getType(); 89 mLUT = lut;
|
/frameworks/native/libs/ui/tests/ |
D | colorspace_test.cpp | 169 auto lut = ColorSpace::createLUT(17, ColorSpace::sRGB(), ColorSpace::AdobeRGB()); in TEST_F() local 170 EXPECT_TRUE(lut != nullptr); in TEST_F() 173 auto r = lut.get()[0 * 17 * 17 + 8 * 17 + 16]; in TEST_F() 177 r = lut.get()[8 * 17 * 17 + 0 * 17 + 16]; // y (G) is flipped in TEST_F() 181 r = lut.get()[16 * 17 * 17 + 0 * 17 + 16]; // y (G) is flipped in TEST_F()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_animation_NativeInterpolatorFactory.cpp | 82 float* lut = new float[len]; in createLutInterpolator() local 83 env->GetFloatArrayRegion(jlut, 0, len, lut); in createLutInterpolator() 84 return reinterpret_cast<jlong>(new LUTInterpolator(lut, len)); in createLutInterpolator()
|
/frameworks/base/graphics/java/android/graphics/animation/ |
D | FallbackLUTInterpolator.java | 72 float[] lut = createLUT(interpolator, duration); in createNativeInterpolator() local 73 return NativeInterpolatorFactory.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/rs/toolkit/ |
D | Lut.cpp | 68 void RenderScriptToolkit::lut(const uint8_t* input, uint8_t* output, size_t sizeX, size_t sizeY, in lut() function in android::renderscript::RenderScriptToolkit
|
D | RenderScriptToolkit.h | 442 void lut(const uint8_t* _Nonnull in, uint8_t* _Nonnull out, size_t sizeX, size_t sizeY,
|
D | Lut3d.cpp | 65 extern "C" void rsdIntrinsic3DLUT_K(void* dst, void const* in, size_t count, void const* lut,
|
D | JniEntryPoints.cpp | 385 toolkit->lut(input.get(), output.get(), size_x, size_y, red.get(), green.get(), blue.get(), in Java_android_renderscript_toolkit_Toolkit_nativeLut() 403 toolkit->lut(input.get(), output.get(), input.width(), input.height(), red.get(), green.get(), in Java_android_renderscript_toolkit_Toolkit_nativeLutBitmap()
|
/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/base/libs/hwui/utils/ |
D | HostColorSpace.cpp | 360 std::unique_ptr<float3[]> lut(new float3[size * size * size]); in createLUT() local 361 float3* data = lut.get(); in createLUT() 373 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);
|
/frameworks/rs/toolkit/java/ |
D | Toolkit.kt | 771 fun lut( in lut() method 822 fun lut( in lut() method
|
/frameworks/rs/toolkit/test/ |
D | AllTests.kt | 740 toolkit.lut(inputArray, sizeX, sizeY, table, restriction) in <lambda>() 783 toolkit.lut(bitmap, table, restriction) in <lambda>()
|