Home
last modified time | relevance | path

Searched refs:u16 (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/rs/toolkit/
DBlur_neon.S99 vmull.u16 q12, d28, d0[0]
101 vmull.u16 q13, d29, d0[0]
103 vmull.u16 q14, d30, d0[0]
105 vmull.u16 q15, d31, d0[0]
128 vmlal.u16 q12, d20, \dreg
130 vmlal.u16 q13, d21, \dreg
131 vmlal.u16 q14, d22, \dreg
132 vmlal.u16 q15, d23, \dreg
154 vmlal.u16 q12, d20, \dreg
156 vmlal.u16 q13, d21, \dreg
[all …]
DBlend_neon.S93 vrshrn.u16 d8, q0, #8
94 vrshrn.u16 d9, q12, #8
95 vrshrn.u16 d10, q1, #8
96 vrshrn.u16 d11, q13, #8
97 vrshrn.u16 d12, q2, #8
98 vrshrn.u16 d13, q14, #8
99 vrshrn.u16 d14, q3, #8
100 vrshrn.u16 d15, q15, #8
111 vrshrn.u16 d0, q0, #8
112 vrshrn.u16 d1, q12, #8
[all …]
DLut3d_neon.S64 vshll.u16 q8, d24, #8
65 vshll.u16 q9, d25, #8
66 vmlsl.u16 q8, d24, \zr0
67 vmlsl.u16 q9, d25, \zr0
68 vmlal.u16 q8, d28, \zr0
69 vmlal.u16 q9, d29, \zr0
74 vshll.u16 q8, d26, #8
75 vshll.u16 q9, d27, #8
76 vmlsl.u16 q8, d26, \zr1
77 vmlsl.u16 q9, d27, \zr1
[all …]
DYuvToRgb_neon.S49 vadd.u16 q2, q1, q7 // b0 = y0 * 149 + (u << 2)
50 vadd.u16 q6, q5, q7 // b1 = y1 * 149 + (u << 2)
57 vhadd.u16 q0, q11 // r0 = (r0 + r2) >> 1
58 vhadd.u16 q4, q11 // r1 = (r1 + r2) >> 1
59 vqadd.u16 q1, q14 // g0 = satu16(g0 + (-16 * 149 + 128 * 50 + 128 * 104) >> 0)
60 vqadd.u16 q5, q14 // g1 = satu16(g1 + (-16 * 149 + 128 * 50 + 128 * 104) >> 0)
61 vhadd.u16 q2, q12 // b0 = (b0 + b2) >> 1
62 vhadd.u16 q6, q12 // b1 = (b1 + b2) >> 1
64 … vqsub.u16 q0, q13 // r0 = satu16(r0 - (16 * 149 + (128 >> 1) + 128 * 204) >> 1)
65 … vqsub.u16 q4, q13 // r1 = satu16(r1 - (16 * 149 + (128 >> 1) + 128 * 204) >> 1)
[all …]
DColorMatrix_neon.S120 vmovl.u16 q3, d6
121 vmovl.u16 q2, d4
122 vmovl.u16 q1, d2
123 vmovl.u16 q0, d0
138 vmovl.u16 q2, d4
139 vmovl.u16 q1, d2
140 vmovl.u16 q0, d0
154 vmovl.u16 q1, d2
155 vmovl.u16 q0, d0
165 vmovl.u16 q0, d0
DResize_neon.S63 vmull.u16 q12, d18, d6[1]
64 vmull.u16 q13, d19, d6[1]
65 vmlsl.u16 q12, d16, d6[0]
66 vmlsl.u16 q13, d17, d6[0]
67 vmlal.u16 q12, d20, d6[2]
68 vmlal.u16 q13, d21, d6[2]
69 vmlsl.u16 q12, d22, d6[3]
70 vmlsl.u16 q13, d23, d6[3]
91 vmull.u16 q12, d18, d6[1]
92 vmlsl.u16 q12, d16, d6[0]
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_neon_Blur.S99 vmull.u16 q12, d28, d0[0]
101 vmull.u16 q13, d29, d0[0]
103 vmull.u16 q14, d30, d0[0]
105 vmull.u16 q15, d31, d0[0]
128 vmlal.u16 q12, d20, \dreg
130 vmlal.u16 q13, d21, \dreg
131 vmlal.u16 q14, d22, \dreg
132 vmlal.u16 q15, d23, \dreg
154 vmlal.u16 q12, d20, \dreg
156 vmlal.u16 q13, d21, \dreg
[all …]
DrsCpuIntrinsics_neon_Blend.S93 vrshrn.u16 d8, q0, #8
94 vrshrn.u16 d9, q12, #8
95 vrshrn.u16 d10, q1, #8
96 vrshrn.u16 d11, q13, #8
97 vrshrn.u16 d12, q2, #8
98 vrshrn.u16 d13, q14, #8
99 vrshrn.u16 d14, q3, #8
100 vrshrn.u16 d15, q15, #8
111 vrshrn.u16 d0, q0, #8
112 vrshrn.u16 d1, q12, #8
[all …]
DrsCpuIntrinsics_neon_3DLUT.S64 vshll.u16 q8, d24, #8
65 vshll.u16 q9, d25, #8
66 vmlsl.u16 q8, d24, \zr0
67 vmlsl.u16 q9, d25, \zr0
68 vmlal.u16 q8, d28, \zr0
69 vmlal.u16 q9, d29, \zr0
74 vshll.u16 q8, d26, #8
75 vshll.u16 q9, d27, #8
76 vmlsl.u16 q8, d26, \zr1
77 vmlsl.u16 q9, d27, \zr1
[all …]
DrsCpuIntrinsics_neon_YuvToRGB.S49 vadd.u16 q2, q1, q7 // b0 = y0 * 149 + (u << 2)
50 vadd.u16 q6, q5, q7 // b1 = y1 * 149 + (u << 2)
57 vhadd.u16 q0, q11 // r0 = (r0 + r2) >> 1
58 vhadd.u16 q4, q11 // r1 = (r1 + r2) >> 1
59 vqadd.u16 q1, q14 // g0 = satu16(g0 + (-16 * 149 + 128 * 50 + 128 * 104) >> 0)
60 vqadd.u16 q5, q14 // g1 = satu16(g1 + (-16 * 149 + 128 * 50 + 128 * 104) >> 0)
61 vhadd.u16 q2, q12 // b0 = (b0 + b2) >> 1
62 vhadd.u16 q6, q12 // b1 = (b1 + b2) >> 1
64 … vqsub.u16 q0, q13 // r0 = satu16(r0 - (16 * 149 + (128 >> 1) + 128 * 204) >> 1)
65 … vqsub.u16 q4, q13 // r1 = satu16(r1 - (16 * 149 + (128 >> 1) + 128 * 204) >> 1)
[all …]
DrsCpuIntrinsics_neon_ColorMatrix.S120 vmovl.u16 q3, d6
121 vmovl.u16 q2, d4
122 vmovl.u16 q1, d2
123 vmovl.u16 q0, d0
138 vmovl.u16 q2, d4
139 vmovl.u16 q1, d2
140 vmovl.u16 q0, d0
154 vmovl.u16 q1, d2
155 vmovl.u16 q0, d0
165 vmovl.u16 q0, d0
DrsCpuIntrinsics_neon_Resize.S63 vmull.u16 q12, d18, d6[1]
64 vmull.u16 q13, d19, d6[1]
65 vmlsl.u16 q12, d16, d6[0]
66 vmlsl.u16 q13, d17, d6[0]
67 vmlal.u16 q12, d20, d6[2]
68 vmlal.u16 q13, d21, d6[2]
69 vmlsl.u16 q12, d22, d6[3]
70 vmlsl.u16 q13, d23, d6[3]
91 vmull.u16 q12, d18, d6[1]
92 vmlsl.u16 q12, d16, d6[0]
[all …]
/frameworks/minikin/rust/
Dhyphenator.rs80 const CHAR_SOFT_HYPHEN: u16 = 0x00AD;
81 const CHAR_MIDDLE_DOT: u16 = 0x00B7;
82 const CHAR_HYPHEN_MINUS: u16 = 0x002D;
83 const CHAR_HYPHEN: u16 = 0x2010;
339 fn get_at(&self, c: u32) -> Option<u16>; in get_at() argument
344 alpha_codes: &mut [u16; MAX_HYPHEN_SIZE as usize], in lookup()
345 word: &[u16], argument
378 fn get_at(&self, offset: u32) -> Option<u16> { in get_at() argument
382 let code = self.data.bytes[(offset - self.min_codepoint) as usize + 12] as u16; in get_at()
422 fn get_at(&self, c: u32) -> Option<u16> { in get_at() argument
[all …]
Dminikin.rs40 fn hyphenate(hyphenator: &Hyphenator, word: &[u16], out: &mut [u8]); in hyphenate() argument
53 fn hyphenate(hyphenator: &Hyphenator, word: &[u16], out: &mut [u8]) { in hyphenate() argument
/frameworks/native/cmds/evemu-record/
Devdev.rs43 #[repr(u16)]
102 pub bus_type: u16,
103 pub vendor: u16,
104 pub product: u16,
105 pub version: u16,
122 pub type_: u16,
123 pub code: u16,
231 nix::request_code_read!(b'E', 0x20 + event_type as u16, buf.len()) in bitmap_for_event_type()
247 pub fn supported_axes_of_type(&self, event_type: EventType) -> nix::Result<Vec<u16>> { in supported_axes_of_type() argument
253 axes.push((i * 8 + j) as u16); in supported_axes_of_type()
[all …]
/frameworks/rs/script_api/
Drs_convert.spec28 t: u8, u16, u32, i8, i16, i32, f32
29 t: u8, u16, u32, i8, i16, i32, f32
61 t: u8, u16, u32, i8, i16, i32, f32
70 t: u8, u16, u32, i8, i16, i32, f32
81 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
90 t: u8, u16, u32, u64, i8, i16, i32, i64, f32, f64
Drs_allocation_create.spec174 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
189 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
203 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
217 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
230 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
243 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
Drs_debug.spec81 t: i8, u8, i16, u16
Drs_math.spec528 t: u8, u16, u32, u64, i8, i16, i32, i64
539 t: u8, u16, u32, u64, i8, i16, i32, i64
572 t: u8, u16, u32, i8, i16, i32
1521 t: i8, i16, i32, u8, u16, u32
1533 t: i8, i16, i32, u8, u16, u32
1548 t: i8, i16, i32, u8, u16, u32
1564 t: i8, i16, i32, u8, u16, u32
1581 t: i8, i16, i32, i64, u8, u16, u32, u64
1634 t: i8, i16, i32, u8, u16, u32
1646 t: i8, i16, i32, u8, u16, u32
[all …]
/frameworks/native/libs/input/rust/
Dlib.rs103 pub bus: u16,
104 pub vendor: u16,
105 pub product: u16,
106 pub version: u16,
/frameworks/native/libs/binder/rust/tests/
Dserialization.rs144 assert_eq!(parcel.read::<u16>()?, 0); in on_transact()
145 assert_eq!(parcel.read::<u16>()?, 1); in on_transact()
146 assert_eq!(parcel.read::<u16>()?, u16::max_value()); in on_transact()
148 assert_eq!(parcel.read::<Vec<u16>>()?, unsafe { bindings::TESTDATA_CHARS }); in on_transact()
149 assert_eq!(parcel.read::<Option<Vec<u16>>>()?, None); in on_transact()
153 reply.write(&u16::max_value())?; in on_transact()
156 reply.write(&(None as Option<Vec<u16>>))?; in on_transact()
/frameworks/av/media/mtp/
DMtpProperty.cpp85 mDefaultValue.u.u16 = defaultValue; in MtpProperty()
278 mMinimumValue.u.u16 = min; in setFormRange()
279 mMaximumValue.u.u16 = max; in setFormRange()
280 mStepSize.u.u16 = step; in setFormRange()
327 mEnumValues[i].u.u16 = value; in setFormEnum()
413 buffer += std::to_string(value.u.u16); in print()
466 if (!packet.getUInt16(value.u.u16)) return false; in readValue()
521 packet.putUInt16(value.u.u16); in writeValue()
DMtpProperty.h36 uint16_t u16; member
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/
Dread_utils.rs68 read_parcel_interface!(u16),
78 read_parcel_interface!(Vec<u16>),
87 read_parcel_interface!(Option<Vec<u16>>),
/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs467 impl Serialize for u16 = sys::AParcel_writeChar;
468 impl Deserialize for u16 = sys::AParcel_readChar;
469 impl SerializeArray for u16 = sys::AParcel_writeCharArray;
470 impl DeserializeArray for u16 = sys::AParcel_readCharArray;
551 (*self as u16).serialize(parcel) in serialize()
565 u16::deserialize(parcel).map(|v| v as i16) in deserialize()
580 slice.as_ptr() as *const u16, in serialize_array() constant
1336 let u16s = [u16::max_value(), 12_345, 42, 117]; in test_slice_parcelables()
1362 let vec = Vec::<u16>::deserialize(parcel.borrowed_ref()).unwrap(); in test_slice_parcelables()
1364 assert_eq!(vec, [u16::max_value(), 12_345, 42, 117]); in test_slice_parcelables()

12