/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/ |
H A D | fillp_input.c | 64 pcb->packTimerNode.interval != pcb->statistics.pack.packIntervalBackup)) { in FillpChangePackInteval() 65 FILLP_LOGDBG("FillpDataInput, change pack timer to working state with a new time interval %u, old %u", in FillpChangePackInteval() 66 pcb->statistics.pack.packIntervalBackup, pcb->statistics.pack.packInterval); in FillpChangePackInteval() 67 pcb->statistics.pack.packInterval = pcb->statistics.pack.packIntervalBackup; in FillpChangePackInteval() 69 pcb->packTimerNode.interval = pcb->statistics.pack.packInterval; in FillpChangePackInteval() 497 FILLP_LOGINF("netconn state not correct for PACK,state:%hhu", connState); in FillpCheckPackInput() 503 FILLP_LOGWAR("fillp_sock_id:%d, Invalid pack request, len = %d", FILLP_GET_SOCKET(pcb)->index, p->len); in FillpCheckPackInput() 510 FILLP_CONST struct FillpPktPack *pack) in FillpPackInputSendMsgTrace() 509 FillpPackInputSendMsgTrace(FILLP_CONST struct FillpPcb *pcb, FILLP_CONST struct FillpPktHead *pktHdr, FILLP_CONST struct FillpPktPack *pack) FillpPackInputSendMsgTrace() argument 560 FillpCheckPackNumber(struct FillpPcb *pcb, struct FillpPktPack *pack, FILLP_UINT32 ackSeqNum, FILLP_UINT32 lostSeqNum) FillpCheckPackNumber() argument 593 FillpHandleAdhocpackFlag(struct FillpPcb *pcb, struct FillpPktPack *pack) FillpHandleAdhocpackFlag() argument 630 FillpTryAckSendPcbByPackInfo(struct FillpPcb *pcb, FILLP_CONST struct FillpPktPack *pack, FILLP_UINT32 ackSeqNum, FILLP_UINT32 lostSeqNum) FillpTryAckSendPcbByPackInfo() argument 646 FillpHdlAdhocpack(struct FillpPcb *pcb, struct FillpPktPack *pack) FillpHdlAdhocpack() argument 653 FillpChangePackInterval(struct FillpPcb *pcb, FILLP_CONST struct FtSocket *sock, FILLP_CONST struct FillpPktPack *pack) FillpChangePackInterval() argument 664 FillpHandlePackFlag(struct FillpPcb *pcb, struct FillpPktPack *pack) FillpHandlePackFlag() argument 743 struct FillpPktPack *pack = FILLP_NULL_PTR; FillpPackInput() local [all...] |
H A D | fillp_output.c | 175 * because the items could be fully acked in recv pack in FillpSendOne() 436 struct FillpPktPack pack; in FillpSendAdhocpackToDetectRtt() local 440 (void)memset_s(&pack, sizeof(pack), 0, sizeof(pack)); in FillpSendAdhocpackToDetectRtt() 441 pack.rate = pcb->statistics.pack.periodRecvRate; in FillpSendAdhocpackToDetectRtt() 442 pack.oppositeSetRate = 0; in FillpSendAdhocpackToDetectRtt() 443 pack.flag = FILLP_PACK_FLAG_ADHOC; in FillpSendAdhocpackToDetectRtt() 444 pack in FillpSendAdhocpackToDetectRtt() 454 FillpSetSimplePack(FILLP_CONST struct FillpPcb *pcb, struct FillpPktPack *pack, FILLP_CONST struct FtSocket *ftSock) FillpSetSimplePack() argument 485 FillpSendPack(struct FillpPcb *pcb, struct FillpPktPack *pack) FillpSendPack() argument 515 struct FillpPktPack *pack = (struct FillpPktPack *)buf; FillpSendPackWithPcbBuffer() local [all...] |
H A D | fillp_flow_control_alg0.c | 139 pcb->statistics.pack.packInterval = packInterval; in FillpAlg0CalPackInterval() 148 pcb->statistics.pack.periodAckByPackRate = packRate; in FillpAlg0CalMaxPackRcvInterval() 149 pcb->statistics.pack.periodSendRate = periodSendRate; in FillpAlg0CalMaxPackRcvInterval() 156 static void FillpAlg0FcHandleInit(struct FillpPcb *pcb, FILLP_CONST struct FillpPktPack *pack) in FillpAlg0FcHandleInit() argument 170 if ((alg->sendRateIncreaseGainIndex < FILLP_FC_RTT_PACK_RATIO) && (pack->rate == 0)) { in FillpAlg0FcHandleInit() 175 alg->maxRecvRate = pack->rate; in FillpAlg0FcHandleInit() 176 alg->historyMaxRecvRate.rateSample[0].v = pack->rate; in FillpAlg0FcHandleInit() 189 static void FillpAlg0FcHandleBwProbe(struct FillpPcb *pcb, FILLP_CONST struct FillpPktPack *pack) in FillpAlg0FcHandleBwProbe() argument 195 FILLP_UINT32 recvRate = pack->rate; in FillpAlg0FcHandleBwProbe() 206 static void FillpAlg0PackStateProcess(struct FillpPcb *pcb, struct FillpPktPack *pack) in FillpAlg0PackStateProcess() argument 238 struct FillpPktPack *pack = (struct FillpPktPack *)argPack; FillpAlg0AnalysePack() local [all...] |
H A D | fillp_common.c | 365 struct FillpPktPack pack; in FillpSendAdhocpack() local 369 (void)memset_s(&pack, sizeof(pack), 0, sizeof(pack)); in FillpSendAdhocpack() 370 pack.rate = pcb->statistics.pack.periodRecvRate; in FillpSendAdhocpack() 371 pack.oppositeSetRate = 0; in FillpSendAdhocpack() 372 pack.flag = FILLP_PACK_FLAG_ADHOC; in FillpSendAdhocpack() 373 pack.pktLoss = 0; in FillpSendAdhocpack() 374 pack in FillpSendAdhocpack() 764 FillpBuildAndSendPack(struct FillpPcb *pcb, struct FtSocket *ftSock, struct FillpPktPack *pack, FILLP_UINT16 dataLen) FillpBuildAndSendPack() argument [all...] |
H A D | fillp_timer.c | 47 struct FillpPackStastics *packStastics = &pcb->statistics.pack; in FillpCalFcAppStastics() 103 struct FillpPackStastics *packStastics = &pcb->statistics.pack; in FillpCalRecvRate() 130 "total_recvd_count: %u recv rate: %u pack input interval: %lld", in FillpCalRecvRate() 136 pcb->statistics.traffic.totalRecved, pcb->statistics.pack.periodRecvRate, in FillpCalRecvRate() 152 struct FillpPackStastics *pack = &pcb->statistics.pack; in FillpPackTimerCb() local 156 pack->packTimePassed = curTime - pack->packSendTime; in FillpPackTimerCb() 157 pack->packSendTime = curTime; in FillpPackTimerCb() 159 FILLP_LOGDBG("pack fir in FillpPackTimerCb() [all...] |
H A D | fillp_pcb.c | 380 pcb->pack.periodDroped = 0; in InitSimpleStatics() 381 pcb->pack.periodRecvBits = 0; in InitSimpleStatics() 382 pcb->pack.peerRtt = FILLP_FALSE; in InitSimpleStatics() 383 pcb->pack.periodRecvedOnes = 0; in InitSimpleStatics() 385 pcb->pack.packIntervalBackup = pcb->pack.packInterval; in InitSimpleStatics() 386 pcb->pack.packLostSeq = 0; in InitSimpleStatics() 387 pcb->pack.packSendTime = fpcb->pcbInst->curTime; in InitSimpleStatics() 388 pcb->pack.packTimePassed = 0; in InitSimpleStatics() 389 pcb->pack in InitSimpleStatics() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_packer_test.cpp | 69 ImagePacker pack;
in HWTEST_F() local 73 uint32_t startpc = pack.StartPacking(outputData, maxSize, option);
in HWTEST_F() 86 ImagePacker pack;
in HWTEST_F() local 93 uint32_t startpc = pack.StartPacking(outputData, maxSize, option);
in HWTEST_F() 106 ImagePacker pack;
in HWTEST_F() local 114 uint32_t startpc = pack.StartPacking(outputData, maxSize, option);
in HWTEST_F() 127 ImagePacker pack;
in HWTEST_F() local 130 uint32_t startpc = pack.StartPacking(filePath, option);
in HWTEST_F() 143 ImagePacker pack;
in HWTEST_F() local 149 uint32_t startpc = pack in HWTEST_F() 162 ImagePacker pack; HWTEST_F() local 178 ImagePacker pack; HWTEST_F() local 200 ImagePacker pack; HWTEST_F() local 216 ImagePacker pack; HWTEST_F() local 235 ImagePacker pack; HWTEST_F() local 257 ImagePacker pack; HWTEST_F() local 279 ImagePacker pack; HWTEST_F() local 298 ImagePacker pack; HWTEST_F() local 316 ImagePacker pack; HWTEST_F() local 335 ImagePacker pack; HWTEST_F() local 349 ImagePacker pack; HWTEST_F() local 373 ImagePacker pack; HWTEST_F() local 414 ImagePacker pack; HWTEST_F() local 447 ImagePacker pack; HWTEST_F() local 486 ImagePacker pack; HWTEST_F() local 526 ImagePacker pack; HWTEST_F() local 566 ImagePacker pack; HWTEST_F() local 599 ImagePacker pack; HWTEST_F() local 638 ImagePacker pack; HWTEST_F() local 683 ImagePacker pack; HWTEST_F() local 720 ImagePacker pack; HWTEST_F() local 757 ImagePacker pack; HWTEST_F() local 794 ImagePacker pack; HWTEST_F() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_encode/ |
H A D | heif_hw_encoder_test.cpp | 76 ImagePacker pack;
in HWTEST_F() local 81 uint32_t startpc = pack.StartPacking(fd, option);
in HWTEST_F() 83 uint32_t retAddimgae = pack.AddImage(*imageSource);
in HWTEST_F() 85 uint32_t retFinalizePacking = pack.FinalizePacking();
in HWTEST_F() 123 ImagePacker pack;
in HWTEST_F() local 126 errorCode = pack.StartPacking(outputData.data(), fileSize, option);
in HWTEST_F() 128 errorCode = pack.AddImage(*(pixelMap.get()));
in HWTEST_F() 130 uint32_t retFinalizePacking = pack.FinalizePacking();
in HWTEST_F() 159 ImagePacker pack;
in HWTEST_F() local 162 errorCode = pack in HWTEST_F() 198 ImagePacker pack; HWTEST_F() local 239 ImagePacker pack; HWTEST_F() local 278 ImagePacker pack; HWTEST_F() local 318 ImagePacker pack; HWTEST_F() local 358 ImagePacker pack; HWTEST_F() local 399 ImagePacker pack; HWTEST_F() local 438 ImagePacker pack; HWTEST_F() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/ |
H A D | ext_aead.c | 177 static hi_s32 ext_ccm_gcm_mem_open(ext_ccm_gcm_mem *mem, symc_multi_pack *pack, compat_addr aad, hi_u32 aad_len) in ext_ccm_gcm_mem_open() argument 181 ret = crypto_mem_open(&mem->in, pack->in[0], pack->len[0]); in ext_ccm_gcm_mem_open() 187 ret = crypto_mem_open(&mem->out, pack->out[0], pack->len[0]); in ext_ccm_gcm_mem_open() 233 hi_s32 ext_mbedtls_aead_ccm_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 last) in ext_mbedtls_aead_ccm_crypto() argument 242 hi_log_chk_param_return((aead == HI_NULL) || (pack == HI_NULL)); in ext_mbedtls_aead_ccm_crypto() 243 hi_log_chk_param_return((pack->num != 1) || (pack->len == HI_NULL)); in ext_mbedtls_aead_ccm_crypto() 248 ret = ext_ccm_gcm_mem_open(&mem, pack, aea in ext_mbedtls_aead_ccm_crypto() 289 ext_mbedtls_aead_gcm_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 last) ext_mbedtls_aead_gcm_crypto() argument [all...] |
H A D | ext_symc.c | 251 hi_s32 ext_mbedtls_symc_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 last) in ext_mbedtls_symc_crypto() argument 261 hi_log_chk_param_return(pack == HI_NULL); in ext_mbedtls_symc_crypto() 262 hi_log_chk_param_return(pack->in == HI_NULL); in ext_mbedtls_symc_crypto() 263 hi_log_chk_param_return(pack->out == HI_NULL); in ext_mbedtls_symc_crypto() 264 hi_log_chk_param_return(pack->len == HI_NULL); in ext_mbedtls_symc_crypto() 265 hi_log_chk_param_return(pack->num != 0x01); in ext_mbedtls_symc_crypto() 274 ret = crypto_mem_open(&mem_in, pack->in[0], pack->len[0]); in ext_mbedtls_symc_crypto() 280 ret = crypto_mem_open(&mem_out, pack->out[0], pack in ext_mbedtls_symc_crypto() [all...] |
/device/soc/rockchip/rk3588/kernel/scripts/ |
H A D | mkbootimg | 22 from struct import pack namespace 40 sha.update(pack('I', filesize(f))) 42 sha.update(pack('I', 0)) 47 f.write(pack(str(pad) + 'x')) 70 args.output.write(pack('8s', BOOT_MAGIC)) 71 args.output.write(pack( 78 args.output.write(pack('4I', 0, 0, 0, 0)) # reserved 80 args.output.write(pack('I', args.header_version)) # version of bootimage header 81 args.output.write(pack('1536s', args.cmdline.encode())) 88 args.vendor_boot.write(pack(' [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/ |
H A D | kapi_symc.c | 792 symc_multi_pack pack; in kapi_symc_crypto() local 820 (hi_void)memset_s(&pack, sizeof(pack), 0, sizeof(pack)); in kapi_symc_crypto() 821 pack.in = &crypt->in; in kapi_symc_crypto() 822 pack.out = &crypt->out; in kapi_symc_crypto() 823 pack.len = &crypt->len; in kapi_symc_crypto() 824 pack.usage = &usage; in kapi_symc_crypto() 825 pack.num = 1; /* 1 single package encrypt or decrypt. */ in kapi_symc_crypto() 829 ret = ctx->func->crypto(ctx->cryp_ctx, crypt->operation, &pack, HI_TRU in kapi_symc_crypto() 901 kapi_symc_chk_multi_pack(hi_cipher_data *tmp, const hi_cipher_data *pack) kapi_symc_chk_multi_pack() argument 943 kapi_symc_multi_pack_set_mem(symc_multi_pack *pack, const hi_u8 *buf, hi_u32 size) kapi_symc_multi_pack_set_mem() argument 970 symc_multi_pack pack; kapi_symc_crypto_multi_start() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | picture_ext_test.cpp | 196 ImagePacker pack; in HWTEST_F() local 200 uint32_t startpc = pack.StartPacking(outputData.data(), fileSize, option); in HWTEST_F() 204 uint32_t retAddPicture = pack.AddPicture(*picture); in HWTEST_F() 207 uint32_t retFinalizePacking = pack.FinalizePacking(packedSize); in HWTEST_F() 230 ImagePacker pack; in HWTEST_F() local 233 uint32_t startpc = pack.StartPacking(IMAGE_JPEG_DEST, option); in HWTEST_F() 235 uint32_t retAddPicture = pack.AddPicture(*picture); in HWTEST_F() 237 uint32_t retFinalizePacking = pack.FinalizePacking(); in HWTEST_F() 255 ImagePacker pack; in HWTEST_F() local 260 uint32_t startpc = pack in HWTEST_F() 279 ImagePacker pack; HWTEST_F() local 312 ImagePacker pack; HWTEST_F() local 346 ImagePacker pack; HWTEST_F() local 372 ImagePacker pack; HWTEST_F() local 403 ImagePacker pack; HWTEST_F() local [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/ |
H A D | MQTTProtocolClient.h | 42 int MQTTProtocol_handlePublishes(void* pack, int sock); 43 int MQTTProtocol_handlePubacks(void* pack, int sock); 44 int MQTTProtocol_handlePubrecs(void* pack, int sock); 45 int MQTTProtocol_handlePubrels(void* pack, int sock); 46 int MQTTProtocol_handlePubcomps(void* pack, int sock);
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/ |
H A D | fillp_flow_control.h | 37 #define FILLP_FC_RTT_PACK_RATIO 4 // The ratio of rtt and pack period 46 FILLP_UINT8 i; /* pack index measurement was taken */ 57 void fillp_analyse_pack(struct FillpPcb *pcb, struct FillpPktPack *pack); 58 void FillpFcTailProtected(struct FillpPcb *pcb, struct FillpPktPack *pack); 59 void FillpFcPackInput(struct FillpPcb *pcb, struct FillpPktPack *pack);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/ |
H A D | cryp_symc.c | 583 static hi_s32 cryp_symc_crypto_init(cryp_symc_context *hisi_ctx, hi_u32 operation, symc_multi_pack *pack, in cryp_symc_crypto_init() argument 590 hi_log_chk_param_return(pack == HI_NULL); in cryp_symc_crypto_init() 594 if (pack->num == 0x01) { in cryp_symc_crypto_init() 595 hisi_ctx->enclen += pack->len[i]; in cryp_symc_crypto_init() 596 pack->usage[i] = (hi_u32)pack->usage[i] | (hi_u32)usage; in cryp_symc_crypto_init() 598 for (i = 0; i < pack->num; i++) { in cryp_symc_crypto_init() 599 if (pack->len[i] == 0x00) { in cryp_symc_crypto_init() 604 hi_log_chk_param_return(hisi_ctx->enclen + pack->len[i] < hisi_ctx->enclen); in cryp_symc_crypto_init() 606 hisi_ctx->enclen += pack in cryp_symc_crypto_init() 681 cryp_symc_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 wait) cryp_symc_crypto() argument 968 cryp_ccm_add_p(cryp_symc_context *hisi_ctx, symc_multi_pack *pack, hi_u32 wait) cryp_ccm_add_p() argument 1011 cryp_aead_ccm_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 wait) cryp_aead_ccm_crypto() argument 1066 cryp_aead_gcm_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 wait) cryp_aead_gcm_crypto() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/ |
H A D | coff.h | 27 #pragma pack(push, 4) 53 #pragma pack(pop) 54 #pragma pack(push, 2) 71 #pragma pack(pop)
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/ |
H A D | packet_create.py | 93 file.write(struct.pack('IHHI', flag, crc, imageNum, totalFileSize))
99 struct.pack('32sIIIII', bytes(pathName, 'ascii'), startIndex, imageSizeList[times], burnAddrList[times],
108 file.write(struct.pack('IIII', 0, 0, 0, 0))
115 file.write(struct.pack('H', crc16))
174 file.write(struct.pack('IHHI', flag, crc, imageNum, totalFileSize))
179 file.write(struct.pack('32sIIIII', bytes(pathName, 'ascii'), startIndex, imageSizeList[times], burnAddrList[times],
188 file.write(struct.pack('IIII', 0, 0, 0, 0))
196 file.write(struct.pack('H', crc16))
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_control.c | 49 TRANS_LOGE(TRANS_CTRL, "pack msg error"); in TransProxySendInnerMessage() 129 TRANS_LOGE(TRANS_CTRL, "pack handshake fail"); in TransProxyHandshake() 135 TRANS_LOGE(TRANS_CTRL, "pack handshake head fail"); in TransProxyHandshake() 184 TRANS_LOGE(TRANS_CTRL, "pack handshake ack fail"); in TransProxyAckHandshake() 190 TRANS_LOGE(TRANS_CTRL, "pack handshake ack head fail"); in TransProxyAckHandshake() 220 TRANS_LOGE(TRANS_CTRL, "pack keepalive fail"); in TransProxyKeepalive() 226 TRANS_LOGE(TRANS_CTRL, "pack keepalive head fail"); in TransProxyKeepalive() 256 TRANS_LOGE(TRANS_CTRL, "pack keepalive ack fail"); in TransProxyAckKeepalive() 263 TRANS_LOGE(TRANS_CTRL, "pack keepalive ack head fail"); in TransProxyAckKeepalive() 296 TRANS_LOGE(TRANS_CTRL, "pack rese in TransProxyResetPeer() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | hi_comm_adec.h | 47 ADEC_MODE_PACK = 0, /* require input is valid dec pack(a
50 valid dec pack, the stream know actually
51 pack len from file is also a dec pack.
55 vaild dec pack,you could use
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | hi_comm_adec.h | 47 ADEC_MODE_PACK = 0, /* require input is valid dec pack(a
50 valid dec pack, the stream know actually
51 pack len from file is also a dec pack.
55 vaild dec pack,you could use
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/libfscrypt/ |
H A D | key_control.h | 56 #pragma pack(push, 1) 66 #pragma pack(pop) 69 #pragma pack(push, 1) 75 #pragma pack(pop)
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/include/ |
H A D | ext_alg.h | 93 * param pack package of decrypt or encrypt. 98 hi_s32 ext_mbedtls_aead_ccm_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 last); 108 * param pack package of decrypt or encrypt. 113 hi_s32 ext_mbedtls_aead_gcm_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 last); 182 * param pack package for encrypt or decrypt. 186 hi_s32 ext_mbedtls_symc_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 last); 255 * param pack package for encrypt or decrypt. 260 hi_s32 ext_sm4_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 last);
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imagepicture_fuzzer/src/ |
H A D | image_picture_fuzzer.cpp | 110 ImagePacker pack; in ImagePackingTest001() local 113 pack.StartPacking(IMAGE_JPEG_DEST, option); in ImagePackingTest001() 114 pack.AddPicture(*picture); in ImagePackingTest001() 115 pack.FinalizePacking(); in ImagePackingTest001() 122 ImagePacker pack; in ImagePackingTest002() local 125 pack.StartPacking(IMAGE_HEIF_DEST, option); in ImagePackingTest002() 126 pack.AddPicture(*picture); in ImagePackingTest002() 127 pack.FinalizePacking(); in ImagePackingTest002()
|
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/ |
H A D | audio_effect_chain_adapter.cpp | 241 int32_t EffectChainManagerAddSessionInfo(const char *sceneType, const char *sessionID, SessionInfoPack pack) in EffectChainManagerAddSessionInfo() argument 252 if (sceneType && pack.channelLayout && sessionID && pack.sceneMode && in EffectChainManagerAddSessionInfo() 253 pack.spatializationEnabled && pack.streamUsage) { in EffectChainManagerAddSessionInfo() 255 channelLayoutNum = std::strtoull(pack.channelLayout, nullptr, BASE_TEN); in EffectChainManagerAddSessionInfo() 257 sceneModeString = pack.sceneMode; in EffectChainManagerAddSessionInfo() 258 spatializationEnabledString = pack.spatializationEnabled; in EffectChainManagerAddSessionInfo() 259 streamUsage = static_cast<int32_t>(std::strtol(pack.streamUsage, nullptr, BASE_TEN)); in EffectChainManagerAddSessionInfo() 268 info.channels = pack in EffectChainManagerAddSessionInfo() [all...] |