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

12345

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
H A Darm_cpudetect.c39 int mask; local
43 mask = arm_cpu_env_mask();
53 return flags & mask;
64 int mask; local
68 mask = arm_cpu_env_mask();
74 if (mask & HAS_EDSP) {
84 if (mask & HAS_MEDIA)
94 if (mask &HAS_NEON) {
106 return flags & mask;
114 int mask;
[all...]
H A Dx86.h122 unsigned int mask = ~0; local
136 mask = strtol(env, NULL, 0);
168 return flags & mask;
/hardware/qcom/gps/core/
H A DLocAdapterBase.cpp44 LocAdapterBase::LocAdapterBase(const LOC_API_ADAPTER_EVENT_MASK_T mask, argument
46 mEvtMask(mask), mContext(context),
H A DLocAdapterProxyBase.h42 inline LocAdapterProxyBase(const LOC_API_ADAPTER_EVENT_MASK_T mask, argument
44 mLocAdapterBase(new LocAdapterBase(mask, context, this)) {
/hardware/libhardware/modules/usbaudio/
H A Dformat.c82 audio_format_t get_format_for_mask(struct pcm_mask* mask) argument
84 int num_slots = sizeof(mask->bits) / sizeof(mask->bits[0]);
85 int bits_per_slot = sizeof(mask->bits[0]) * 8;
96 if (table_index >= 2 && (mask->bits[slot_index] & bit_mask) != 0) {
167 * Scans the provided format mask and returns the first non-8 bit sample
170 enum pcm_format get_pcm_format_for_mask(struct pcm_mask* mask) argument
172 int num_slots = ARRAY_SIZE(mask->bits);
173 int bits_per_slot = sizeof(mask->bits[0]) * 8;
184 if (table_index >= 2 && (mask
[all...]
H A Dlogging.c31 void log_pcm_mask(const char* mask_name, struct pcm_mask* mask) argument
33 const size_t num_slots = ARRAY_SIZE(mask->bits);
34 const size_t bits_per_slot = (sizeof(mask->bits[0]) * 8);
47 strcat(buff, (mask->bits[slot_index] & bit_mask) != 0 ? "1" : "0");
56 ALOGV("%s: mask:%s", mask_name, buff);
/hardware/qcom/gps/msm8960/core/
H A DLocAdapterBase.cpp63 LocAdapterBase::LocAdapterBase(const LOC_API_ADAPTER_EVENT_MASK_T mask, argument
65 mEvtMask(mask), mContext(context),
/hardware/intel/img/libdrm/libdrm/intel/
H A Dmm.c169 const int mask = (1 << align2)-1; local
179 startofs = (p->ofs + mask) & ~mask;
192 p = SliceBlock(p,startofs,size,0,mask+1);
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/
H A Dperf_config.h52 unsigned long mask; /* bitmask for enabled components */ member in struct:PERF_Config
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/
H A Dvp9_loopfilter_masks_dspr2.h26 * compute hev and mask in the same function */
33 uint32_t *mask) {
40 /* mask |= (abs(p3 - p2) > limit) */
47 /* mask |= (abs(p2 - p1) > limit) */
54 /* mask |= (abs(p1 - p0) > limit)
65 /* mask |= (abs(q1 - q0) > limit)
76 /* mask |= (abs(q2 - q1) > limit) */
84 /* mask |= (abs(q3 - q2) > limit) */
129 *mask = s2;
140 uint32_t *mask,
27 vp9_filter_hev_mask_dspr2(uint32_t limit, uint32_t flimit, uint32_t p1, uint32_t p0, uint32_t p3, uint32_t p2, uint32_t q0, uint32_t q1, uint32_t q2, uint32_t q3, uint32_t thresh, uint32_t *hev, uint32_t *mask) argument
132 vp9_filter_hev_mask_flatmask4_dspr2(uint32_t limit, uint32_t flimit, uint32_t thresh, uint32_t p1, uint32_t p0, uint32_t p3, uint32_t p2, uint32_t q0, uint32_t q1, uint32_t q2, uint32_t q3, uint32_t *hev, uint32_t *mask, uint32_t *flat) argument
[all...]
H A Dvp9_loopfilter_filters_dspr2.c30 uint32_t mask; local
78 mask will be zero and filtering is not needed */
93 thresh_vec, &hev, &mask);
95 /* if mask == 0 do filtering is not needed */
96 if (mask) {
98 vp9_filter_dspr2(mask, hev, &p1, &p2, &p3, &p4);
124 uint32_t mask, hev; local
217 * mask will be zero and filtering is not needed
222 &hev, &mask);
224 /* if mask
[all...]
H A Dvp9_mbloop_loopfilter_dspr2.c29 uint32_t mask; local
86 &hev, &mask, &flat);
88 if ((flat == 0) && (mask != 0)) {
89 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1,
104 } else if ((mask & flat) == 0xFFFFFFFF) {
131 } else if ((flat != 0) && (mask != 0)) {
133 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1,
146 if (mask & flat & 0x000000FF) {
161 } else if (mask & 0x000000FF) {
195 if (mask
329 uint32_t mask, hev, flat; local
[all...]
/hardware/intel/img/hwcomposer/common/planes/
H A DDisplayPlaneManager.cpp109 int DisplayPlaneManager::getPlane(uint32_t& mask) argument
111 if (!mask)
116 if (bit & mask) {
117 mask &= ~bit;
125 void DisplayPlaneManager::putPlane(int index, uint32_t& mask) argument
132 if (bit & mask) {
137 mask |= bit;
140 int DisplayPlaneManager::getPlane(uint32_t& mask, int index) argument
142 if (!mask || index < 0 || index > mTotalPlaneCount)
146 if (bit & mask) {
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_SharedMemory.c147 unsigned int mask; local
159 mask = ION_HEAP_EXYNOS_CONTIG_MASK;
163 mask = ION_HEAP_EXYNOS_MASK;
167 mask = ION_HEAP_SYSTEM_MASK;
176 IONBuffer = ion_alloc((ion_client)pHandle->hIONHandle, size, 0, mask, flag);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
H A Dloopfilter_filters.c31 signed char mask = 0; local
32 mask |= (abs(p3 - p2) > limit);
33 mask |= (abs(p2 - p1) > limit);
34 mask |= (abs(p1 - p0) > limit);
35 mask |= (abs(q1 - q0) > limit);
36 mask |= (abs(q2 - q1) > limit);
37 mask |= (abs(q3 - q2) > limit);
38 mask |= (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 > blimit);
39 return mask - 1;
51 static void vp8_filter(signed char mask, u argument
109 signed char mask = 0; local
141 signed char mask = 0; local
161 vp8_mbfilter(signed char mask, uc hev, uc *op2, uc *op1, uc *op0, uc *oq0, uc *oq1, uc *oq2) argument
227 signed char mask = 0; local
262 signed char mask = 0; local
288 signed char mask = (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 <= blimit) * -1; local
292 vp8_simple_filter(signed char mask, uc *op1, uc *op0, uc *oq0, uc *oq1) argument
324 signed char mask = 0; local
343 signed char mask = 0; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_decoder.c267 int ref_index = 0, mask; local
270 for (mask = pbi->refresh_frame_flags; mask; mask >>= 1) {
271 if (mask & 1) {
/hardware/intel/img/libdrm/tests/
H A Ddristat.c233 int mask = 0; local
242 case 'a': mask = ~0; break;
243 case 'v': mask |= DRM_VERSION; break;
244 case 'm': mask |= DRM_MEMORY; break;
245 case 'c': mask |= DRM_CLIENTS; break;
246 case 's': mask |= DRM_STATS; break;
247 case 'b': mask |= DRM_BUSID; break;
269 if (mask & DRM_BUSID) getbusid(fd);
270 if (mask & DRM_VERSION) getversion(fd);
271 if (mask
[all...]
/hardware/intel/img/psb_video/src/
H A Dvsp_cmdbuf.c201 * "mask" determines which bits of the target DWORD will be updated with the so
208 uint32_t mask,
228 new_val = (background & ~mask) | (new_val & mask);
237 reloc->mask = mask;
300 uint64_t mask = PSB_GPU_ACCESS_MASK; local
315 req->set_flags = (PSB_GPU_ACCESS_READ | PSB_GPU_ACCESS_WRITE) & mask;
316 req->clear_flags = (~(PSB_GPU_ACCESS_READ | PSB_GPU_ACCESS_WRITE)) & mask;
204 vsp_cmdbuf_add_relocation(vsp_cmdbuf_p cmdbuf, uint32_t *addr_in_dst_buffer, psb_buffer_p ref_buffer, uint32_t buf_offset, uint32_t mask, uint32_t background, uint32_t align_shift, uint32_t dst_buffer, uint32_t *start_of_dst_buffer) argument
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
H A Dloc_api_log.c65 /* Finds the first event found in the mask */
179 LOC_LOGD("Session status: %s Valid mask: 0x%X\n",
249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; local
251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM),
252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN),
253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS),
254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS),
255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH),
256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM),
257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATIO
[all...]
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dloc_eng_nmea.cpp144 uint32_t mask = loc_eng_data_p->sv_used_mask; local
145 for (uint8_t i = 1; mask > 0 && svUsedCount < 32; i++)
147 if (mask & 1)
149 mask = mask >> 1;
810 { // cache the used in fix mask, as it will be needed to send $GPGSA
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A DLocEngAdapter.cpp69 LocEngAdapter::LocEngAdapter(LOC_API_ADAPTER_EVENT_MASK_T mask, argument
72 LocAdapterBase(mask,
H A Dloc_eng_nmea.cpp140 uint32_t mask = loc_eng_data_p->sv_used_mask; local
141 for (uint8_t i = 1; mask > 0 && svUsedCount < 32; i++)
143 if (mask & 1)
145 mask = mask >> 1;
702 { // cache the used in fix mask, as it will be needed to send $GPGSA
/hardware/qcom/gps/msm8960/utils/
H A Dloc_log.cpp59 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask) argument
64 if (table[i].val & (long) mask)
/hardware/qcom/gps/utils/
H A Dloc_log.cpp59 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask) argument
64 if (table[i].val & (long) mask)
/hardware/qcom/msm8960/kernel-headers/linux/mfd/
H A Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16))
40 #define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))); ((mask) = ((packed >> 8) & (0xff))); ((val) = ((packed) & (0xff))); } while (0);
62 u8 mask; member in struct:adie_codec_register

Completed in 2783 milliseconds

12345