H A D | avplayer_napi.cpp | 147 AVPlayerNapi *jsPlayer = new(std::nothrow) AVPlayerNapi(); in Constructor() local 148 CHECK_AND_RETURN_RET_LOG(jsPlayer != nullptr, result, "failed to new AVPlayerNapi"); in Constructor() 150 jsPlayer->env_ = env; in Constructor() 151 jsPlayer->player_ = PlayerFactory::CreatePlayer(); in Constructor() 152 CHECK_AND_RETURN_RET_LOG(jsPlayer->player_ != nullptr, result, "failed to CreatePlayer"); in Constructor() 154 jsPlayer->taskQue_ = std::make_unique<TaskQueue>("OS_AVPlayerNapi"); in Constructor() 155 (void)jsPlayer->taskQue_->Start(); in Constructor() 157 jsPlayer->playerCb_ = std::make_shared<AVPlayerCallback>(env, jsPlayer); in Constructor() 158 (void)jsPlayer in Constructor() 177 AVPlayerNapi *jsPlayer = reinterpret_cast<AVPlayerNapi *>(nativeObject); Destructor() local 271 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsPrepare() local 345 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsPlay() local 423 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsPause() local 493 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsStop() local 571 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsReset() local 673 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsRelease() local 712 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSeek() local 784 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetPlaybackRange() local 872 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetSpeed() local 922 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetVolume() local 971 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSelectBitrate() local 1055 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsAddSubtitleUrl() local 1078 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsAddSubtitleAVFileDescriptor() local 1199 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetUrl() local 1232 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetDecryptConfig() local 1292 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetMediaKeySystemInfos() local 1374 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, paramCountSingle, args); JsSetPlaybackStrategy() local 1429 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetMediaMuted() local 1518 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetUrl() local 1537 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetAVFileDescriptor() local 1583 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetAVFileDescriptor() local 1603 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetMediaSource() local 1660 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetDataSrc() local 1713 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetDataSrc() local 1775 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetSurfaceID() local 1822 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetSurfaceID() local 1841 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetLoop() local 1886 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetLoop() local 1904 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetVideoScaleType() local 1948 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetVideoScaleType() local 1966 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetAudioInterruptMode() local 2012 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetAudioInterruptMode() local 2030 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetAudioEffectMode() local 2082 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetAudioEffectMode() local 2091 JsHandleParameter(napi_env env, napi_value args, AVPlayerNapi *jsPlayer) JsHandleParameter() argument 2138 SeekEnqueueTask(AVPlayerNapi *jsPlayer, int32_t time, int32_t mode) SeekEnqueueTask() argument 2161 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetAudioRendererInfo() local 2200 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetAudioRendererInfo() local 2221 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetCurrentTime() local 2249 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetDuration() local 2317 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetState() local 2334 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetWidth() local 2354 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstance(env, info); JsGetHeight() local 2480 auto jsPlayer = promiseCtx->napi; HandleSelectTrack() local 2563 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsDeselectTrack() local 2677 MaxAmplitudeCallbackOn(AVPlayerNapi *jsPlayer, std::string callbackName) MaxAmplitudeCallbackOn() argument 2691 DeviceChangeCallbackOn(AVPlayerNapi *jsPlayer, std::string callbackName) DeviceChangeCallbackOn() argument 2705 DeviceChangeCallbackOff(AVPlayerNapi *jsPlayer, std::string callbackName) DeviceChangeCallbackOff() argument 2725 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsSetOnCallback() local 2766 MaxAmplitudeCallbackOff(AVPlayerNapi *jsPlayer, std::string callbackName) MaxAmplitudeCallbackOff() argument 2785 AVPlayerNapi *jsPlayer = AVPlayerNapi::GetJsInstanceWithParameter(env, info, argCount, args); JsClearOnCallback() local 2942 AVPlayerNapi *jsPlayer = nullptr; GetJsInstance() local 2956 AVPlayerNapi *jsPlayer = nullptr; GetJsInstanceWithParameter() local [all...] |