Home
last modified time | relevance | path

Searched refs:timeUs (Results 1 - 25 of 28) sorted by relevance

12

/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/test/unittest/src/
H A Davmetadata_unit_test.cpp62 int64_t timeUs = 0; in GetThumbnail() local
64 std::shared_ptr<PixelMap> frame = helper->FetchFrameAtTime(timeUs, queryOption, param); in GetThumbnail()
66 helper->FrameToFile(frame, testInfo_->name(), timeUs, queryOption); in GetThumbnail()
67 helper->FrameToJpeg(frame, testInfo_->name(), timeUs, queryOption); in GetThumbnail()
68 timeUs = 5000000; // 5000000us in GetThumbnail()
70 frame = helper->FetchFrameAtTime(timeUs, queryOption, param); in GetThumbnail()
72 helper->FrameToFile(frame, testInfo_->name(), timeUs, queryOption); in GetThumbnail()
73 helper->FrameToJpeg(frame, testInfo_->name(), timeUs, queryOption); in GetThumbnail()
77 frame = helper->FetchFrameAtTime(timeUs, queryOption, param); in GetThumbnail()
79 helper->FrameToFile(frame, testInfo_->name(), timeUs, queryOptio in GetThumbnail()
388 int64_t timeUs = 0; HWTEST_F() local
444 int64_t timeUs = 0; HWTEST_F() local
466 int64_t timeUs = 0; HWTEST_F() local
488 int64_t timeUs = 0; HWTEST_F() local
513 int64_t timeUs = 0; HWTEST_F() local
549 int64_t timeUs = 0; HWTEST_F() local
578 int64_t timeUs = 0; HWTEST_F() local
[all...]
H A Davmetadata_mock.cpp112 std::shared_ptr<PixelMap> AVMetadataMock::FetchFrameAtTime(int64_t timeUs, int32_t option, PixelMapParams param) in FetchFrameAtTime() argument
115 return avMetadataHelper_->FetchFrameAtTime(timeUs, option, param); in FetchFrameAtTime()
118 std::shared_ptr<PixelMap> AVMetadataMock::FetchFrameYuv(int64_t timeUs, int32_t option, PixelMapParams param) in FetchFrameYuv() argument
121 return avMetadataHelper_->FetchFrameYuv(timeUs, option, param); in FetchFrameYuv()
161 const char *fileName, int64_t timeUs, int32_t queryOption) in FrameToFile()
173 fileName, timeUs, queryOption, frame->GetWidth(), frame->GetHeight(), frame->GetPixelFormat()); in FrameToFile()
210 const char *fileName, int64_t timeUs, int32_t queryOption) in FrameToJpeg()
219 fileName, timeUs, queryOption, frame->GetWidth(), frame->GetHeight(), frame->GetPixelFormat()); in FrameToJpeg()
160 FrameToFile(std::shared_ptr<PixelMap> frame, const char *fileName, int64_t timeUs, int32_t queryOption) FrameToFile() argument
209 FrameToJpeg(std::shared_ptr<PixelMap> frame, const char *fileName, int64_t timeUs, int32_t queryOption) FrameToJpeg() argument
/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/test/unittest/include/
H A Davmetadata_mock.h97 std::shared_ptr<PixelMap> FetchFrameAtTime(int64_t timeUs, int32_t option, PixelMapParams param);
98 std::shared_ptr<PixelMap> FetchFrameYuv(int64_t timeUs, int32_t option, PixelMapParams param);
101 void FrameToFile(std::shared_ptr<PixelMap> frame, const char *fileName, int64_t timeUs, int32_t queryOption);
103 void FrameToJpeg(std::shared_ptr<PixelMap> frame, const char *fileName, int64_t timeUs, int32_t queryOption);
/foundation/multimedia/player_framework/services/services/engine_intf/
H A Di_avmetadatahelper_engine.h78 * nearby will be returned. If timeUs is negative, time position and option will ignored,
86 int64_t timeUs, int32_t option, const OutputConfiguration &param) = 0;
95 * nearby will be returned. If timeUs is negative, time position and option will ignored,
103 int64_t timeUs, int32_t option, const OutputConfiguration &param) = 0;
107 * @param timeUs : Index of the frame.
114 * @param timeUs : Timestamp of the frame, in microseconds.
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/sink/
H A Dplayer_sync.cpp398 int64_t timeUs = ptsMs * US2MS; in ProcAudFrame() local
401 if (lastVideoTsUs_ != AV_INVALID_PTS && (lastVideoTsUs_ < timeUs)) { in ProcAudFrame()
408 audTimeSourceDelta_ = firstTimeUs - timeUs; in ProcAudFrame()
410 firstAudFrameTs_ = timeUs; in ProcAudFrame()
415 int64_t latenessMs = (nowUs - timeUs) / MS_SCALE; in ProcAudFrame()
420 lastAudioTsUs_ = timeUs; in ProcAudFrame()
/foundation/multimedia/player_framework/services/services/avmetadatahelper/ipc/
H A Davmetadatahelper_service_stub.cpp189 std::shared_ptr<AVSharedMemory> AVMetadataHelperServiceStub::FetchFrameAtTime(int64_t timeUs, in FetchFrameAtTime() argument
194 return avMetadateHelperServer_->FetchFrameAtTime(timeUs, option, param); in FetchFrameAtTime()
197 std::shared_ptr<AVBuffer> AVMetadataHelperServiceStub::FetchFrameYuv(int64_t timeUs, in FetchFrameYuv() argument
202 return avMetadateHelperServer_->FetchFrameYuv(timeUs, option, param); in FetchFrameYuv()
339 int64_t timeUs = data.ReadInt64(); in FetchFrameAtTime() local
342 std::shared_ptr<AVSharedMemory> ashMem = FetchFrameAtTime(timeUs, option, param); in FetchFrameAtTime()
349 int64_t timeUs = data.ReadInt64(); in FetchFrameYuv() local
353 std::shared_ptr<AVBuffer> avBuffer = FetchFrameYuv(timeUs, option, param); in FetchFrameYuv()
H A Davmetadatahelper_service_proxy.h33 std::shared_ptr<AVSharedMemory> FetchFrameAtTime(int64_t timeUs,
35 std::shared_ptr<AVBuffer> FetchFrameYuv(int64_t timeUs,
H A Di_standard_avmetadatahelper_service.h39 int64_t timeUs, int32_t option, const OutputConfiguration &param) = 0;
41 int64_t timeUs, int32_t option, const OutputConfiguration &param) = 0;
H A Davmetadatahelper_service_stub.h42 std::shared_ptr<AVSharedMemory> FetchFrameAtTime(int64_t timeUs,
44 std::shared_ptr<AVBuffer> FetchFrameYuv(int64_t timeUs,
H A Davmetadatahelper_service_proxy.cpp227 std::shared_ptr<AVBuffer> AVMetadataHelperServiceProxy::FetchFrameYuv(int64_t timeUs, int32_t option, in FetchFrameYuv() argument
237 (void)data.WriteInt64(timeUs); in FetchFrameYuv()
252 std::shared_ptr<AVSharedMemory> AVMetadataHelperServiceProxy::FetchFrameAtTime(int64_t timeUs, in FetchFrameAtTime() argument
262 (void)data.WriteInt64(timeUs); in FetchFrameAtTime()
/foundation/multimedia/player_framework/services/services/avmetadatahelper/client/
H A Davmetadatahelper_client.cpp135 std::shared_ptr<AVSharedMemory> AVMetadataHelperClient::FetchFrameAtTime(int64_t timeUs, int32_t option, in FetchFrameAtTime() argument
140 return avMetadataHelperProxy_->FetchFrameAtTime(timeUs, option, param); in FetchFrameAtTime()
143 std::shared_ptr<AVBuffer> AVMetadataHelperClient::FetchFrameYuv(int64_t timeUs, int32_t option, in FetchFrameYuv() argument
148 return avMetadataHelperProxy_->FetchFrameYuv(timeUs, option, param); in FetchFrameYuv()
H A Davmetadatahelper_client.h41 std::shared_ptr<AVSharedMemory> FetchFrameAtTime(int64_t timeUs,
43 std::shared_ptr<AVBuffer> FetchFrameYuv(int64_t timeUs,
/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/
H A Davmetadatahelper_impl.cpp142 int64_t timeUs, int32_t option, const OutputConfiguration &param) in FetchFrameAtTime()
147 return thumbnailGenerator_->FetchFrameAtTime(timeUs, option, param); in FetchFrameAtTime()
151 int64_t timeUs, int32_t option, const OutputConfiguration &param) in FetchFrameYuv()
156 return thumbnailGenerator_->FetchFrameYuv(timeUs, option, param); in FetchFrameYuv()
141 FetchFrameAtTime( int64_t timeUs, int32_t option, const OutputConfiguration &param) FetchFrameAtTime() argument
150 FetchFrameYuv( int64_t timeUs, int32_t option, const OutputConfiguration &param) FetchFrameYuv() argument
H A Davmetadatahelper_impl.h47 int64_t timeUs, int32_t option, const OutputConfiguration &param) override;
49 int64_t timeUs, int32_t option, const OutputConfiguration &param) override;
H A Dav_thumbnail_generator.cpp241 std::shared_ptr<AVSharedMemory> AVThumbnailGenerator::FetchFrameAtTime(int64_t timeUs, int32_t option, in FetchFrameAtTime() argument
244 MEDIA_LOGI("Fetch frame 0x%{public}06" PRIXPTR " timeUs:%{public}" PRId64 ", option:%{public}d," in FetchFrameAtTime()
246 FAKE_POINTER(this), timeUs, option, param.dstWidth, param.dstHeight, in FetchFrameAtTime()
252 seekTime_ = timeUs; in FetchFrameAtTime()
257 int64_t realSeekTime = timeUs; in FetchFrameAtTime()
258 auto res = SeekToTime(Plugins::Us2Ms(timeUs), static_cast<Plugins::SeekMode>(option), realSeekTime); in FetchFrameAtTime()
277 std::shared_ptr<AVBuffer> AVThumbnailGenerator::FetchFrameYuv(int64_t timeUs, int32_t option, in FetchFrameYuv() argument
280 MEDIA_LOGI("Fetch frame 0x%{public}06" PRIXPTR " timeUs:%{public}" PRId64 ", option:%{public}d," in FetchFrameYuv()
282 FAKE_POINTER(this), timeUs, option, param.dstWidth, param.dstHeight, in FetchFrameYuv()
288 seekTime_ = timeUs; in FetchFrameYuv()
[all...]
H A Dav_thumbnail_generator.h38 std::shared_ptr<AVSharedMemory> FetchFrameAtTime(int64_t timeUs, int32_t option, const OutputConfiguration &param);
39 std::shared_ptr<AVBuffer> FetchFrameYuv(int64_t timeUs, int32_t option, const OutputConfiguration &param);
H A Davmetadata_collector.h75 int32_t GetTimeByFrameIndex(uint32_t index, uint64_t &timeUs);
76 int32_t GetFrameIndexByTime(uint64_t timeUs, uint32_t &index);
H A Davmetadata_collector.cpp261 int32_t AVMetaDataCollector::GetTimeByFrameIndex(uint32_t index, uint64_t &timeUs) in GetTimeByFrameIndex() argument
265 CHECK_AND_RETURN_RET_LOG(mediaDemuxer_->GetRelativePresentationTimeUsByIndex(trackId, index, timeUs) == Status::OK, in GetTimeByFrameIndex()
270 int32_t AVMetaDataCollector::GetFrameIndexByTime(uint64_t timeUs, uint32_t &index) in GetFrameIndexByTime() argument
274 CHECK_AND_RETURN_RET_LOG(mediaDemuxer_->GetIndexByRelativePresentationTimeUs(trackId, timeUs, index) == Status::OK, in GetFrameIndexByTime()
/foundation/multimedia/player_framework/services/services/avmetadatahelper/server/
H A Davmetadatahelper_server.cpp239 std::shared_ptr<AVSharedMemory> AVMetadataHelperServer::FetchFrameAtTime(int64_t timeUs, int32_t option, in FetchFrameAtTime() argument
248 return avMetadataHelperEngine_->FetchFrameAtTime(timeUs, option, param); in FetchFrameAtTime()
258 std::shared_ptr<AVBuffer> AVMetadataHelperServer::FetchFrameYuv(int64_t timeUs, int32_t option, in FetchFrameYuv() argument
265 return avMetadataHelperEngine_->FetchFrameYuv(timeUs, option, param); in FetchFrameYuv()
314 auto task = std::make_shared<TaskHandler<int32_t>>([&, this, &timeUs = time] { in GetTimeByFrameIndex()
317 return avMetadataHelperEngine_->GetTimeByFrameIndex(index, timeUs); in GetTimeByFrameIndex()
H A Davmetadatahelper_server.h41 std::shared_ptr<AVSharedMemory> FetchFrameAtTime(int64_t timeUs,
43 std::shared_ptr<AVBuffer> FetchFrameYuv(int64_t timeUs,
/foundation/multimedia/player_framework/interfaces/inner_api/native/
H A Davmetadatahelper.h426 * @param timeUs The time position in microseconds where the frame will be fetched.
429 * nearby will be returned. If timeUs is negative, time position and option will ignored,
436 virtual std::shared_ptr<PixelMap> FetchFrameAtTime(int64_t timeUs, int32_t option, const PixelMapParams &param) = 0;
442 * @param timeUs The time position in microseconds where the frame will be fetched.
445 * nearby will be returned. If timeUs is negative, time position and option will ignored,
452 virtual std::shared_ptr<PixelMap> FetchFrameYuv(int64_t timeUs, int32_t option, const PixelMapParams &param) = 0;
486 * @param timeUs : Index of the frame.
493 * @param timeUs : Timestamp of the frame, in microseconds.
/foundation/multimedia/player_framework/services/include/
H A Di_avmetadatahelper_service.h150 * nearby will be returned. If timeUs is negative, time position and option will ignored,
158 int64_t timeUs, int32_t option, const OutputConfiguration &param) = 0;
167 * nearby will be returned. If timeUs is negative, time position and option will ignored,
175 int64_t timeUs, int32_t option, const OutputConfiguration &param) = 0;
185 * @param timeUs : Index of the frame.
192 * @param timeUs : Timestamp of the frame, in microseconds.
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatastublocal_fuzzer/
H A Davmetadata_service_proxy_local_fuzzer.h60 int64_t timeUs, int32_t option, const OutputConfiguration &param) override
65 int64_t timeUs, int32_t option, const OutputConfiguration &param) override
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatastub_fuzzer/
H A Davmetadata_service_proxy_fuzzer.h60 int64_t timeUs, int32_t option, const OutputConfiguration &param) override
65 int64_t timeUs, int32_t option, const OutputConfiguration &param) override
/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/
H A Davmetadatahelper_impl.h46 std::shared_ptr<PixelMap> FetchFrameAtTime(int64_t timeUs, int32_t option, const PixelMapParams &param) override;
47 std::shared_ptr<PixelMap> FetchFrameYuv(int64_t timeUs, int32_t option, const PixelMapParams &param) override;

Completed in 14 milliseconds

12