/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_callback.h | 45 void OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) override; 60 void OnStateChangeCb(const int32_t extra, const Format &infoBody); 61 void OnVolumeChangeCb(const int32_t extra, const Format &infoBody); 62 void OnSeekDoneCb(const int32_t extra, const Format &infoBody); 63 void OnSpeedDoneCb(const int32_t extra, const Format &infoBody); 64 void OnBitRateDoneCb(const int32_t extra, const Format &infoBody); 65 void OnPositionUpdateCb(const int32_t extra, const Format &infoBody); 66 void OnDurationUpdateCb(const int32_t extra, const Format &infoBody); 67 void OnBufferingUpdateCb(const int32_t extra, const Format &infoBody); 68 void OnSubtitleUpdateCb(const int32_t extra, const Format &infoBody); [all...] |
H A D | avplayer_callback.cpp | 671 [this](const int32_t extra, const Format &infoBody) { OnStateChangeCb(extra, infoBody); } }, in AVPlayerCallback() 673 [this](const int32_t extra, const Format &infoBody) { OnVolumeChangeCb(extra, infoBody); } }, in AVPlayerCallback() 675 [this](const int32_t extra, const Format &infoBody) { OnSeekDoneCb(extra, infoBody); } }, in AVPlayerCallback() 677 [this](const int32_t extra, const Format &infoBody) { OnSpeedDoneCb(extra, infoBody); } }, in AVPlayerCallback() 679 [this](const int32_t extra, const Format &infoBody) { OnBitRateDoneCb(extra, infoBody); } }, in AVPlayerCallback() 717 OnAudioDeviceChangeCb(const int32_t extra, const Format &infoBody) OnAudioDeviceChangeCb() argument 772 Format infoBody; OnError() local 803 OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) OnInfo() argument 815 NotifyIsLiveStream(const int32_t extra, const Format &infoBody) NotifyIsLiveStream() argument 860 OnStateChangeCb(const int32_t extra, const Format &infoBody) OnStateChangeCb() argument 893 OnVolumeChangeCb(const int32_t extra, const Format &infoBody) OnVolumeChangeCb() argument 915 OnSeekDoneCb(const int32_t extra, const Format &infoBody) OnSeekDoneCb() argument 934 OnSpeedDoneCb(const int32_t extra, const Format &infoBody) OnSpeedDoneCb() argument 954 OnBitRateDoneCb(const int32_t extra, const Format &infoBody) OnBitRateDoneCb() argument 974 OnPositionUpdateCb(const int32_t extra, const Format &infoBody) OnPositionUpdateCb() argument 998 OnDurationUpdateCb(const int32_t extra, const Format &infoBody) OnDurationUpdateCb() argument 1023 OnSubtitleUpdateCb(const int32_t extra, const Format &infoBody) OnSubtitleUpdateCb() argument 1040 OnBufferingUpdateCb(const int32_t extra, const Format &infoBody) OnBufferingUpdateCb() argument 1078 OnMessageCb(const int32_t extra, const Format &infoBody) OnMessageCb() argument 1105 OnVideoSizeChangedCb(const int32_t extra, const Format &infoBody) OnVideoSizeChangedCb() argument 1133 OnAudioInterruptCb(const int32_t extra, const Format &infoBody) OnAudioInterruptCb() argument 1162 OnBitRateCollectedCb(const int32_t extra, const Format &infoBody) OnBitRateCollectedCb() argument 1201 OnMaxAmplitudeCollectedCb(const int32_t extra, const Format &infoBody) OnMaxAmplitudeCollectedCb() argument 1263 OnDrmInfoUpdatedCb(const int32_t extra, const Format &infoBody) OnDrmInfoUpdatedCb() argument 1299 OnSetDecryptConfigDoneCb(const int32_t extra, const Format &infoBody) OnSetDecryptConfigDoneCb() argument 1316 OnSubtitleInfoCb(const int32_t extra, const Format &infoBody) OnSubtitleInfoCb() argument 1342 OnEosCb(const int32_t extra, const Format &infoBody) OnEosCb() argument 1361 OnTrackChangedCb(const int32_t extra, const Format &infoBody) OnTrackChangedCb() argument 1383 OnTrackInfoUpdate(const int32_t extra, const Format &infoBody) OnTrackInfoUpdate() argument 1434 Format infoBody; Release() local [all...] |
/foundation/multimedia/player_framework/frameworks/native/capi/player/ |
H A D | native_avplayer.cpp | 220 virtual int32_t GetDrmSystemInfos(const Format &infoBody, 248 void OnInfo(OH_AVPlayer *player, AVPlayerOnInfoType infoType, OH_AVFormat* infoBody) in OnInfo() argument 251 callback_(player, infoType, infoBody, userData_); in OnInfo() 265 void OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) override; 268 int32_t GetDrmSystemInfos(const Format &infoBody, 276 void OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) override; 288 void OnSeekDoneCb(const int32_t extra, const Format &infoBody); 289 void OnSpeedDoneCb(const int32_t extra, const Format &infoBody); 290 void OnBitRateDoneCb(const int32_t extra, const Format &infoBody); 291 void OnEosCb(const int32_t extra, const Format &infoBody); 380 OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) OnInfo() argument 470 GetDrmSystemInfos(const Format &infoBody, DRM_MediaKeySystemInfo *mediaKeySystemInfo, struct PlayerObject *playerObj) GetDrmSystemInfos() argument 555 OnSeekDoneCb(const int32_t extra, const Format &infoBody) OnSeekDoneCb() argument 568 OnSpeedDoneCb(const int32_t extra, const Format &infoBody) OnSpeedDoneCb() argument 581 OnBitRateDoneCb(const int32_t extra, const Format &infoBody) OnBitRateDoneCb() argument 594 OnEosCb(const int32_t extra, const Format &infoBody) OnEosCb() argument 604 OnStateChangeCb(const int32_t extra, const Format &infoBody) OnStateChangeCb() argument 635 OnPositionUpdateCb(const int32_t extra, const Format &infoBody) OnPositionUpdateCb() argument 649 OnVolumeChangeCb(const int32_t extra, const Format &infoBody) OnVolumeChangeCb() argument 664 OnMessageCb(const int32_t extra, const Format &infoBody) OnMessageCb() argument 686 OnVideoSizeChangedCb(const int32_t extra, const Format &infoBody) OnVideoSizeChangedCb() argument 704 OnBufferingUpdateCb(const int32_t extra, const Format &infoBody) OnBufferingUpdateCb() argument 736 OnBitRateCollectedCb(const int32_t extra, const Format &infoBody) OnBitRateCollectedCb() argument 761 OnAudioInterruptCb(const int32_t extra, const Format &infoBody) OnAudioInterruptCb() argument 783 OnDurationUpdateCb(const int32_t extra, const Format &infoBody) OnDurationUpdateCb() argument 797 OnNotifyIsLiveStream(const int32_t extra, const Format &infoBody) OnNotifyIsLiveStream() argument 810 OnTrackChangedCb(const int32_t extra, const Format &infoBody) OnTrackChangedCb() argument 827 OnTrackInfoUpdate(const int32_t extra, const Format &infoBody) OnTrackInfoUpdate() argument 834 OnSubtitleInfoCb(const int32_t extra, const Format &infoBody) OnSubtitleInfoCb() argument 854 OnAudioDeviceChangeCb(const int32_t extra, const Format &infoBody) OnAudioDeviceChangeCb() argument 871 OnDrmInfoUpdatedCb(const int32_t extra, const Format &infoBody) OnDrmInfoUpdatedCb() argument [all...] |
/foundation/multimedia/player_framework/services/services/player/ipc/ |
H A D | player_listener_proxy.cpp | 54 void PlayerListenerProxy::OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) in OnInfo() argument 59 infoBody.GetIntValue(std::string(PlayerKeys::PLAYER_ERROR_TYPE), errorCode); in OnInfo() 60 infoBody.GetStringValue(std::string(PlayerKeys::PLAYER_ERROR_MSG), errorMsg); in OnInfo() 73 MediaParcel::Marshalling(data, infoBody); in OnInfo() 96 void PlayerListenerCallback::OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) in OnInfo() argument 99 listener_->OnInfo(type, extra, infoBody); in OnInfo()
|
H A D | player_listener_stub.cpp | 86 void PlayerListenerStub::OnMonitor(PlayerOnInfoType type, int32_t extra, const Format &infoBody) in OnMonitor() argument 91 if (infoBody.ContainKey(PlayerKeys::PLAYER_STATE_CHANGED_REASON)) { in OnMonitor() 92 (void)infoBody.GetIntValue(PlayerKeys::PLAYER_STATE_CHANGED_REASON, reason); in OnMonitor() 103 int32_t extra, const Format &infoBody) in OnInfo() 109 cb->OnInfo(type, extra, infoBody); in OnInfo() 114 cb->OnInfo(type, extra, infoBody); in OnInfo() 116 OnMonitor(type, extra, infoBody); in OnInfo() 102 OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) OnInfo() argument
|
H A D | player_listener_stub.h | 35 const Format &infoBody = {}) override; 43 void OnMonitor(PlayerOnInfoType type, int32_t extra, const Format &infoBody);
|
H A D | player_listener_proxy.h | 32 void OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody = {}) override; 44 void OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody = {}) override;
|
/foundation/multimedia/player_framework/services/services/avmetadatahelper/ipc/ |
H A D | helper_listener_proxy.cpp | 55 void HelperListenerProxy::OnInfo(HelperOnInfoType type, int32_t extra, const Format &infoBody) in OnInfo() argument 66 MediaParcel::Marshalling(data, infoBody); in OnInfo() 88 void HelperListenerCallback::OnInfo(HelperOnInfoType type, int32_t extra, const Format &infoBody) in OnInfo() argument 91 listener_->OnInfo(type, extra, infoBody); in OnInfo()
|
H A D | helper_listener_proxy.h | 32 void OnInfo(HelperOnInfoType type, int32_t extra, const Format &infoBody = {}) override; 44 void OnInfo(HelperOnInfoType type, int32_t extra, const Format &infoBody = {}) override;
|
/foundation/multimedia/player_framework/frameworks/native/audio_haptic/ |
H A D | audio_haptic_sound_normal_impl.h | 83 void OnInfo(Media::PlayerOnInfoType type, int32_t extra, const Media::Format &infoBody) override; 86 void HandleStateChangeEvent(int32_t extra, const Format &infoBody); 87 void HandleAudioInterruptEvent(int32_t extra, const Format &infoBody); 88 void HandleAudioFirstFrameEvent(int32_t extra, const Format &infoBody);
|
H A D | audio_haptic_sound_normal_impl.cpp | 342 void AHSoundNormalCallback::OnInfo(Media::PlayerOnInfoType type, int32_t extra, const Media::Format &infoBody) in OnInfo() argument 346 HandleStateChangeEvent(extra, infoBody); in OnInfo() 349 HandleAudioInterruptEvent(extra, infoBody); in OnInfo() 352 HandleAudioFirstFrameEvent(extra, infoBody); in OnInfo() 358 void AHSoundNormalCallback::HandleStateChangeEvent(int32_t extra, const Format &infoBody) in HandleStateChangeEvent() argument 401 void AHSoundNormalCallback::HandleAudioInterruptEvent(int32_t extra, const Format &infoBody) in HandleAudioInterruptEvent() argument 408 (void)infoBody.GetIntValue(PlayerKeys::AUDIO_INTERRUPT_TYPE, eventTypeValue); in HandleAudioInterruptEvent() 409 (void)infoBody.GetIntValue(PlayerKeys::AUDIO_INTERRUPT_FORCE, forceTypeValue); in HandleAudioInterruptEvent() 410 (void)infoBody.GetIntValue(PlayerKeys::AUDIO_INTERRUPT_HINT, hintTypeValue); in HandleAudioInterruptEvent() 423 void AHSoundNormalCallback::HandleAudioFirstFrameEvent(int32_t extra, const Format &infoBody) in HandleAudioFirstFrameEvent() argument [all...] |
/foundation/multimedia/player_framework/frameworks/js/player/ |
H A D | video_callback_napi.h | 57 void OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) override; 77 void OnVideoSizeChangedCb(const Format &infoBody); 82 void OnBitRateCollectedCb(const Format &infoBody) const;
|
H A D | player_callback_napi.h | 42 void OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) override; 68 void OnBufferingUpdateCb(const Format &infoBody) const; 69 void OnAudioInterruptCb(const Format &infoBody) const;
|
H A D | video_callback_napi.cpp | 79 void VideoCallbackNapi::OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) in OnInfo() argument 90 VideoCallbackNapi::OnVideoSizeChangedCb(infoBody); in OnInfo() 108 VideoCallbackNapi::OnBitRateCollectedCb(infoBody); in OnInfo() 112 PlayerCallbackNapi::OnInfo(type, extra, infoBody); in OnInfo() 214 void VideoCallbackNapi::OnVideoSizeChangedCb(const Format &infoBody) in OnVideoSizeChangedCb() argument 216 (void)infoBody.GetIntValue(PlayerKeys::PLAYER_WIDTH, width_); in OnVideoSizeChangedCb() 217 (void)infoBody.GetIntValue(PlayerKeys::PLAYER_HEIGHT, height_); in OnVideoSizeChangedCb() 307 void VideoCallbackNapi::OnBitRateCollectedCb(const Format &infoBody) const in OnBitRateCollectedCb() 319 if (infoBody.ContainKey(std::string(PlayerKeys::PLAYER_AVAILABLE_BITRATES))) { in OnBitRateCollectedCb() 322 infoBody in OnBitRateCollectedCb() [all...] |
H A D | player_callback_napi.cpp | 93 void PlayerCallbackNapi::OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) in OnInfo() argument 117 OnBufferingUpdateCb(infoBody); in OnInfo() 120 OnAudioInterruptCb(infoBody); in OnInfo() 133 void PlayerCallbackNapi::OnBufferingUpdateCb(const Format &infoBody) const in OnBufferingUpdateCb() 147 if (infoBody.ContainKey(std::string(PlayerKeys::PLAYER_BUFFERING_START))) { in OnBufferingUpdateCb() 149 (void)infoBody.GetIntValue(std::string(PlayerKeys::PLAYER_BUFFERING_START), value); in OnBufferingUpdateCb() 150 } else if (infoBody.ContainKey(std::string(PlayerKeys::PLAYER_BUFFERING_END))) { in OnBufferingUpdateCb() 152 (void)infoBody.GetIntValue(std::string(PlayerKeys::PLAYER_BUFFERING_END), value); in OnBufferingUpdateCb() 153 } else if (infoBody.ContainKey(std::string(PlayerKeys::PLAYER_BUFFERING_PERCENT))) { in OnBufferingUpdateCb() 155 (void)infoBody in OnBufferingUpdateCb() [all...] |
/foundation/multimedia/player_framework/services/services/player/server/ |
H A D | player_server_state.h | 39 int32_t OnMessageReceived(PlayerOnInfoType type, int32_t extra, const Format &infoBody) override; 50 virtual void HandleInterruptEvent(const Format &infoBody) in HandleInterruptEvent() argument 52 (void)infoBody; in HandleInterruptEvent() 54 virtual void HandleAudioDeviceChangeEvent(const Format &infoBody) in HandleAudioDeviceChangeEvent() argument 56 (void)infoBody; in HandleAudioDeviceChangeEvent() 132 void HandleInterruptEvent(const Format &infoBody) override; 133 void HandleAudioDeviceChangeEvent(const Format &infoBody) override;
|
H A D | player_server_state.cpp | 162 int32_t PlayerServer::BaseState::OnMessageReceived(PlayerOnInfoType type, int32_t extra, const Format &infoBody) in OnMessageReceived() argument 165 (void)infoBody; in OnMessageReceived() 197 HandleInterruptEvent(infoBody); in OnMessageReceived() 201 HandleAudioDeviceChangeEvent(infoBody); in OnMessageReceived() 384 void PlayerServer::PlayingState::HandleInterruptEvent(const Format &infoBody) in HandleInterruptEvent() argument 386 server_.HandleInterruptEvent(infoBody); in HandleInterruptEvent() 389 void PlayerServer::PlayingState::HandleAudioDeviceChangeEvent(const Format &infoBody) in HandleAudioDeviceChangeEvent() argument 391 (void)infoBody; in HandleAudioDeviceChangeEvent()
|
H A D | player_server.h | 43 virtual int32_t OnMessageReceived(PlayerOnInfoType type, int32_t extra, const Format &infoBody) = 0; 59 int32_t HandleMessage(PlayerOnInfoType type, int32_t extra, const Format &infoBody); 131 void OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody = {}) override; 133 void OnBufferingUpdate(PlayerOnInfoType type, int32_t extra, const Format &infoBody); 188 void OnInfoNoChangeStatus(PlayerOnInfoType type, int32_t extra, const Format &infoBody = {}); 223 void HandleInterruptEvent(const Format &infoBody); 224 void HandleAudioDeviceChangeEvent(const Format &infoBody); 227 void InnerOnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody, const int32_t ret);
|
/foundation/multimedia/player_framework/frameworks/js/metadatahelper/ |
H A D | avmetadatahelper_callback.cpp | 178 void AVMetadataHelperCallback::OnInfo(HelperOnInfoType type, int32_t extra, const Format &infoBody) in OnInfo() argument 184 OnStateChangeCb(extra, infoBody); in OnInfo() 191 void AVMetadataHelperCallback::OnStateChangeCb(const int32_t extra, const Format &infoBody) in OnStateChangeCb() argument 233 Format infoBody; in Release() local 234 AVMetadataHelperCallback::OnStateChangeCb(HelperStates::HELPER_RELEASED, infoBody); in Release()
|
H A D | avmetadatahelper_callback.h | 53 void OnInfo(HelperOnInfoType type, int32_t extra, const Format &infoBody); 64 void OnStateChangeCb(const int32_t extra, const Format &infoBody);
|
/foundation/multimedia/player_framework/test/unittest/player_server_mem_test/ |
H A D | player_server_mem_unit_test.cpp | 1050 Format infoBody; in HWTEST_F() local 1051 infoBody.PutIntValue(PlayerKeys::PLAYER_TRACK_TYPE, 0); // 0 MEDIA_TYPE_AUD in HWTEST_F() 1052 infoBody.PutIntValue(PlayerKeys::PLAYER_TRACK_INDEX, 1); in HWTEST_F() 1053 playerServerMem_->GetDefaultTrack(type, extra, infoBody); in HWTEST_F() 1062 Format infoBody; in HWTEST_F() local 1063 infoBody.PutIntValue(PlayerKeys::PLAYER_TRACK_TYPE, 0); // 0 MEDIA_TYPE_AUD in HWTEST_F() 1064 infoBody.PutIntValue(PlayerKeys::PLAYER_TRACK_INDEX, 1); in HWTEST_F() 1065 playerServerMem_->GetDefaultTrack(type, extra, infoBody); in HWTEST_F() 1074 Format infoBody; in HWTEST_F() local 1075 infoBody in HWTEST_F() [all...] |
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/player/include/ |
H A D | cast_stream_player.h | 52 void OnInfo(Media::PlayerOnInfoType type, int32_t extra, const Media::Format &infoBody) override; 78 void OnBufferChanged(const Media::Format &infoBody); 79 void OnVideoSizeChanged(const Media::Format &infoBody); 84 void HandleInterruptEvent(const Media::Format &infoBody);
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/player/include/ |
H A D | cast_stream_player.h | 52 void OnInfo(Media::PlayerOnInfoType type, int32_t extra, const Media::Format &infoBody) override; 78 void OnBufferChanged(const Media::Format &infoBody); 79 void OnVideoSizeChanged(const Media::Format &infoBody); 84 void HandleInterruptEvent(const Media::Format &infoBody);
|
/foundation/multimedia/player_framework/test/fuzztest/common/ |
H A D | test_player.cpp | 33 void TestPlayerCallback::OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) in OnInfo() argument 35 (void)infoBody; in OnInfo()
|
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/include/ |
H A D | player_mock.h | 90 void OnInfo(PlayerOnInfoType type, int32_t extra, const Format &infoBody) override; 91 void SeekNotify(int32_t extra, const Format &infoBody); 110 void HandleTrackChangeCallback(int32_t extra, const Format &infoBody); 111 void HandleSubtitleCallback(int32_t extra, const Format &infoBody); 112 void HandleTrackInfoCallback(int32_t extra, const Format &infoBody);
|