Home
last modified time | relevance | path

Searched refs:Seek (Results 1 – 25 of 123) sorted by relevance

12345

/foundation/multimedia/histreamer/tests/st/
Dtest_single_video_player_fast_3.h127 ASSERT_EQ(0, player->Seek(seekPos, OHOS::Media::PlayerSeekMode::SEEK_NEXT_SYNC)); in FIXTURE()
178 ASSERT_NE(0, player->Seek(seekPos)); in FIXTURE()
193 ASSERT_EQ(0, player->Seek(seekPos)); in FIXTURE()
212 ASSERT_EQ(0, player->Seek(seekPos, OHOS::Media::PlayerSeekMode::SEEK_NEXT_SYNC)); in FIXTURE()
232 ASSERT_EQ(0, player->Seek(seekPos)); in FIXTURE()
252 ASSERT_NE(0, player->Seek(seekPos)); in FIXTURE()
271 ASSERT_NE(0, player->Seek(seekPos)); in FIXTURE()
288 ASSERT_EQ(0, player->Seek(seekPos)); in FIXTURE()
301 ASSERT_NE(0, player->Seek(seekPos)); in FIXTURE()
319 ASSERT_EQ(0, player->Seek(seekPos, OHOS::Media::PlayerSeekMode::SEEK_NEXT_SYNC)); in FIXTURE()
[all …]
Dtest_single_video_player_fast_4.h150 ASSERT_EQ(0, player->Seek(seekPos)); in FIXTURE()
230 ASSERT_EQ(0, player->Seek(durationMs, OHOS::Media::PlayerSeekMode::SEEK_PREVIOUS_SYNC)); in FIXTURE()
233 ASSERT_EQ(0, player->Seek(durationMs, OHOS::Media::PlayerSeekMode::SEEK_PREVIOUS_SYNC)); in FIXTURE()
236 ASSERT_EQ(0, player->Seek(durationMs, OHOS::Media::PlayerSeekMode::SEEK_PREVIOUS_SYNC)); in FIXTURE()
239 ASSERT_EQ(0, player->Seek(durationMs, OHOS::Media::PlayerSeekMode::SEEK_PREVIOUS_SYNC)); in FIXTURE()
269 ASSERT_EQ(0, player->Seek(durationMs/2)); in FIXTURE()
270 ASSERT_EQ(0, player->Seek(0)); in FIXTURE()
273 ASSERT_EQ(0, player->Seek(durationMs, OHOS::Media::PlayerSeekMode::SEEK_PREVIOUS_SYNC)); in FIXTURE()
Dtest_single_3da_player_fast.h67 ASSERT_EQ(0, player->Seek(timeMs)); in FIXTURE()
108 ASSERT_NE(0, player->Seek(timeMs)); in FIXTURE()
141 ASSERT_EQ(0, player->Seek(timeMs)); in FIXTURE()
153 ASSERT_EQ(0, player->Seek(timeMs)); in FIXTURE()
165 ASSERT_EQ(0, player->Seek(timeMs)); in FIXTURE()
176 ASSERT_EQ(0, player->Seek(timeMs)); in FIXTURE()
254 ASSERT_EQ(0, player->Seek(timeMs)); in FIXTURE()
Dtest_single_player_fast.h154 ASSERT_EQ(0, player->Seek(seekPos)); in FIXTURE()
173 ASSERT_EQ(0, player->Seek(seekPos)); in FIXTURE()
192 ASSERT_EQ(0, player->Seek(seekPos)); in FIXTURE()
237 ASSERT_EQ(0, player->Seek(10000)); in FIXTURE()
272 PTEST((std::string url, int32_t expectDuration), Seek to the location of the file near the end) in FIXTURE()
284 NZERO_LOG(player->Seek(duration - 100)); in FIXTURE()
285 NZERO_LOG(player->Seek(0)); in FIXTURE()
/foundation/multimedia/player_framework/services/services/player/server/
Dplayer_server_state.h31 virtual int32_t Seek(int32_t mSeconds, PlayerSeekMode mode);
92 int32_t Seek(int32_t mSeconds, PlayerSeekMode mode) override;
107 int32_t Seek(int32_t mSeconds, PlayerSeekMode mode) override;
124 int32_t Seek(int32_t mSeconds, PlayerSeekMode mode) override;
147 int32_t Seek(int32_t mSeconds, PlayerSeekMode mode) override;
Dplayer_server_state.cpp51 int32_t PlayerServer::BaseState::Seek(int32_t mSeconds, PlayerSeekMode mode) in Seek() function in OHOS::Media::PlayerServer::BaseState
218 int32_t PlayerServer::PreparedState::Seek(int32_t mSeconds, PlayerSeekMode mode) in Seek() function in OHOS::Media::PlayerServer::PreparedState
257 int32_t PlayerServer::PlayingState::Seek(int32_t mSeconds, PlayerSeekMode mode) in Seek() function in OHOS::Media::PlayerServer::PlayingState
309 int32_t PlayerServer::PausedState::Seek(int32_t mSeconds, PlayerSeekMode mode) in Seek() function in OHOS::Media::PlayerServer::PausedState
354 int32_t PlayerServer::PlaybackCompletedState::Seek(int32_t mSeconds, PlayerSeekMode mode) in Seek() function in OHOS::Media::PlayerServer::PlaybackCompletedState
/foundation/multimedia/player_framework/services/engine/gstreamer/common/playbin_adapter/
Dplaybin_state.h33 virtual int32_t Seek(int64_t timeUs, int32_t option);
102 int32_t Seek(int64_t timeUs, int32_t option) override;
118 int32_t Seek(int64_t timeUs, int32_t option) override;
139 int32_t Seek(int64_t timeUs, int32_t option) override;
183 int32_t Seek(int64_t timeUs, int32_t option) override;
/foundation/multimedia/histreamer/engine/plugin/plugins/source/http_source/hls/
Dhls_media_downloader.cpp116 bool HlsMediaDownloader::Seek(int offset) in Seek() function in OHOS::Media::Plugin::HttpPlugin::HlsMediaDownloader
120 if (buffer_->Seek(offset)) { in Seek()
126 downloader_->Seek(offset); in Seek()
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/
Djpeg_decoder.cpp436 srcMgr_.inputStream->Seek(streamPosition_); in DoSwDecode()
497 srcMgr_.inputStream->Seek(streamPosition_); in Decode()
596 stream.Seek(0); in FindMarker()
599 if (!stream.Seek(cur + MARKER_SIZE)) { in FindMarker()
602 stream.Seek(cur); in FindMarker()
621 if (!stream.Seek(cur + MARKER_LENGTH)) { in FindMarker()
624 stream.Seek(cur); in FindMarker()
632 if (!stream.Seek(cur + length)) { in FindMarker()
645 srcMgr_.inputStream->Seek(0); in DecodeHeader()
647 srcMgr_.inputStream->Seek(streamPosition_); in DecodeHeader()
[all …]
Djpeg_utils.cpp77 …if (!src->inputStream->IsStreamCompleted() && !src->inputStream->Seek(preReadPos + JPEG_BUFFER_SIZ… in FillInputBuffer()
80 src->inputStream->Seek(preReadPos); in FillInputBuffer()
87 src->inputStream->Seek(curr - src->streamData.dataSize); in FillInputBuffer()
118 if (!src->inputStream->Seek(nowOffset + bytesToSkip)) { in SkipInputData()
/foundation/multimedia/histreamer/engine/plugin/plugins/source/http_source/http/
Dhttp_media_downloader.cpp117 bool HttpMediaDownloader::Seek(int offset) in Seek() function in OHOS::Media::Plugin::HttpPlugin::HttpMediaDownloader
121 if (buffer_->Seek(offset)) { in Seek()
128 bool result = downloader_->Seek(offset); in Seek()
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/src/
Dplayer_unit_test.cpp76 EXPECT_EQ(MSERR_OK, player_->Seek(duration, SEEK_NEXT_SYNC)); in PlayFunTest()
86 EXPECT_EQ(MSERR_OK, player_->Seek(SEEK_TIME_2_SEC, SEEK_NEXT_SYNC)); in PlayFunTest()
161 EXPECT_NE(MSERR_OK, player_->Seek(0, SEEK_CLOSEST));
213 EXPECT_NE(MSERR_OK, player_->Seek(0, SEEK_CLOSEST));
790 EXPECT_EQ(MSERR_OK, player_->Seek(duration, SEEK_CLOSEST));
858 EXPECT_EQ(MSERR_OK, player_->Seek(duration, SEEK_CLOSEST));
961 EXPECT_EQ(MSERR_OK, player_->Seek(SEEK_TIME_2_SEC, SEEK_NEXT_SYNC));
964 EXPECT_EQ(MSERR_OK, player_->Seek(SEEK_TIME_2_SEC, SEEK_CLOSEST));
969 EXPECT_EQ(MSERR_OK, player_->Seek(SEEK_TIME_2_SEC, SEEK_NEXT_SYNC));
984 EXPECT_EQ(MSERR_OK, player_->Seek(0, SEEK_NEXT_SYNC));
[all …]
/foundation/filemanagement/dfs_service/adapter/cloud_adapter_example/src/
Ddk_asset_read_session.cpp20 void DKAssetReadSession::Seek(int64_t offset, DKSeekFromWhere fromWhere) {} in Seek() function in DriveKit::DKAssetReadSession
/foundation/multimedia/histreamer/tests/st/helper/
Dstd_player.cpp53 player_->Seek(0, PlayerSeekMode::SEEK_PREVIOUS_SYNC); in OnInfo()
82 int32_t Seek(int64_t timeMs, PlayerSeekMode mode = PlayerSeekMode::SEEK_NEXT_SYNC) override;
213 int32_t TestPlayerImpl::Seek(int64_t timeMs, PlayerSeekMode mode) in Seek() function in OHOS::Media::Test::TestPlayerImpl
215 int32_t ret = player_->Seek(timeMs, mode); in Seek()
Dlite_player.cpp73 int32_t Seek(int64_t timeMs) override;
140 int32_t TestPlayerImpl::Seek(int64_t timeMs) in Seek() function in OHOS::Media::Test::TestPlayerImpl
/foundation/filemanagement/dfs_service/adapter/cloud_adapter_example/include/
Ddk_asset_read_session.h31 void Seek(int64_t offset, DKSeekFromWhere fromWhere);
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/source/
Dplayer_source.cpp149 int32_t PlayerSource::Seek(int32_t streamIndex, int64_t timeStampUs, FormatSeekMode mode) in Seek() function in OHOS::Media::PlayerSource
152 return demuxer_->Seek(streamIndex, timeStampUs, mode); in Seek()
/foundation/multimedia/histreamer/engine/plugin/plugins/source/http_source/
Dmedia_downloader.h35 virtual bool Seek(int offset) = 0;
/foundation/arkui/ace_engine/frameworks/core/components_ng/test/mock/render/
Dmock_media_player.h54 MOCK_METHOD2(Seek, int32_t(int32_t, SeekMode));
/foundation/multimedia/image_framework/plugins/manager/include/image/
Dinput_data_stream.h60 virtual bool Seek(uint32_t position) = 0;
/foundation/multimedia/histreamer/engine/scene/player/internal/
Deos_state.h41 std::tuple<ErrorCode, Action> Seek(const Plugin::Any& param) override in Seek() function
/foundation/multimedia/histreamer/engine/plugin/plugins/source/http_source/monitor/
Ddownload_monitor.cpp103 bool DownloadMonitor::Seek(int offset) in Seek() function in OHOS::Media::Plugin::HttpPlugin::DownloadMonitor
110 return downloader_->Seek(offset); in Seek()
/foundation/multimedia/image_framework/plugins/common/libs/image/libpngplugin/src/
Dpng_decoder.cpp406 inputStreamPtr_->Seek(streamPosition_); in PromoteIncrementalDecode()
667 stream->Seek(curPos); in IncrementalRead()
693 if (!stream->Seek(length + afterReadPos + CHUNK_DATA_LEN)) { in GetImageIdatSize()
695 stream->Seek(preReadPos); in GetImageIdatSize()
698 stream->Seek(afterReadPos); in GetImageIdatSize()
715 if (!stream->Seek(PNG_HEAD_SIZE)) { in ReadIncrementalHead()
719 stream->Seek(pos); in ReadIncrementalHead()
992 inputStreamPtr_->Seek(0); in DecodeHeader()
996 inputStreamPtr_->Seek(0); in DecodeHeader()
998 inputStreamPtr_->Seek(streamPosition_); in DecodeHeader()
[all …]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/stream/include/
Dbuffer_source_stream.h35 bool Seek(uint32_t position) override;
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerseek_fuzzer/
Dplayerseek_fuzzer.cpp60 player_->Seek(data_, SEEK_NEXT_SYNC); in FuzzSeek()

12345