Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 137) sorted by relevance

123456

/frameworks/av/media/mtp/
DMtpProperty.cpp72 mDefaultValue.u.i8 = defaultValue; in MtpProperty()
75 mDefaultValue.u.u8 = defaultValue; in MtpProperty()
78 mDefaultValue.u.i16 = defaultValue; in MtpProperty()
81 mDefaultValue.u.u16 = defaultValue; in MtpProperty()
84 mDefaultValue.u.i32 = defaultValue; in MtpProperty()
87 mDefaultValue.u.u32 = defaultValue; in MtpProperty()
90 mDefaultValue.u.i64 = defaultValue; in MtpProperty()
93 mDefaultValue.u.u64 = defaultValue; in MtpProperty()
232 mMinimumValue.u.i8 = min; in setFormRange()
233 mMaximumValue.u.i8 = max; in setFormRange()
[all …]
/frameworks/av/media/libstagefright/webm/
DEbmlUtil.cpp32 uint32_t u = (i & -i) * 0x0450FBAF; in numberOfTrailingZeros32() local
33 return NTZ_TABLE[(u) >> 26]; in numberOfTrailingZeros32()
46 uint64_t _powerOf2(uint64_t u) { in _powerOf2() argument
47 uint64_t powerOf2 = highestOneBit(u); in _powerOf2()
52 int numberOfTrailingZeros(uint64_t u) { in numberOfTrailingZeros() argument
53 int32_t low = u; in numberOfTrailingZeros()
55 : 32 + numberOfTrailingZeros32((int32_t) (u >> 32)); in numberOfTrailingZeros()
73 uint64_t encodeUnsigned(uint64_t u) { in encodeUnsigned() argument
74 uint64_t powerOf2 = _powerOf2(u); in encodeUnsigned()
75 if (u + 1 == powerOf2 << 1) in encodeUnsigned()
[all …]
DEbmlUtil.h36 uint64_t encodeUnsigned(uint64_t u);
40 uint64_t encodeUnsigned(uint64_t u, int width);
43 int serializeCodedUnsigned(uint64_t u, uint8_t* bary);
46 int sizeOf(uint64_t u);
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp125 } u; member
224 key.u.inType = RS_TYPE_FLOAT_32; in computeKey()
225 rsAssert(key.u.inType == RS_TYPE_FLOAT_32); in computeKey()
229 key.u.outType = RS_TYPE_FLOAT_32; in computeKey()
230 rsAssert(key.u.outType == RS_TYPE_FLOAT_32); in computeKey()
238 key.u.coeffMask |= 1 << i; in computeKey()
241 if (fabs(fpa[0]) != 0.f) key.u.addMask |= 0x1; in computeKey()
242 if (fabs(fpa[1]) != 0.f) key.u.addMask |= 0x2; in computeKey()
243 if (fabs(fpa[2]) != 0.f) key.u.addMask |= 0x4; in computeKey()
244 if (fabs(fpa[3]) != 0.f) key.u.addMask |= 0x8; in computeKey()
[all …]
DrsCpuIntrinsicYuvToRGB.cpp66 static uchar4 rsYuvToRGBA_uchar4(uchar y, uchar u, uchar v) { in rsYuvToRGBA_uchar4() argument
68 short U = ((short)u) - 128; in rsYuvToRGBA_uchar4()
102 extern "C" void rsdIntrinsicYuv2_K(void *dst, const uchar *Y, const uchar *u, const uchar *v, size_…
134 const uchar *u = pinU + ((p->y >> 1) * strideU); in kernel() local
151 u = v + 1; in kernel()
160 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); in kernel()
169 rsdIntrinsicYuv2_K(p->out, Y, u, v, x1, x2); in kernel()
174 intptr_t ipu = (intptr_t)u; in kernel()
182 rsdIntrinsicYuvR_K(p->out, Y, u, x1, x2); in kernel()
194 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); in kernel()
[all …]
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp79 delete item->u.stringValue; in freeItemValue()
87 if (item->u.refValue != NULL) { in freeItemValue()
88 item->u.refValue->decStrong(this); in freeItemValue()
203 item->u.FIELDNAME = value; \
209 *value = item->u.FIELDNAME; \
228 item->u.stringValue = new AString(s, len < 0 ? strlen(s) : len); in BASIC_TYPE()
242 item->u.refValue = obj.get(); in setObjectInternal()
258 item->u.refValue = obj.get(); in setMessage()
267 item->u.rectValue.mLeft = left; in setRect()
268 item->u.rectValue.mTop = top; in setRect()
[all …]
/frameworks/base/libs/hwui/
DMatrix.h131 void loadMultiply(const Matrix4& u, const Matrix4& v);
138 Matrix4 u; in multiply() local
139 u.loadMultiply(*this, v); in multiply()
140 load(u); in multiply()
156 Matrix4 u; variable
157 u.loadTranslate(x, y, z);
158 multiply(u);
171 Matrix4 u; in scale() local
172 u.loadScale(sx, sy, sz); in scale()
173 multiply(u); in scale()
[all …]
DVertex.h61 float u, v; member
63 static inline void set(TextureVertex* vertex, float x, float y, float u, float v) { in set()
66 vertex[0].u = u; in set()
70 static inline void setUV(TextureVertex* vertex, float u, float v) { in setUV()
71 vertex[0].u = u; in setUV()
83 float u, float v, int color) { in set()
84 TextureVertex::set(vertex, x, y, u, v); in set()
/frameworks/compile/slang/tests/F_vector_cast/
Dvector_cast.rs20 uchar4 u;
21 u = (uchar4) c;
24 uchar4 bar(uchar4 u) {
25 return u;
30 uchar4 u;
31 u = bar((uchar4) c);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
DomxVCM4P2_DCT8x8blk.c53 OMX_INT x, y, u, v; in omxVCM4P2_DCT8x8blk() local
62 for (u = 0; u < 8; u++) in omxVCM4P2_DCT8x8blk()
72 armVCM4P2_preCalcDCTCos[x][u] * in omxVCM4P2_DCT8x8blk()
76 pDst[(u * 8) + v]= armRoundFloatToS16 (sum); in omxVCM4P2_DCT8x8blk()
DomxVCM4P2_IDCT8x8blk.c55 OMX_INT x, y, u, v; in omxVCM4P2_IDCT8x8blk() local
68 for (u = 0; u < 8; u++) in omxVCM4P2_IDCT8x8blk()
72 sum += pSrc[(u * 8) + v] * in omxVCM4P2_IDCT8x8blk()
73 armVCM4P2_preCalcDCTCos[x][u] * in omxVCM4P2_IDCT8x8blk()
/frameworks/av/media/libmedia/
DAudioTrackShared.cpp32 memset(&u, 0, sizeof(u)); in audio_track_cblk_t()
127 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); in obtainBuffer()
128 rear = cblk->u.mStreaming.mRear; in obtainBuffer()
131 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in obtainBuffer()
132 front = cblk->u.mStreaming.mFront; in obtainBuffer()
146 cblk->u.mStreaming.mFront = rear; in obtainBuffer()
292 int32_t rear = cblk->u.mStreaming.mRear; in releaseBuffer()
293 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear); in releaseBuffer()
295 int32_t front = cblk->u.mStreaming.mFront; in releaseBuffer()
296 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront); in releaseBuffer()
[all …]
/frameworks/native/include/ui/
Dvec3.h97 tvec3 __attribute__((pure)) cross(const tvec3& u, const tvec3<RT>& v) { in cross() argument
99 u.y*v.z - u.z*v.y, in cross()
100 u.z*v.x - u.x*v.z, in cross()
101 u.x*v.y - u.y*v.x); in cross()
/frameworks/base/tests/LegacyRestoreTest/
Dkk-fixed-encrypted-settings-abcd.ab14 Y?^[��S�|�+�����u��H!�D���F�o�7�_-�p�
17 …\���xe0u�e��dZ�ۅ��V��� >I����N��<��?�q�R}b�O �JK�>��}�K�D�����+�2Z��0�����ic#"u�����8 ��m��
21 …�����N���5:�MM�e�`��$�|��3��[c�g�lK7��Q~��3�.;ݒ�����aX������ĈL*�Č�F��[u(��+ڛ���x��f�i����b-…
22 +� �-��i���F��u휴�%����mc�tke�}{�#4�;3H�{�;3�n�v�h��0�28 1d\�,�ڑ�2�;
23u�Y�Z������_�=��u�h��J��*.��k���YM�q���v'�.�6b>��>}���b;��5����{uo���ۻ^�_��S�QV�lDf �*…
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dcolorspace.cpp46 static inline Rgba convertYuvToRgba(int32 y, int32 u, int32 v) { in convertYuvToRgba() argument
49 color.channel[kGreen] = clamp(y - static_cast<int>(0.344 * u + 0.714 * v)); in convertYuvToRgba()
50 color.channel[kBlue] = clamp(y + static_cast<int>(1.772 * u)); in convertYuvToRgba()
73 int u, v, y1, y2, y3, y4; in JNI_COLORSPACE_METHOD() local
80 u = *pInU - 128; in JNI_COLORSPACE_METHOD()
83 pOutColor[0] = convertYuvToRgba(y1, u, v); in JNI_COLORSPACE_METHOD()
84 pOutColor[1] = convertYuvToRgba(y2, u, v); in JNI_COLORSPACE_METHOD()
85 pOutColor[width] = convertYuvToRgba(y3, u, v); in JNI_COLORSPACE_METHOD()
86 pOutColor[width + 1] = convertYuvToRgba(y4, u, v); in JNI_COLORSPACE_METHOD()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java410 Uid u = uidStats.valueAt(iu); in processAppUsage() local
415 Map<String, ? extends BatteryStats.Uid.Proc> processStats = u.getProcessStats(); in processAppUsage()
441 if (DEBUG && ratio != 0) Log.d(TAG, "UID " + u.getUid() + ": CPU step #" in processAppUsage()
472 Map<String, ? extends BatteryStats.Uid.Wakelock> wakelockStats = u.getWakelockStats(); in processAppUsage()
489 if (DEBUG && p != 0) Log.d(TAG, "UID " + u.getUid() + ": wake " in processAppUsage()
494 final long mobileRx = u.getNetworkActivityPackets(NETWORK_MOBILE_RX_DATA, mStatsType); in processAppUsage()
495 final long mobileTx = u.getNetworkActivityPackets(NETWORK_MOBILE_TX_DATA, mStatsType); in processAppUsage()
496 final long mobileRxB = u.getNetworkActivityBytes(NETWORK_MOBILE_RX_DATA, mStatsType); in processAppUsage()
497 final long mobileTxB = u.getNetworkActivityBytes(NETWORK_MOBILE_TX_DATA, mStatsType); in processAppUsage()
498 final long mobileActive = u.getMobileRadioActiveTime(mStatsType); in processAppUsage()
[all …]
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp157 signed u = (signed)src_ptr[2 * x] - 128; in convertCbYCrY() local
160 signed u_b = u * 517; in convertCbYCrY()
161 signed u_g = -u * 100; in convertCbYCrY()
245 signed u = (signed)src_u[x / 2] - 128; in convertYUV420Planar() local
248 signed u_b = u * 517; in convertYUV420Planar()
249 signed u_g = -u * 100; in convertYUV420Planar()
318 signed u = (signed)src_u[x & ~1] - 128; in convertQCOMYUV420SemiPlanar() local
321 signed u_b = u * 517; in convertQCOMYUV420SemiPlanar()
322 signed u_g = -u * 100; in convertQCOMYUV420SemiPlanar()
393 signed u = (signed)src_u[(x & ~1) + 1] - 128; in convertYUV420SemiPlanar() local
[all …]
/frameworks/base/core/java/android/content/
DDefaultDataHandler.java128 Uri u = mContentResolver.insert(mUris.lastElement(), mValues); in insertRow() local
130 return u; in insertRow()
176 Uri u = Uri.parse(atts.getValue(URI_STR)); in startElement() local
177 if (u == null) { in startElement()
187 mContentResolver.delete(u, atts.getValue(1), selectionArgs); in startElement()
189 mContentResolver.delete(u, atts.getValue(1), null); in startElement()
191 mContentResolver.delete(u, null, null); in startElement()
/frameworks/av/include/media/stagefright/
DMetaData.h257 } u; member
260 return mSize <= sizeof(u.reservoir); in usesReservoir()
267 return usesReservoir() ? &u.reservoir : u.ext_data; in storage()
271 return usesReservoir() ? &u.reservoir : u.ext_data; in storage()
/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp65 Poly_vert *u; in poly_clip_to_halfspace() local
71 u = &p->vert[p->n-1]; in poly_clip_to_halfspace()
72 tu = sign*COORD(u, index) - u->sw*k; in poly_clip_to_halfspace()
73 for (v= &p->vert[0], i=p->n; i>0; i--, u=v, tu=tv, v++) { in poly_clip_to_halfspace()
80 up = (float *)u; in poly_clip_to_halfspace()
/frameworks/base/docs/html/tv/adt-1/
Dsafety.jd32 <p><u>Photosensitive Seizures</u></p>
39 consciousness, or convulsions. If you experience any of these symptoms, <u>stop gaming
40 immediately and consult your doctor</u>.
43 <p><u>Ergonomics</u></p>
47 feel pain, numbness, weakness, swelling, burning, cramping, or stiffness, <u>stop gaming
48 and consult your doctor</u>.
102 <p><u>Épilepsie photosensible</u></p>
110 symptômes, <u>cessez de jouer immédiatement et consultez votre médecin</u>.</p>
112 <p><u>Ergonomie</u></p>
118 la rigidité, <u>cessez de jouer immédiatement et consultez votre médecin</u>.</p>
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DQuotedPrintable.java53 int u = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable() local
55 if (u == -1 || l == -1) { in decodeQuotedPrintable()
58 buffer.write((char) ((u << 4) + l)); in decodeQuotedPrintable()
/frameworks/native/opengl/libagl/
Dfp.h82 } u; in fastexpf() local
86 u.r = 0.0f; in fastexpf()
88 u.r = INFINITY; in fastexpf()
93 u.i = e + kExponentBias; in fastexpf()
96 return u.r; in fastexpf()
Dtexture.cpp76 texture_unit_t& u(c->textures.tmu[i]); in validate_tmu() local
77 if (u.dirty) { in validate_tmu()
78 u.dirty = 0; in validate_tmu()
80 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in validate_tmu()
86 GGL_TEXTURE_WRAP_S, u.texture->wraps); in validate_tmu()
88 GGL_TEXTURE_WRAP_T, u.texture->wrapt); in validate_tmu()
90 GGL_TEXTURE_MIN_FILTER, u.texture->min_filter); in validate_tmu()
92 GGL_TEXTURE_MAG_FILTER, u.texture->mag_filter); in validate_tmu()
95 if (!u.texture->isComplete()) { in validate_tmu()
127 texture_unit_t& u(c->textures.tmu[i]); in ogles_lock_textures() local
[all …]
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp89 if ((*inputBuffers)[i].mID == msg.u.buffer_data.buffer) { in handleBufferMessage()
103 if ((*outputBuffers)[i].mID == msg.u.buffer_data.buffer) { in handleBufferMessage()
326 && msg.u.event_data.event == OMX_EventCmdComplete in testStateTransitions()
327 && msg.u.event_data.data1 == OMX_CommandStateSet in testStateTransitions()
328 && msg.u.event_data.data2 == OMX_StateIdle, in testStateTransitions()
339 && msg.u.event_data.event == OMX_EventCmdComplete in testStateTransitions()
340 && msg.u.event_data.data1 == OMX_CommandStateSet in testStateTransitions()
341 && msg.u.event_data.data2 == OMX_StateExecuting, in testStateTransitions()
359 && msg.u.event_data.event == OMX_EventCmdComplete in testStateTransitions()
360 && msg.u.event_data.data1 == OMX_CommandFlush in testStateTransitions()
[all …]

123456