/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_video.cpp | 50 [](const RefPtr<VideoComponent>& video, const std::string& val) { in SetSpecializedAttr() 51 video->SetMute(StringToBool(val)); in SetSpecializedAttr() 54 [](const RefPtr<VideoComponent>& video, const std::string& val) { in SetSpecializedAttr() 55 video->SetSrc(val); in SetSpecializedAttr() 58 [](const RefPtr<VideoComponent>& video, const std::string& val) { in SetSpecializedAttr() 59 video->SetAutoPlay(StringToBool(val)); in SetSpecializedAttr() 62 [](const RefPtr<VideoComponent>& video, const std::string& val) { in SetSpecializedAttr() 63 video->SetPoster(val); in SetSpecializedAttr() 66 [](const RefPtr<VideoComponent>& video, const std::string& val) { in SetSpecializedAttr() 67 video in SetSpecializedAttr() [all...] |
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/ |
H A D | video_napi.cpp | 20 #include "video.h" 48 auto *video = new (std::nothrow) VideoNapi(); in New() local 49 ASSERT_ERR(ctxt->env, video != nullptr, Status::E_ERROR, "no memory for video!"); in New() 50 video->value_ = std::make_shared<Video>(); in New() 51 ASSERT_CALL(env, napi_wrap(env, ctxt->self, video, Destructor, nullptr, nullptr), video); in New() 59 auto *video = new (std::nothrow) VideoNapi(); in NewInstance() local 60 ASSERT_ERR_VOID(env, video != nullptr, Status::E_ERROR, "no memory for video!"); in NewInstance() 68 auto *video = static_cast<VideoNapi *>(data); Destructor() local 85 auto video = GetVideo(env, info, ctxt); GetVideoUri() local 107 auto video = static_cast<VideoNapi *>(ctxt->native); SetVideoUri() local [all...] |
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/ |
H A D | codec_port.cpp | 59 portDef_.format.video.eCompressionFormat = CodingTypeHstToHdi(mime); in Config() 60 portDef_.format.video.eColorFormat = FormatHstToOmx(vdecFormat); in Config() 61 portDef_.format.video.nFrameHeight = AlignUp(height, HDI_VIDEO_ALIGNMENT); in Config() 62 portDef_.format.video.nSliceHeight = AlignUp(height, HDI_VIDEO_ALIGNMENT); in Config() 63 portDef_.format.video.nFrameWidth = AlignUp(width, HDI_VIDEO_WIDTH_ALIGNMENT); in Config() 64 portDef_.format.video.nStride = static_cast<int32_t>(AlignUp(width, HDI_VIDEO_ALIGNMENT)); in Config() 65 portDef_.format.video.xFramerate = frameRate << HDI_FRAME_RATE_MOVE; in Config() 66 MEDIA_LOG_D("frame_rate: " PUBLIC_LOG_U32, portDef_.format.video.xFramerate); in Config() 67 portDef_.format.video.nBitrate = static_cast<uint32_t>(bitRate); in Config()
|
H A D | hdi_codec_manager.cpp | 80 MEDIA_LOG_W("Plugin does not belong to video codec, pluginType: " PUBLIC_LOG_D32, in RegisterCodecPlugins() 131 if (mime == "video/unknown") { in AddHdiCap() 140 outcapBuilder.SetVideoPixelFormatList(GetCodecFormats(hdiCap.port.video)); in AddHdiCap() 143 incapBuilder.SetVideoPixelFormatList(GetCodecFormats(hdiCap.port.video)); in AddHdiCap() 220 return "video/unknown"; in GetCodecMime()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/ |
H A D | video_full_screen_node.cpp | 16 #include "core/components_ng/pattern/video/video_full_screen_node.h" 20 #include "core/components_ng/pattern/video/video_full_screen_pattern.h" 23 void VideoFullScreenNode::InitVideoFullScreenNode(const RefPtr<VideoNode>& video) in InitVideoFullScreenNode() argument 25 if (video->HasMediaColumnNode()) { in InitVideoFullScreenNode() 32 if (video->HasPreviewImageNode()) { in InitVideoFullScreenNode() 39 if (video->HasControllerRowNode()) { in InitVideoFullScreenNode()
|
H A D | video_pattern.cpp | 16 #include "core/components_ng/pattern/video/video_pattern.h" 32 #include "core/components/video/video_theme.h" 35 #include "core/components_ng/pattern/video/video_full_screen_node.h" 36 #include "core/components_ng/pattern/video/video_full_screen_pattern.h" 157 // Just return contentSize as the video frame area. in MeasureVideoContentLayout() 299 // When video is autoPlay, start playing the video when it is initial state. in UpdateMediaPlayerOnBg() 343 auto video = weak.Upgrade(); in PrepareMediaPlayer() 344 CHECK_NULL_VOID(video); in PrepareMediaPlayer() 345 auto targetPattern = video in PrepareMediaPlayer() 629 auto video = AceType::DynamicCast<VideoNode>(host); OnStartRenderFrameCb() local 1015 auto video = AceType::DynamicCast<VideoNode>(host); OnModifyDone() local 1052 auto video = AceType::DynamicCast<VideoNode>(host); OnModifyDone() local 1086 auto video = AceType::DynamicCast<VideoNode>(host); OnModifyDone() local 1117 auto video = AceType::DynamicCast<VideoNode>(host); OnModifyDone() local 1129 auto video = AceType::DynamicCast<VideoNode>(host); OnModifyDone() local 1184 auto video = AceType::DynamicCast<VideoNode>(host); OnModifyDone() local [all...] |
H A D | video_full_screen_pattern.cpp | 16 #include "core/components_ng/pattern/video/video_full_screen_pattern.h" 18 #include "core/components_ng/pattern/video/video_full_screen_node.h" 29 auto video = videoPattern->GetHost(); in InitFullScreenParam() local 30 CHECK_NULL_VOID(video); in InitFullScreenParam() 31 SetEventHub(video->GetEventHub<EventHub>()); in InitFullScreenParam() 63 // set video size all window in RequestFullScreen()
|
H A D | video_full_screen_node.h | 22 #include "core/components_ng/pattern/video/video_node.h" 40 void InitVideoParam(const RefPtr<VideoNode>& video);
|
H A D | video_full_screen_pattern.h | 19 #include "core/components/video/video_controller_v2.h" 21 #include "core/components_ng/pattern/video/video_node.h" 22 #include "core/components_ng/pattern/video/video_pattern.h" 32 void InitFullScreenParam(const RefPtr<VideoPattern>& video, const RefPtr<RenderSurface>& renderSurface, 81 // full screen state check from origin video fullScreenNodeId_
|
/foundation/distributedhardware/distributed_screen/services/common/utils/src/ |
H A D | dscreen_hidumper.cpp | 220 void DscreenHidumper::SaveFile(std::string file, const VideoData &video) in SaveFile() argument 223 std::string fileName = DUMP_FILE_PATH + "/" + file + std::to_string(video.width) + ")_height(" + in SaveFile() 224 std::to_string(video.height) + ")_" + video.format + ".jpg"; in SaveFile() 243 if ((static_cast<size_t>(fileSize) + video.size) < DUMP_FILE_MAX_SIZE) { in SaveFile() 245 ofs.write(reinterpret_cast<const char *>(video.data), video.size); in SaveFile()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/video/ |
H A D | video_property_test_ng.cpp | 41 #include "core/components/video/video_theme.h" 42 #include "core/components/video/video_utils.h" 52 #include "core/components_ng/pattern/video/video_full_screen_node.h" 53 #include "core/components_ng/pattern/video/video_full_screen_pattern.h" 54 #include "core/components_ng/pattern/video/video_layout_algorithm.h" 55 #include "core/components_ng/pattern/video/video_layout_property.h" 56 #include "core/components_ng/pattern/video/video_model_ng.h" 57 #include "core/components_ng/pattern/video/video_node.h" 58 #include "core/components_ng/pattern/video/video_pattern.h" 59 #include "core/components_ng/pattern/video/video_style 209 VideoModelNG video; HWTEST_F() local 253 VideoModelNG video; HWTEST_F() local 312 VideoModelNG video; HWTEST_F() local 369 VideoModelNG video; HWTEST_F() local 447 VideoModelNG video; HWTEST_F() local 537 VideoModelNG video; HWTEST_F() local 890 VideoModelNG video; HWTEST_F() local 944 VideoModelNG video; HWTEST_F() local 980 VideoModelNG video; HWTEST_F() local 1014 VideoModelNG video; HWTEST_F() local 1048 VideoModelNG video; HWTEST_F() local 1095 VideoModelNG video; HWTEST_F() local 1126 VideoModelNG video; HWTEST_F() local 1170 VideoModelNG video; HWTEST_F() local 1207 VideoModelNG video; HWTEST_F() local 1257 VideoModelNG video; HWTEST_F() local 1297 VideoModelNG video; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/ |
H A D | av_sender_engine_adapter.cpp | 147 int32_t AVTransSenderAdapter::PushData(const VideoData &video) in PushData() argument 154 auto bufferData = transBuffer->WrapBufferData(video.data, video.size, video.size); in PushData() 157 bufferMata->SetMetaItem(AVTransTag::VIDEO_WIDTH, std::to_string(video.width)); in PushData() 158 bufferMata->SetMetaItem(AVTransTag::VIDEO_HEIGHT, std::to_string(video.height)); in PushData() 159 bufferMata->SetMetaItem(AVTransTag::VIDEO_PIXEL_FORMAT, video.format); in PushData() 160 bufferMata->SetMetaItem(AVTransTag::PRE_TIMESTAMP, std::to_string(video.timestamp)); in PushData()
|
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | video_test.cpp | 23 #include "video.h" 65 Video video(type, value); in HWTEST_F() 66 EXPECT_EQ(video.dataType_, VIDEO); in HWTEST_F()
|
/foundation/filemanagement/storage_service/interfaces/innerkits/storage_manager/native/ |
H A D | storage_stats.h | 26 StorageStats(int64_t total, int64_t audio, int64_t video, int64_t image, int64_t file, int64_t app) in StorageStats() argument 27 : total_(total), audio_(audio), video_(video), image_(image), file_(file), app_(app) {} in StorageStats()
|
/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_element.cpp | 16 #include "core/components/video/video_element.h" 38 #include "core/components/video/render_texture.h" 47 #include "core/components/video/rosen_render_texture.h" 235 auto video = videoElement.Upgrade(); in RegisterMediaPlayerEvent() 236 if (video != nullptr) { in RegisterMediaPlayerEvent() 237 video->OnCurrentTimeChange(currentPos); in RegisterMediaPlayerEvent() 244 auto video = videoElement.Upgrade(); in RegisterMediaPlayerEvent() 245 if (video) { in RegisterMediaPlayerEvent() 246 video->OnPlayerStatus(status); in RegisterMediaPlayerEvent() 253 auto video in RegisterMediaPlayerEvent() 1208 auto video = AceType::MakeRefPtr<VideoComponent>(); OnPrepared() local [all...] |
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/session/ |
H A D | session_coordinator.cpp | 150 auto video = coordinator_.lock(); variable 151 DP_CHECK_ERROR_RETURN_LOG(video == nullptr, "SessionCoordinator is nullptr."); 152 video->OnVideoProcessDone(userId, videoId, ipcFd); 157 auto video = coordinator_.lock(); variable 158 DP_CHECK_ERROR_RETURN_LOG(video == nullptr, "SessionCoordinator is nullptr."); 159 video->OnVideoError(userId, videoId, errorCode); 164 auto video = coordinator_.lock(); variable 165 DP_CHECK_ERROR_RETURN_LOG(video == nullptr, "SessionCoordinator is nullptr."); 166 video->OnStateChanged(userId, statusCode);
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_video.h | 29 * @brief Declares the functions related to video playbacks. 50 * @brief Provides the functions related to video playbacks. 108 * @brief Plays this video. 110 * @return Returns <b>true</b> if this video is played; returns <b>false</b> otherwise. 117 * @brief Checks whether this video is playing. 119 * @return Returns <b>true</b> if this video is playing; returns <b>false</b> otherwise. 126 * @brief Pauses the video being played. 128 * @return Returns <b>true</b> if the video is paused; returns <b>false</b> otherwise. 135 * @brief Stops playing this video. 137 * @return Returns <b>true</b> if this video i 330 SliderAnimatorCallback(UIVideo* video, UISlider* slider, UILabel* label) SliderAnimatorCallback() argument 448 SetVideoPlayer(UIVideo* video) SetVideoPlayer() argument [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/include/ |
H A D | camera_framework_moduletest.h | 37 VideoProfile video; member 112 void SetCameraParameters(sptr<CaptureSession> &session, bool video); 115 void TestCallbacks(sptr<CameraDevice> &cameraInfo, bool video);
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/imagecodec/ |
H A D | image_codec.cpp | 345 def.format.video.nFrameWidth = info.width; in SetVideoPortInfo() 346 def.format.video.nFrameHeight = info.height; in SetVideoPortInfo() 347 def.format.video.eCompressionFormat = info.codingType; in SetVideoPortInfo() 349 def.format.video.xFramerate = info.frameRate * FRAME_RATE_COEFFICIENT; in SetVideoPortInfo() 373 const OMX_VIDEO_PORTDEFINITIONTYPE& video = def.format.video; in PrintPortDefinition() local 378 video.nFrameWidth, video.nFrameHeight, video.xFramerate, video in PrintPortDefinition() [all...] |
H A D | image_decoder.cpp | 131 inputFormat_->SetValue(ImageCodecDescriptionKey::WIDTH, def.format.video.nFrameWidth); in UpdateInPortFormat() 132 inputFormat_->SetValue(ImageCodecDescriptionKey::HEIGHT, def.format.video.nFrameHeight); in UpdateInPortFormat() 150 (void)UpdateConfiguredFmt(def.format.video.eColorFormat); in UpdateOutPortFormat() 152 uint32_t w = def.format.video.nFrameWidth; in UpdateOutPortFormat() 153 uint32_t h = def.format.video.nFrameHeight; in UpdateOutPortFormat() 328 int32_t sliceHeight = static_cast<int32_t>(def.format.video.nSliceHeight); in UpdateFormatFromSurfaceBuffer()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/ |
H A D | muxer.cpp | 50 ERROR_FAIL, "not find video track."); in AddTracks() 51 auto video = trackMap.at(TrackType::AV_KEY_VIDEO_TYPE); in AddTracks() local 52 auto ret = muxer_->AddTrack(videoTrackId_, video->GetFormat().format->GetMeta()); in AddTracks() 53 DP_CHECK_ERROR_RETURN_RET_LOG(ret != static_cast<int32_t>(OK), ERROR_FAIL, "add video track failed."); in AddTracks()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hcodec.cpp | 418 if (!caps_.port.video.isSupportLowLatency) { in SetLowLatency() 443 for (int32_t f : caps_.port.video.supportPixFmts) { in GetPixelFmtFromUser() 477 const std::vector<int32_t>& supportFmts = caps_.port.video.supportPixFmts; in CheckBufPixFmt() 508 def.format.video.nFrameWidth = info.width; in SetVideoPortInfo() 509 def.format.video.nFrameHeight = info.height; in SetVideoPortInfo() 510 def.format.video.eCompressionFormat = info.codingType; in SetVideoPortInfo() 512 def.format.video.xFramerate = info.frameRate * FRAME_RATE_COEFFICIENT; in SetVideoPortInfo() 533 const OMX_VIDEO_PORTDEFINITIONTYPE& video = def.format.video; in PrintPortDefinition() local 538 video in PrintPortDefinition() [all...] |
/foundation/multimedia/media_foundation/test/scenetest/ |
H A D | test_single_video_player_slow.h | 34 PTEST((std::string url), Test single player play all urls video, and finished automatically) in FIXTURE() argument
|
/foundation/distributedhardware/distributed_screen/services/common/utils/include/ |
H A D | dscreen_hidumper.h | 58 void SaveFile(std::string file, const VideoData &video);
|
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/include/ |
H A D | av_sender_engine_adapter.h | 51 int32_t PushData(const VideoData &video);
|