Searched refs:numControls (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_control.cpp | 39 …e HosV4L2Control::V4L2SetCtrls (int fd, std::vector<DeviceControl>& control, const int numControls) in V4L2SetCtrls() argument 44 if (numControls != static_cast<int>(control.size())) { in V4L2SetCtrls() 49 struct v4l2_ext_control cList[numControls]; in V4L2SetCtrls() 55 if (count < numControls) { in V4L2SetCtrls() 100 …e HosV4L2Control::V4L2GetCtrls (int fd, std::vector<DeviceControl>& control, const int numControls) in V4L2GetCtrls() argument 105 if (numControls != static_cast<int>(control.size())) { in V4L2GetCtrls() 110 struct v4l2_ext_control cList[numControls]; in V4L2GetCtrls() 115 if (count < numControls) { in V4L2GetCtrls()
|
/ohos5.0/drivers/hdf_core/framework/model/audio/common/src/ |
H A D | audio_dai_base.c | 103 data->numControls = regCfgGroup[AUDIO_CTRL_CFG_GROUP]->itemNum; in DaiSetConfigInfoOfControls() 104 …data->controls = (struct AudioKcontrol *)OsalMemCalloc(data->numControls * sizeof(struct AudioKcon… in DaiSetConfigInfoOfControls() 110 for (index = 0; index < data->numControls; index++) { in DaiSetConfigInfoOfControls()
|
H A D | audio_codec_base.c | 353 for (index = 0; index < codeData->numControls; index++) { in CodecSetKcontrolInfo() 401 codeData->numControls = regCfgGroup[AUDIO_CTRL_CFG_GROUP]->itemNum; in CodecSetConfigInfoOfControls() 403 (struct AudioKcontrol *)OsalMemCalloc(codeData->numControls * sizeof(struct AudioKcontrol)); in CodecSetConfigInfoOfControls() 448 for (index = 0; index < codeData->numControls; index++) { in CodecSetCtlFunc()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/ |
H A D | v4l2_control.h | 39 RetCode V4L2SetCtrls(int fd, std::vector<DeviceControl>& control, const int numControls); 42 RetCode V4L2GetCtrls(int fd, std::vector<DeviceControl>& control, const int numControls);
|
/ohos5.0/drivers/hdf_core/framework/include/audio/ |
H A D | audio_codec_if.h | 97 int numControls; /**< Number of array elements of Codec controls */ member
|
H A D | audio_dai_if.h | 178 …int numControls; /**< dai controls the number of structure array element… member
|
/ohos5.0/docs/zh-cn/device-dev/driver/ |
H A D | driver-peripherals-audio-des.md | 218 AudioAddControls(audioCard, codec->devData->controls, codec->devData->numControls); 697 if (AudioAddControls(audioCard, device->devData->controls, device->devData->numControls) != 1025 AudioAddControls(audioCard, data->controls, data->numControls);
|
/ohos5.0/drivers/hdf_core/framework/model/audio/hdmi/src/ |
H A D | audio_hdmi_codec_ops.c | 150 …if (AudioAddControls(audioCard, device->devData->controls, device->devData->numControls) != HDF_SU… in AudioHdmiCodecDeviceInit()
|
/ohos5.0/docs/en/device-dev/driver/ |
H A D | driver-peripherals-audio-des.md | 218 AudioAddControls(audioCard, codec->devData->controls, codec->devData->numControls); 697 if (AudioAddControls(audioCard, device->devData->controls, device->devData->numControls) != 1025 AudioAddControls(audioCard, data->controls, data->numControls);
|