Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
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.rs349 g_visibility_probability.lut[g_target_layer_i2.s0];
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSLUTTest.java49 ScriptIntrinsicLUT lut = ScriptIntrinsicLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT() local
51 lut.setRed(i, 255-i); in testRSLUT()
52 lut.setGreen(i, 255-i); in testRSLUT()
53 lut.setBlue(i, 255-i); in testRSLUT()
56 lut.forEach(rsInput, rsOutput); in testRSLUT()
DRS3DLUTTest.java64 ScriptIntrinsic3DLUT lut = ScriptIntrinsic3DLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT() local
66 lut.setLUT(cube); in testRSLUT()
67 lut.forEach(rsInput, rsOutput); in testRSLUT()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni.cpp186 sp<ScriptIntrinsicLUT> lut = ScriptIntrinsicLUT::create(rs, e); in Java_android_cts_rscpp_RSLUTTest_lutTest() local
193 lut->setRed(0, 256, lutValues); in Java_android_cts_rscpp_RSLUTTest_lutTest()
194 lut->setGreen(0, 256, lutValues); in Java_android_cts_rscpp_RSLUTTest_lutTest()
195 lut->setBlue(0, 256, lutValues); in Java_android_cts_rscpp_RSLUTTest_lutTest()
197 lut->forEach(inputAlloc,outputAlloc); in Java_android_cts_rscpp_RSLUTTest_lutTest()
236 sp<ScriptIntrinsic3DLUT> lut = ScriptIntrinsic3DLUT::create(rs, e); in Java_android_cts_rscpp_RS3DLUTTest_lutTest() local
241 lut->setLUT(colorCube); in Java_android_cts_rscpp_RS3DLUTTest_lutTest()
242 lut->forEach(inputAlloc,outputAlloc); in Java_android_cts_rscpp_RS3DLUTTest_lutTest()
/cts/apps/CameraITS/tests/
Dtutorial.py151 lut = numpy.array([2*i for i in xrange(65536)])
152 rgbimg_lut = its.image.apply_lut_to_image(rgbimg, lut)
/cts/apps/CameraITS/pymodules/its/
Dimage.py556 def apply_lut_to_image(img, lut): argument
583 n = len(lut)
587 return (lut[(img * m).astype(numpy.uint16)] / m).astype(numpy.float32)
838 lut = numpy.array([2*i for i in xrange(65536)])
840 y = apply_lut_to_image(x, lut).reshape(3).tolist()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tests/tests/media/assets/
Dsegment000000.ts974 >��{�O�BK^��@�)����}�3lut`�PۀD������2��$��/�,�)G��b���)�b�x;AGЙb�s���>0���☸�����21%���…