Home
last modified time | relevance | path

Searched refs:audioAttr (Results 1 – 7 of 7) sorted by relevance

/drivers/hdf_core/framework/support/platform/test/unittest/common/
Dhdf_hdmi_test.cpp74 struct HdmiAudioAttr audioAttr; in HdmiUserSetAttrCaseTest() local
86 audioAttr.codingType = HDMI_AUDIO_CODING_TYPE_MP3; in HdmiUserSetAttrCaseTest()
87 audioAttr.ifType = HDMI_AUDIO_IF_TYPE_I2S; in HdmiUserSetAttrCaseTest()
88 audioAttr.bitDepth = HDMI_ADIO_BIT_DEPTH_16; in HdmiUserSetAttrCaseTest()
89 audioAttr.sampleRate = HDMI_SAMPLE_RATE_8K; in HdmiUserSetAttrCaseTest()
90 audioAttr.channels = HDMI_AUDIO_FORMAT_CHANNEL_3; in HdmiUserSetAttrCaseTest()
91 ret = HdmiSetAudioAttribute(handle, &audioAttr); in HdmiUserSetAttrCaseTest()
/drivers/hdf_core/framework/support/platform/src/hdmi/
Dhdmi_infoframe.c523 …oid HdmiFillAudioInfoFrame(struct HdmiAudioInfoFrame *audio, const struct HdmiAudioAttr *audioAttr) in HdmiFillAudioInfoFrame() argument
534 if (audioAttr->ifType != HDMI_AUDIO_IF_TYPE_I2S) { in HdmiFillAudioInfoFrame()
537 HDF_LOGI("audio channel %u \n", audioAttr->channels); in HdmiFillAudioInfoFrame()
539 audio->channelCount = (audioAttr->channels >= 2) ? (audioAttr->channels - 1) : 0; in HdmiFillAudioInfoFrame()
543 if (audioAttr->codingType == HDMI_AUDIO_CODING_TYPE_AC3 || in HdmiFillAudioInfoFrame()
544 audioAttr->codingType == HDMI_AUDIO_CODING_TYPE_DTS || in HdmiFillAudioInfoFrame()
545 audioAttr->codingType == HDMI_AUDIO_CODING_TYPE_EAC3 || in HdmiFillAudioInfoFrame()
546 audioAttr->codingType == HDMI_AUDIO_CODING_TYPE_DTS_HD) { in HdmiFillAudioInfoFrame()
547 audio->codingType = audioAttr->codingType; in HdmiFillAudioInfoFrame()
553 switch (audioAttr->channels) { in HdmiFillAudioInfoFrame()
[all …]
Dhdmi_dfm.c43 …const struct HdmiAudioAttr *audioAttr, enum HdmiColorSpace colorSpace, enum HdmiDeepColor deepColo… in HdmiDfmFillParam() argument
45 if (param == NULL || videoInfo == NULL || audioAttr == NULL) { in HdmiDfmFillParam()
61 param->audioRate = (uint32_t)audioAttr->sampleRate; in HdmiDfmFillParam()
62 param->layout = (audioAttr->channels > HDMI_AUDIO_FORMAT_CHANNEL_2) ? true : false; in HdmiDfmFillParam()
Dhdmi_core.c660 struct HdmiAudioAttr *audioAttr = &(cntlr->attr.audioAttr); in HdmiAudioAttrInit() local
662 audioAttr->ifType = (enum HdmiAudioInterfaceType)cntlr->cap.audioIfType; in HdmiAudioAttrInit()
663 audioAttr->bitDepth = (enum HdmiAudioBitDepth)cntlr->cap.audioBitDepth; in HdmiAudioAttrInit()
664 audioAttr->sampleRate = (enum HdmiSampleRate)cntlr->cap.audioSampleRate; in HdmiAudioAttrInit()
665 audioAttr->channels = (enum HdmiAudioFormatChannel)cntlr->cap.audioChannels; in HdmiAudioAttrInit()
1030 struct HdmiAudioAttr *audioAttr = &(cntlr->attr.audioAttr); in HdmiAudioAttrHandle() local
1033 audioCfg.downSample = audioAttr->downSample; in HdmiAudioAttrHandle()
1034 audioCfg.channels = audioAttr->channels; in HdmiAudioAttrHandle()
1035 audioCfg.bitDepth = audioAttr->bitDepth; in HdmiAudioAttrHandle()
1036 audioCfg.sampleRate = audioAttr->sampleRate; in HdmiAudioAttrHandle()
[all …]
Dhdmi_frl.c253 HdmiDfmFillParam(&param, videoInfo, &(cntlr->attr.audioAttr), cntlr->attr.commAttr.colorSpace, in HdnmiFrlCheckFrlMode()
322 cfg.sampleRate = cntlr->attr.audioAttr.sampleRate; in HdmiFrlAudioNctsSet()
/drivers/hdf_core/framework/support/platform/include/hdmi/
Dhdmi_dfm.h154 …const struct HdmiAudioAttr *audioAttr, enum HdmiColorSpace colorSpace, enum HdmiDeepColor deepColo…
Dhdmi_core.h193 struct HdmiAudioAttr audioAttr; member