Home
last modified time | relevance | path

Searched refs:mimeType (Results 1 - 13 of 13) sorted by relevance

/test/xts/acts/multimedia/avsource/entry/src/main/cpp/
H A Dnativendk.cpp55 const char *mimeType; in CreateCapability() local
70 mimeType = OH_AVCODEC_MIMETYPE_VIDEO_AVC; in CreateCapability()
72 mimeType = OH_AVCODEC_MIMETYPE_AUDIO_AAC; in CreateCapability()
74 mimeType = OH_AVCODEC_MIMETYPE_AUDIO_FLAC; in CreateCapability()
76 mimeType = OH_AVCODEC_MIMETYPE_AUDIO_VORBIS; in CreateCapability()
78 mimeType = OH_AVCODEC_MIMETYPE_AUDIO_MPEG; in CreateCapability()
80 mimeType = OH_AVCODEC_MIMETYPE_VIDEO_HEVC; in CreateCapability()
82 mimeType = OH_AVCODEC_MIMETYPE_VIDEO_MPEG4; in CreateCapability()
84 mimeType = nullptr; in CreateCapability()
86 mimeType in CreateCapability()
[all...]
H A Dvideodecoderndk.cpp229 const char *mimeType = nullptr; in OHVideoDecoderStart() local
244 mimeType = OH_AVCODEC_MIMETYPE_VIDEO_AVC; in OHVideoDecoderStart()
246 mimeType = nullptr; in OHVideoDecoderStart()
248 mimeType = OH_AVCODEC_MIMETYPE_VIDEO_HEVC; in OHVideoDecoderStart()
252 videoDec = OH_VideoDecoder_CreateByMime(mimeType); in OHVideoDecoderStart()
305 const char *mimeType = nullptr; in OHVideoDecoderStop() local
321 mimeType = OH_AVCODEC_MIMETYPE_VIDEO_AVC; in OHVideoDecoderStop()
323 mimeType = nullptr; in OHVideoDecoderStop()
325 mimeType = OH_AVCODEC_MIMETYPE_VIDEO_HEVC; in OHVideoDecoderStop()
329 videoDec = OH_VideoDecoder_CreateByMime(mimeType); in OHVideoDecoderStop()
388 const char *mimeType = nullptr; OHVideoDecoderFlush() local
[all...]
H A Dvideoencoderndk.cpp892 const char *mimeType = nullptr; in OHVideoEncoderStart() local
907 mimeType = OH_AVCODEC_MIMETYPE_VIDEO_AVC; in OHVideoEncoderStart()
909 mimeType = nullptr; in OHVideoEncoderStart()
911 mimeType = OH_AVCODEC_MIMETYPE_VIDEO_HEVC; in OHVideoEncoderStart()
915 videoEnc = OH_VideoEncoder_CreateByMime(mimeType); in OHVideoEncoderStart()
968 const char *mimeType = nullptr; in OHVideoEncoderStop() local
984 mimeType = OH_AVCODEC_MIMETYPE_VIDEO_AVC; in OHVideoEncoderStop()
986 mimeType = nullptr; in OHVideoEncoderStop()
988 mimeType = OH_AVCODEC_MIMETYPE_VIDEO_HEVC; in OHVideoEncoderStop()
992 videoEnc = OH_VideoEncoder_CreateByMime(mimeType); in OHVideoEncoderStop()
1050 const char *mimeType = nullptr; OHVideoEncoderFlush() local
1133 const char *mimeType = nullptr; OHVideoEncoderReset() local
1214 const char *mimeType = nullptr; OHVideoEncoderGetOutputDescription() local
[all...]
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis/entry/src/main/cpp/
H A Dtest_request.cpp124 char *mimeType; in ReadRawfileDataOnWorkerThread() local
125 OH_ArkWebResponse_GetMimeType(response(), &mimeType); in ReadRawfileDataOnWorkerThread() local
126 std::string rspMimeType1(mimeType); in ReadRawfileDataOnWorkerThread()
128 OH_LOG_INFO(LOG_APP, "OH_ArkWebResponse_GetMimeType %{public}d", *mimeType); in ReadRawfileDataOnWorkerThread()
/test/xts/dcts/distributedhardware/distributedscreentest/
H A Ddecoder_demo.cpp202 std::string mimeType = capData->mimeType; in CheckCodecType() local
203 localCodecArray.push_back(mimeType); in CheckCodecType()
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis_enhance/entry/src/main/cpp/
H A Drawfile_request.cpp125 std::string mimeType; in ReadRawfileDataOnWorkerThread() member
150 OH_ArkWebResponse_SetMimeType(response(), urlInfo.mimeType.c_str()); in ReadRawfileDataOnWorkerThread()
/test/xts/acts/arkui/ace_ets_web_scheme_handler_three_napis/entry/src/main/cpp/
H A Drawfile_request.cpp132 std::string mimeType; in ReadRawfileDataOnWorkerThread() member
166 OH_ArkWebResponse_SetMimeType(response(), urlInfo.mimeType.c_str()); in ReadRawfileDataOnWorkerThread()
/test/xts/acts/arkui/ace_ets_web_scheme_handler_two_napis/entry/src/main/cpp/
H A Drawfile_request.cpp131 std::string mimeType; in ReadRawfileDataOnWorkerThread() member
164 OH_ArkWebResponse_SetMimeType(response(), urlInfo.mimeType.c_str()); in ReadRawfileDataOnWorkerThread()
/test/xts/acts/communication/nfc_Controller/entry/src/ohosTest/js/test/
H A DNDEFTag.test.js708 let mimeType = "text/plain";
715 let makeMRecords = tag.ndef.makeMimeRecord(mimeType , mimeData);
/test/xts/acts/multimedia/drm/drm_ndk_test/entry/src/main/cpp/
H A Dhello.cpp278 memcpy(requestInfo.mimeType, (char *)"video/mp4", sizeof("video/mp4")); in getLicense()
317 memcpy(requestInfo.mimeType, (char *)"video/mp4", sizeof("video/mp4")); in getOnLicResponseData()
1414 memcpy(requestInfo.mimeType, "111/222222", sizeof("111/222222")); in Test_MediaKeySession_GenerateMediaKeyRequest()
1416 memcpy(requestInfo.mimeType, "video/mp4", sizeof("video/mp4")); in Test_MediaKeySession_GenerateMediaKeyRequest()
1716 char *mimeType = nullptr; in Test_MediaKeySession_RequireSecureDecoderModule() local
1730 mimeType = new char[mimeTypeLen + 1]; in Test_MediaKeySession_RequireSecureDecoderModule()
1731 napi_get_value_string_utf8(env, args[1], mimeType, mimeTypeLen + 1, &mimeTypeLen); in Test_MediaKeySession_RequireSecureDecoderModule()
1759 if (0 != strcmp(mimeType, " ")) { in Test_MediaKeySession_RequireSecureDecoderModule()
1760 mineType_ptr = mimeType; in Test_MediaKeySession_RequireSecureDecoderModule()
/test/xts/acts/multimedia/image/image_ets_standard/imageNdk/entry/src/main/cpp/
H A DImageNdk.cpp394 Image_MimeType mimeType; in TestSavePixelmap() local
395 mimeType.data = (char *)MIME_TYPE_JPEG; in TestSavePixelmap()
396 mimeType.size = strlen(MIME_TYPE_JPEG); in TestSavePixelmap()
397 OH_PackingOptions_SetMimeType(opts, &mimeType); in TestSavePixelmap()
/test/xts/acts/distributeddatamgr/UDMFtest/UDMFndktestHvigor/entry/src/main/cpp/
H A Dutd_ndk_test.cpp1442 const char* mimeType(mimeTypes[0]); in OH_Utd_GetMimeTypes_001()
1444 napi_create_int32(env, strcmp(mimeType, "text/plain") == PARAM_0 && (1 == count), &returnCode); in OH_Utd_GetMimeTypes_001()
/test/xts/acts/multimedia/image/image_ets_standard/pictureNdk/entry/src/main/cpp/
H A DPictureNdk.cpp214 Image_MimeType mimeType = {.data = format, .size = formatSize}; in SetMimeTypeToTestPackingOptions() local
217 if (OH_PackingOptions_SetMimeType(g_ctx.packingOptions, &mimeType) != IMAGE_SUCCESS) { in SetMimeTypeToTestPackingOptions()

Completed in 25 milliseconds