Searched refs:audioAttr (Results 1 – 7 of 7) sorted by relevance
/drivers/hdf_core/framework/support/platform/test/unittest/common/ |
D | hdf_hdmi_test.cpp | 74 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/ |
D | hdmi_infoframe.c | 523 …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 …]
|
D | hdmi_dfm.c | 43 …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()
|
D | hdmi_core.c | 660 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 …]
|
D | hdmi_frl.c | 253 HdmiDfmFillParam(¶m, 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/ |
D | hdmi_dfm.h | 154 …const struct HdmiAudioAttr *audioAttr, enum HdmiColorSpace colorSpace, enum HdmiDeepColor deepColo…
|
D | hdmi_core.h | 193 struct HdmiAudioAttr audioAttr; member
|