Home
last modified time | relevance | path

Searched refs:PlaybackRateMode (Results 1 – 25 of 37) sorted by relevance

12

/foundation/multimedia/histreamer/engine/scene/player/standard/
Dmedia_utils.cpp41 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()
Dmedia_utils.h29 inline float TransformPlayRate2Float(PlaybackRateMode rateMode);
30 inline PlaybackRateMode TransformFloat2PlayRate(float rate);
Dhiplayer_impl.h74 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/
Dplayer_server_state.h32 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;
Dplayer_server_state.cpp66 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()
Dplayer_server.h97 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/
Drosen_media_player.cpp54 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/
Dtest_player.hpp69 virtual int32_t SetPlaybackSpeed(PlaybackRateMode mode) = 0;
70 virtual int32_t GetPlaybackSpeed(PlaybackRateMode &mode) = 0;
Dstd_player.cpp87 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/
Dplayer_engine_gst_impl.h57 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/
Di_player_service.h278 virtual int32_t SetPlaybackSpeed(PlaybackRateMode mode) = 0;
300 virtual int32_t GetPlaybackSpeed(PlaybackRateMode &mode) = 0;
/foundation/multimedia/player_framework/frameworks/native/player/
Dplayer_impl.h52 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override;
53 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override;
Dplayer_impl.cpp218 int32_t PlayerImpl::SetPlaybackSpeed(PlaybackRateMode mode) in SetPlaybackSpeed()
225 int32_t PlayerImpl::GetPlaybackSpeed(PlaybackRateMode &mode) in GetPlaybackSpeed()
/foundation/multimedia/player_framework/frameworks/js/media/
Dmedia_enum_napi.cpp99 { "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/
Dplayer_service_proxy.h51 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override;
52 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override;
Di_standard_player_service.h56 virtual int32_t SetPlaybackSpeed(PlaybackRateMode mode) = 0;
57 virtual int32_t GetPlaybackSpeed(PlaybackRateMode &mode) = 0;
Dplayer_service_stub.h60 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override;
61 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override;
Dplayer_service_stub.cpp344 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/
Dplayer_client.h56 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override;
57 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override;
/foundation/multimedia/player_framework/services/services/engine_intf/
Di_player_engine.h75 virtual int32_t SetPlaybackSpeed(PlaybackRateMode mode) = 0;
76 virtual int32_t GetPlaybackSpeed(PlaybackRateMode &mode) = 0;
/foundation/multimedia/player_framework/interfaces/inner_api/native/
Dplayer.h184 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/
Dplayer_server_mem.h59 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/
Dplayer_mock.h136 int32_t SetPlaybackSpeed(PlaybackRateMode mode);
137 int32_t GetPlaybackSpeed(PlaybackRateMode &mode);
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerfile_fuzzer/
Dplayerfile_fuzzer.cpp76 PlaybackRateMode mode; in FuzzFile()
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerstub_fuzzer/
Dplayer_service_proxy_fuzzer.h122 int32_t SetPlaybackSpeed(PlaybackRateMode mode) override in SetPlaybackSpeed()
126 int32_t GetPlaybackSpeed(PlaybackRateMode &mode) override in GetPlaybackSpeed()

12