/test/xts/acts/multimedia/avsource/entry/src/main/cpp/ |
D | audiodecoderxdlndk.cpp | 104 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument 107 (void)format; in OnStreamChanged() 146 OH_AVFormat *format = nullptr; in AudioDecoderConfigure() local 147 format = OH_AVFormat_Create(); in AudioDecoderConfigure() 148 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioDecoderConfigure() 149 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioDecoderConfigure() 150 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioDecoderConfigure() 151 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, DEFAULT_MAX_INPUT_SIZE); in AudioDecoderConfigure() 152 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in AudioDecoderConfigure() 154 return TestInitAVErrCode(env, OH_AudioDecoder_Configure(audioDec, format)); in AudioDecoderConfigure() [all …]
|
D | audioDecoderAvBuffer.cpp | 104 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument 107 (void)format; in OnStreamChanged() 145 OH_AVFormat *format = nullptr; in AudioDecoderConfigure() local 146 format = OH_AVFormat_Create(); in AudioDecoderConfigure() 147 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioDecoderConfigure() 148 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioDecoderConfigure() 149 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioDecoderConfigure() 150 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, DEFAULT_MAX_INPUT_SIZE); in AudioDecoderConfigure() 151 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in AudioDecoderConfigure() 153 return TestInitAVErrCode(env, OH_AudioCodec_Configure(audioDec, format)); in AudioDecoderConfigure() [all …]
|
D | audioEncoderAvBuffer.cpp | 111 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument 114 (void)format; in OnStreamChanged() 159 OH_AVFormat *format = nullptr; in AudioEncoderConfigure() local 160 format = OH_AVFormat_Create(); in AudioEncoderConfigure() 161 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioEncoderConfigure() 162 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioEncoderConfigure() 163 OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioEncoderConfigure() 164 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, BITS_PER_CODED_SAMPLE); in AudioEncoderConfigure() 165 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_FORMAT); in AudioEncoderConfigure() 166 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOUT, CHANNEL_LAYOUT); in AudioEncoderConfigure() [all …]
|
D | audioencoderxdlndk.cpp | 109 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument 112 (void)format; in OnStreamChanged() 161 OH_AVFormat *format = nullptr; in AudioEncoderConfigure() local 162 format = OH_AVFormat_Create(); in AudioEncoderConfigure() 163 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioEncoderConfigure() 164 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioEncoderConfigure() 165 OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioEncoderConfigure() 166 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, BITS_PER_CODED_SAMPLE); in AudioEncoderConfigure() 167 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_FORMAT); in AudioEncoderConfigure() 168 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOUT, CHANNEL_LAYOUT); in AudioEncoderConfigure() [all …]
|
D | videoencoderndk.cpp | 188 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument 191 (void)format; in OnStreamChanged() 324 OH_AVFormat *format = nullptr; in OHVideoEncoderConfigure() local 325 format = OH_AVFormat_Create(); in OHVideoEncoderConfigure() 326 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in OHVideoEncoderConfigure() 327 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in OHVideoEncoderConfigure() 328 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, DEFAULT_PIXELFORMAT); in OHVideoEncoderConfigure() 330 checkParam = OH_VideoEncoder_Configure(videoEnc, format); in OHVideoEncoderConfigure() 345 OH_AVFormat *format = nullptr; in OHVideoEncoderConfigureHEVC() local 346 format = OH_AVFormat_Create(); in OHVideoEncoderConfigureHEVC() [all …]
|
D | videodecoderndk.cpp | 111 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument 114 (void)format; in OnStreamChanged() 179 OH_AVFormat *format = nullptr; in OHVideoDecoderConfigure() local 180 format = OH_AVFormat_Create(); in OHVideoDecoderConfigure() 181 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in OHVideoDecoderConfigure() 182 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in OHVideoDecoderConfigure() 183 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, DEFAULT_PIXELFORMAT); in OHVideoDecoderConfigure() 185 checkParam = OH_VideoDecoder_Configure(videoDec, format); in OHVideoDecoderConfigure() 188 OH_AVFormat_Destroy(format); in OHVideoDecoderConfigure() 201 OH_AVFormat *format = nullptr; in OHVideoDecoderPrepare() local [all …]
|
/test/xts/acts/global/i18n_standard/intljs/src/main/js/test/ |
D | NumberFormatInIntl.test.js | 67 console.log('formatNumber_test_0100 ' + numfmt.format(123456.789)); 68 expect(numfmt.format(123456.789)).assertEqual('123,456.789'); 88 console.log('formatNumber_test_0140 ' + numfmt.format(123456.789)); 89 expect(numfmt.format(123456.789)).assertEqual('123,456.789'); 99 console.log('formatNumber_test_0160 ' + numfmt.format(123456.789)); 100 expect(numfmt.format(123456.789)).assertEqual('123,456.789'); 110 console.log('formatNumber_test_0200 ' + numfmt.format(123456.789)); 111 expect(numfmt.format(123456.789)).assertEqual('123,456.789'); 121 console.log('formatNumber_test_0300 ' + numfmt.format(123456.789)); 122 expect(numfmt.format(123456.789)).assertEqual('١٢٣٬٤٥٦٫٧٨٩'); [all …]
|
D | DateTimeFormatInIntl.test.js | 89 console.log('dateTimeFormat_test_0200 ' + datefmt.format(date)); 90 expect(datefmt.format(date)).assertContain('2021'); 101 console.log('dateTimeFormat_test_0220 ' + datefmt.format(date)); 102 expect(datefmt.format(date)).assertContain('2021'); 113 console.log('dateTimeFormat_test_0240 ' + datefmt.format(date)); 114 expect(datefmt.format(date)).assertContain('2021'); 125 console.log('dateTimeFormat_test_0300 ' + datefmt.format(date)); 126 expect(datefmt.format(date)).assertContain('21'); 137 console.log('dateTimeFormat_test_0310 ' + datefmt.format(date)); 138 expect(datefmt.format(date)).assertContain('21'); [all …]
|
/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/ |
D | api_test.cpp | 37 OH_AVFormat *format; variable 106 if (format != nullptr) { in TearDown() 107 OH_AVFormat_Destroy(format); in TearDown() 108 format = nullptr; in TearDown() 253 format = OH_AVFormat_Create(); 254 ASSERT_NE(nullptr, format); 255 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, 100000); 256 ret = OH_VideoEncoder_Configure(venc_, format); 315 format = OH_VideoEncoder_GetOutputDescription(nullptr); 316 ASSERT_EQ(format, nullptr); [all …]
|
D | videoenc_api11_sample.cpp | 62 static void VencFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VencFormatChanged() argument 126 OH_AVFormat *format = OH_AVBuffer_GetParameter(buffer); in DumpLtrInfo() local 129 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PER_FRAME_IS_LTR, &isLtr); in DumpLtrInfo() 130 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PER_FRAME_POC, &framePoc); in DumpLtrInfo() 153 OH_AVFormat *format = OH_AVFormat_Create(); in ConfigureVideoEncoder() local 154 if (format == nullptr) { in ConfigureVideoEncoder() 158 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in ConfigureVideoEncoder() 159 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in ConfigureVideoEncoder() 160 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, DEFAULT_PIX_FMT); in ConfigureVideoEncoder() 161 (void)OH_AVFormat_SetDoubleValue(format, OH_MD_KEY_FRAME_RATE, DEFAULT_FRAME_RATE); in ConfigureVideoEncoder() [all …]
|
D | func_test.cpp | 36 OH_AVFormat *format; variable 85 if (format != nullptr) { in TearDown() 86 OH_AVFormat_Destroy(format); in TearDown() 87 format = nullptr; in TearDown() 195 format = OH_AVFormat_Create(); 196 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_RANGE_FLAG, 1)); 197 …ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_COLOR_PRIMARIES, OH_ColorPrimary::COLOR_… 198 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_TRANSFER_CHARACTERISTICS, 200 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_MATRIX_COEFFICIENTS, 202 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); [all …]
|
D | videoenc_ndk_sample.cpp | 67 static void VencFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VencFormatChanged() argument 134 OH_AVFormat *format = OH_AVFormat_Create(); in ConfigureVideoEncoder() local 135 if (format == nullptr) { in ConfigureVideoEncoder() 139 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in ConfigureVideoEncoder() 140 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in ConfigureVideoEncoder() 141 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, DEFAULT_PIX_FMT); in ConfigureVideoEncoder() 142 (void)OH_AVFormat_SetDoubleValue(format, OH_MD_KEY_FRAME_RATE, DEFAULT_FRAME_RATE); in ConfigureVideoEncoder() 143 (void)OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in ConfigureVideoEncoder() 144 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVAL, DEFAULT_KEY_FRAME_INTERVAL); in ConfigureVideoEncoder() 146 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_QUALITY, DEFAULT_QUALITY); in ConfigureVideoEncoder() [all …]
|
/test/xts/acts/arkui/libuv/ |
D | genlocal.py | 69 suiteitemcap = "{}{}".format(suiteitem[:1].upper(), suiteitem[1:]) 72 hapdirpath = "{}{}".format(G_HAPDIRPATH, suiteitem.lower()) 74 run_cmd(r"rm -rf {}".format(hapdirpath)) 75 run_cmd(r"cp {} {} -r".format(G_TMPDIRPATH, hapdirpath)) 77 run_cmd(r"cp {} {} -r".format(G_TMPDIRPATH, hapdirpath)) 79 mustpass = os.path.join(G_MUSTPASSPATH, "{}{}".format(suiteitem, G_MUSTPASSFILE)) 98 casenamecap = "{}{}".format(casename[:1].upper(), casename[1:]) 99 pagenametext = "{}-{}".format(suitename, casenamecap) 100 … pagefilename = os.path.join(hapdirpath, G_PATHDIRPATH, "{}.ets".format(suitename)) 107 run_cmd(r"sed -i '{}a {}' {}".format(ind, attrtempline, pagefilename)) [all …]
|
/test/xts/acts/multimedia/av_codec/audio_decoder/src/ |
D | param_check_test.cpp | 160 OH_AVFormat *format = OH_AVFormat_Create(); variable 168 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); 172 format = OH_AVFormat_Create(); 176 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); 180 format = OH_AVFormat_Create(); 184 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); 188 format = OH_AVFormat_Create(); 192 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); 207 OH_AVFormat *format = OH_AVFormat_Create(); variable 215 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); [all …]
|
D | status_check_test.cpp | 55 OH_AVFormat *format = OH_AVFormat_Create(); variable 60 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); 196 OH_AVFormat *format = OH_AVFormat_Create(); variable 205 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); 206 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); 220 OH_AVFormat *format = OH_AVFormat_Create(); variable 229 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); 244 OH_AVFormat *format = OH_AVFormat_Create(); variable 254 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); 270 OH_AVFormat *format = OH_AVFormat_Create(); variable [all …]
|
/test/xts/acts/commonlibrary/ets_utils/intl_lib_standard/src/main/js/test/ |
D | Intl.test.js | 61 var intlObj = new Intl.DateTimeFormat("en-US", options).format; 78 var intlObj = new Intl.DateTimeFormat("en", options).format; 96 var intlObj = new Intl.DateTimeFormat(["pt-BR", "pt-PT"], options).format; 115 var intlObj = new Intl.DateTimeFormat(swissLocales, options).format; 131 var intlObj = new Intl.DateTimeFormat("th-TH-u-nu-thai-ca-chinese", options).format; 146 var intlObj = new Intl.DateTimeFormat("en-GB", options).format; 162 var intlObj = new Intl.DateTimeFormat("aa", options).format; 178 var intlObj = new Intl.DateTimeFormat("aa", options).format; 193 var intlObj = new Intl.DateTimeFormat(['ban', 'zh'], options).format; 208 var intlObj = new Intl.DateTimeFormat(['en', 'zh'], options).format; [all …]
|
/test/xts/hats/kernel/posix_interface/interface_gn/utils/ |
D | log.h | 36 #define LOGD(format, ...) fprintf(stdout, "[%.06f] " format "\n", GetCurTime(), ##__VA_ARGS__) argument 37 #define LOG(format, ...) fprintf(stdout, "[%.06f] " format "\n", GetCurTime(), ##__VA_ARGS__) argument 40 #define LOG(format, ...) fprintf(stdout, format "\n", ##__VA_ARGS__) 43 #define LOGE(format, ...) fprintf(stdout, "\n%s:%d: " format "\n", __FILE__, __LINE__, ##__VA_ARG… argument 45 #define PANIC(format, ...) do { \ argument 46 LOGE(format, ##__VA_ARGS__); \
|
/test/xts/acts/kernel_lite/utils/ |
D | log.h | 40 #define LOGD(format, ...) fprintf(stdout, "[%.06f] " format "\n", GetCurTime(), ##__VA_ARGS__) argument 41 #define LOG(format, ...) fprintf(stdout, "[%.06f] " format "\n", GetCurTime(), ##__VA_ARGS__) argument 44 #define LOG(format, ...) fprintf(stdout, format "\n", ##__VA_ARGS__) 47 #define LOGE(format, ...) fprintf(stdout, "\n%s:%d: " format "\n", __FILE__, __LINE__, ##__VA_ARG… argument 49 #define PANIC(format, ...) do { \ argument 50 LOGE(format, ##__VA_ARGS__); \
|
/test/xts/acts/multimedia/av_codec/audio_encoder/src/ |
D | param_check_test.cpp | 110 OH_AVFormat *format = OH_AVFormat_Create(); variable 122 …result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleForm… 127 format = OH_AVFormat_Create(); 131 …result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleForm… 136 format = OH_AVFormat_Create(); 140 …result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleForm… 145 format = OH_AVFormat_Create(); 149 …result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleForm… 165 OH_AVFormat *format = OH_AVFormat_Create(); variable 177 …result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleForm… [all …]
|
D | avcodec_audio_avbuffer_encoder_demo.cpp | 156 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 159 (void)format; in OnOutputFormatChanged() 229 OH_AVFormat *format = OH_AVFormat_Create(); in RunCase() local 234 … OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), CHANNEL_COUNT); in RunCase() 235 … OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in RunCase() 236 …OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FOR… in RunCase() 243 … OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channels_); in RunCase() 244 … OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), sampleRate_); in RunCase() 245 OH_AVFormat_SetLongValue(format, MediaDescriptionKey::MD_KEY_BITRATE.data(), bitrate); in RunCase() 246 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in RunCase() [all …]
|
/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/src/ |
D | api_test.cpp | 57 OH_AVFormat *format; variable 76 if (format != nullptr) { in TearDown() 77 OH_AVFormat_Destroy(format); in TearDown() 78 format = nullptr; in TearDown() 202 format = OH_AVFormat_Create(); 203 ASSERT_NE(NULL, format); 204 ASSERT_EQ(AV_ERR_INVALID_VAL, OH_VideoDecoder_Configure(NULL, format)); 214 format = OH_AVFormat_Create(); 215 ASSERT_NE(NULL, format); 217 (void)OH_AVFormat_SetIntValue(format, widthStr.c_str(), DEFAULT_WIDTH); [all …]
|
/test/ostest/wukong/common/include/ |
D | wukong_define.h | 38 #define TRACK_LOG_STR(format, ...) \ argument 39 …WuKongLogger::GetInstance()->Print(LOG_LEVEL_TRACK, "TRK : (%5d) %s : " #format, __LINE__, __func_… 40 #define DEBUG_LOG_STR(format, ...) \ argument 41 …WuKongLogger::GetInstance()->Print(LOG_LEVEL_DEBUG, "DBG : (%5d) %s : " #format, __LINE__, __func_… 42 #define INFO_LOG_STR(format, ...) \ argument 43 …WuKongLogger::GetInstance()->Print(LOG_LEVEL_INFO, "INF : (%5d) %s : " #format, __LINE__, __func__… 44 #define WARN_LOG_STR(format, ...) \ argument 45 …WuKongLogger::GetInstance()->Print(LOG_LEVEL_WARN, "WRN : (%5d) %s : " #format, __LINE__, __func__… 46 #define ERROR_LOG_STR(format, ...) \ argument 47 …WuKongLogger::GetInstance()->Print(LOG_LEVEL_ERROR, "ERR : (%5d) %s : " #format, __LINE__, __func_…
|
/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/src/ |
D | api_test.cpp | 67 OH_AVFormat *format; variable 76 if (format != nullptr) { in TearDown() 77 OH_AVFormat_Destroy(format); in TearDown() 78 format = nullptr; in TearDown() 194 OH_AVFormat *format = OH_AVFormat_Create(); variable 195 ASSERT_NE(NULL, format); 196 ASSERT_EQ(AV_ERR_INVALID_VAL, OH_VideoDecoder_Configure(NULL, format)); 206 OH_AVFormat *format = OH_AVFormat_Create(); variable 207 ASSERT_NE(NULL, format); 210 (void)OH_AVFormat_SetIntValue(format, widthStr.c_str(), DEFAULT_WIDTH); [all …]
|
/test/xts/hats/hdf/display/buffer/unittest/ |
D | display_buffer_ut.cpp | 54 .format = PIXEL_FMT_RGBX_8888 62 .format = PIXEL_FMT_RGBX_8888 70 .format = PIXEL_FMT_RGBX_8888 78 .format = PIXEL_FMT_RGBA_8888 86 .format = PIXEL_FMT_BGRA_8888 95 .format = PIXEL_FMT_YCBCR_420_SP 103 .format = PIXEL_FMT_YCRCB_420_SP 111 .format = PIXEL_FMT_YCBCR_420_P 119 .format = PIXEL_FMT_YCRCB_420_P 127 .format = PIXEL_FMT_RGBX_8888 [all …]
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
D | device.py | 70 UITEST_SHMF = "/data/app/el2/100/base/{}/cache/shmf".format(DEVICETEST_HAP_PACKAGE_NAME) 71 UITEST_COMMAND = "{} start-daemon 0123456789 &".format(UITEST_PATH) 86 LOG.debug("Device {} {} is false".format(self.device_sn, 108 self.log.error("error type: {}, error: {}".format 112 LOG.debug("{} not running, set device {} {} false".format( 117 callback_to_outer(self, "error:{}, prepare to recover".format(error)) 119 LOG.debug("Set device {} {} false".format( 127 self.log.error("error type: {}, error: {}".format(error.__class__.__name__, error)) 128 callback_to_outer(self, "error:{}, prepare to recover".format(error)) 130 LOG.debug("Set device {} {} false".format( [all …]
|