Home
last modified time | relevance | path

Searched refs:dataType (Results 1 - 25 of 114) sorted by relevance

12345

/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/
H A Dmipi_drm_adapter.c118 if ((cmd->dataType == MIPI_DSI_GENERIC_SHORT_WRITE_1_PARAM) || // 0x13, in MipiDsiAdapterSetCmd()
119 (cmd->dataType == MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM) || // 0x23 in MipiDsiAdapterSetCmd()
120 (cmd->dataType == MIPI_DSI_GENERIC_LONG_WRITE)) { // 0x29 in MipiDsiAdapterSetCmd()
122 HDF_LOGD("MipiDsiAdapterSetCmd: [mipi_dsi_generic_write] dataType = 0x%x, payload = 0x%x, dataLen = 0x%x", in MipiDsiAdapterSetCmd()
123 cmd->dataType, cmd->payload[0], cmd->dataLen); in MipiDsiAdapterSetCmd()
128 } else if ((cmd->dataType == MIPI_DSI_DCS_SHORT_WRITE) || // 0x05 in MipiDsiAdapterSetCmd()
129 (cmd->dataType == MIPI_DSI_DCS_SHORT_WRITE_PARAM) || // 0x15 in MipiDsiAdapterSetCmd()
130 (cmd->dataType == MIPI_DSI_DCS_LONG_WRITE)) { // 0x39 in MipiDsiAdapterSetCmd()
132 HDF_LOGD("MipiDsiAdapterSetCmd: [mipi_dsi_dcs_write_buffer] dataType = 0x%x, payload = 0x%x, dataLen = 0x%x", in MipiDsiAdapterSetCmd()
133 cmd->dataType, cm in MipiDsiAdapterSetCmd()
[all...]
H A Dmipi_dsi_define.h80 unsigned short dataType; member
87 unsigned short dataType; /* DSI data type */ member
H A Dmipi_tx_hi35xx.c763 genHdr.bits.gen_dt = cmdInfo->dataType; in MipiTxDrvSetCmdInfo()
832 short unsigned dataType, unsigned short dataParam) in MipiTxSendShortPacket()
837 genHdr.bits.gen_dt = dataType; in MipiTxSendShortPacket()
911 if (MipiTxSendShortPacket(0, getCmdInfo->dataType, getCmdInfo->dataParam) != HDF_SUCCESS) { in MipiTxDrvGetCmdInfo()
1187 cmdInfo.dataType = cmd->dataType; /* 0x29: long data type */ in Hi35xxSetCmd()
1195 cmdInfo.dataType = cmd->dataType; /* 0x23: short data type */ in Hi35xxSetCmd()
1199 cmdInfo.dataType = cmd->dataType; /* in Hi35xxSetCmd()
831 MipiTxSendShortPacket(unsigned char virtualChannel, short unsigned dataType, unsigned short dataParam) MipiTxSendShortPacket() argument
[all...]
/drivers/hdf_core/framework/test/unittest/utils/hcs_parser/unittest/
H A Dhcs_config_test.c285 const struct DeviceResourceNode *dataType = NULL; in HcsTestGetUint8ArrayElemSuccess() local
294 dataType = g_devResInstance->GetNodeByMatchAttr(g_testRoot, HW_DATA_TYPE_TEST); in HcsTestGetUint8ArrayElemSuccess()
295 count = g_devResInstance->GetElemNum(dataType, TEST_U8_ELEM_DATA); in HcsTestGetUint8ArrayElemSuccess()
300 int32_t ret = g_devResInstance->GetUint8ArrayElem(dataType, TEST_U8_ELEM_DATA, i, &data[i], in HcsTestGetUint8ArrayElemSuccess()
312 const struct DeviceResourceNode *dataType = NULL; in HcsTestGetUint8ArrayElemFail() local
321 dataType = g_devResInstance->GetNodeByMatchAttr(g_testRoot, HW_DATA_TYPE_TEST); in HcsTestGetUint8ArrayElemFail()
323 ret = g_devResInstance->GetUint8ArrayElem(dataType, TEST_U8_ELEM_DATA, 8, &data, DEFAULT_UINT8_MAX); in HcsTestGetUint8ArrayElemFail()
328 dataType = g_devResInstance->GetNodeByMatchAttr(g_testRoot, HW_DATA_TYPE_TEST); in HcsTestGetUint8ArrayElemFail()
329 count = g_devResInstance->GetElemNum(dataType, READ_FOUR_DATA_TYPE); in HcsTestGetUint8ArrayElemFail()
334 ret = g_devResInstance->GetUint8ArrayElem(dataType, READ_FOUR_DATA_TYP in HcsTestGetUint8ArrayElemFail()
347 const struct DeviceResourceNode *dataType = NULL; HcsTestGetUint8ArraySuccess() local
369 const struct DeviceResourceNode *dataType = NULL; HcsTestGetUint8ArrayFail() local
445 const struct DeviceResourceNode *dataType = NULL; HcsTestGetUint16ArrayElemSuccess() local
473 const struct DeviceResourceNode *dataType = NULL; HcsTestGetUint16ArrayElemFail() local
506 const struct DeviceResourceNode *dataType = NULL; HcsTestGetUint16ArraySuccess() local
528 const struct DeviceResourceNode *dataType = NULL; HcsTestGetUint16ArrayFail() local
732 const struct DeviceResourceNode *dataType = NULL; HcsTestGetUint64ArrayElemSuccess() local
757 const struct DeviceResourceNode *dataType = NULL; HcsTestGetUint64ArrayElemFail() local
774 const struct DeviceResourceNode *dataType = NULL; HcsTestGetUint64ArraySuccess() local
793 const struct DeviceResourceNode *dataType = NULL; HcsTestGetUint64ArrayFail() local
[all...]
/drivers/hdf_core/adapter/platform/mipi_dsi/
H A Dmipi_drm_imx8mm.c99 if ((cmd->dataType == MIPI_DSI_GENERIC_SHORT_WRITE_1_PARAM) || // 0x13, in MipiDsiAdapterSetCmd()
100 (cmd->dataType == MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM) || // 0x23 in MipiDsiAdapterSetCmd()
101 (cmd->dataType == MIPI_DSI_GENERIC_LONG_WRITE)) { // 0x29 in MipiDsiAdapterSetCmd()
107 } else if ((cmd->dataType == MIPI_DSI_DCS_SHORT_WRITE) || // 0x05 in MipiDsiAdapterSetCmd()
108 (cmd->dataType == MIPI_DSI_DCS_SHORT_WRITE_PARAM) || // 0x15 in MipiDsiAdapterSetCmd()
109 (cmd->dataType == MIPI_DSI_DCS_LONG_WRITE)) { // 0x39 in MipiDsiAdapterSetCmd()
111 HDF_LOGE("%s: [mipi_dsi_dcs_write_buffer] dataType = 0x%x, payload = 0x%x, dataLen = 0x%x", in MipiDsiAdapterSetCmd()
112 __func__, cmd->dataType, cmd->payload[0], cmd->dataLen); in MipiDsiAdapterSetCmd()
121 ret = mipi_dsi_dcs_write(linuxPanel, cmd->dataType, cmd->payload, cmd->dataLen); in MipiDsiAdapterSetCmd()
122 HDF_LOGE("%s: [mipi_dsi_dcs_write] dataType in MipiDsiAdapterSetCmd()
[all...]
/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dmipi_csi_test.c168 attr.dataType[0] = 0x39; /* 0x39 -- data type reserved */ in InitMipiDevAttr()
169 attr.dataType[1] = 0x39; /* 0x39 -- data type reserved */ in InitMipiDevAttr()
170 attr.dataType[2] = 0x39; /* 0x39 -- data type reserved */ in InitMipiDevAttr()
171 attr.dataType[3] = 0x39; /* 0x39 -- data type reserved */ in InitMipiDevAttr()
398 ExtDataType dataType; in MipiCsiSetExtDataTypeTest() local
399 dataType.devno = 0; in MipiCsiSetExtDataTypeTest()
400 dataType.num = 0; in MipiCsiSetExtDataTypeTest()
404 dataType.extDataBitWidth[i++] = 12; /* 12:magic bit width */ in MipiCsiSetExtDataTypeTest()
405 dataType.extDataBitWidth[i++] = 12; /* 12:magic bit width */ in MipiCsiSetExtDataTypeTest()
406 dataType in MipiCsiSetExtDataTypeTest()
[all...]
/test/xts/acts/multimedia/image_effect/OHImageEffectNDK/entry/src/main/cpp/
H A DimageEffect.cpp219 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_INT32; in OHImageEffectConfigure()
224 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectConfigure()
231 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectConfigure()
237 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectConfigure()
746 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectSetInputNativeBuffer()
794 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_INT32; in SetInputUri1()
800 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in SetInputUri1()
806 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_DOUBLE; in SetInputUri1()
812 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_CHAR; in SetInputUri1()
829 value.dataType in SetInputUri2()
[all...]
/test/xts/acts/ai/nncore/nncoretest/src/
H A DHdiTensorDescTest.cpp105 int dataType = static_cast<int>(OH_NN_FLOAT64)+1; in HWTEST_F() local
106 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNTensorDesc_SetDataType(tensorDesc, static_cast<OH_NN_DataType>(dataType))); in HWTEST_F()
107 dataType = static_cast<int>(OH_NN_UNKNOWN)-1; in HWTEST_F()
108 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNTensorDesc_SetDataType(tensorDesc, static_cast<OH_NN_DataType>(dataType))); in HWTEST_F()
119 OH_NN_DataType dataType; in HWTEST_F() local
120 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNTensorDesc_GetDataType(nullptr, &dataType)); in HWTEST_F()
132 OH_NN_DataType dataType = OH_NN_UNKNOWN; in HWTEST_F() local
133 ASSERT_EQ(OH_NN_SUCCESS, OH_NNTensorDesc_GetDataType(tensorDesc, &dataType)); in HWTEST_F()
134 ASSERT_EQ(OH_NN_UNKNOWN, dataType); in HWTEST_F()
/test/xts/dcts/communication/softbus_standard/socket_trans/server/
H A DSocketTestServer.cpp69 .dataType = DATA_TYPE_BYTES,
75 .dataType = DATA_TYPE_MESSAGE,
81 .dataType = DATA_TYPE_FILE,
87 .dataType = DATA_TYPE_VIDEO_STREAM,
93 LOG("[cb][data]OnBind success {socket:%d, name:%s, deviceId:%s, pkgName:%s, dataType:%d}", socket, in OnBind()
94 info.name, info.networkId, info.pkgName, info.dataType); in OnBind()
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
H A DExecutorTest.cpp99 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
127 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
155 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
184 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), dimensions, quantParam, in HWTEST_F()
212 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
240 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
267 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
300 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), shape, in HWTEST_F()
335 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), shape, in HWTEST_F()
370 OH_NN_Tensor operand = {operandTem.dataType, (uint32_ in HWTEST_F()
[all...]
/test/xts/acts/ai/nncore/opstest/src/
H A Dconstant_of_shape_test.cpp36 OHNNOperandTest dataType = {OH_NN_INT64, OH_NN_CONSTANT_OF_SHAPE_DATA_TYPE, {1}, dataTypeValue, sizeof(int64_t)}; member
39 .operands = {input, output, dataType, value},
55 OHNNOperandTest dataType = {OH_NN_INT64, OH_NN_CONSTANT_OF_SHAPE_DATA_TYPE, {1}, dataTypeValue, sizeof(int64_t)}; member
58 .operands = {input, output, dataType, value},
135 constantOfShapeModel.dataType, constantOfShapeModel.value}; in HWTEST_F()
157 constantOfShapeModel.dataType, constantOfShapeModel.value}; in HWTEST_F()
181 graphArgs.operands = {constantOfShapeModel.input, constantOfShapeModel.output, constantOfShapeModel.dataType, in HWTEST_F()
261 operandTem.dataType, operandTem.format); in HWTEST_F()
298 operandTem.dataType, operandTem.format); in HWTEST_F()
334 operandTem.dataType, operandTe in HWTEST_F()
[all...]
H A Dnncore_utils.cpp28 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_NN_Format format) in createTensorDesc() argument
36 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetDataType(tensorDescTmp, dataType); in createTensorDesc()
100 operandTem.dataType, operandTem.format); in BuildSingleOpGraph()
/drivers/interface/camera/metadata/src/
H A Dcamera_metadata_info.cpp630 int32_t CameraMetadata::GetCameraMetadataItemType(uint32_t item, uint32_t *dataType) in GetCameraMetadataItemType() argument
633 if (dataType == nullptr) { in GetCameraMetadataItemType()
634 METADATA_ERR_LOG("GetCameraMetadataItemType dataType is null"); in GetCameraMetadataItemType()
645 *dataType = g_vendorTagImpl->GetVendorTagType(item); in GetCameraMetadataItemType()
665 *dataType = g_ohosItemInfo[section][itemIndex].item_type; in GetCameraMetadataItemType()
717 uint32_t item, const void *data, size_t dataCount, uint32_t *dataType) in AddCameraMetadataItemVerify()
743 int32_t ret = GetCameraMetadataItemType(item, dataType); in AddCameraMetadataItemVerify()
749 if (*dataType < META_TYPE_BYTE || *dataType >= META_NUM_TYPES) { in AddCameraMetadataItemVerify()
761 uint32_t dataType; in AddCameraMetadataItem() local
716 AddCameraMetadataItemVerify(common_metadata_header_t *dst, uint32_t item, const void *data, size_t dataCount, uint32_t *dataType) AddCameraMetadataItemVerify() argument
[all...]
H A Dcamera_metadata_operator.cpp45 int32_t GetCameraMetadataItemType(uint32_t item, uint32_t *dataType) in GetCameraMetadataItemType() argument
47 return CameraMetadata::GetCameraMetadataItemType(item, dataType); in GetCameraMetadataItemType()
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/
H A DExecutorTest.cpp99 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
127 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
155 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
184 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), dimensions, quantParam, in HWTEST_F()
212 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
240 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
267 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
300 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
340 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
380 OH_NN_Tensor operand = {operandTem.dataType, (uint32_ in HWTEST_F()
[all...]
/drivers/hdf_core/framework/support/platform/src/mipi/
H A Dmipi_csi_if.c34 int32_t MipiCsiSetExtDataType(DevHandle handle, ExtDataType* dataType) in MipiCsiSetExtDataType() argument
36 return MipiCsiCntlrSetExtDataType((struct MipiCsiCntlr *)handle, dataType); in MipiCsiSetExtDataType()
/test/xts/acts/ai/nncore/opstest/include/
H A Dnncore_utils.h30 OH_NN_DataType dataType; member
70 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_NN_Format format);
/test/xts/dcts/communication/softbus_standard/transmission/sendstream/
H A Dtrans_stream_test.cpp87 attr.dataType = TYPE_STREAM; in HWTEST_F()
132 attr.dataType = TYPE_STREAM; in HWTEST_F()
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_csi/
H A Dmipi_csi_dev.c188 static int MipiSetExtDataType(struct MipiCsiVfsPara *vfsPara, ExtDataType *dataType) in MipiSetExtDataType() argument
195 if (dataType == NULL) { in MipiSetExtDataType()
196 HDF_LOGE("MipiSetExtDataType: dataType is null!"); in MipiSetExtDataType()
204 MipiCsiCntlrSetExtDataType(vfsPara->cntlr, dataType); in MipiSetExtDataType()
510 DataType dataType; in ProcShowMipiDevice() local
532 dataType = pdevAttr->mipiAttr.inputDataType; in ProcShowMipiDevice()
535 dataType = pdevAttr->lvdsAttr.inputDataType; in ProcShowMipiDevice()
543 MipiGetRawDataTypeName(dataType), in ProcShowMipiDevice()
/test/xts/dcts/communication/softbus_standard/common/
H A Dnet_trans_common.c1217 g_sessionAttr4Data->dataType = TYPE_BYTES; in TestSetUp()
1221 g_sessionAttr4Ctl->dataType = TYPE_BYTES; in TestSetUp()
1225 g_sessionAttr4Pass->dataType = TYPE_BYTES; in TestSetUp()
1229 g_sessionAttr4Perf->dataType = TYPE_BYTES; in TestSetUp()
1233 g_sessionAttr4Proxy->dataType = TYPE_MESSAGE; in TestSetUp()
1237 g_p2pattribute->dataType = TYPE_BYTES; in TestSetUp()
1243 g_p2pattributeProxy->dataType = TYPE_MESSAGE; in TestSetUp()
/test/xts/hats/ai/nnrt/hdi/v1_0/common/
H A Dhdi_nnrt_test_utils.cpp152 .dataType = V1_0::DATA_TYPE_FLOAT32, in CreateIOTensor()
180 .dataType = V1_0::DATA_TYPE_FLOAT32, in CreateInputIOTensor()
201 .dataType = V1_0::DATA_TYPE_FLOAT32, in CreateOutputIOTensor()
/test/xts/hats/ai/nnrt/hdi/v2_0/common/
H A Dhdi_nnrt_test_utils.cpp152 .dataType = V2_0::DATA_TYPE_FLOAT32, in CreateIOTensor()
180 .dataType = V2_0::DATA_TYPE_FLOAT32, in CreateInputIOTensor()
201 .dataType = V2_0::DATA_TYPE_FLOAT32, in CreateOutputIOTensor()
/drivers/hdf_core/framework/include/platform/
H A Dmipi_csi_if.h203 short dataType[WDR_VC_NUM]; member
531 * @param dataType Pointer to image data format.
537 int32_t MipiCsiSetExtDataType(DevHandle handle, ExtDataType* dataType);
/drivers/peripheral/camera/test/fuzztest/metadata_utils/
H A Dmetadata_utils_fuzzer.cpp48 uint32_t dataType = ConvertUint32(rawData + DATA_TYPE_OFFSET); in GetMinInputSize() local
50 switch (dataType) { in GetMinInputSize()
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
H A Dnnrt_utils.cpp37 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildMultiOpGraph()
86 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildSingleOpGraph()
226 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecuteGraphMock()
269 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecutorWithMemory()

Completed in 25 milliseconds

12345