Home
last modified time | relevance | path

Searched refs:uchar (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dyuv.rs27 static uchar4 yuvToRGBA4(uchar y, uchar u, uchar v) {
59 static float4 yuvToRGBA_f4(uchar y, uchar u, uchar v) {
105 uchar py = rsGetElementAt_uchar(ay, x, y);
106 uchar pu = rsGetElementAt_uchar(au, x >> 1, y >> 1);
107 uchar pv = rsGetElementAt_uchar(av, x >> 1, y >> 1);
123 uchar py = rsGetElementAtYuv_uchar_Y(mInput, x, y);
124 uchar pu = rsGetElementAtYuv_uchar_U(mInput, x, y);
125 uchar pv = rsGetElementAtYuv_uchar_V(mInput, x, y);
136 uchar py = rsGetElementAtYuv_uchar_Y(mInput, x, y);
137 uchar pu = rsGetElementAtYuv_uchar_U(mInput, x, y);
[all …]
Dvoid_ptr.rs20 uchar *out_int = (uchar *)out;
24 void __attribute__((kernel))check_output_char(const uchar in, uint32_t x, uint32_t y) constant
41 uchar __attribute__((kernel)) set_output_char(uint32_t x, uint32_t y) {
47 uchar *in_uchar = (uchar*) in;
Dintrinsic_blur.rs30 float4 __attribute__((kernel)) convert1_uToF(uchar v) {
39 uchar __attribute__((kernel)) convert1_fToU(float4 v) {
Dgetset.rs52 COPY_1D(uchar)
94 COPY_2D(uchar)
140 COPY_3D(uchar)
Dutils.rs8 uchar4 v = (uchar)i;
Dsingle_source_alloc.rs65 VERIFY_KERNEL(uchar)
193 STORE_TO_ALLOC(RS_TYPE_UNSIGNED_8, uchar);
215 LAUNCH_VERIFY_KERNEL(RS_TYPE_UNSIGNED_8, uchar);
459 TEST_HELPERS(uchar);
Dvload.rs50 COPY_2D(uchar)
Dvload_relaxed.rs52 COPY_2D(uchar)
Dkernel_input.rs143 SCALAR_TEST(uchar)
Dprimitives.rs32 uchar ucharTest = 8;
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelCounter.rs20 uchar MIN_ALPHA;
21 uchar MAX_ALPHA;
22 uchar MIN_RED;
23 uchar MAX_RED;
24 uchar MIN_GREEN;
25 uchar MAX_GREEN;
26 uchar MIN_BLUE;
27 uchar MAX_BLUE;
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_fast_d1new.rs129 uchar sharp_actual_depth = rsGetElementAt_uchar(g_sharp_actual_depth, index);
184 void __attribute__((kernel)) MarkLayerMaskPassInput(uchar in_sharp_actual_depth, uint32_t x) {
195 uchar sharp_actual_depth = rsGetElementAt_uchar(g_sharp_actual_depth, x - g_image_size_i4.s0);
251 uchar sharp_active = rsGetElementAt_uchar(g_sharp_active, index);
252 uchar sharp_dilated_depth = rsGetElementAt_uchar(g_sharp_dilated_depth, index);
256 uchar sharp_actual_depth = rsGetElementAt_uchar(g_sharp_actual_depth, index);
269 uchar __attribute__((kernel))
270 ComputeLayerMatteBehindFocalDepthPassInput(uchar in_sharp_dilated_depth, uint32_t x) {
271 uchar sharp_active = rsGetElementAt_uchar(g_sharp_active, x);
275 uchar sharp_actual_depth = rsGetElementAt_uchar(g_sharp_actual_depth, x);
[all …]
Dlayered_filter_d1new_helper.rsh41 static inline void Alloc_ComputeLayerMatteHelper(uchar sharp_input_actual_depth, int index_sharp_me…
60 const uchar sharp_active = rsGetElementAt_uchar(g_sharp_active, current_meta_index);
61 … const uchar sharp_actual_depth = rsGetElementAt_uchar(g_sharp_actual_depth, current_meta_index);
76 …rsSetElementAt_uchar(g_sharp_matte, (uchar)(dilation_radius + 1 - (int)(half_sqrt((float)min_dist)…
78 rsSetElementAt_uchar(g_sharp_dilated_depth, (uchar)depth, index_sharp_meta);
82 static inline uchar ComputeLayerMattePassInputHelper(uchar sharp_input_actual_depth, int index_shar…
101 const uchar sharp_active = rsGetElementAt_uchar(g_sharp_active, current_meta_index);
102 … const uchar sharp_actual_depth = rsGetElementAt_uchar(g_sharp_actual_depth, current_meta_index);
116 …rsSetElementAt_uchar(g_sharp_matte, (uchar)(dilation_radius + 1 - (int)(half_sqrt((float)min_dist)…
118 return (uchar)depth;
[all …]
Dpixel_format_f32.rsh31 uchar actual_depth;
35 uchar active;
40 uchar matte;
46 uchar dilated_depth;
/cts/tests/camera/src/android/hardware/camera2/cts/
Dcrop_yuvf_420_to_yuvx_444.rs29 uchar py = rsGetElementAtYuv_uchar_Y(mInput, x + src_x, y + src_y);
30 uchar pu = rsGetElementAtYuv_uchar_U(mInput, x + src_x, y + src_y);
31 uchar pv = rsGetElementAtYuv_uchar_V(mInput, x + src_x, y + src_y);
Dmeans_yuvx_444_2d_to_1d.rs38 uchar py = rsGetElementAtYuv_uchar_Y(mInput, src_x + i, src_y + x);
39 uchar pu = rsGetElementAtYuv_uchar_U(mInput, src_x + i, src_y + x);
40 uchar pv = rsGetElementAtYuv_uchar_V(mInput, src_x + i, src_y + x);
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestClamp.rs91 uchar __attribute__((kernel)) testClampUcharUcharUcharUchar(uchar inValue, unsigned int x) {
92 uchar inMinValue = rsGetElementAt_uchar(gAllocInMinValue, x);
93 uchar inMaxValue = rsGetElementAt_uchar(gAllocInMaxValue, x);
278 uchar inMinValue = rsGetElementAt_uchar(gAllocInMinValue, x);
279 uchar inMaxValue = rsGetElementAt_uchar(gAllocInMaxValue, x);
284 uchar inMinValue = rsGetElementAt_uchar(gAllocInMinValue, x);
285 uchar inMaxValue = rsGetElementAt_uchar(gAllocInMaxValue, x);
290 uchar inMinValue = rsGetElementAt_uchar(gAllocInMinValue, x);
291 uchar inMaxValue = rsGetElementAt_uchar(gAllocInMaxValue, x);
DTestClz.rs39 uchar __attribute__((kernel)) testClzUcharUchar(uchar inValue) {
DTestAbs.rs23 uchar __attribute__((kernel)) testAbsCharUchar(char inV) {
DTestMin.rs114 uchar __attribute__((kernel)) testMinUcharUcharUchar(uchar inA, unsigned int x) {
115 uchar inB = rsGetElementAt_uchar(gAllocInB, x);
DTestMax.rs114 uchar __attribute__((kernel)) testMaxUcharUcharUchar(uchar inA, unsigned int x) {
115 uchar inB = rsGetElementAt_uchar(gAllocInB, x);
/cts/tests/tests/rscpp/librscpptest/
Dvector.rs12 MAKE_TEST(uchar)
Drs_jni_script.cpp139 typedef unsigned char uchar; typedef
175 TEST_VECTOR_INVOKE(uchar, UByte) in Java_android_cts_rscpp_RSScriptTest_testVector()
Dprimitives.rs16 uchar ucharTest = 8;
Dfe_all.rs4 void test_i8(const char *ain, uchar *aout) {

12