Home
last modified time | relevance | path

Searched refs:GetPropertyInt32 (Results 1 - 18 of 18) sorted by relevance

/foundation/multimedia/player_framework/frameworks/js/recorder/
H A Dvideo_recorder_napi.cpp672 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 Daudio_recorder_napi.cpp288 (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 Drecorder_capability_napi.cpp278 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 Davscreen_capture_napi.cpp652 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 Davscreen_capture_napi.h122 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 Drs_profiler_capturedata.cpp84 int32_t RSCaptureData::GetPropertyInt32(const std::string& name) const in GetPropertyInt32() function in OHOS::Rosen::RSCaptureData
H A Drs_profiler_capturedata.h79 int32_t GetPropertyInt32(const std::string& name) const;
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/
H A Drs_profiler_capturedata_test.cpp162 EXPECT_EQ(initial, data.GetPropertyInt32(name)); in HWTEST_F()
/foundation/communication/netmanager_base/frameworks/js/napi/common/
H A Dnapi_common.h72 static void GetPropertyInt32(napi_env env, napi_value object, const std::string &propertyName, int32_t &property);
H A Dnapi_common.cpp119 void NapiCommon::GetPropertyInt32( in GetPropertyInt32() function in OHOS::NetManagerStandard::NapiCommon
/foundation/multimedia/player_framework/frameworks/js/metadatahelper/
H A Davimagegenerator_napi.cpp177 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 Davtranscoder_napi.cpp825 (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 Davrecorder_napi.cpp1693 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 Davrecorder_napi.h341 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 Dcommon_napi.cpp63 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 Dcommon_napi.h53 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 Dsoundpool_napi.cpp747 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 Davplayer_napi.cpp2096 (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()

Completed in 23 milliseconds