/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | get_pred_adv_b_add.cpp | 194 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 …]
|
D | vlc_decode.cpp | 327 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 …]
|
D | vlc_dequant.cpp | 33 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/ |
D | motion_comp.cpp | 460 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 …]
|
D | dct.cpp | 46 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 …]
|
D | me_utils.cpp | 318 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/ |
D | IMIDIMuteSolo.c | 31 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 …]
|
D | I3DGrouping.c | 43 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()
|
D | IMuteSolo.c | 41 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/av/media/libstagefright/codecs/amrwb/src/ |
D | dec_alg_codebook.cpp | 121 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/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 424 int mask = (BluetoothReceiver.STATE_TURNING_ON_FLAG | BluetoothReceiver.STATE_ON_FLAG in enable() local 427 BluetoothReceiver receiver = getBluetoothReceiver(mask); in enable() 437 mask = 0; // Don't check for received intents since we might have missed them. in enable() 457 && (receiver.getFiredFlags() & mask) == mask) { in enable() 474 state, BluetoothAdapter.STATE_ON, firedFlags, mask)); in enable() 484 int mask = (BluetoothReceiver.STATE_TURNING_OFF_FLAG | BluetoothReceiver.STATE_OFF_FLAG in disable() local 487 BluetoothReceiver receiver = getBluetoothReceiver(mask); in disable() 506 mask = 0; // Don't check for received intents since we might have missed them. in disable() 517 && (receiver.getFiredFlags() & mask) == mask) { in disable() 534 state, BluetoothAdapter.STATE_OFF, firedFlags, mask)); in disable() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | interface.c | 53 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/cmds/system_server/ |
D | system_main.cpp | 35 sigset_t mask; in blockSignals() local 38 sigemptyset(&mask); in blockSignals() 39 sigaddset(&mask, SIGQUIT); in blockSignals() 40 sigaddset(&mask, SIGUSR1); in blockSignals() 41 cc = sigprocmask(SIG_BLOCK, &mask, NULL); in blockSignals()
|
/frameworks/base/core/java/android/os/ |
D | FileObserver.java | 91 public int startWatching(String path, int mask, FileObserver observer) { in startWatching() argument 92 int wfd = startWatching(m_fd, path, mask); in startWatching() 108 public void onEvent(int wfd, int mask, String path) { in onEvent() argument 125 observer.onEvent(mask, path); in onEvent() 134 private native int startWatching(int fd, String path, int mask); in startWatching() argument 165 public FileObserver(String path, int mask) { in FileObserver() argument 167 m_mask = mask; in FileObserver()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | IconLoader.java | 304 int mask = getMask(bitsPerImg); in parseToRGB() local 312 int clutEntry = ((currentByte >> bitIndex) & mask); in parseToRGB() 330 int mask = 0x00; in getMask() local 334 mask = 0x01; in getMask() 337 mask = 0x03; in getMask() 340 mask = 0x07; in getMask() 343 mask = 0x0F; in getMask() 346 mask = 0x1F; in getMask() 349 mask = 0x3F; in getMask() 352 mask = 0x7F; in getMask() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | q_pulse.c | 35 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/libvideoeditor/vss/src/ |
D | M4VD_Tools.c | 62 M4OSA_UInt32 temp_dest = 0, mask = 0, temp = 1; in M4VD_Tools_WriteBitsToMemory() local 73 mask |= (temp << ((7*(j+1))-i+j)); in M4VD_Tools_WriteBitsToMemory() 77 mask = ~mask; in M4VD_Tools_WriteBitsToMemory() 78 *dest_bits &= mask; in M4VD_Tools_WriteBitsToMemory()
|
/frameworks/native/libs/utils/ |
D | Unicode.cpp | 143 char32_t mask, to_ignore_mask; in utf32_at_internal() local 146 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0xFFFFFF80; in utf32_at_internal() 147 (first_char & mask); in utf32_at_internal() 148 num_to_read++, to_ignore_mask |= mask, mask >>= 1) { in utf32_at_internal() 152 to_ignore_mask |= mask; in utf32_at_internal() 379 int32_t mask, to_ignore_mask; in utf8_length() local 382 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0x80; in utf8_length() 383 num_to_read < 5 && (first_char & mask); in utf8_length() 384 num_to_read++, to_ignore_mask |= mask, mask >>= 1) { in utf8_length() 395 to_ignore_mask |= mask; in utf8_length() [all …]
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | DisplayModifier.java | 41 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/base/core/java/android/view/ |
D | WindowManager.java | 895 …@ViewDebug.FlagToString(mask = FLAG_ALLOW_LOCK_WHILE_SCREEN_ON, equals = FLAG_ALLOW_LOCK_WHILE_SCR… 897 @ViewDebug.FlagToString(mask = FLAG_DIM_BEHIND, equals = FLAG_DIM_BEHIND, 899 @ViewDebug.FlagToString(mask = FLAG_BLUR_BEHIND, equals = FLAG_BLUR_BEHIND, 901 @ViewDebug.FlagToString(mask = FLAG_NOT_FOCUSABLE, equals = FLAG_NOT_FOCUSABLE, 903 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCHABLE, equals = FLAG_NOT_TOUCHABLE, 905 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCH_MODAL, equals = FLAG_NOT_TOUCH_MODAL, 907 … @ViewDebug.FlagToString(mask = FLAG_TOUCHABLE_WHEN_WAKING, equals = FLAG_TOUCHABLE_WHEN_WAKING, 909 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON, 911 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_IN_SCREEN, equals = FLAG_LAYOUT_IN_SCREEN, 913 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_NO_LIMITS, equals = FLAG_LAYOUT_NO_LIMITS, [all …]
|
/frameworks/av/media/libeffects/downmix/ |
D | EffectDownmix.c | 101 void Downmix_testIndexComputation(uint32_t mask) { in Downmix_testIndexComputation() argument 102 ALOGI("Testing index computation for 0x%x:", mask); in Downmix_testIndexComputation() 104 if (mask & kUnsupported) { in Downmix_testIndexComputation() 109 if ((mask & AUDIO_CHANNEL_OUT_STEREO) != AUDIO_CHANNEL_OUT_STEREO) { in Downmix_testIndexComputation() 115 if ((mask & kSides) != 0) { in Downmix_testIndexComputation() 116 if ((mask & kSides) != kSides) { in Downmix_testIndexComputation() 124 if ((mask & kBacks) != 0) { in Downmix_testIndexComputation() 125 if ((mask & kBacks) != kBacks) { in Downmix_testIndexComputation() 132 const int numChan = popcount(mask); in Downmix_testIndexComputation() 133 const bool hasFC = ((mask & AUDIO_CHANNEL_OUT_FRONT_CENTER) == AUDIO_CHANNEL_OUT_FRONT_CENTER); in Downmix_testIndexComputation() [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
D | armVCM4P10_TransformResidual4x4_s.s | 116 mask RN 14 label 332 LDR mask, =0xffff03ff ;// Used to mask the down shifted 6 bits 342 AND colOp00, mask, colOp00, ASR #6 343 AND colOp02, mask, colOp02, ASR #6 352 AND colOp10, mask, colOp10, ASR #6 353 AND colOp12, mask, colOp12, ASR #6 362 AND colOp20, mask, colOp20, ASR #6 363 AND colOp22, mask, colOp22, ASR #6 372 AND colOp30, mask, colOp30, ASR #6 373 AND colOp32, mask, colOp32, ASR #6
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_util.c | 86 u32 mask = 1 << (length - 1); in h264bsdCountLeadingZeros() local 92 while (mask && !(value & mask)) in h264bsdCountLeadingZeros() 95 mask >>= 1; in h264bsdCountLeadingZeros()
|
/frameworks/base/core/java/android/text/util/ |
D | Linkify.java | 204 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()
|
/frameworks/base/libs/androidfw/ |
D | Keyboard.cpp | 207 static int32_t setEphemeralMetaState(int32_t mask, bool down, int32_t oldMetaState) { in setEphemeralMetaState() argument 210 newMetaState = oldMetaState | mask; in setEphemeralMetaState() 213 ~(mask | AMETA_ALT_ON | AMETA_SHIFT_ON | AMETA_CTRL_ON | AMETA_META_ON); in setEphemeralMetaState() 234 static int32_t toggleLockedMetaState(int32_t mask, bool down, int32_t oldMetaState) { in toggleLockedMetaState() argument 238 return oldMetaState ^ mask; in toggleLockedMetaState() 243 int32_t mask; in updateMetaState() local
|