You.i Engine
YiVideoSurfacePlatform.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
2 #ifndef _YI_VIDEO_SURFACE_PLATFORM_H_
3 #define _YI_VIDEO_SURFACE_PLATFORM_H_
4 
6 
18 {
19  friend class CYIVideoSurfaceView; //For positioning the platform view
20 
21 protected:
23 
31  virtual void SetVideoRectangle(const YI_RECT_REL &videoRectangle) = 0;
32 
33  virtual void OnAttached(CYIVideoSurfaceView *pVideoSurfaceView) override;
34  virtual void OnDetached(CYIVideoSurfaceView *pVideoSurfaceView) override;
35 };
36 
41 #endif
Capabilities
Definition: YiVideoSurface.h:39
Definition: YiPredef.h:291
virtual void OnAttached(CYIVideoSurfaceView *pVideoSurfaceView) override
virtual void SetVideoRectangle(const YI_RECT_REL &videoRectangle)=0
CYIVideoSurfacePlatform(Capabilities capabilities)
virtual void OnDetached(CYIVideoSurfaceView *pVideoSurfaceView) override
Representation of a CYIAbstractVideoPlayer's video surface.
Definition: YiVideoSurface.h:34
View representation of a CYIAbstractVideoPlayer's CYIVideoSurface.
Definition: YiVideoSurfaceView.h:32
Representation of a CYIAbstractVideoPlayer's video surface, if the player is rendering to a platform-...
Definition: YiVideoSurfacePlatform.h:17