Home
last modified time | relevance | path

Searched refs:sad (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
DAudioUtil.cpp159 unsigned int sad[MAX_SHORT_AUDIO_DESC_CNT]; in getHDMIAudioSinkCaps() local
163 sad[nblockindex] = (unsigned int)data[0] + ((unsigned int)data[1] << 8) in getHDMIAudioSinkCaps()
175 channels [nIndex] = (sad[nIndex] & 0x7) + 1; in getHDMIAudioSinkCaps()
176 formats [nIndex] = (sad[nIndex] & 0xFF) >> 3; in getHDMIAudioSinkCaps()
177 frequency[nIndex] = (sad[nIndex] >> 8) & 0xFF; in getHDMIAudioSinkCaps()
178 bitrate [nIndex] = (sad[nIndex] >> 16) & 0xFF; in getHDMIAudioSinkCaps()
/hardware/qcom/audio/hal/msm8960/
Dplatform.c956 char *sad = block; in platform_edid_get_max_channels() local
983 if ((sad[0] >> 3) != EDID_FORMAT_LPCM) in platform_edid_get_max_channels()
986 channel_count = (sad[0] & 0x7) + 1; in platform_edid_get_max_channels()
991 sad += 3; in platform_edid_get_max_channels()
/hardware/qcom/audio/hal/msm8916/
Dplatform.c2417 char *sad = block; local
2451 if ((sad[0] >> 3) != EDID_FORMAT_LPCM) {
2452 sad += 3;
2456 channel_count = (sad[0] & 0x7) + 1;
2461 sad += 3;
/hardware/qcom/audio/hal/msm8974/
Dplatform.c3588 char *sad = block; in platform_edid_get_max_channels() local
3622 if ((sad[0] >> 3) != EDID_FORMAT_LPCM) { in platform_edid_get_max_channels()
3623 sad += 3; in platform_edid_get_max_channels()
3627 channel_count = (sad[0] & 0x7) + 1; in platform_edid_get_max_channels()
3632 sad += 3; in platform_edid_get_max_channels()