Home
last modified time | relevance | path

Searched refs:BIT (Results 1 – 23 of 23) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
DAudioUtil.cpp78 if (byte & BIT(6)) { in getSamplingFrequencyFromEDID()
81 } else if (byte & BIT(5)) { in getSamplingFrequencyFromEDID()
84 } else if (byte & BIT(4)) { in getSamplingFrequencyFromEDID()
87 } else if (byte & BIT(3)) { in getSamplingFrequencyFromEDID()
90 } else if (byte & BIT(2)) { in getSamplingFrequencyFromEDID()
93 } else if (byte & BIT(1)) { in getSamplingFrequencyFromEDID()
96 } else if (byte & BIT(0)) { in getSamplingFrequencyFromEDID()
107 if (byte & BIT(2)) { in getBitsPerSampleFromEDID()
110 } else if (byte & BIT(1)) { in getBitsPerSampleFromEDID()
113 } else if (byte & BIT(0)) { in getBitsPerSampleFromEDID()
[all …]
DAudioUtil.h21 #define BIT(nr) (1UL << (nr)) macro
/hardware/qcom/msm8960/kernel-headers/media/
Dmsm_isp.h21 #define BIT(nr) (1UL << (nr)) macro
396 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
397 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
399 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
400 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
401 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
402 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
404 #define VFE_OUTPUTS_PREVIEW BIT(6)
405 #define VFE_OUTPUTS_VIDEO BIT(7)
406 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
Dmsm_camera.h35 #define BIT(nr) (1UL << (nr)) macro
424 #define CMD_AXI_CFG_PRIM BIT(8)
425 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
426 #define CMD_AXI_CFG_SEC BIT(10)
427 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
429 #define CMD_AXI_CFG_TERT1 BIT(12)
430 #define CMD_AXI_CFG_TERT2 BIT(13)
435 #define AXI_CMD_PREVIEW BIT(0)
436 #define AXI_CMD_CAPTURE BIT(1)
437 #define AXI_CMD_RECORD BIT(2)
[all …]
/hardware/qcom/msm8960/original-kernel-headers/media/
Dmsm_isp.h16 #define BIT(nr) (1UL << (nr)) macro
349 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
350 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
351 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
352 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
353 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
354 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
355 #define VFE_OUTPUTS_PREVIEW BIT(6)
356 #define VFE_OUTPUTS_VIDEO BIT(7)
357 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
Dmsm_camera.h32 #define BIT(nr) (1UL << (nr)) macro
490 #define CMD_AXI_CFG_PRIM BIT(8)
491 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
492 #define CMD_AXI_CFG_SEC BIT(10)
493 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
494 #define CMD_AXI_CFG_TERT1 BIT(12)
495 #define CMD_AXI_CFG_TERT2 BIT(13)
501 #define AXI_CMD_PREVIEW BIT(0)
502 #define AXI_CMD_CAPTURE BIT(1)
503 #define AXI_CMD_RECORD BIT(2)
[all …]
/hardware/qcom/msm8996/kernel-headers/media/
Dmsm_isp.h21 #define BIT(nr) (1UL << (nr)) macro
390 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
391 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
392 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
394 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
395 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
396 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
397 #define VFE_OUTPUTS_PREVIEW BIT(6)
399 #define VFE_OUTPUTS_VIDEO BIT(7)
400 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
Dmsm_camera.h36 #define BIT(nr) (1UL << (nr)) macro
419 #define CMD_AXI_CFG_PRIM BIT(8)
420 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
421 #define CMD_AXI_CFG_SEC BIT(10)
422 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
424 #define CMD_AXI_CFG_TERT1 BIT(12)
425 #define CMD_AXI_CFG_TERT2 BIT(13)
431 #define AXI_CMD_PREVIEW BIT(0)
432 #define AXI_CMD_CAPTURE BIT(1)
434 #define AXI_CMD_RECORD BIT(2)
[all …]
/hardware/qcom/msm8994/kernel-headers/media/
Dmsm_isp.h21 #define BIT(nr) (1UL << (nr)) macro
390 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
391 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
392 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
394 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
395 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
396 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
397 #define VFE_OUTPUTS_PREVIEW BIT(6)
399 #define VFE_OUTPUTS_VIDEO BIT(7)
400 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsm_isp.h4 #define BIT(nr) (1UL << (nr)) macro
324 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
325 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
326 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
327 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
328 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
329 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
330 #define VFE_OUTPUTS_PREVIEW BIT(6)
331 #define VFE_OUTPUTS_VIDEO BIT(7)
332 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
Dmsm_camera.h30 #define BIT(nr) (1UL << (nr)) macro
539 #define CMD_AXI_CFG_PRIM BIT(8)
540 #define CMD_AXI_CFG_PRIM_ALL_CHNLS BIT(9)
541 #define CMD_AXI_CFG_SEC BIT(10)
542 #define CMD_AXI_CFG_SEC_ALL_CHNLS BIT(11)
543 #define CMD_AXI_CFG_TERT1 BIT(12)
544 #define CMD_AXI_CFG_TERT2 BIT(13)
553 #define AXI_CMD_PREVIEW BIT(0)
554 #define AXI_CMD_CAPTURE BIT(1)
555 #define AXI_CMD_RECORD BIT(2)
[all …]
/hardware/qcom/msm8994/original-kernel-headers/media/
Dmsm_isp.h4 #define BIT(nr) (1UL << (nr)) macro
324 #define VFE_OUTPUTS_MAIN_AND_PREVIEW BIT(0)
325 #define VFE_OUTPUTS_MAIN_AND_VIDEO BIT(1)
326 #define VFE_OUTPUTS_MAIN_AND_THUMB BIT(2)
327 #define VFE_OUTPUTS_THUMB_AND_MAIN BIT(3)
328 #define VFE_OUTPUTS_PREVIEW_AND_VIDEO BIT(4)
329 #define VFE_OUTPUTS_VIDEO_AND_PREVIEW BIT(5)
330 #define VFE_OUTPUTS_PREVIEW BIT(6)
331 #define VFE_OUTPUTS_VIDEO BIT(7)
332 #define VFE_OUTPUTS_RAW BIT(8)
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
Dx86.h115 #ifndef BIT
116 #define BIT(n) (1<<n) macro
147 if (reg_edx & BIT(23)) flags |= HAS_MMX; in x86_simd_caps()
149 if (reg_edx & BIT(25)) flags |= HAS_SSE; /* aka xmm */ in x86_simd_caps()
151 if (reg_edx & BIT(26)) flags |= HAS_SSE2; /* aka wmt */ in x86_simd_caps()
153 if (reg_ecx & BIT(0)) flags |= HAS_SSE3; in x86_simd_caps()
155 if (reg_ecx & BIT(9)) flags |= HAS_SSSE3; in x86_simd_caps()
157 if (reg_ecx & BIT(19)) flags |= HAS_SSE4_1; in x86_simd_caps()
159 if (reg_ecx & BIT(28)) flags |= HAS_AVX; in x86_simd_caps()
166 if (reg_ebx & BIT(5)) flags |= HAS_AVX2; in x86_simd_caps()
/hardware/qcom/wlan/qcwcn/wifi_hal/
DtdlsCommand.h69 #define IS_GLOBAL_TDLS_SUPPORTED BIT(0)
70 #define IS_PER_MAC_TDLS_SUPPORTED BIT(1)
71 #define IS_OFF_CHANNEL_TDLS_SUPPORTED BIT(2)
Dwifilogger_diag.cpp1611 if (ppdu_start->frame_control & BIT(DATA_PROTECTED)) in parse_tx_stats()
1624 info->pkt_stats->tx_stats_events |= BIT(PKTLOG_TYPE_TX_CTRL); in parse_tx_stats()
1660 info->pkt_stats->tx_stats_events |= BIT(PKTLOG_TYPE_TX_STAT); in parse_tx_stats()
1667 info->pkt_stats->tx_stats_events = BIT(PKTLOG_TYPE_TX_MSDU_ID); in parse_tx_stats()
1685 if ((info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_CTRL)) && in parse_tx_stats()
1686 (info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_STAT)) && in parse_tx_stats()
1687 (info->pkt_stats->tx_stats_events & BIT(PKTLOG_TYPE_TX_MSDU_ID))) { in parse_tx_stats()
1707 if (info->pkt_stats->tx_seqnum_bitmap_31_0 & BIT(i)) { in parse_tx_stats()
1708 if (info->pkt_stats->shifted_bitmap_31_0 & BIT(i)) { in parse_tx_stats()
1721 & BIT(i - BITMAP_VAR_SIZE)) { in parse_tx_stats()
[all …]
Dcommon.h59 #define BIT(x) (1 << (x)) macro
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h44 #define BIT(num) (1 << (num)) macro
240 RC_VBR_VFR = BIT(0),
241 RC_VBR_CFR = BIT(1),
242 RC_CBR_VFR = BIT(2),
243 RC_CBR_CFR = BIT(3),
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h48 #define BIT(num) (1 << (num)) macro
297 RC_VBR_VFR = BIT(0),
298 RC_VBR_CFR = BIT(1),
299 RC_CBR_VFR = BIT(2),
300 RC_CBR_CFR = BIT(3),
/hardware/bsp/intel/peripheral/libupm/src/mma7455/
Dmma7455.cxx55 data = (BIT (MMA7455_GLVL0) | BIT (MMA7455_MODE0)); in MMA7455()
Dmma7455.h150 #define BIT(n) (1<<n) macro
/hardware/qcom/msm8996/original-kernel-headers/video/
Dmsm_hdmi_modes.h6 #define MSM_HDMI_RGB_888_24BPP_FORMAT BIT(0)
7 #define MSM_HDMI_YUV_420_12BPP_FORMAT BIT(1)
/hardware/qcom/msm8996/kernel-headers/video/
Dmsm_hdmi_modes.h24 #define MSM_HDMI_RGB_888_24BPP_FORMAT BIT(0)
25 #define MSM_HDMI_YUV_420_12BPP_FORMAT BIT(1)
/hardware/intel/common/libmix/mix_audio/docs/reference/MixAudio/html/
Dindex.sgml53 <ANCHOR id="MIX-ACP-WMA-PCM-BIT-WIDTH--CAPS" href="MixAudio/MixAudio-MixAudioConfigParamsWMA.html#M…