/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
H A D | launchtestxyw.rs | 20 void root(uchar *v_out, uint32_t x, uint32_t y) {
|
H A D | launchtestxlw.rs | 23 void root(uchar *v_out, uint32_t x) {
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicYuvToRGB.cpp | 62 static uchar4 rsYuvToRGBA_uchar4(uchar y, uchar u, uchar v) { 105 extern "C" void rsdIntrinsicYuv_K(void *dst, const uchar *Y, const uchar *uv, uint32_t count, const short *param); 106 extern "C" void rsdIntrinsicYuv2_K(void *dst, const uchar *Y, const uchar *u, const uchar *v, uint32_t count, const short *param); 116 const uchar *pinY = (const uchar *)c [all...] |
H A D | rsCpuIntrinsicInlines.h | 19 typedef uint8_t uchar; typedef 26 typedef uchar uchar2 __attribute__((ext_vector_type(2))); 27 typedef uchar uchar3 __attribute__((ext_vector_type(3))); 28 typedef uchar uchar4 __attribute__((ext_vector_type(4))); 86 uchar4 f4 = {(uchar)i.x, (uchar)i.y, (uchar)i.z, (uchar)i.w}; 91 uchar4 f4 = {(uchar)i.x, (uchar) [all...] |
H A D | rsCpuIntrinsicLUT.cpp | 66 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr; 67 const uchar *tg = &tr[256]; 68 const uchar *tb = &tg[256]; 69 const uchar *ta = &tb[256];
|
H A D | rsCpuIntrinsicBlur.cpp | 116 const uchar *ptrIn, int iStride, const float* gPtr, int iradius) { 118 const uchar *pi = ptrIn + x*4; 134 const uchar *ptrIn, int iStride, const float* gPtr, int iradius) { 136 const uchar *pi = ptrIn + x; 155 const uchar *ptrIn, int iStride, const float* gPtr, int ct, 170 const uchar *pi = ptrIn; 188 const uchar *ptrIn, int iStride, const float* gPtr, int ct, int x1, int x2) { 193 const uchar *pi = ptrIn; 224 const uchar *pi = ptrIn; 256 static void OneHU1(const RsForEachStubParamStruct *p, uchar *ou [all...] |
H A D | rsCpuIntrinsicConvolve3x3.cpp | 90 uchar4 o = {(uchar)px.x, (uchar)px.y, (uchar)px.z, (uchar)px.w}; 103 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
|
H A D | rsCpuIntrinsicConvolve5x5.cpp | 111 uchar4 o = {(uchar)px.x, (uchar)px.y, (uchar)px.z, (uchar)px.w}; 131 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
|
H A D | rsCpuIntrinsic3DLUT.cpp | 70 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; 111 const uchar *bp2 = bp + (coord1.x * 4) + (coord1.y * stride_y) + (coord1.z * stride_z);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | greyscale.fs | 28 uchar __attribute__((kernel)) toU8(uchar4 v_in) { 30 return (uchar)dot(f4.rgb, gMonoMult); 33 uchar4 __attribute__((kernel)) toU8_4(uchar v_in) {
|
H A D | grain.fs | 19 uchar __attribute__((kernel)) genRand() { 20 return (uchar)rsRand(0xff); 43 uchar __attribute__((kernel)) blend9(uint32_t x, uint32_t y) { 71 return (uchar)p20;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | greyscale.fs | 28 uchar __attribute__((kernel)) toU8(uchar4 v_in) { 30 return (uchar)dot(f4.rgb, gMonoMult); 33 uchar4 __attribute__((kernel)) toU8_4(uchar v_in) {
|
H A D | grain.fs | 19 uchar __attribute__((kernel)) genRand() { 20 return (uchar)rsRand(0xff); 43 uchar __attribute__((kernel)) blend9(uint32_t x, uint32_t y) { 71 return (uchar)p20;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | greyscale.fs | 28 uchar __attribute__((kernel)) toU8(uchar4 v_in) { 30 return (uchar)dot(f4.rgb, gMonoMult); 33 uchar4 __attribute__((kernel)) toU8_4(uchar v_in) {
|
H A D | grain.fs | 19 uchar __attribute__((kernel)) genRand() { 20 return (uchar)rsRand(0xff); 43 uchar __attribute__((kernel)) blend9(uint32_t x, uint32_t y) { 71 return (uchar)p20;
|
/frameworks/rs/scriptc/ |
H A D | rs_math.rsh | 84 _RS_RUNTIME uchar __attribute__((overloadable, always_inline)) rsClamp(uchar amount, uchar low, uchar high); 247 _RS_RUNTIME uchar4 __attribute__((overloadable)) rsYuvToRGBA_uchar4(uchar y, uchar u, uchar v); 248 _RS_RUNTIME float4 __attribute__((overloadable)) rsYuvToRGBA_float4(uchar y, uchar u, uchar [all...] |
H A D | rs_types.rsh | 28 * 8 bit: uchar, uint8_t 95 typedef uint8_t uchar; 225 * Vector version of the basic uchar type. Provides two uchar fields packed 228 typedef uchar uchar2 __attribute__((ext_vector_type(2))); 230 * Vector version of the basic uchar type. Provides three uchar fields packed 233 typedef uchar uchar3 __attribute__((ext_vector_type(3))); 235 * Vector version of the basic uchar type. Provides four uchar field [all...] |
H A D | rs_allocation.rsh | 178 GET_ELEMENT_AT(uchar) 313 SET_ELEMENT_AT(uchar) 356 extern const uchar __attribute__((overloadable)) 364 extern const uchar __attribute__((overloadable)) 372 extern const uchar __attribute__((overloadable))
|
H A D | rs_cl.rsh | 36 #define CVT_FUNC(type) CVT_FUNC_2(type, uchar) \ 47 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 54 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 56 CVT_FUNC(uchar) 61 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 68 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 75 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 82 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 89 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 761 XN_FUNC_YN(uchar, fn [all...] |
/frameworks/compile/libbcc/lib/Renderscript/runtime/arch/ |
H A D | generic.c | 312 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { 569 extern uchar __attribute__((overloadable)) min(uchar v1, uchar v2) { 713 extern uchar4 __attribute__((overloadable)) rsYuvToRGBA_uchar4(uchar y, uchar u, uchar v) { 733 extern float4 __attribute__((overloadable)) rsYuvToRGBA_float4(uchar [all...] |
H A D | x86_generic.c | 254 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { 511 extern uchar __attribute__((overloadable)) min(uchar v1, uchar v2) { 656 extern uchar4 __attribute__((overloadable)) rsYuvToRGBA_uchar4(uchar y, uchar u, uchar v) { 676 extern float4 __attribute__((overloadable)) rsYuvToRGBA_float4(uchar [all...] |
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_allocation.c | 212 ELEMENT_AT(uchar) 252 extern const uchar __attribute__((overloadable)) 257 extern const uchar __attribute__((overloadable)) 281 extern const uchar __attribute__((overloadable))
|
H A D | rs_cl.c | 670 XN_FUNC_YN(uchar, fnc, char) \ 675 XN_FUNC_YN(uchar, fnc, uchar) \ 714 XN_FUNC_XN_XN_BODY(uchar, fnc, body) \
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 68 typedef uint8_t uchar; typedef 744 ELEMENT_AT(uchar, RS_TYPE_UNSIGNED_8, 1)
|
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.cpp | 27 #include <unicode/uchar.h>
|