/foundation/multimedia/histreamer/engine/scene/player/standard/ |
D | media_utils.cpp | 41 const std::array<std::pair<PlaybackRateMode, float>, 5> PLAY_RATE_REFS = { 42 std::make_pair(PlaybackRateMode::SPEED_FORWARD_0_75_X, 0.75), 43 std::make_pair(PlaybackRateMode::SPEED_FORWARD_1_00_X, 1.0), 44 std::make_pair(PlaybackRateMode::SPEED_FORWARD_1_25_X, 1.25), 45 std::make_pair(PlaybackRateMode::SPEED_FORWARD_1_75_X, 1.75), 46 std::make_pair(PlaybackRateMode::SPEED_FORWARD_2_00_X, 2.00), 131 float TransformPlayRate2Float(PlaybackRateMode rateMode) in TransformPlayRate2Float() 141 PlaybackRateMode TransformFloat2PlayRate(float rate) in TransformFloat2PlayRate() 147 return PlaybackRateMode::SPEED_FORWARD_1_00_X; in TransformFloat2PlayRate()
|
D | media_utils.h | 29 inline float TransformPlayRate2Float(PlaybackRateMode rateMode); 30 inline PlaybackRateMode TransformFloat2PlayRate(float rate);
|
D | hiplayer_impl.h | 74 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 75 int32_t GetPlaybackSpeed(PlaybackRateMode& mode) override; 119 double ChangeModeToSpeed(const PlaybackRateMode& mode) const; 120 PlaybackRateMode ChangeSpeedToMode(double rate) const;
|
/foundation/multimedia/player_framework/services/services/player/server/ |
D | player_server_state.h | 32 virtual int32_t SetPlaybackSpeed(PlaybackRateMode mode); 94 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 109 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 126 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 149 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override;
|
D | player_server_state.cpp | 66 int32_t PlayerServer::BaseState::SetPlaybackSpeed(PlaybackRateMode mode) in SetPlaybackSpeed() 228 int32_t PlayerServer::PreparedState::SetPlaybackSpeed(PlaybackRateMode mode) in SetPlaybackSpeed() 267 int32_t PlayerServer::PlayingState::SetPlaybackSpeed(PlaybackRateMode mode) in SetPlaybackSpeed() 319 int32_t PlayerServer::PausedState::SetPlaybackSpeed(PlaybackRateMode mode) in SetPlaybackSpeed() 377 int32_t PlayerServer::PlaybackCompletedState::SetPlaybackSpeed(PlaybackRateMode mode) in SetPlaybackSpeed()
|
D | player_server.h | 97 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 98 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override; 161 PlaybackRateMode speedMode = SPEED_FORWARD_1_00_X; 180 int32_t HandleSetPlaybackSpeed(PlaybackRateMode mode);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
D | rosen_media_player.cpp | 54 OHOS::Media::PlaybackRateMode ConvertToMediaPlaybackSpeed(float speed) in ConvertToMediaPlaybackSpeed() 56 OHOS::Media::PlaybackRateMode mode = OHOS::Media::SPEED_FORWARD_1_00_X; in ConvertToMediaPlaybackSpeed() 58 mode = OHOS::Media::PlaybackRateMode::SPEED_FORWARD_0_75_X; in ConvertToMediaPlaybackSpeed() 60 mode = OHOS::Media::PlaybackRateMode::SPEED_FORWARD_1_00_X; in ConvertToMediaPlaybackSpeed() 62 mode = OHOS::Media::PlaybackRateMode::SPEED_FORWARD_1_25_X; in ConvertToMediaPlaybackSpeed() 64 mode = OHOS::Media::PlaybackRateMode::SPEED_FORWARD_1_75_X; in ConvertToMediaPlaybackSpeed() 66 mode = OHOS::Media::PlaybackRateMode::SPEED_FORWARD_2_00_X; in ConvertToMediaPlaybackSpeed()
|
/foundation/multimedia/histreamer/tests/st/helper/ |
D | test_player.hpp | 69 virtual int32_t SetPlaybackSpeed(PlaybackRateMode mode) = 0; 70 virtual int32_t GetPlaybackSpeed(PlaybackRateMode &mode) = 0;
|
D | std_player.cpp | 87 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 88 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override; 240 int32_t TestPlayerImpl::SetPlaybackSpeed(PlaybackRateMode mode) in SetPlaybackSpeed() 245 int32_t TestPlayerImpl::GetPlaybackSpeed(PlaybackRateMode& mode) in GetPlaybackSpeed()
|
/foundation/multimedia/player_framework/services/engine/gstreamer/player/ |
D | player_engine_gst_impl.h | 57 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 58 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override; 80 double ChangeModeToSpeed(const PlaybackRateMode &mode) const; 81 PlaybackRateMode ChangeSpeedToMode(double rate) const;
|
/foundation/multimedia/player_framework/services/include/ |
D | i_player_service.h | 278 virtual int32_t SetPlaybackSpeed(PlaybackRateMode mode) = 0; 300 virtual int32_t GetPlaybackSpeed(PlaybackRateMode &mode) = 0;
|
/foundation/multimedia/player_framework/frameworks/native/player/ |
D | player_impl.h | 52 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 53 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override;
|
D | player_impl.cpp | 218 int32_t PlayerImpl::SetPlaybackSpeed(PlaybackRateMode mode) in SetPlaybackSpeed() 225 int32_t PlayerImpl::GetPlaybackSpeed(PlaybackRateMode &mode) in GetPlaybackSpeed()
|
/foundation/multimedia/player_framework/frameworks/js/media/ |
D | media_enum_napi.cpp | 99 { "SPEED_FORWARD_0_75_X", PlaybackRateMode::SPEED_FORWARD_0_75_X }, 100 { "SPEED_FORWARD_1_00_X", PlaybackRateMode::SPEED_FORWARD_1_00_X }, 101 { "SPEED_FORWARD_1_25_X", PlaybackRateMode::SPEED_FORWARD_1_25_X }, 102 { "SPEED_FORWARD_1_75_X", PlaybackRateMode::SPEED_FORWARD_1_75_X }, 103 { "SPEED_FORWARD_2_00_X", PlaybackRateMode::SPEED_FORWARD_2_00_X },
|
/foundation/multimedia/player_framework/services/services/player/ipc/ |
D | player_service_proxy.h | 51 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 52 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override;
|
D | i_standard_player_service.h | 56 virtual int32_t SetPlaybackSpeed(PlaybackRateMode mode) = 0; 57 virtual int32_t GetPlaybackSpeed(PlaybackRateMode &mode) = 0;
|
D | player_service_stub.h | 60 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 61 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override;
|
D | player_service_stub.cpp | 344 int32_t PlayerServiceStub::SetPlaybackSpeed(PlaybackRateMode mode) in SetPlaybackSpeed() 351 int32_t PlayerServiceStub::GetPlaybackSpeed(PlaybackRateMode &mode) in GetPlaybackSpeed() 677 reply.WriteInt32(SetPlaybackSpeed(static_cast<PlaybackRateMode>(mode))); in SetPlaybackSpeed() 684 PlaybackRateMode mode = SPEED_FORWARD_1_00_X; in GetPlaybackSpeed()
|
/foundation/multimedia/player_framework/services/services/player/client/ |
D | player_client.h | 56 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 57 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override;
|
/foundation/multimedia/player_framework/services/services/engine_intf/ |
D | i_player_engine.h | 75 virtual int32_t SetPlaybackSpeed(PlaybackRateMode mode) = 0; 76 virtual int32_t GetPlaybackSpeed(PlaybackRateMode &mode) = 0;
|
/foundation/multimedia/player_framework/interfaces/inner_api/native/ |
D | player.h | 184 enum PlaybackRateMode : int32_t { enum 484 virtual int32_t SetPlaybackSpeed(PlaybackRateMode mode) = 0; 495 virtual int32_t GetPlaybackSpeed(PlaybackRateMode &mode) = 0;
|
/foundation/multimedia/player_framework/services/services/player/player_mem_manage/ |
D | player_server_mem.h | 59 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override; 60 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override; 117 PlaybackRateMode speedMode = SPEED_FORWARD_1_00_X;
|
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/include/ |
D | player_mock.h | 136 int32_t SetPlaybackSpeed(PlaybackRateMode mode); 137 int32_t GetPlaybackSpeed(PlaybackRateMode &mode);
|
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerfile_fuzzer/ |
D | playerfile_fuzzer.cpp | 76 PlaybackRateMode mode; in FuzzFile()
|
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerstub_fuzzer/ |
D | player_service_proxy_fuzzer.h | 122 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override in SetPlaybackSpeed() 126 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override in GetPlaybackSpeed()
|