Searched refs:half (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapsRectActivity.java57 final float half = mBitmap1.getHeight() / 2.0f;
58 mSrcRect = new Rect((int) fourth, (int) (half - half / 2.0f),
59 (int) (fourth + fourth), (int) (half + half / 2.0f));
60 mDstRect = new RectF(fourth, half - half / 2.0f, fourth + fourth, half + half / 2.0f);
61 mDstRect2 = new RectF(fourth, half
[all...]
/frameworks/rs/driver/runtime/
H A Drs_f16_math.c21 extern half __attribute__((overloadable)) copysign(half x, half y) {
31 extern half __attribute__((overloadable)) frexp(half x, int *eptr) {
33 static const half two12 = 4096;
58 extern int __attribute__((overloadable)) ilogb(half x) {
82 extern half __attribute__((overloadable)) modf(half x, half *ipt
[all...]
H A Drs_f16_util.h21 half hval;
25 /* half h = unsigned short s; */
33 /* unsigned short s = half h; */
H A Drs_convert.c41 CVT_FUNC_2(type, half) \
53 CVT_FUNC(half)
H A Drs_cl.c1684 * where HN is scalar or vector half type
1687 extern half __attribute__((overloadable)) fn(half h) { \
1688 return (half) fn((float) h); \
1702 * where HN is scalar or vector half type
1705 extern half __attribute__((overloadable)) fn(half h1, half h2) { \
1706 return (half) fn((float) h1, (float) h2); \
1722 * HN output = fn(HN input1, half input
[all...]
H A Dbuild_bc_lib_internal.mk33 bc_clang_cc1_cflags := -fnative-half-type -fallow-half-arguments-and-returns
H A Drs_core.c283 // Convert the half values to float before handing off to the driver. This
284 // eliminates the need in the driver to properly support the half datatype
285 // (either by adding compiler flags for half or link against compiler_rt).
289 extern void __attribute__((overloadable)) rsDebug(const char *s, half h) {
H A Drs_allocation.c181 ELEMENT_AT_IMPL_TYPE(half)
339 ELEMENT_AT(half)
/frameworks/rs/scriptc/
H A Drs_vector_math.rsh82 extern half __attribute__((const, overloadable))
83 distance(half left_vector, half right_vector);
87 extern half __attribute__((const, overloadable))
92 extern half __attribute__((const, overloadable))
97 extern half __attribute__((const, overloadable))
119 extern half __attribute__((const, overloadable))
120 dot(half left_vector, half right_vector);
124 extern half __attribute_
[all...]
H A Drs_math.rsh219 extern half __attribute__((const, overloadable))
220 acos(half v);
258 extern half __attribute__((const, overloadable))
259 acosh(half v);
299 extern half __attribute__((const, overloadable))
300 acospi(half v);
338 extern half __attribute__((const, overloadable))
339 asin(half v);
377 extern half __attribute__((const, overloadable))
378 asinh(half
[all...]
H A Drs_value_types.rsh29 * Floating point: half float double
95 * half: 16 bit floating point value
100 typedef __fp16 half;
106 * Vector version of the half float type. Provides two half fields packed
110 typedef half __attribute__((ext_vector_type(2))) half2;
116 * Vector version of the half float type. Provides three half fields packed
120 typedef half __attribute__((ext_vector_type(3))) half3;
126 * Vector version of the half floa
[all...]
H A Drs_debug.rsh144 rsDebug(const char* message, half a);
H A Drs_allocation_data.rsh2536 extern half __attribute__((overloadable))
2556 extern half __attribute__((overloadable))
2576 extern half __attribute__((overloadable))
3307 rsSetElementAt_half(rs_allocation a, half val, uint32_t x);
3327 rsSetElementAt_half(rs_allocation a, half val, uint32_t x, uint32_t y);
3347 rsSetElementAt_half(rs_allocation a, half val, uint32_t x, uint32_t y, uint32_t z);
/frameworks/rs/tests/cppf16/
H A Dcompute.cpp28 sp<const Element> half = Element::F16(rs); local
34 testAllocationCreation(rs, half, nDims);
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c66 frame_t half[HALF_FRAMES]; variable
165 half[i].left = sine[i].left;
166 half[i].right = sawtooth[i].right / 2;
197 buffer = half;
198 size = sizeof(half);
/frameworks/rs/api/
H A Drs_debug.spec74 arg: half#1 a
H A Drs_value_types.spec27 <tr><td>Floating point: </td> <td> </td> <td>half </td> <td>float </td> <td>double</td></tr>
89 type: half
99 simple: half
103 Vector version of the half float type. Provides two half fields packed
109 simple: half
113 Vector version of the half float type. Provides three half fields packed
119 simple: half
123 Vector version of the half floa
[all...]
H A Drs_math.spec1217 arg: half#1 v
1240 ret: half#1
1241 arg: half#1 mantissa
1259 ret: half#1
1260 arg: half#1 mantissa
1782 Returns a half-precision floating point NaN value (Not a Number).
2937 rint() rounds half values to even. For example, <code>rint(0.5f)</code> returns 0.f and
2990 round() rounds half values away from zero. For example, <code>round(0.5f)</code> returns 1.f
2994 @rint() is similar but rounds half values toward even. @trunc() truncates the decimal fraction.
/frameworks/rs/driver/runtime/arch/
H A Dclamp.c29 S_CLAMP(half); variable
94 V_CLAMP(half); variable
H A Dgeneric.c101 _CLAMP(half); variable
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp761 size_t half = mFrameCount / 2; local
762 if (half == 0) {
763 half = 1;
767 minimum = mIsOut ? half : 1;
768 } else if (minimum > half) {
769 minimum = half;
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp38 typedef __fp16 half; typedef
39 typedef half half2 __attribute__((ext_vector_type(2)));
40 typedef half half3 __attribute__((ext_vector_type(3)));
41 typedef half half4 __attribute__((ext_vector_type(4)));
582 ELEMENT_AT(half, RS_TYPE_FLOAT_16, 1)
1124 // Accept a half value converted to float. This eliminates the need in the
1125 // driver to properly support the half datatype (either by adding compiler flags
1126 // for half or link against compiler_rt).
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 1966 milliseconds