Home
last modified time | relevance | path

Searched refs:JsResult (Results 1 - 15 of 15) sorted by relevance

/foundation/multimedia/player_framework/frameworks/js/recorder/
H A Drecorder_capability_napi.cpp60 asyncCtx->JsResult = std::make_unique<MediaJsAudioRecorderCapsArray>(audioRecorderCaps); in GetAudioRecorderCaps()
111 asyncCtx->JsResult = std::make_unique<MediaJsResultBoolean>(outResult); in IsAudioRecorderConfigSupported()
154 asyncCtx->JsResult = std::make_unique<MediaJsVideoRecorderCapsArray>(videoRecorderCaps); in GetVideoRecorderCaps()
208 asyncCtx->JsResult = std::make_unique<MediaJsVideoRecorderProfile>(videoRecorderProfile); in GetVideoRecorderProfile()
262 asyncCtx->JsResult = std::make_unique<MediaJsResultBoolean>(outResult); in HasVideoRecorderProfile()
H A Dvideo_recorder_napi.cpp172 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in CreateVideoRecorder()
302 threadCtx->JsResult = std::make_unique<MediaJsResultString>(surfaceId); in GetInputSurface()
H A Daudio_recorder_napi.cpp201 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in CreateAudioRecorderAsync()
/foundation/multimedia/player_framework/frameworks/js/player/
H A Dvideo_callback_napi.cpp141 context->JsResult = std::make_unique<MediaJsResultInt>(position); in OnSeekDoneCb()
162 context->JsResult = std::make_unique<MediaJsResultInt>(context->speedMode); in OnSpeedDoneCb()
179 context->JsResult = std::make_unique<MediaJsResultInt>(bitRate); in OnBitRateDoneCb()
H A Daudio_player_napi.cpp191 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in CreateAudioPlayerAsync()
897 asyncContext->JsResult = std::make_unique<MediaJsResultArray>(audioInfo); in AsyncGetTrackDescription()
H A Dvideo_player_napi.cpp210 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in CreateVideoPlayer()
925 asyncContext->JsResult = std::make_unique<MediaJsResultArray>(videoInfo); in AsyncGetTrackDescription()
/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_napi.cpp194 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVRecorder()
479 asyncCtx->JsResult = std::make_unique<MediaJsResultString>(result.Value().second); in JsGetInputMetaSurface()
577 asyncCtx->JsResult = std::make_unique<MediaJsAVRecorderProfile>(asyncCtx->profile_); in JsGetAVRecorderProfile()
732 asyncCtx->JsResult = std::make_unique<MediaJsAVRecorderConfig>(asyncCtx->config_);
784 asyncCtx->JsResult = std::make_unique<AudioCaptureChangeInfoJsCallback>(asyncCtx->changeInfo_);
835 asyncCtx->JsResult = std::make_unique<MediaJsResultInt>(asyncCtx->maxAmplitude_);
886 asyncCtx->JsResult = std::make_unique<MediaJsEncoderInfo>(asyncCtx->encoderInfo_);
1054 asyncCtx->JsResult = std::make_unique<MediaJsResultBoolean>(asyncCtx->isWatermarkSupported_);
1144 asyncCtx->JsResult = std::make_unique<MediaJsResultString>(result.Value().second);
/foundation/multimedia/player_framework/frameworks/js/common/
H A Dcommon_napi.cpp780 if (asyncContext->JsResult != nullptr) { in CompleteCallback()
781 asyncContext->JsResult->GetJsResult(env, result); in CompleteCallback()
H A Dcommon_napi.h302 std::unique_ptr<MediaJsResult> JsResult; member
/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/
H A Davscreen_capture_napi.cpp161 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVScreenRecorder()
910 asyncCtx->JsResult = std::make_unique<MediaJsResultString>(result.Value().second);
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/
H A Dsoundpool_napi.cpp153 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateSoundPool()
204 asyncCtx->JsResult = std::make_unique<MediaJsResultInt>(soundId); in JsLoad()
251 asyncCtx->JsResult = std::make_unique<MediaJsResultInt>(streamId); in JsPlay()
/foundation/multimedia/player_framework/frameworks/js/metadatahelper/
H A Davimagegenerator_napi.cpp149 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVImageGenerator()
H A Davmetadataextractor_napi.cpp146 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVMetadataExtractor()
/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_napi.cpp211 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVPlayer()
1356 promiseCtx->JsResult = std::make_unique<AVCodecJsResultFormat>(playbackInfo); in JsGetPlaybackInfo()
2404 promiseCtx->JsResult = std::make_unique<MediaJsResultArray>(trackInfo); in JsGetTrackDescription()
2462 promiseCtx->JsResult = std::make_unique<MediaJsResultIntArray>(trackIndex); in JsGetSelectedTracks()
2626 promiseCtx->JsResult = std::make_unique<MediaJsResultInt>(stoi(result.Value().second)); in JsGetCurrentTrack()
/foundation/multimedia/player_framework/frameworks/js/avtranscoder/
H A Davtranscoder_napi.cpp197 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVTransCoder()

Completed in 26 milliseconds