/test/xts/acts/multimedia/av_codec/audio_decoder/src/ |
H A D | param_check_test.cpp | 154 * @tc.name : Configure - channel(OH_AVCODEC_MIMETYPE_AUDIO_AAC) param check 161 int32_t channel = 2; in HWTEST_F() local 167 channel = 1; in HWTEST_F() 168 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F() 175 channel = 8; in HWTEST_F() 176 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F() 183 channel = 0; in HWTEST_F() 184 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F() 191 channel = 9; in HWTEST_F() 192 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRat in HWTEST_F() 208 int32_t channel = 2; HWTEST_F() local 335 int32_t channel = 2; HWTEST_F() local 382 int32_t channel = 2; // 2 channel HWTEST_F() local 485 int32_t channel = 2; HWTEST_F() local 532 int32_t channel = 2; // 2 chan HWTEST_F() local 635 int32_t channel = 1; HWTEST_F() local 674 int32_t channel = 1; HWTEST_F() local 713 int32_t channel = 1; HWTEST_F() local 752 int32_t channel = 1; HWTEST_F() local 791 int32_t channel = 1; HWTEST_F() local 830 int32_t channel = 1; HWTEST_F() local 869 int32_t channel = 1; HWTEST_F() local 904 int32_t channel = 1; HWTEST_F() local [all...] |
H A D | status_check_test.cpp | 56 int32_t channel = 1; in HWTEST_F() local 60 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F() 197 int32_t channel = 1; in HWTEST_F() local 205 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F() 206 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F() 221 int32_t channel = 1; in HWTEST_F() local 229 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F() 245 int32_t channel = 1; in HWTEST_F() local 254 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F() 271 int32_t channel in HWTEST_F() local 298 int32_t channel = 1; HWTEST_F() local 322 int32_t channel = 1; HWTEST_F() local 346 int32_t channel = 1; HWTEST_F() local 370 int32_t channel = 1; HWTEST_F() local 393 int32_t channel = 1; HWTEST_F() local 419 int32_t channel = 1; HWTEST_F() local 445 int32_t channel = 1; HWTEST_F() local 473 int32_t channel = 1; HWTEST_F() local 502 int32_t channel = 1; HWTEST_F() local 528 int32_t channel = 1; HWTEST_F() local 554 int32_t channel = 1; HWTEST_F() local 580 int32_t channel = 1; HWTEST_F() local 605 int32_t channel = 1; HWTEST_F() local 635 int32_t channel = 1; HWTEST_F() local 665 int32_t channel = 1; HWTEST_F() local 696 int32_t channel = 1; HWTEST_F() local 728 int32_t channel = 1; HWTEST_F() local 758 int32_t channel = 1; HWTEST_F() local 788 int32_t channel = 1; HWTEST_F() local 818 int32_t channel = 1; HWTEST_F() local 847 int32_t channel = 1; HWTEST_F() local 877 int32_t channel = 1; HWTEST_F() local 907 int32_t channel = 1; HWTEST_F() local 938 int32_t channel = 1; HWTEST_F() local 970 int32_t channel = 1; HWTEST_F() local 1000 int32_t channel = 1; HWTEST_F() local 1030 int32_t channel = 1; HWTEST_F() local 1060 int32_t channel = 1; HWTEST_F() local 1089 int32_t channel = 1; HWTEST_F() local 1117 int32_t channel = 1; HWTEST_F() local 1145 int32_t channel = 1; HWTEST_F() local 1175 int32_t channel = 1; HWTEST_F() local 1205 int32_t channel = 1; HWTEST_F() local 1233 int32_t channel = 1; HWTEST_F() local 1261 int32_t channel = 1; HWTEST_F() local 1289 int32_t channel = 1; HWTEST_F() local 1316 int32_t channel = 1; HWTEST_F() local 1344 int32_t channel = 1; HWTEST_F() local 1372 int32_t channel = 1; HWTEST_F() local 1402 int32_t channel = 1; HWTEST_F() local 1432 int32_t channel = 1; HWTEST_F() local 1460 int32_t channel = 1; HWTEST_F() local 1488 int32_t channel = 1; HWTEST_F() local 1516 int32_t channel = 1; HWTEST_F() local 1544 int32_t channel = 1; HWTEST_F() local [all...] |
H A D | null_check_test.cpp | 127 int32_t channel = 1; in HWTEST_F() local 135 result0 = aDecBufferDemo->Configure(nullptr, format, channel, sampleRate); in HWTEST_F() 151 int32_t channel = 1; in HWTEST_F() local 160 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F() 195 int32_t channel = 1; in HWTEST_F() local 203 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F() 221 int32_t channel = 1; in HWTEST_F() local 229 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F() 249 int32_t channel = 1; in HWTEST_F() local 257 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRat in HWTEST_F() 296 int32_t channel = 1; HWTEST_F() local 325 int32_t channel = 1; HWTEST_F() local 355 int32_t channel = 1; HWTEST_F() local 430 int32_t channel = 1; HWTEST_F() local [all...] |
H A D | avcodec_audio_avbuffer_decoder_demo.cpp | 842 OH_AVErrCode ADecBufferDemo::Configure(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate) in Configure() argument 847 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, channel); in Configure() 857 OH_AVErrCode ADecBufferDemo::SetParameter(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate) in SetParameter() argument 862 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, channel); in SetParameter()
|
/test/xts/acts/multimedia/av_codec/audio_encoder/src/ |
H A D | param_check_test.cpp | 104 * @tc.name : Configure - channel(OH_AVCODEC_MIMETYPE_AUDIO_G711MU) param check 111 int32_t channel = 1; //channel1 in HWTEST_F() local 121 channel = 1; in HWTEST_F() 122 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 130 channel = 2; in HWTEST_F() 131 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 139 channel = 0; in HWTEST_F() 140 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 148 channel = 3; in HWTEST_F() 149 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRat in HWTEST_F() 166 int32_t channel = 1; //channel1 HWTEST_F() local 248 int32_t channel = 1; //channel1 HWTEST_F() local 285 int32_t channel = 1; //channel1 HWTEST_F() local 313 int32_t channel = 1; //channel1 HWTEST_F() local 368 int32_t channel = 1; HWTEST_F() local 414 int32_t channel = 1; HWTEST_F() local 460 int32_t channel = 1; HWTEST_F() local 515 int32_t channel = 1; HWTEST_F() local 543 int32_t channel = 1; HWTEST_F() local 598 int32_t channel = 1; //channel1 HWTEST_F() local 650 int32_t channel = 1; //channel1 HWTEST_F() local 702 int32_t channel = 1; //channel1 HWTEST_F() local [all...] |
H A D | status_check_test.cpp | 56 int32_t channel = 1; //channel1 in HWTEST_F() local 64 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 202 int32_t channel = 1; //channel1 in HWTEST_F() local 214 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 216 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 232 int32_t channel = 1; //channel1 in HWTEST_F() local 244 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 261 int32_t channel = 1; //channel1 in HWTEST_F() local 274 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 292 int32_t channel in HWTEST_F() local 324 int32_t channel = 1; //channel1 HWTEST_F() local 353 int32_t channel = 1; //channel1 HWTEST_F() local 382 int32_t channel = 1; //channel1 HWTEST_F() local 411 int32_t channel = 1; //channel1 HWTEST_F() local 439 int32_t channel = 1; //channel1 HWTEST_F() local 471 int32_t channel = 1; //channel1 HWTEST_F() local 502 int32_t channel = 1; //channel1 HWTEST_F() local 535 int32_t channel = 1; //channel1 HWTEST_F() local 569 int32_t channel = 1; //channel1 HWTEST_F() local 600 int32_t channel = 1; //channel1 HWTEST_F() local 631 int32_t channel = 1; //channel1 HWTEST_F() local 662 int32_t channel = 1; //channel1 HWTEST_F() local 692 int32_t channel = 1; //channel1 HWTEST_F() local 728 int32_t channel = 1; //channel1 HWTEST_F() local 763 int32_t channel = 1; //channel1 HWTEST_F() local 799 int32_t channel = 1; //channel1 HWTEST_F() local 836 int32_t channel = 1; //channel1 HWTEST_F() local 871 int32_t channel = 1; //channel1 HWTEST_F() local 906 int32_t channel = 1; //channel1 HWTEST_F() local 941 int32_t channel = 1; //channel1 HWTEST_F() local 975 int32_t channel = 1; //channel1 HWTEST_F() local 1011 int32_t channel = 1; //channel1 HWTEST_F() local 1046 int32_t channel = 1; //channel1 HWTEST_F() local 1082 int32_t channel = 1; //channel1 HWTEST_F() local 1119 int32_t channel = 1; //channel1 HWTEST_F() local 1154 int32_t channel = 1; //channel1 HWTEST_F() local 1189 int32_t channel = 1; //channel1 HWTEST_F() local 1224 int32_t channel = 1; //channel1 HWTEST_F() local 1258 int32_t channel = 1; //channel1 HWTEST_F() local 1292 int32_t channel = 1; //channel1 HWTEST_F() local 1325 int32_t channel = 1; //channel1 HWTEST_F() local 1360 int32_t channel = 1; //channel1 HWTEST_F() local 1396 int32_t channel = 1; //channel1 HWTEST_F() local 1429 int32_t channel = 1; //channel1 HWTEST_F() local 1462 int32_t channel = 1; //channel1 HWTEST_F() local 1495 int32_t channel = 1; //channel1 HWTEST_F() local 1527 int32_t channel = 1; //channel1 HWTEST_F() local 1561 int32_t channel = 1; //channel1 HWTEST_F() local 1594 int32_t channel = 1; //channel1 HWTEST_F() local 1629 int32_t channel = 1; //channel1 HWTEST_F() local 1665 int32_t channel = 1; //channel1 HWTEST_F() local 1698 int32_t channel = 1; //channel1 HWTEST_F() local 1731 int32_t channel = 1; //channel1 HWTEST_F() local 1764 int32_t channel = 1; //channel1 HWTEST_F() local 1797 int32_t channel = 1; //channel1 HWTEST_F() local [all...] |
H A D | null_check_test.cpp | 127 int32_t channel = 1; //channel1 in HWTEST_F() local 139 result0 = audioBufferAacEncDemo->Configure(nullptr, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 156 int32_t channel = 1; //channel1 in HWTEST_F() local 169 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 205 int32_t channel = 1; //channel1 in HWTEST_F() local 217 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 236 int32_t channel = 1; //channel1 in HWTEST_F() local 248 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 269 int32_t channel = 1; //channel1 in HWTEST_F() local 281 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRat in HWTEST_F() 321 int32_t channel = 1; //channel1 HWTEST_F() local 355 int32_t channel = 1; //channel1 HWTEST_F() local 390 int32_t channel = 1; //channel1 HWTEST_F() local 425 int32_t channel = 1; //channel1 HWTEST_F() local [all...] |
H A D | avcodec_audio_avbuffer_encoder_demo.cpp | 56 static uint64_t GetChannelLayout(int32_t channel) in GetChannelLayout() argument 58 switch (channel) { in GetChannelLayout() 580 OH_AVErrCode AudioBufferAacEncDemo::Configure(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, in Configure() argument 588 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, channel); in Configure() 596 uint64_t channelLayout = GetChannelLayout(channel); in Configure() 598 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, channel); in Configure() 605 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, channel); in Configure() 743 OH_AVErrCode AudioBufferAacEncDemo::SetParameter(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, in SetParameter() argument 750 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, channel); in SetParameter() 759 uint64_t channelLayout = GetChannelLayout(channel); in SetParameter() [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
H A D | dmlib.py | 91 self.channel = dict() 92 self.channel.setdefault("host", host) 93 self.channel.setdefault("port", port) 138 local_port=self.channel.setdefault( 166 self.channel.get("host"), str(self.channel.get("post")))) 227 device_instance.host = self.channel.get("host") 228 device_instance.port = self.channel.get("port") 272 (str(convert_ip(self.channel.get("host"))), 273 str(int(self.channel [all...] |
/test/xts/acts/ai/mindspore/mindsporectest/src/ |
H A D | ohos_common.cpp | 432 void PackNCHWToNHWCFp32(const char *src, char *dst, int batch, int plane, int channel) { in PackNCHWToNHWCFp32() argument 434 for (int c = 0; c < channel; c++) { in PackNCHWToNHWCFp32() 436 int nhwc_index = n * channel * plane + hw * channel + c; in PackNCHWToNHWCFp32() 437 int nchw_index = n * channel * plane + c * plane + hw; in PackNCHWToNHWCFp32()
|
H A D | ohos_common.h | 53 void PackNCHWToNHWCFp32(const char *src, char *dst, int batch, int plane, int channel);
|
/test/xts/acts/multimedia/av_codec/audio_encoder/include/ |
H A D | avcodec_audio_avbuffer_encoder_demo.h | 124 * @param channel; scope: [1, 2]; default: 2; code: AV_ERR_INVALID_VAL; 132 * @param channel; scope: {1}; default: 1; code: AV_ERR_INVALID_VAL; 137 OH_AVErrCode Configure(OH_AVCodec* codec, OH_AVFormat* format, int32_t channel, int32_t sampleRate, 232 OH_AVErrCode SetParameter(OH_AVCodec* codec, OH_AVFormat* format, int32_t channel, int32_t sampleRate,
|
/test/xts/acts/multimedia/av_codec/audio_decoder/include/ |
H A D | avcodec_audio_avbuffer_decoder_demo.h | 135 * @param channel; scope: [1, 8]; default: 2; code: AV_ERR_INVALID_VAL; 139 * @param channel; scope: [1, 8]; default: 2; code: AV_ERR_UNSUPPORT; 144 * @param channel; scope: [1, 8]; default: 2; code: AV_ERR_INVALID_VAL; 148 * @param channel; scope: [1, 8]; default: 2; code: AV_ERR_INVALID_VAL; 151 * @param channel; scope: {1}; default: 1; code: AV_ERR_INVALID_VAL; 154 * @param channel; scope: {1}; default: 1; code: AV_ERR_INVALID_VAL; 157 * @param channel; scope: [1, 2]; default: 1; code: AV_ERR_INVALID_VAL; 160 * @param channel; scope: {1}; default: 1; code: AV_ERR_INVALID_VAL; 164 * @param channel; scope: [1,16]; default: 1; code: AV_ERR_INVALID_VAL; 168 OH_AVErrCode Configure(OH_AVCodec* codec, OH_AVFormat* format, int32_t channel, int32_ [all...] |
/test/testfwk/xdevice/src/xdevice/_core/context/ |
H A D | center.py | 23 from _core.context.channel import CommandQueue
|