Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 202) sorted by relevance

123456789

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dget_pred_adv_b_add.cpp194 uint32 mask; in GetPredAdvancedBy0x1() local
207 mask = 254; in GetPredAdvancedBy0x1()
208 mask |= (mask << 8); in GetPredAdvancedBy0x1()
209 mask |= (mask << 16); /* 0xFEFEFEFE */ in GetPredAdvancedBy0x1()
222 word1 &= mask; in GetPredAdvancedBy0x1()
223 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvancedBy0x1()
224 word12 &= mask; in GetPredAdvancedBy0x1()
234 word2 &= mask; in GetPredAdvancedBy0x1()
235 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvancedBy0x1()
236 word12 &= mask; in GetPredAdvancedBy0x1()
[all …]
Dvlc_decode.cpp327 int mask = (half_range << 1) - 1; in PV_DeScaleMVD() local
346 *vector = (MOT)((*vector + half_range) & mask) - half_range; in PV_DeScaleMVD()
1473 uint code, mask; in RvlcDecTCOEFInter() local
1477 mask = 0x4000; /* mask 100000000000000 */ in RvlcDecTCOEFInter()
1499 if (code & mask) in RvlcDecTCOEFInter()
1502 while (mask && count > 0) /* fix 3/28/01 */ in RvlcDecTCOEFInter()
1504 mask = mask >> 1; in RvlcDecTCOEFInter()
1505 if (code & mask) in RvlcDecTCOEFInter()
1515 while (mask && count > 0) /* fix 3/28/01 */ in RvlcDecTCOEFInter()
1517 mask = mask >> 1; in RvlcDecTCOEFInter()
[all …]
Dvlc_dequant.cpp33 static const uint8 mask[8] = /* for fast bitmap */ variable
155 bitmapcol[k&0x7] |= mask[k>>3]; in VlcDequantMpegIntraBlock()
200 bitmapcol[0] |= mask[k>>3]; in VlcDequantMpegIntraBlock()
266 bitmapcol[0] |= mask[k>>3]; in VlcDequantMpegIntraBlock()
321 bitmapcol[0] |= mask[k>>3]; in VlcDequantMpegIntraBlock()
360 (*bitmaprow) |= mask[k]; in VlcDequantMpegIntraBlock()
457 bitmapcol[k&0x7] |= mask[k>>3]; in VlcDequantMpegInterBlock()
483 (*bitmaprow) |= mask[k]; in VlcDequantMpegInterBlock()
602 bitmapcol[k&0x7] |= mask[k>>3]; in VlcDequantH263IntraBlock()
650 bitmapcol[0] |= mask[k>>3]; in VlcDequantH263IntraBlock()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmotion_comp.cpp460 ULong mask; in GetPredAdvBy0x1() local
470 mask = 254; in GetPredAdvBy0x1()
471 mask |= (mask << 8); in GetPredAdvBy0x1()
472 mask |= (mask << 16); /* 0xFEFEFEFE */ in GetPredAdvBy0x1()
485 word1 &= mask; in GetPredAdvBy0x1()
486 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvBy0x1()
487 word12 &= mask; in GetPredAdvBy0x1()
497 word2 &= mask; in GetPredAdvBy0x1()
498 word3 &= (~mask); /* 0x1010101, check last bit */ in GetPredAdvBy0x1()
499 word12 &= mask; in GetPredAdvBy0x1()
[all …]
Ddct.cpp46 Int mask; in BlockDCT_AANwSub() local
58 mask = 0x1FE; in BlockDCT_AANwSub()
62 k1 = mask & (tmp << 1); in BlockDCT_AANwSub()
65 k2 = mask & (tmp >> 7); in BlockDCT_AANwSub()
68 k3 = mask & (tmp >> 15); in BlockDCT_AANwSub()
71 k4 = mask & (tmp >> 23); in BlockDCT_AANwSub()
76 k5 = mask & (tmp << 1); in BlockDCT_AANwSub()
79 k6 = mask & (tmp >> 7); in BlockDCT_AANwSub()
82 k7 = mask & (tmp >> 15); in BlockDCT_AANwSub()
85 tmp = mask & (tmp >> 23); in BlockDCT_AANwSub()
[all …]
Dme_utils.cpp318 Int tmp, tmp2, mask = 0x00FF00FF; in ComputeMBSum_C() local
326 tmp2 = tmp & mask; in ComputeMBSum_C()
327 tmp = (tmp >> 8) & mask; in ComputeMBSum_C()
331 tmp2 = tmp & mask; in ComputeMBSum_C()
332 tmp = (tmp >> 8) & mask; in ComputeMBSum_C()
336 tmp2 = tmp & mask; in ComputeMBSum_C()
337 tmp = (tmp >> 8) & mask; in ComputeMBSum_C()
342 tmp2 = tmp & mask; in ComputeMBSum_C()
343 tmp = (tmp >> 8) & mask; in ComputeMBSum_C()
348 tmp2 = tmp & mask; in ComputeMBSum_C()
[all …]
/frameworks/wilhelm/src/itf/
DIMIDIMuteSolo.c31 SLuint16 mask = 1 << channel; in IMIDIMuteSolo_SetChannelMute() local
34 thiz->mChannelMuteMask |= mask; in IMIDIMuteSolo_SetChannelMute()
36 thiz->mChannelMuteMask &= ~mask; in IMIDIMuteSolo_SetChannelMute()
55 SLuint16 mask = thiz->mChannelMuteMask; in IMIDIMuteSolo_GetChannelMute() local
57 *pMute = (mask >> channel) & 1; in IMIDIMuteSolo_GetChannelMute()
74 SLuint16 mask = 1 << channel; in IMIDIMuteSolo_SetChannelSolo() local
77 thiz->mChannelSoloMask |= mask; in IMIDIMuteSolo_SetChannelSolo()
79 thiz->mChannelSoloMask &= ~mask; in IMIDIMuteSolo_SetChannelSolo()
98 SLuint16 mask = thiz->mChannelSoloMask; in IMIDIMuteSolo_GetChannelSolo() local
100 *pSolo = (mask >> channel) & 1; in IMIDIMuteSolo_GetChannelSolo()
[all …]
DI3DGrouping.c43 unsigned mask = 1 << id; in I3DGrouping_Set3DGroup() local
52 assert(oldGroup->mMemberMask & mask); in I3DGrouping_Set3DGroup()
53 oldGroup->mMemberMask &= ~mask; in I3DGrouping_Set3DGroup()
62 assert(!(newGroup->mMemberMask & mask)); in I3DGrouping_Set3DGroup()
63 newGroup->mMemberMask |= mask; in I3DGrouping_Set3DGroup()
111 unsigned mask = 1 << (InterfaceToIObject(thiz)->mInstanceID - 1); in I3DGrouping_deinit() local
114 assert(group->mMemberMask & mask); in I3DGrouping_deinit()
115 group->mMemberMask &= ~mask; in I3DGrouping_deinit()
DIMuteSolo.c41 SLuint8 mask = 1 << chan; in IMuteSolo_SetChannelMute() local
44 ap->mMuteMask |= mask; in IMuteSolo_SetChannelMute()
46 ap->mMuteMask &= ~mask; in IMuteSolo_SetChannelMute()
81 SLuint8 mask = ap->mMuteMask; in IMuteSolo_GetChannelMute() local
82 mute = (SLboolean) ((mask >> chan) & 1); in IMuteSolo_GetChannelMute()
113 SLuint8 mask = 1 << chan; in IMuteSolo_SetChannelSolo() local
116 ap->mSoloMask |= mask; in IMuteSolo_SetChannelSolo()
118 ap->mSoloMask &= ~mask; in IMuteSolo_SetChannelSolo()
153 SLuint8 mask = ap->mSoloMask; in IMuteSolo_GetChannelSolo() local
154 solo = (SLboolean) ((mask >> chan) & 1); in IMuteSolo_GetChannelSolo()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java425 int mask = (BluetoothReceiver.STATE_TURNING_ON_FLAG | BluetoothReceiver.STATE_ON_FLAG in enable() local
428 BluetoothReceiver receiver = getBluetoothReceiver(mask); in enable()
438 mask = 0; // Don't check for received intents since we might have missed them. in enable()
458 && (receiver.getFiredFlags() & mask) == mask) { in enable()
475 state, BluetoothAdapter.STATE_ON, firedFlags, mask)); in enable()
485 int mask = (BluetoothReceiver.STATE_TURNING_OFF_FLAG | BluetoothReceiver.STATE_OFF_FLAG in disable() local
488 BluetoothReceiver receiver = getBluetoothReceiver(mask); in disable()
507 mask = 0; // Don't check for received intents since we might have missed them. in disable()
518 && (receiver.getFiredFlags() & mask) == mask) { in disable()
535 state, BluetoothAdapter.STATE_OFF, firedFlags, mask)); in disable()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Ddec_alg_codebook.cpp121 int32 mask, i; in dec_1p_N1() local
123 mask = ((1 << N) - 1); in dec_1p_N1()
127 pos1 = ((index & mask) + offset); in dec_1p_N1()
148 int32 mask, i; in dec_2p_2N1() local
150 mask = (int32)(sub_int16(shl_int16(1, N), 1)); /* mask = ((1<<N)-1); */ in dec_2p_2N1()
155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); in dec_2p_2N1()
158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */ in dec_2p_2N1()
195 int32 mask, idx; in dec_3p_3N1() local
202 mask = ((1 << ((2 * N) - 1)) - 1); in dec_3p_3N1()
204 idx = index & mask; in dec_3p_3N1()
[all …]
/frameworks/native/libs/ui/
DRect.cpp113 uint32_t mask = 0; in reduce() local
114 mask |= (exclude.left > left) ? 1 : 0; in reduce()
115 mask |= (exclude.top > top) ? 2 : 0; in reduce()
116 mask |= (exclude.right < right) ? 4 : 0; in reduce()
117 mask |= (exclude.bottom < bottom) ? 8 : 0; in reduce()
119 if (mask == 0) { in reduce()
124 if (!(mask & (mask - 1))) { in reduce()
126 if (mask & 1) { in reduce()
128 } else if (mask & 2) { in reduce()
130 } else if (mask & 4) { in reduce()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dinterface.c53 Word32 mask; in BuildInterface() local
84 mask = 0; in BuildInterface()
86 mask = mask << 1; in BuildInterface()
88 mask = mask << 1; in BuildInterface()
89 mask |= 1; in BuildInterface()
92 psyOutCh->groupingMask = mask; in BuildInterface()
/frameworks/base/core/java/android/os/
DFileObserver.java88 public int startWatching(String path, int mask, FileObserver observer) { in startWatching() argument
89 int wfd = startWatching(m_fd, path, mask); in startWatching()
105 public void onEvent(int wfd, int mask, String path) { in onEvent() argument
122 observer.onEvent(mask, path); in onEvent()
131 private native int startWatching(int fd, String path, int mask); in startWatching() argument
162 public FileObserver(String path, int mask) { in FileObserver() argument
164 m_mask = mask; in FileObserver()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DIconLoader.java309 int mask = getMask(bitsPerImg); in parseToRGB() local
317 int clutEntry = ((currentByte >> bitIndex) & mask); in parseToRGB()
335 int mask = 0x00; in getMask() local
339 mask = 0x01; in getMask()
342 mask = 0x03; in getMask()
345 mask = 0x07; in getMask()
348 mask = 0x0F; in getMask()
351 mask = 0x1F; in getMask()
354 mask = 0x3F; in getMask()
357 mask = 0x7F; in getMask()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dq_pulse.c35 Word16 mask; in quant_1p_N1() local
38 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ in quant_1p_N1()
42 index = L_deposit_l((Word16) (pos & mask)); in quant_1p_N1()
56 Word16 mask, tmp; in quant_2p_2N1() local
58 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ in quant_2p_2N1()
68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
72 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
82 if (vo_sub((Word16) (pos1 & mask), (Word16) (pos2 & mask)) <= 0) in quant_2p_2N1()
85 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
94 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
[all …]
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c90 void Downmix_testIndexComputation(uint32_t mask) { in Downmix_testIndexComputation() argument
91 ALOGI("Testing index computation for 0x%" PRIx32 ":", mask); in Downmix_testIndexComputation()
93 if (mask & kUnsupported) { in Downmix_testIndexComputation()
98 if ((mask & AUDIO_CHANNEL_OUT_STEREO) != AUDIO_CHANNEL_OUT_STEREO) { in Downmix_testIndexComputation()
104 if ((mask & kSides) != 0) { in Downmix_testIndexComputation()
105 if ((mask & kSides) != kSides) { in Downmix_testIndexComputation()
113 if ((mask & kBacks) != 0) { in Downmix_testIndexComputation()
114 if ((mask & kBacks) != kBacks) { in Downmix_testIndexComputation()
121 const int numChan = audio_channel_count_from_out_mask(mask); in Downmix_testIndexComputation()
122 const bool hasFC = ((mask & AUDIO_CHANNEL_OUT_FRONT_CENTER) == AUDIO_CHANNEL_OUT_FRONT_CENTER); in Downmix_testIndexComputation()
[all …]
/frameworks/base/core/java/android/view/
DWindowManager.java961 …@ViewDebug.FlagToString(mask = FLAG_ALLOW_LOCK_WHILE_SCREEN_ON, equals = FLAG_ALLOW_LOCK_WHILE_SCR…
963 @ViewDebug.FlagToString(mask = FLAG_DIM_BEHIND, equals = FLAG_DIM_BEHIND,
965 @ViewDebug.FlagToString(mask = FLAG_BLUR_BEHIND, equals = FLAG_BLUR_BEHIND,
967 @ViewDebug.FlagToString(mask = FLAG_NOT_FOCUSABLE, equals = FLAG_NOT_FOCUSABLE,
969 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCHABLE, equals = FLAG_NOT_TOUCHABLE,
971 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCH_MODAL, equals = FLAG_NOT_TOUCH_MODAL,
973 … @ViewDebug.FlagToString(mask = FLAG_TOUCHABLE_WHEN_WAKING, equals = FLAG_TOUCHABLE_WHEN_WAKING,
975 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON,
977 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_IN_SCREEN, equals = FLAG_LAYOUT_IN_SCREEN,
979 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_NO_LIMITS, equals = FLAG_LAYOUT_NO_LIMITS,
[all …]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DDisplayModifier.java41 protected int mask() { return 0x0; }; in mask() method in DisplayModifier
111 protected int mask() { return SWEEP_STROKE_WIDTH_BIT; }
120 protected int mask() { return SWEEP_STROKE_WIDTH_BIT; }
132 protected int mask() { return SWEEP_STROKE_WIDTH_BIT; }
168 protected int mask() { return SWEEP_STROKE_CAP_BIT; }
192 protected int mask() { return SWEEP_STROKE_JOIN_BIT; }
216 protected int mask() { return SWEEP_TRANSFORM_BIT; };
243 protected int mask() { return SWEEP_TRANSFORM_BIT; };
252 protected int mask() { return SWEEP_TRANSFORM_BIT; };
263 protected int mask() { return SWEEP_SHADER_BIT; };
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DarmVCM4P10_TransformResidual4x4_s.s130 mask RN 14 label
346 LDR mask, =0xffff03ff ;// Used to mask the down shifted 6 bits
356 AND colOp00, mask, colOp00, ASR #6
357 AND colOp02, mask, colOp02, ASR #6
366 AND colOp10, mask, colOp10, ASR #6
367 AND colOp12, mask, colOp12, ASR #6
376 AND colOp20, mask, colOp20, ASR #6
377 AND colOp22, mask, colOp22, ASR #6
386 AND colOp30, mask, colOp30, ASR #6
387 AND colOp32, mask, colOp32, ASR #6
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DChildHelper.java407 long mask = (1L << index) - 1; in insert() local
408 final long before = mData & mask; in insert()
409 final long after = ((mData & ~mask)) << 1; in insert()
428 long mask = (1L << index); in remove() local
429 final boolean value = (mData & mask) != 0; in remove()
430 mData &= ~mask; in remove()
431 mask = mask - 1; in remove()
432 final long before = mData & mask; in remove()
434 final long after = Long.rotateRight(mData & ~mask, 1); in remove()
/frameworks/native/libs/input/
DKeyboard.cpp170 static int32_t setEphemeralMetaState(int32_t mask, bool down, int32_t oldMetaState) { in setEphemeralMetaState() argument
173 newMetaState = oldMetaState | mask; in setEphemeralMetaState()
176 ~(mask | AMETA_ALT_ON | AMETA_SHIFT_ON | AMETA_CTRL_ON | AMETA_META_ON); in setEphemeralMetaState()
197 static int32_t toggleLockedMetaState(int32_t mask, bool down, int32_t oldMetaState) { in toggleLockedMetaState() argument
201 return oldMetaState ^ mask; in toggleLockedMetaState()
206 int32_t mask; in updateMetaState() local
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_util.c86 u32 mask = 1 << (length - 1); in h264bsdCountLeadingZeros() local
92 while (mask && !(value & mask)) in h264bsdCountLeadingZeros()
95 mask >>= 1; in h264bsdCountLeadingZeros()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DRow.java113 final void setFlags(int flags, int mask) { in setFlags() argument
114 mFlags = (mFlags & ~mask) | (flags & mask); in setFlags()
/frameworks/base/core/java/android/text/util/
DLinkify.java204 public static final boolean addLinks(Spannable text, int mask) { in addLinks() argument
205 if (mask == 0) { in addLinks()
217 if ((mask & WEB_URLS) != 0) { in addLinks()
223 if ((mask & EMAIL_ADDRESSES) != 0) { in addLinks()
229 if ((mask & PHONE_NUMBERS) != 0) { in addLinks()
233 if ((mask & MAP_ADDRESSES) != 0) { in addLinks()
256 public static final boolean addLinks(TextView text, int mask) { in addLinks() argument
257 if (mask == 0) { in addLinks()
264 if (addLinks((Spannable) t, mask)) { in addLinks()
273 if (addLinks(s, mask)) { in addLinks()

123456789