Searched defs:mask (Results 1 - 25 of 97) sorted by relevance

1234

/frameworks/base/cmds/system_server/
H A Dsystem_main.cpp35 sigset_t mask; local
38 sigemptyset(&mask);
39 sigaddset(&mask, SIGQUIT);
40 sigaddset(&mask, SIGUSR1);
41 cc = sigprocmask(SIG_BLOCK, &mask, NULL);
/frameworks/av/libvideoeditor/vss/src/
H A DM4VD_Tools.c62 M4OSA_UInt32 temp_dest = 0, mask = 0, temp = 1; local
73 mask |= (temp << ((7*(j+1))-i+j));
77 mask = ~mask;
78 *dest_bits &= mask;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddct.h36 const static unsigned char mask[8] = {0x7f, 0xbf, 0xdf, 0xef, 0xf7, 0xfb, 0xfd, 0xfe}; variable
H A Ddct.cpp46 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...]
H A Dfastcodemb.cpp537 UInt mask, sgn_msk = 0x80808080; local
542 mask = ~(0xFF00);
569 cur1 = cur1 & (mask << 8); /* mask first and third bytes */
572 cur2 = cur2 & (mask << 8); /* mask first and third bytes */
599 UInt mask = ~(0xFF00); local
608 load1 = load1 & (mask << 8); /* even bytes */
611 load2 = load2 & (mask << 8); /* even bytes */
H A Dme_utils.cpp318 Int tmp, tmp2, mask = 0x00FF00FF; local
326 tmp2 = tmp & mask;
327 tmp = (tmp >> 8) & mask;
331 tmp2 = tmp & mask;
332 tmp = (tmp >> 8) & mask;
336 tmp2 = tmp & mask;
337 tmp = (tmp >> 8) & mask;
342 tmp2 = tmp & mask;
343 tmp = (tmp >> 8) & mask;
348 tmp2 = tmp & mask;
[all...]
H A Dsad.cpp321 Int tmp, tmp2, tmp3, mask = 0xFF; local
335 tmp2 = (tmp3 >> 16) & mask;
338 tmp2 = (tmp3 >> 8) & mask;
341 tmp2 = tmp3 & mask;
349 tmp2 = (tmp3 >> 16) & mask;
352 tmp2 = (tmp3 >> 8) & mask;
356 tmp2 = tmp3 & mask;
/frameworks/wilhelm/src/itf/
H A DI3DGrouping.c43 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 DIMIDIMuteSolo.c31 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 DIMuteSolo.c41 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...]
H A DIDynamicInterfaceManagement.c238 unsigned mask = 1 << index; local
239 if (thisObject->mGottenMask & mask) {
240 thisObject->mGottenMask &= ~mask;
H A DIEffectSend.c68 unsigned mask = 1 << index; local
71 mask &= outputMix->mObject.mGottenMask;
80 if (mask) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DStreamingSource.cpp76 int32_t mask; local
79 IStreamListener::kKeyDiscontinuityMask, &mask)) {
80 if (mask == 0) {
85 type = mask;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dinterface.c53 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 Ddec_alg_codebook.cpp87 #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 Dq_pulse.c29 #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); */
191 Word16 nb_pos, mask, n_1, tmp; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_util.c86 u32 mask = 1 << (length - 1); local
92 while (mask && !(value & mask))
95 mask >>= 1;
/frameworks/base/core/jni/
H A Dandroid_util_FileObserver.cpp86 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path);
105 static jint android_os_fileobserver_startWatching(JNIEnv* env, jobject object, jint fd, jstring pathString, jint mask) argument
115 res = inotify_add_watch(fd, path, mask);
/frameworks/compile/libbcc/lib/AndroidBitcode/Mips/
H A DMipsABCExpandVAArg.cpp60 llvm::Value *mask = llvm::ConstantInt::get(int_ty, -type_align); local
62 llvm::Value *and_v = builder.CreateAnd(add_v, mask);
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dsad_inline.h39 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) argument
53 x7 = mask & ((uint32)x7 >> 1);
186 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) argument
195 AND x7, mask, x7, lsr #1; local
205 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask) argument
214 ANDS x7, mask, x7, rrx; local
355 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) argument
369 : "r"(src2), "r"(mask)
375 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask) argument
388 : "r"(src2), "r"(mask)
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_adv_b_add.cpp194 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...]
H A Dvlc_dequant.cpp33 static const uint8 mask[8] = /* for fast bitmap */ variable
155 bitmapcol[k&0x7] |= mask[k>>3];
200 bitmapcol[0] |= mask[k>>3];
266 bitmapcol[0] |= mask[k>>3];
321 bitmapcol[0] |= mask[k>>3];
360 (*bitmaprow) |= mask[k];
457 bitmapcol[k&0x7] |= mask[k>>3];
483 (*bitmaprow) |= mask[k];
602 bitmapcol[k&0x7] |= mask[k>>3];
650 bitmapcol[0] |= mask[
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkUtils.java55 * @param mask {@see #RESET_IPV4_ADDRESSES} and {@see #RESET_IPV6_ADDRESSES}
57 public native static int resetConnections(String interfaceName, int mask); argument
176 * @param prefixLength the prefixLength used to mask the IP
191 byte mask = (byte)(0xFF << (8 - reminder));
193 if (offset < array.length) array[offset] = (byte)(array[offset] & mask);
/frameworks/base/core/java/android/os/
H A DFileObserver.java37 * <p>An event mask is used to specify which changes or actions to report.
39 * event mask as well as what actually happened in event callbacks.</p>
71 /** Event mask: All valid event types, combined */
91 public int startWatching(String path, int mask, FileObserver observer) { argument
92 int wfd = startWatching(m_fd, path, mask);
108 public void onEvent(int wfd, int mask, String path) { argument
125 observer.onEvent(mask, path);
134 private native int startWatching(int fd, String path, int mask); argument
163 * @param mask The event or events (added together) to watch for
165 public FileObserver(String path, int mask) { argument
[all...]
/frameworks/native/opengl/libagl/
H A Dmipmap.cpp60 const uint32_t mask = 0x07E0F81F; local
68 p00 = (p00 | (p00 << 16)) & mask;
69 p01 = (p01 | (p01 << 16)) & mask;
70 p10 = (p10 | (p10 << 16)) & mask;
71 p11 = (p11 | (p11 << 16)) & mask;
72 uint32_t grb = ((p00 + p10 + p01 + p11) >> 2) & mask;

Completed in 252 milliseconds

1234