Home
last modified time | relevance | path

Searched refs:videoSize (Results 1 - 24 of 24) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/test/
H A Dstorage_stats_test.cpp47 int64_t videoSize = 1003; in HWTEST_F() local
51 StorageStats res(totalSize, audioSize, videoSize, imageSize, fileSize, appSize); in HWTEST_F()
56 EXPECT_EQ(parcel.ReadInt64(), videoSize); in HWTEST_F()
77 int64_t videoSize = 2003; in HWTEST_F() local
84 parcel.WriteInt64(videoSize); in HWTEST_F()
92 EXPECT_EQ(res.video_, videoSize); in HWTEST_F()
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/big_data_statistics/
H A Dgallery_download_file_stat.cpp139 if (index >= stat_.videoSize.size()) { in UpdateDownloadSizeStat()
142 stat_.videoSize[index]++; in UpdateDownloadSizeStat()
191 SumTwoVector(dataOne.videoSize, dataTwo.videoSize); in SumTwoDownloadFileStat()
207 lines.emplace_back(VectorToString(stat_.videoSize)); in OutputToFile()
245 tmpStat.videoSize = vec; in ReadVecFromLocal()
264 std::fill(stat_.videoSize.begin(), stat_.videoSize.end(), 0); in ClearDownloadFileStat()
285 "video_size", stat_.videoSize, in Report()
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/big_data_statistics/
H A Dgallery_download_file_stat.h36 videoSize(GALLERY_DOWNLOAD_VIDEO_SIZE_LEN), in DownloadFileStatInfo()
46 std::vector<uint64_t> videoSize; member
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_pattern.cpp82 SizeF CalculateFitContain(const SizeF& videoSize, const SizeF& layoutSize) in CalculateFitContain() argument
85 double sourceRatio = NearZero(videoSize.Height()) ? layoutRatio : videoSize.Width() / videoSize.Height(); in CalculateFitContain()
101 SizeF CalculateFitCover(const SizeF& videoSize, const SizeF& layoutSize) in CalculateFitCover() argument
104 double sourceRatio = NearZero(videoSize.Height()) ? layoutRatio : videoSize.Width() / videoSize.Height(); in CalculateFitCover()
115 SizeF CalculateFitNone(const SizeF& videoSize) in CalculateFitNone() argument
117 return videoSize; in CalculateFitNone()
120 CalculateFitScaleDown(const SizeF& videoSize, const SizeF& layoutSize) CalculateFitScaleDown() argument
134 auto videoSize = layoutProperty->GetVideoSizeValue(SizeF(0, 0)); MeasureVideoContentLayout() local
616 SizeF videoSize = SizeF( OnResolutionChange() local
641 SizeF videoSize = OnStartRenderFrameCb() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/video/
H A Drosen_render_texture.h49 void SyncProperties(const Size& videoSize, ImageFit imagefit, ImageObjectPosition imagePosition);
H A Drosen_render_texture.cpp184 void RosenRenderTexture::SyncProperties(const Size& videoSize, ImageFit imageFit, ImageObjectPosition imagePosition) in SyncProperties() argument
186 sourceSize_ = videoSize; in SyncProperties()
H A Dvideo_element.cpp1189 Size videoSize = Size(mediaPlayer_->GetVideoWidth(), mediaPlayer_->GetVideoHeight()); in OnResolutionChange() local
1190 LOGI("OnResolutionChange video size: %{public}s", videoSize.ToString().c_str()); in OnResolutionChange()
1191 rosenTexture->SyncProperties(videoSize, imageFit_, imagePosition_); in OnResolutionChange()
1313 Size videoSize = Size(mediaPlayer_->GetVideoWidth(), mediaPlayer_->GetVideoHeight()); in OnPlayerStatus() local
1316 uiTaskExecutor.PostSyncTask([&videoElement, videoSize, duration = milliSecondDuration / MILLISECONDS_TO_SECONDS, in OnPlayerStatus()
1320 LOGI("Video OnPrepared video size: %{public}s", videoSize.ToString().c_str()); in OnPlayerStatus()
1321 video->OnPrepared(videoSize.Width(), videoSize.Height(), false, duration, startTime, true); in OnPlayerStatus()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmoving_photo_processor.cpp256 size_t videoSize = 0; in GetUpdatedMovingPhotoData() local
265 if (!MediaFileUtils::GetFileSize(videoPath, videoSize) || videoSize == 0) { in GetUpdatedMovingPhotoData()
273 newData.size = static_cast<int64_t>(imageSize + videoSize + extraSize); in GetUpdatedMovingPhotoData()
287 newData.size = static_cast<int64_t>(imageSize + videoSize + DEFAULT_EXTRA_DATA_SIZE); in GetUpdatedMovingPhotoData()
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dcamera_output_capability.cpp198 size_t videoSize = videoProfiles_.size(); in RemoveDuplicatesProfiles() local
205 videoSize, videoProfiles_.size()); in RemoveDuplicatesProfiles()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/background_cloud_file_processor_test/src/
H A Dbackground_cloud_file_processor_test.cpp96 int64_t videoSize = 1 * 1000 * 1000 * 1000; in InsertPhoto() local
109 valuesBucket.PutLong(MediaColumn::MEDIA_SIZE, mediaType == MEDIA_TYPE_VIDEO ? videoSize : imageSize); in InsertPhoto()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmoving_photo_file_utils.cpp611 int64_t videoSize = totalSize - imageSize - extraDataSize; in ConvertToMovingPhoto() local
612 CHECK_AND_RETURN_RET_LOG(imageSize > 0 && videoSize > 0, E_INVALID_LIVE_PHOTO, in ConvertToMovingPhoto()
613 "Failed to check live photo, image size:%{public}" PRId64 "video size:%{public}" PRId64, imageSize, videoSize); in ConvertToMovingPhoto()
619 CHECK_AND_RETURN_RET_LOG((err = SendLivePhoto(livePhotoFd, movingPhotoVideoPath, videoSize, offset)) == E_OK, err, in ConvertToMovingPhoto()
/foundation/arkui/ace_engine/test/unittest/core/pattern/video/
H A Dvideo_property_test_ng.cpp499 auto videoSize = in HWTEST_F() local
501 EXPECT_EQ(videoSize, SCREEN_SIZE_MEDIUM); in HWTEST_F()
511 videoSize = in HWTEST_F()
513 EXPECT_EQ(videoSize, SCREEN_SIZE_LARGE); in HWTEST_F()
526 videoSize = videoLayoutAlgorithm->MeasureContent(layoutConstraint, &layoutWrapper).value_or(SizeF(0.0f, 0.0f)); in HWTEST_F()
527 EXPECT_EQ(videoSize, SizeF(VIDEO_WIDTH, VIDEO_HEIGHT)); in HWTEST_F()
641 * @tc.steps: step4. Call function while videoSize is null. in HWTEST_F()
645 std::optional<SizeF> videoSize; in HWTEST_F() local
648 videoLayoutProperty->propVideoStyle_->propVideoSize = videoSize; in HWTEST_F()
/foundation/CastEngine/castengine_cast_framework/common/src/
H A Dcast_engine_common_helper.cpp31 bool WriteVideoSize(Parcel &parcel, const VideoSize &videoSize) in WriteVideoSize() argument
33 return parcel.WriteInt32(videoSize.width) && parcel.WriteInt32(videoSize.height); in WriteVideoSize()
353 (((container.type == PropertyType::VIDEO_SIZE) && WriteVideoSize(parcel, container.videoSize)) || in WritePropertyContainer()
371 container->videoSize = ReadVideoSize(parcel); in ReadPropertyContainer()
/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/
H A Ddcamera_client_demo.cpp202 Size videoSize = {g_videoInfo->width_, g_videoInfo->height_}; in InitVideoOutput() local
204 VideoProfile videoSettings(videoFormat, videoSize, framerates); in InitVideoOutput()
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/
H A Dmain.cpp199 Size videoSize = {g_videoInfo->width_, g_videoInfo->height_}; in InitVideoOutput() local
201 VideoProfile videoSettings(videoFormat, videoSize, framerates); in InitVideoOutput()
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/
H A Dcamera_framework_unittest.cpp717 Size videoSize; in CreateVideoOutput() local
718 videoSize.width = width; in CreateVideoOutput()
719 videoSize.height = height; in CreateVideoOutput()
721 VideoProfile videoProfile = VideoProfile(videoFormat, videoSize, videoFramerates); in CreateVideoOutput()
1156 Size videoSize; in HWTEST_F() local
1157 videoSize.width = width; in HWTEST_F()
1158 videoSize.height = height; in HWTEST_F()
1160 VideoProfile videoProfile = VideoProfile(videoFormat, videoSize, videoFramerates); in HWTEST_F()
1180 Size videoSize; in HWTEST_F() local
1181 videoSize in HWTEST_F()
6032 Size videoSize; HWTEST_F() local
6058 Size videoSize; HWTEST_F() local
6088 Size videoSize; HWTEST_F() local
7978 Size videoSize; HWTEST_F() local
8044 Size videoSize; HWTEST_F() local
[all...]
H A Dcamera_ndk_unittest.cpp124 Camera_Size videoSize = { in CreateVideoOutput() local
134 .size = videoSize, in CreateVideoOutput()
/foundation/arkui/ace_engine/component_ext/movingphoto/
H A Dmovingphoto_pattern.cpp592 SizeF videoSize = in OnResolutionChange() local
596 movingPhotoLayoutProperty->UpdateVideoSize(videoSize); in OnResolutionChange()
855 Size videoSize = Size(mediaPlayer_->GetVideoWidth(), mediaPlayer_->GetVideoHeight()); in OnMediaPlayerPrepared() local
862 SizeF(static_cast<float>(videoSize.Width()), static_cast<float>(videoSize.Height()))); in OnMediaPlayerPrepared()
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmedia_scanner.cpp451 int64_t videoSize = 0; in GetMovingPhotoFileInfo() local
458 GetFileInfo(videoPath, videoSize, videoDateModified); in GetMovingPhotoFileInfo()
460 movingPhotoSize = imageSize + videoSize + static_cast<int64_t>(extraDataSize); in GetMovingPhotoFileInfo()
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/
H A Dcast_engine_common.h251 VideoSize videoSize; member
/foundation/multimedia/av_codec/services/media_engine/filters/
H A Ddecoder_surface_filter.cpp916 std::pair<int32_t, int32_t> videoSize {surfaceWidth_, surfaceHeight_}; in OnOutputFormatChanged()
917 eventReceiver_->OnEvent({"DecoderSurfaceFilter", EventType::EVENT_RESOLUTION_CHANGE, videoSize}); in OnOutputFormatChanged()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dhls_media_downloader.cpp1139 std::pair<int32_t, int32_t> videoSize {videoWidth, videoHeight}; in ReportVideoSizeChange()
1140 callback_->OnEvent({PluginEventType::VIDEO_SIZE_CHANGE, {videoSize}, "video_size_change"}); in ReportVideoSizeChange()
/foundation/multimedia/player_framework/services/engine/histreamer/player/
H A Dhiplayer_impl.cpp2369 std::pair<int32_t, int32_t> videoSize = AnyCast<std::pair<int32_t, int32_t>>(event.param); in HandleResolutionChangeEvent() local
2370 int32_t width = videoSize.first; in HandleResolutionChangeEvent()
2371 int32_t height = videoSize.second; in HandleResolutionChangeEvent()
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/
H A Dcamera_framework_moduletest.cpp6674 Size videoSize; in HWTEST_F() local
6675 videoSize.width = videoProfiles[0].GetSize().width; in HWTEST_F()
6676 videoSize.height = 0; in HWTEST_F()
6677 VideoProfile videoProfile_1 = VideoProfile(videoFormat, videoSize, framerates); in HWTEST_F()
6683 videoSize.width = 0; in HWTEST_F()
6684 videoSize.height = VIDEO_DEFAULT_HEIGHT; in HWTEST_F()
6685 videoProfile_1 = VideoProfile(videoFormat, videoSize, framerates); in HWTEST_F()
6692 videoSize.width = VIDEO_DEFAULT_WIDTH; in HWTEST_F()
6693 videoProfile_1 = VideoProfile(videoFormat, videoSize, framerates); in HWTEST_F()

Completed in 56 milliseconds