Свойство | Type | Description | |
---|---|---|---|
Crop | void | ||
DrawTexture | void | ||
DrawTextureSegment | void | ||
InternalPresentImage | void | ||
OnMessage | void | ||
RenderBlackImage | void | ||
RenderLayers | int |
Méthode | Description | |
---|---|---|
Deinit ( ) : void |
Deinitialize. Release the vertex buffer and the render target resources This function should be called at last when playing has been stopped
|
|
ForceOsdUpdate ( bool pForce ) : void | ||
Init ( ) : void |
Initialize. This should be called before any other methods. It allocates resources needed
|
|
IsFullScreen ( ) : bool | ||
IsUiVisible ( ) : bool | ||
PlaneScene ( |
||
PresentImage ( |
||
ReduceMadvrFrame ( ) : int | ||
RenderFor3DMode ( |
||
RenderFrame ( |
||
RenderGui ( |
||
RenderLayer ( float timePassed ) : void | ||
RenderOverlay ( |
||
RenderSubtitle ( long frameStart, int left, int top, int right, int bottom, int width, int height, int xOffsetInPixels ) : void | ||
Repaint ( ) : void | ||
RestoreDeviceSurface ( uint pSurfaceDevice ) : void | ||
SetRenderTarget ( uint target ) : void | ||
SetSampleTime ( long nsSampleTime ) : void | ||
SetSrcRect ( float fU, float fV ) : void |
Set the texture dimensions. Sometimes the video texture is larger then the video resolution. In this case we should copy only a part from the video texture Using this function one can set how much of the video texture should be used
|
|
SetSubtitleDevice ( |
||
SetVideoWindow ( |
This method calculates the rectangle on screen where the video should be presented this depends on if we are in fullscreen mode or preview mode and on the current aspect ration settings
|
|
ShouldRenderLayer ( ) : bool | ||
Stop ( ) : void |
Stop VMR9 rendering this method will restore the DirectX render target since this might have been changed by the Video Mixing Renderer9
|
Méthode | Description | |
---|---|---|
Crop ( MediaPortal.Player.CropSettings cs ) : void |
Crop. Crops the current picture..
|
|
DrawTexture ( uint texAddr, long lColorDiffuse ) : void | ||
DrawTextureSegment ( VertexBuffer vertexBuffer, float srcX, float srcY, float srcWidth, float srcHeight, float dstX, float dstY, float dstWidth, float dstHeight, long lColorDiffuse ) : void | ||
InternalPresentImage ( int width, int height, int arWidth, int arHeight, bool isRepaint ) : void | ||
OnMessage ( |
OnMessage. Handles received GUIMessage's from graphics context.
|
|
RenderBlackImage ( float timePassed ) : void | ||
RenderLayers ( GUILayers layers, |
public ForceOsdUpdate ( bool pForce ) : void | ||
pForce | bool | |
Résultat | void |
public PlaneScene ( |
||
util | ||
Résultat | System |
public PresentImage ( |
||
width | ||
height | ||
arWidth | ||
arHeight | ||
pTexture | uint | |
pSurface | uint | |
Résultat | int |
public static RenderFor3DMode ( |
||
renderModeHalf | ||
timePassed | float | |
backbuffer | Surface | |
surface | Surface | |
targetRect | ||
Résultat | void |
public RenderFrame ( |
||
width | ||
height | ||
arWidth | ||
arHeight | ||
pSurface | uint | |
Résultat | void |
public RenderGui ( |
||
width | ||
height | ||
arWidth | ||
arHeight | ||
Résultat | int |
public RenderLayer ( float timePassed ) : void | ||
timePassed | float | |
Résultat | void |
public RenderOverlay ( |
||
width | ||
height | ||
arWidth | ||
arHeight | ||
Résultat | int |
public RenderSubtitle ( long frameStart, int left, int top, int right, int bottom, int width, int height, int xOffsetInPixels ) : void | ||
frameStart | long | |
left | int | |
top | int | |
right | int | |
bottom | int | |
width | int | |
height | int | |
xOffsetInPixels | int | |
Résultat | void |
public RestoreDeviceSurface ( uint pSurfaceDevice ) : void | ||
pSurfaceDevice | uint | |
Résultat | void |
public SetRenderTarget ( uint target ) : void | ||
target | uint | |
Résultat | void |
public SetSampleTime ( long nsSampleTime ) : void | ||
nsSampleTime | long | |
Résultat | void |
public SetSrcRect ( float fU, float fV ) : void | ||
fU | float | (0-1) Specifies the width to used of the video texture |
fV | float | (0-1) Specifies the height to used of the video texture |
Résultat | void |
public SetSubtitleDevice ( |
||
device | ||
Résultat | void |
public SetVideoWindow ( |
||
videoSize | Size of video stream | |
Résultat | bool |