/frameworks/av/cmds/stagefright/filters/ |
H A D | argbtorgba.rs | 21 void root(const uchar4 *v_in, uchar4 *v_out) {
|
H A D | nightvision.rs | 25 void root(const uchar4 *v_in, uchar4 *v_out) {
|
H A D | saturation.rs | 26 void root(const uchar4 *v_in, uchar4 *v_out) {
|
/frameworks/av/media/libstagefright/filters/ |
H A D | saturationARGB.rs | 26 void root(const uchar4 *v_in, uchar4 *v_out) {
|
/frameworks/rs/api/ |
H A D | rs_convert.spec | 98 ret: uchar4 102 summary: Create a uchar4 RGBA from floats 104 Packs three or four floating point RGBA values into a uchar4. 119 ret: uchar4 129 ret: uchar4 136 ret: uchar4 147 arg: uchar4 c 148 summary: Create a float4 RGBA from uchar4 150 Unpacks a uchar4 color to float4. The resulting floats will be between 0.0 and 1.0 inclusive.
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic3DLUT.cpp | 66 uchar4 *out = (uchar4 *)info->outPtr[0]; 67 uchar4 *in = (uchar4 *)info->inPtr[0]; 110 const uchar4 *pt_00 = (const uchar4 *)&bp2[0]; 111 const uchar4 *pt_10 = (const uchar4 *)&bp2[stride_y]; 112 const uchar4 *pt_01 = (const uchar4 *) [all...] |
H A D | rsCpuIntrinsicBlend.cpp | 93 extern "C" int rsdIntrinsicBlend_K(uchar4 *out, uchar4 const *in, int slot, 117 // instep/outstep can be ignored--sizeof(uchar4) known at compile time 118 uchar4 *out = (uchar4 *)info->outPtr[0]; 119 uchar4 *in = (uchar4 *)info->inPtr[0];
|
H A D | rsCpuIntrinsicBlur.cpp | 125 const uchar4 *pvy = (const uchar4 *)&pi[validY * iStride]; 154 extern "C" void rsdIntrinsicBlurU4_K(uchar4 *out, uchar4 const *in, size_t w, size_t h, 185 float4 pf = convert_float4(((const uchar4 *)pi)[0]); 250 static void OneHU4(const RsExpandKernelDriverInfo *info, uchar4 *out, int32_t x, 295 uchar4 *out = (uchar4 *)info->outPtr[0]; 301 rsdIntrinsicBlurU4_K(out, (uchar4 const *)(pin + stride * info->current.y),
|
H A D | rsCpuIntrinsicColorMatrix.cpp | 803 f = convert_float4(((const uchar4 *)py)[0]); 806 f = convert_float4(((const uchar4 *)py)[0]); 867 ((uchar4 *)out)[0] = convert_uchar4(sum);
|
H A D | rsCpuIntrinsicConvolve3x3.cpp | 91 static void ConvolveOneU4(const RsExpandKernelDriverInfo *info, uint32_t x, uchar4 *out, 92 const uchar4 *py0, const uchar4 *py1, const uchar4 *py2, 109 uchar4 o = {(uchar)px.x, (uchar)px.y, (uchar)px.z, (uchar)px.w}; 200 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2); 201 const uchar4 *py1 = (const uchar4 *)(pin + stride * info->current.y); 202 const uchar4 *py [all...] |
H A D | rsCpuIntrinsicConvolve5x5.cpp | 89 static void OneU4(const RsExpandKernelDriverInfo *info, uint32_t x, uchar4 *out, 90 const uchar4 *py0, const uchar4 *py1, const uchar4 *py2, const uchar4 *py3, const uchar4 *py4, 366 const uchar4 *py0 = (const uchar4 *)(pin + stride * y0); 367 const uchar4 *py1 = (const uchar4 *)(pi [all...] |
H A D | rsCpuIntrinsicInlines.h | 28 typedef uchar uchar4 __attribute__((ext_vector_type(4))); typedef
|
H A D | rsCpuIntrinsicResize.cpp | 93 static uchar4 OneBiCubic(const uchar4 *yp0, const uchar4 *yp1, const uchar4 *yp2, const uchar4 *yp3, 190 uchar4 *dst, 194 uchar4 const *srcn, 195 uchar4 const *src0, 196 uchar4 const *src1, 197 uchar4 cons [all...] |
H A D | rsCpuIntrinsicYuvToRGB.cpp | 66 static uchar4 rsYuvToRGBA_uchar4(uchar y, uchar u, uchar v) { 95 return (uchar4){static_cast<uchar>(p.x), static_cast<uchar>(p.y), 126 uchar4 *out = (uchar4 *)info->outPtr[0] + xstart;
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 54 typedef unsigned char uchar4 __attribute__((ext_vector_type(4))); typedef 557 ELEMENT_AT(uchar4, RS_TYPE_UNSIGNED_8, 4) 1224 void rsDebug(const char *s, const uchar4 *c4) { 1225 uchar4 c = *c4;
|
/frameworks/rs/driver/runtime/arch/ |
H A D | generic.c | 21 extern uchar4 __attribute__((overloadable)) convert_uchar4(short4); 22 extern uchar4 __attribute__((overloadable)) convert_uchar4(float4); 23 extern float4 __attribute__((overloadable)) convert_float4(uchar4); 334 extern uchar4 __attribute__((overloadable)) max(uchar4 v1, uchar4 v2) { 335 uchar4 r; 535 extern uchar4 __attribute__((overloadable)) min(uchar4 v1, uchar4 v [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_allocation.c | 314 ELEMENT_AT(uchar4) 467 VOP(uchar4)
|
H A D | rs_core.c | 12 extern float4 __attribute__((overloadable)) convert_float4(uchar4 c); 16 extern float4 rsUnpackColor8888(uchar4 c) 255 PRIM_DEBUG(uchar4)
|
H A D | rs_matrix.c | 5 extern float4 __attribute__((overloadable)) convert_float4(uchar4 c);
|
H A D | rs_sample.c | 72 const uchar4 *p2 = (const uchar4 *)&p[x];
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | healing.rs | 91 float3 __attribute__((kernel)) convert_to_f(uchar4 in) { 99 uchar4 __attribute__((kernel)) convert_to_uc(float3 in) { 104 uchar4 __attribute__((kernel)) alphaMask(uchar4 in, uint32_t x, uint32_t y) { 106 return (uchar4){0, 0, 0, 0};
|
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/ |
H A D | mono.rs | 22 void root(const uchar4 *v_in, uchar4 *v_out) {
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | artistic1.rs | 41 uchar4 RS_KERNEL process(uchar4 in, uint32_t x, uint32_t y) { 59 uchar4 out = rsPackColorTo8888(v1);
|
H A D | bwfilter.rs | 41 void bwFilterKernel(const uchar4 *in, uchar4 *out) {
|
H A D | colorcube.rs | 37 uchar4 RS_KERNEL root(uchar4 in) { 65 uchar4 o = convert_uchar4(v2);
|