/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | dct.h | 36 const static unsigned char mask[8] = {0x7f, 0xbf, 0xdf, 0xef, 0xf7, 0xfb, 0xfd, 0xfe}; variable
|
H A D | dct.cpp | 46 Int mask; local 58 mask = 0x1FE; 62 k1 = mask & (tmp << 1); 65 k2 = mask & (tmp >> 7); 68 k3 = mask & (tmp >> 15); 71 k4 = mask & (tmp >> 23); 76 k5 = mask & (tmp << 1); 79 k6 = mask & (tmp >> 7); 82 k7 = mask & (tmp >> 15); 85 tmp = mask 274 Int mask; local 480 Int mask; local 660 Int mask; local 870 Int mask; local 1057 Int mask; local [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | BitUtils.java | 30 public static boolean maskedEquals(long a, long b, long mask) { argument 31 return (a & mask) == (b & mask); 34 public static boolean maskedEquals(byte a, byte b, byte mask) { argument 35 return (a & mask) == (b & mask); 38 public static boolean maskedEquals(byte[] a, byte[] b, @Nullable byte[] mask) { argument 41 if (mask == null) return Arrays.equals(a, b); 42 Preconditions.checkArgument(a.length == mask.length, "Mask must be of same size as inputs"); 43 for (int i = 0; i < mask 49 maskedEquals(UUID a, UUID b, @Nullable UUID mask) argument [all...] |
/frameworks/base/tools/aapt2/filter/ |
H A D | ConfigFilter.cpp | 79 const uint32_t mask = ConfigDescription::DefaultConfig().diff(config); local 80 if ((config_mask_ & mask) == 0) { 120 return matched_axis == (config_mask_ & mask);
|
/frameworks/rs/rsov/compiler/spirit/ |
H A D | word_stream_impl.cpp | 37 uint32_t mask = 0xFF; local 39 for (int i = 0; i < 4; i++, mask <<= 8) { 41 lastWord &= ~mask; 43 clear = ((lastWord & mask) == 0);
|
/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 100 uint32_t mask = mDefault.diff(config); local 101 if ((mConfigMask & mask) == 0) { 141 return matchedAxis == (mConfigMask & mask);
|
/frameworks/wilhelm/src/itf/ |
H A D | I3DGrouping.cpp | 43 unsigned mask = 1 << id; local 52 assert(oldGroup->mMemberMask & mask); 53 oldGroup->mMemberMask &= ~mask; 62 assert(!(newGroup->mMemberMask & mask)); 63 newGroup->mMemberMask |= mask; 111 unsigned mask = 1 << (InterfaceToIObject(thiz)->mInstanceID - 1); local 114 assert(group->mMemberMask & mask); 115 group->mMemberMask &= ~mask;
|
H A D | IMIDIMuteSolo.cpp | 31 SLuint16 mask = 1 << channel; local 34 thiz->mChannelMuteMask |= mask; 36 thiz->mChannelMuteMask &= ~mask; 55 SLuint16 mask = thiz->mChannelMuteMask; local 57 *pMute = (mask >> channel) & 1; 74 SLuint16 mask = 1 << channel; local 77 thiz->mChannelSoloMask |= mask; 79 thiz->mChannelSoloMask &= ~mask; 98 SLuint16 mask = thiz->mChannelSoloMask; local 100 *pSolo = (mask >> channe 135 SLuint32 mask = 1 << track; local 159 SLuint32 mask = thiz->mTrackMuteMask; local 178 SLuint32 mask = 1 << track; interface_lock_exclusive(thiz); local 201 SLuint32 mask = thiz->mTrackSoloMask; local [all...] |
H A D | IMuteSolo.cpp | 41 SLuint8 mask = 1 << chan; local 44 ap->mMuteMask |= mask; 46 ap->mMuteMask &= ~mask; 81 SLuint8 mask = ap->mMuteMask; local 82 mute = (SLboolean) ((mask >> chan) & 1); 113 SLuint8 mask = 1 << chan; local 116 ap->mSoloMask |= mask; 118 ap->mSoloMask &= ~mask; 153 SLuint8 mask = ap->mSoloMask; local 154 solo = (SLboolean) ((mask >> cha [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | interface.c | 53 Word32 mask; local 83 /* generate grouping mask */ 84 mask = 0; 86 mask = mask << 1; 88 mask = mask << 1; 89 mask |= 1; 92 psyOutCh->groupingMask = mask;
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dec_alg_codebook.cpp | 87 #define NB_POS 16 /* pos in track, mask for sign bit */ 121 int32 mask, i; local 123 mask = ((1 << N) - 1); 127 pos1 = ((index & mask) + offset); 148 int32 mask, i; local 150 mask = (int32)(sub_int16(shl_int16(1, N), 1)); /* mask = ((1<<N)-1); */ 154 /* pos1 = (((index >> N) & mask) + offset); */ 155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); 158 pos2 = add_int16((int16)(index & mask), offse 195 int32 mask, idx; local 232 int32 mask, idx; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | q_pulse.c | 29 #define NB_POS 16 /* pos in track, mask for sign bit */ 35 Word16 mask; local 38 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ 42 index = L_deposit_l((Word16) (pos & mask)); 56 Word16 mask, tmp; local 58 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ 67 /* index = ((pos1 & mask) << N) + (pos2 & mask); */ [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_util.c | 86 u32 mask = 1 << (length - 1); local 92 while (mask && !(value & mask)) 95 mask >>= 1;
|
/frameworks/base/core/jni/ |
H A D | android_util_FileObserver.cpp | 82 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path); 101 static jint android_os_fileobserver_startWatching(JNIEnv* env, jobject object, jint fd, jstring pathString, jint mask) argument 111 res = inotify_add_watch(fd, path, mask);
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 116 uint32_t mask = 0; local 117 mask |= (exclude.left > left) ? 1 : 0; 118 mask |= (exclude.top > top) ? 2 : 0; 119 mask |= (exclude.right < right) ? 4 : 0; 120 mask |= (exclude.bottom < bottom) ? 8 : 0; 122 if (mask == 0) { 127 if (!(mask & (mask - 1))) { 129 if (mask & 1) { 131 } else if (mask [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | Row.java | 112 final void setFlags(int flags, int mask) { argument 113 mFlags = (mFlags & ~mask) | (flags & mask);
|
/frameworks/wilhelm/src/android/ |
H A D | channels.cpp | 24 * Return the default OpenSL ES output channel mask (as used in SLDataFormat_PCM.channelMask) 32 // FIXME channel mask is not yet implemented by Stagefright, so use a reasonable default 39 // see explanation in data.c re: default channel mask for mono 63 * Return the default OpenSL ES input channel mask (as used in SLDataFormat_PCM.channelMask) 88 * Get the number of active channels in an OpenSL ES channel mask. 93 SLuint32 sles_channel_count_from_mask(SLuint32 mask) { argument 95 = sles_to_audio_channel_mask_representation(mask); 98 mask &= SL_ANDROID_INDEXED_SPEAKER_MASK_ALL; 99 return popcount(mask); 101 mask 113 sles_to_audio_channel_mask_representation(SLuint32 mask) argument 163 sles_to_android_mask_helper( SLuint32 mask, const struct channel_map* map, unsigned int nMappings) argument 219 sles_to_audio_output_channel_mask(SLuint32 mask) argument 226 sles_to_audio_input_channel_mask(SLuint32 mask) argument 235 sles_is_channel_mask_valid(SLuint32 mask) argument [all...] |
/frameworks/av/include/media/stagefright/foundation/ |
H A D | Flagged.h | 33 * mask. _Flagged_helper::minMask<Flag> is provided to easily calculate a mask for a max value. 53 * provided automatically (flags are automatically shared if possible, e.g. mask is shifted 123 * Calculates the minimum mask required to cover a value. Used with the maximum enum value for 129 * \return mask that can be used that covers the maximum value. 156 * Determines whether mask can be combined with base-mask for a given left shift. 158 * \param mask desired mask 159 * \param baseMask mask use 168 canCombine( Flag mask, IntFlag baseMask, Flag sharedMask, int shift, int baseShift, IntFlag effectiveMask) argument 205 getShift( Flag mask, IntFlag baseMask, Flag sharedMask, int baseShift, IntFlag effectiveMask) argument 380 getFlagsHelper(IntFlag mask, int shift) const argument 393 setFlagsHelper(IntFlag mask, int shift, IntFlag flags) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | get_pred_adv_b_add.cpp | 194 uint32 mask; local 207 mask = 254; 208 mask |= (mask << 8); 209 mask |= (mask << 16); /* 0xFEFEFEFE */ 222 word1 &= mask; 223 word3 &= (~mask); /* 0x1010101, check last bit */ 224 word12 &= mask; 234 word2 &= mask; 523 uint32 mask; local 870 uint32 mask; local [all...] |
/frameworks/av/media/libstagefright/foundation/include/foundation/ |
H A D | Flagged.h | 33 * mask. _Flagged_helper::minMask<Flag> is provided to easily calculate a mask for a max value. 53 * provided automatically (flags are automatically shared if possible, e.g. mask is shifted 123 * Calculates the minimum mask required to cover a value. Used with the maximum enum value for 129 * \return mask that can be used that covers the maximum value. 156 * Determines whether mask can be combined with base-mask for a given left shift. 158 * \param mask desired mask 159 * \param baseMask mask use 168 canCombine( Flag mask, IntFlag baseMask, Flag sharedMask, int shift, int baseShift, IntFlag effectiveMask) argument 205 getShift( Flag mask, IntFlag baseMask, Flag sharedMask, int baseShift, IntFlag effectiveMask) argument 380 getFlagsHelper(IntFlag mask, int shift) const argument 393 setFlagsHelper(IntFlag mask, int shift, IntFlag flags) argument [all...] |
/frameworks/av/media/libstagefright/include/foundation/ |
H A D | Flagged.h | 33 * mask. _Flagged_helper::minMask<Flag> is provided to easily calculate a mask for a max value. 53 * provided automatically (flags are automatically shared if possible, e.g. mask is shifted 123 * Calculates the minimum mask required to cover a value. Used with the maximum enum value for 129 * \return mask that can be used that covers the maximum value. 156 * Determines whether mask can be combined with base-mask for a given left shift. 158 * \param mask desired mask 159 * \param baseMask mask use 168 canCombine( Flag mask, IntFlag baseMask, Flag sharedMask, int shift, int baseShift, IntFlag effectiveMask) argument 205 getShift( Flag mask, IntFlag baseMask, Flag sharedMask, int baseShift, IntFlag effectiveMask) argument 380 getFlagsHelper(IntFlag mask, int shift) const argument 393 setFlagsHelper(IntFlag mask, int shift, IntFlag flags) argument [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioGain.h | 34 void setChannelMask(audio_channel_mask_t mask) { mGain.channel_mask = mask; } argument
|
/frameworks/base/core/java/android/os/ |
H A D | FileObserver.java | 35 * <p>An event mask is used to specify which changes or actions to report. 37 * event mask as well as what actually happened in event callbacks.</p> 69 /** Event mask: All valid event types, combined */ 89 public int startWatching(String path, int mask, FileObserver observer) { argument 90 int wfd = startWatching(m_fd, path, mask); 106 public void onEvent(int wfd, int mask, String path) { argument 123 observer.onEvent(mask, path); 132 private native int startWatching(int fd, String path, int mask); argument 161 * @param mask The event or events (added together) to watch for 163 public FileObserver(String path, int mask) { argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | StateSet.java | 112 public static int[] get(int mask) { argument 113 if (mask >= VIEW_STATE_SETS.length) { 114 throw new IllegalArgumentException("Invalid state set mask"); 116 return VIEW_STATE_SETS[mask];
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | DisplayModifier.java | 41 protected int mask() { return 0x0; }; method in class: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() { retur [all...] |