/frameworks/av/cmds/stagefright/filters/ |
argbtorgba.rs | 21 void root(const uchar4 *v_in, uchar4 *v_out) { 22 v_out->x = v_in->y; 23 v_out->y = v_in->z; 24 v_out->z = v_in->w; 25 v_out->w = v_in->x;
|
nightvision.rs | 25 void root(const uchar4 *v_in, uchar4 *v_out) { 26 v_out->x = v_in->x; // don't modify A 35 v_out->y = (uchar)clamp((result.r * 255.f + 0.5f), 0.f, 255.f); 36 v_out->z = (uchar)clamp((result.g * 255.f + 0.5f), 0.f, 255.f); 37 v_out->w = (uchar)clamp((result.b * 255.f + 0.5f), 0.f, 255.f);
|
saturation.rs | 26 void root(const uchar4 *v_in, uchar4 *v_out) { 27 v_out->x = v_in->x; // don't modify A 37 v_out->y = (uchar)clamp((result.r * 255.f + 0.5f), 0.f, 255.f); 38 v_out->z = (uchar)clamp((result.g * 255.f + 0.5f), 0.f, 255.f); 39 v_out->w = (uchar)clamp((result.b * 255.f + 0.5f), 0.f, 255.f);
|
/frameworks/rs/tests/cpp_api/latency/ |
latency.rs | 21 void root(const uint32_t *v_in, uint32_t *v_out) {
|
/frameworks/av/media/libstagefright/filters/ |
saturationARGB.rs | 26 void root(const uchar4 *v_in, uchar4 *v_out) { 27 v_out->x = v_in->x; // don't modify A 37 v_out->y = (uchar)clamp((result.r * 255.f + 0.5f), 0.f, 255.f); 38 v_out->z = (uchar)clamp((result.g * 255.f + 0.5f), 0.f, 255.f); 39 v_out->w = (uchar)clamp((result.b * 255.f + 0.5f), 0.f, 255.f);
|
/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/ |
mono.rs | 22 void root(const uchar4 *v_in, uchar4 *v_out) { 26 *v_out = rsPackColorTo8888(mono);
|
/frameworks/rs/tests/java_api/HelloComputeNDK/libhellocomputendk/ |
mono.rs | 22 void root(const uchar4 *v_in, uchar4 *v_out) { 26 *v_out = rsPackColorTo8888(mono);
|
/external/libevent/test/ |
regress_zlib.c | 135 struct evbuffer_iovec v_out[1]; local 152 evbuffer_reserve_space(dst, 4096, v_out, 1); 153 p->next_out = (unsigned char *)v_out[0].iov_base; 154 p->avail_out = v_out[0].iov_len; 161 nwrite = v_out[0].iov_len - p->avail_out; 164 v_out[0].iov_len = nwrite; 165 evbuffer_commit_space(dst, v_out, 1); 189 struct evbuffer_iovec v_out[1]; local 206 evbuffer_reserve_space(dst, 4096, v_out, 1); 207 p->next_out = (unsigned char *)v_out[0].iov_base [all...] |
/external/tensorflow/tensorflow/core/framework/ |
variant_op_registry_test.cc | 49 VariantValue* v_out) { 53 v_out->value = 1; // CPU 57 VariantValue* v_out) { 61 v_out->value = 2; // GPU 193 Variant v_out; local 200 TF_EXPECT_OK((*copy_to_gpu_fn)(v, &v_out, dummy_copy_fn)); 202 VariantValue* copied_value = v_out.get<VariantValue>(); 225 Variant v_out = VariantValue(); local 229 ZEROS_LIKE_VARIANT_UNARY_OP, v, &v_out); 237 null_context_pointer, ZEROS_LIKE_VARIANT_UNARY_OP, v, &v_out)); 250 Variant v_out = VariantValue(); local 296 Variant v_out = VariantValue(); local 322 Variant v_out = VariantValue(); local [all...] |
variant_op_registry.h | 266 // Sets *v_out = unary_op(v). The variant v must have a registered 272 // v_out is not null. 276 Variant* v_out) { 285 return (*unary_op_fn)(ctx, v, v_out); 409 Variant* v_out) -> Status { 410 DCHECK_NE(v_out, nullptr); 411 *v_out = T(); 418 T* t_out = v_out->get<T>();
|
/external/vixl/examples/aarch64/ |
neon-matrix-multiply.cc | 35 // __ Fmul(v<v_out>.V4S(), v4.V4S(), v<s_column>.S(), 0); 36 // __ Fmla(v<v_out>.V4S(), v5.V4S(), v<s_column>.S(), 1); 37 // __ Fmla(v<v_out>.V4S(), v6.V4S(), v<s_column>.S(), 2); 38 // __ Fmla(v<v_out>.V4S(), v7.V4S(), v<s_column>.S(), 3); 40 // v<v_out> corresponds to a column of the output matrix (v0, v1, v2 or v3). 46 // 'v_out' splits a Q register into 4 lanes of 32 bits each. 47 VRegister v_out = VRegister(out_column, kQRegSize, 4); local 51 __ Fmul(v_out, v4.V4S(), v_in, 0); // e.g. (v0.V4S(), v4.V4S(), v8.S(), 0). 52 __ Fmla(v_out, v5.V4S(), v_in, 1); 53 __ Fmla(v_out, v6.V4S(), v_in, 2) [all...] |
/frameworks/rs/tests/cpp_api/cppbasic/ |
mono.rs | 51 void root(const uchar4 *v_in, uchar4 *v_out) { 55 *v_out = rsPackColorTo8888(mono);
|
/frameworks/rs/tests/cpp_api/cppbasic-shared/ |
mono.rs | 51 void root(const uchar4 *v_in, uchar4 *v_out) { 55 *v_out = rsPackColorTo8888(mono);
|
/external/tensorflow/tensorflow/core/kernels/ |
aggregate_ops.cc | 200 Variant* v_out = &(out.scalar<Variant>()()); variable 204 ctx->input(1).scalar<Variant>()(), v_out)); 206 const Variant tmp = std::move(*v_out); 209 inp, tmp, v_out));
|
word2vec_kernels.cc | 313 // forward: x = v_in' * v_out 316 // dl/d(v_in) = g * v_out' 317 // dl/d(v_out) = v_in' * g 319 auto v_out = Tw_out.chip<0>(label); variable 320 auto dot = (v_in * v_out).sum(); 322 Tbuf = v_out * (g() * lr); 323 v_out += v_in * (g() * lr); 330 // dl/d(v_in) = g * v_out' 331 // dl/d(v_out) = v_in' * g
|
cwise_ops_common.h | 263 Variant v_out; variable 264 OP_REQUIRES_OK(ctx, UnaryOpVariant<Device>(ctx, OpEnum, v, &v_out)); 266 out.scalar<Variant>()() = std::move(v_out);
|
/external/tensorflow/tensorflow/core/common_runtime/ |
copy_tensor.cc | 89 Variant* v_out = copy.flat<Variant>().data(); local 93 VariantDeviceCopyDirection::HOST_TO_DEVICE, v[i], &v_out[i], copier); 147 Variant* v_out = copy.flat<Variant>().data(); local 151 VariantDeviceCopyDirection::DEVICE_TO_HOST, v[i], &v_out[i], copier); 211 Variant* v_out = copy.flat<Variant>().data(); local 216 &v_out[i], copier);
|
/external/clang/test/SemaCXX/ |
crashes.cpp | 139 cc_YCbCr v_out = cc_YCbCr( rgb()); local 140 return v_out;
|
/external/mesa3d/src/intel/blorp/ |
blorp_clear.c | 157 nir_variable *v_out = nir_variable_create(b.shader, nir_var_shader_out, local 159 v_out->data.location = VARYING_SLOT_VAR0 + i; 161 nir_copy_var(&b, v_out, a_in);
|
/external/webp/src/dec/ |
frame_dec.c | 181 uint8_t* const v_out = dec->cache_v_ + mb_x * 8 + uv_offset; local 187 memcpy(v_out + j * dec->cache_uv_stride_, v_dst + j * BPS, 8);
|
/external/brotli/c/enc/ |
brotli_bit_stream.c | 611 uint32_t* v_out) { 631 v_out[i] = (uint32_t)index; [all...] |
/external/libyuv/files/source/ |
row_msa.cc | 246 shf0, shf1, shf2, shf3, v_out, u_out) \ 271 v_out = (v16u8)__msa_pckod_b((v16i8)reg1_m, (v16i8)reg0_m); \ [all...] |