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.rscript261 g_visibility_probability.lut[g_target_layer.front_depth];
Dlayered_filter_fast_d1new.rscript349 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.py592 def apply_lut_to_image(img, lut): argument
619 n = len(lut)
623 return (lut[(img * m).astype(numpy.uint16)] / m).astype(numpy.float32)
920 lut = numpy.array([2*i for i in xrange(65536)])
922 y = apply_lut_to_image(x, lut).reshape(3).tolist()
/cts/tests/tests/media/assets/
Dsegment000000.ts974 >��{�O�BK^��@�)����}�3lut`�PۀD������2��$��/�,�)G��b���)�b�x;AGЙb�s���>0���☸�����21%���…
/cts/tests/tests/media/assets/unmuxed_1500k/
D11.ts7679 ���lut` L���GA~�Y�Ơ�k��n�GCl�%D�Ii��P�m��U8��mmq����ɻ�hѩG! ���Ӡ/�G