/foundation/multimedia/player_framework/frameworks/js/recorder/ |
H A D | video_recorder_napi.cpp | 672 bool ret = CommonNapi::GetPropertyInt32(env, args, "audioSourceType", audioSource); in GetConfig() 682 (void)CommonNapi::GetPropertyInt32(env, args, "videoSourceType", videoSource); in GetConfig() 685 (void)CommonNapi::GetPropertyInt32(env, args, "rotation", properties.orientationHint); in GetConfig() 703 (void)CommonNapi::GetPropertyInt32(env, item, "audioBitrate", properties.profile.audioBitrate); in GetVideoRecorderProperties() 704 (void)CommonNapi::GetPropertyInt32(env, item, "audioChannels", properties.profile.audioChannels); in GetVideoRecorderProperties() 707 (void)CommonNapi::GetPropertyInt32(env, item, "audioSampleRate", properties.profile.auidoSampleRate); in GetVideoRecorderProperties() 708 (void)CommonNapi::GetPropertyInt32(env, item, "durationTime", properties.profile.duration); in GetVideoRecorderProperties() 711 (void)CommonNapi::GetPropertyInt32(env, item, "videoBitrate", properties.profile.videoBitrate); in GetVideoRecorderProperties() 714 (void)CommonNapi::GetPropertyInt32(env, item, "videoFrameWidth", properties.profile.videoFrameWidth); in GetVideoRecorderProperties() 715 (void)CommonNapi::GetPropertyInt32(en in GetVideoRecorderProperties() [all...] |
H A D | audio_recorder_napi.cpp | 288 (void)CommonNapi::GetPropertyInt32(env, args, "format", fileFormat); in GetAudioEncAndFileFormat() 311 (void)CommonNapi::GetPropertyInt32(env, args, "audioEncoder", audioEncoder); in GetAudioEncAndFileFormat() 342 (void)CommonNapi::GetPropertyInt32(env, args, "audioEncodeBitRate", properties.encodeBitRate); in GetAudioProperties() 343 (void)CommonNapi::GetPropertyInt32(env, args, "audioSampleRate", properties.audioSampleRate); in GetAudioProperties() 344 (void)CommonNapi::GetPropertyInt32(env, args, "numberOfChannels", properties.numberOfChannels); in GetAudioProperties()
|
H A D | recorder_capability_napi.cpp | 278 ret = CommonNapi::GetPropertyInt32(env, profile, "bitrate", result.audioBitrate); in ExtractAudioRecorderProfile() 280 ret = CommonNapi::GetPropertyInt32(env, profile, "sampleRate", result.audioSampleRate); in ExtractAudioRecorderProfile() 282 ret = CommonNapi::GetPropertyInt32(env, profile, "channel", result.audioChannels); in ExtractAudioRecorderProfile()
|
/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/ |
H A D | avscreen_capture_napi.cpp | 652 int32_t ret = AVScreenCaptureNapi::GetPropertyInt32(env, args, "audioSampleRate", audioSampleRate); 662 ret = AVScreenCaptureNapi::GetPropertyInt32(env, args, "audioChannelCount", audioChannels); 674 ret = AVScreenCaptureNapi::GetPropertyInt32(env, args, "audioBitrate", audioBitrate); 694 int32_t ret = AVScreenCaptureNapi::GetPropertyInt32(env, args, "videoBitrate", videoBitrate); 701 ret = AVScreenCaptureNapi::GetPropertyInt32(env, args, "preset", preset); 708 ret = AVScreenCaptureNapi::GetPropertyInt32(env, args, "frameWidth", frameWidth); 711 ret = AVScreenCaptureNapi::GetPropertyInt32(env, args, "frameHeight", frameHeight); 732 (void)CommonNapi::GetPropertyInt32(env, args, "fd", fd); 922 int32_t AVScreenCaptureNapi::GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type,
|
H A D | avscreen_capture_napi.h | 122 static int32_t GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_capturedata.cpp | 84 int32_t RSCaptureData::GetPropertyInt32(const std::string& name) const in GetPropertyInt32() function in OHOS::Rosen::RSCaptureData
|
H A D | rs_profiler_capturedata.h | 79 int32_t GetPropertyInt32(const std::string& name) const;
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/ |
H A D | rs_profiler_capturedata_test.cpp | 162 EXPECT_EQ(initial, data.GetPropertyInt32(name)); in HWTEST_F()
|
/foundation/communication/netmanager_base/frameworks/js/napi/common/ |
H A D | napi_common.h | 72 static void GetPropertyInt32(napi_env env, napi_value object, const std::string &propertyName, int32_t &property);
|
H A D | napi_common.cpp | 119 void NapiCommon::GetPropertyInt32( in GetPropertyInt32() function in OHOS::NetManagerStandard::NapiCommon
|
/foundation/multimedia/player_framework/frameworks/js/metadatahelper/ |
H A D | avimagegenerator_napi.cpp | 177 if (!CommonNapi::GetPropertyInt32(env, params, "width", width)) { in GetFetchFrameArgs() 182 if (!CommonNapi::GetPropertyInt32(env, params, "height", height)) { in GetFetchFrameArgs() 188 CommonNapi::GetPropertyInt32(env, params, "colorFormat", formatVal); in GetFetchFrameArgs()
|
/foundation/multimedia/player_framework/frameworks/js/avtranscoder/ |
H A D | avtranscoder_napi.cpp | 825 (void)CommonNapi::GetPropertyInt32(env, args, "audioBitrate", config->audioBitrate);
in GetAudioConfig() 852 (void)CommonNapi::GetPropertyInt32(env, args, "videoBitrate", config->videoBitrate);
in GetVideoConfig() 853 (void)CommonNapi::GetPropertyInt32(env, args, "videoFrameWidth", config->videoFrameWidth);
in GetVideoConfig() 854 (void)CommonNapi::GetPropertyInt32(env, args, "videoFrameHeight", config->videoFrameHeight);
in GetVideoConfig()
|
/foundation/multimedia/player_framework/frameworks/js/avrecorder/ |
H A D | avrecorder_napi.cpp | 1693 int32_t ret = AVRecorderNapi::GetPropertyInt32(env, args, "audioSourceType", audioSource, getValue); 1702 ret = AVRecorderNapi::GetPropertyInt32(env, args, "videoSourceType", videoSource, getValue); 1735 CHECK_AND_RETURN_RET(CommonNapi::GetPropertyInt32(env, item, "audioBitrate", profile.audioBitrate), 1737 CHECK_AND_RETURN_RET(CommonNapi::GetPropertyInt32(env, item, "audioChannels", profile.audioChannels), 1739 CHECK_AND_RETURN_RET(CommonNapi::GetPropertyInt32(env, item, "audioSampleRate", profile.audioSampleRate), 1754 CHECK_AND_RETURN_RET(CommonNapi::GetPropertyInt32(env, item, "videoBitrate", profile.videoBitrate), 1756 CHECK_AND_RETURN_RET(CommonNapi::GetPropertyInt32(env, item, "videoFrameWidth", profile.videoFrameWidth), 1759 CHECK_AND_RETURN_RET(CommonNapi::GetPropertyInt32(env, item, "videoFrameHeight", profile.videoFrameHeight), 1762 CHECK_AND_RETURN_RET(CommonNapi::GetPropertyInt32(env, item, "videoFrameRate", profile.videoFrameRate), 1805 CHECK_AND_RETURN_RET(CommonNapi::GetPropertyInt32(en [all...] |
H A D | avrecorder_napi.h | 341 static int32_t GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result,
|
/foundation/multimedia/player_framework/frameworks/js/common/ |
H A D | common_napi.cpp | 63 bool CommonNapi::GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result) in GetPropertyInt32() function in OHOS::Media::CommonNapi 206 CHECK_AND_RETURN_RET(GetPropertyInt32(env, value, "fd", rawFd.fd) == true, false); in GetFdArgument() 262 if (!GetPropertyInt32(env, value, "mutedMediaType", playStrategy.mutedMediaType)) { in GetPlayStrategy()
|
H A D | common_napi.h | 53 static bool GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result);
|
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/ |
H A D | soundpool_napi.cpp | 747 CommonNapi::GetPropertyInt32(env, argv[PARAM1], "loop", asyncCtx->playParameters_.loop); in ParserPlayOptionFromJs() 748 CommonNapi::GetPropertyInt32(env, argv[PARAM1], "rate", asyncCtx->playParameters_.rate); in ParserPlayOptionFromJs() 758 CommonNapi::GetPropertyInt32(env, argv[PARAM1], "priority", asyncCtx->playParameters_.priority); in ParserPlayOptionFromJs()
|
/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_napi.cpp | 2096 (void)CommonNapi::GetPropertyInt32(env, args, "content", content); in JsHandleParameter() 2097 (void)CommonNapi::GetPropertyInt32(env, args, "usage", usage); in JsHandleParameter() 2098 (void)CommonNapi::GetPropertyInt32(env, args, "rendererFlags", rendererFlags); in JsHandleParameter()
|