Implementation of the Video class Description Defines the attributes and behaviour of an elementary video stream of a Stream multiplex. The Video object shall be a StreamComponent of a Stream object. Base class Visible Subclasses None Status Concrete class.
More...
Go to the source code of this file.
|
void | MHEG5videoInit (MHEG5Video *video) |
| <Function description>=""> More...
|
|
void | MHEG5videoFree (MHEG5Video *video) |
| Free off all memory associated with the specified object, including any exchanged attributes and internal data. The data holding the object itself is not freed. More...
|
|
void | MHEG5videoPrepare (MHEG5Video *video) |
| Apply the preparation behaviour of the video class As this class has no own preparation behaviour this function just invokes the preparation behaviour from the base class. More...
|
|
void | MHEG5videoActivate (MHEG5Video *video) |
| Apply the activation behaviour of the video class. More...
|
|
void | MHEG5videoDeactivate (MHEG5Video *video) |
| Apply the deactivation behaviour of the video class. As this class has no own deactivation behaviour this function just invokes the deactivation behaviour from the base class. More...
|
|
void | MHEG5videoDestruct (MHEG5Video *video) |
| Destruct a video object. See also MHEG5videoInit. More...
|
|
MHEG5ErrorCode | MHEG5scaleVideo (MHEG5Root *target, MHEG5GList *params) |
| Implementation of the ScaleVideo (XScale, YScale) action of the video class. The effect of this action is to scale the contents of the video to the size (XScale, YScale). ScaleVideo (XScale, YScale) If the MHEG-5 engine implements the Scaling option, the effect of this action is to adapt the rendering of the Video so that it fits to the XScale and YScale dimensions. XScale and YScale parameters represent the final dimensions of the Video in pixel numbers. Thus, the graphical representation of the Video may not keep its original aspect ratio. Note that this action does not affect the BoxSize internal attribute of the Video object. Provisions of use: The Target object shall be an available Video object. XScale and YScale shall be positive Integers. ScaleVideo –> Target, XScale, YScale Target –> GenericObjectReference XScale, YScale –> GenericInteger. More...
|
|
MHEG5ErrorCode | MHEG5setVideoDecodeOffset (MHEG5Root *target, MHEG5GList *params) |
| Implementation of the SetVideoDecodeOffset (NewXOffset, NewYOffset) action of the video class. The effect of this action is to change the location of the decoded and scaled video with respect to the target Video object. SetVideoDecodeOffset (NewXOffset, NewYOffset) Change the location of the decoded and scaled video with respect to the target Video object. The offset parameters may be negative. Execute the following sequence of actions: More...
|
|
MHEG5ErrorCode | MHEG5getVideoDecodeOffset (MHEG5Root *target, MHEG5GList *params) |
| Implementation of the GetVideoDecodeOffset (XOffsetVar, YOffsetVar) action of the video class. GetVideoDecodeOffset (XOffsetVar, YOffsetVar) Returns the location of the decoded and scaled video with respect to the target Video object. The offset values may be negative. Set the Variables referenced by XPositionVar and YPositionVar to the value of the X and Y decode offset of the target Video object respectively. Provisions of use: The Target object shall be an available Video object. XOffsetVar and YOffsetVar shall refer to active IntegerVariable objects. GetVideoDecodeOffset –> Target, XOffsetVar, YOffsetVar Target –> GenericObjectReference XOffsetVar, YOffsetVar –> ObjectReference. More...
|
|
Implementation of the Video class Description Defines the attributes and behaviour of an elementary video stream of a Stream multiplex. The Video object shall be a StreamComponent of a Stream object. Base class Visible Subclasses None Status Concrete class.
- Date
- 17/12/2001
- Author
- iwillis
Implementation of the GetVideoDecodeOffset (XOffsetVar, YOffsetVar) action of the video class. GetVideoDecodeOffset (XOffsetVar, YOffsetVar) Returns the location of the decoded and scaled video with respect to the target Video object. The offset values may be negative. Set the Variables referenced by XPositionVar and YPositionVar to the value of the X and Y decode offset of the target Video object respectively. Provisions of use: The Target object shall be an available Video object. XOffsetVar and YOffsetVar shall refer to active IntegerVariable objects. GetVideoDecodeOffset –> Target, XOffsetVar, YOffsetVar Target –> GenericObjectReference XOffsetVar, YOffsetVar –> ObjectReference.
- Parameters
-
target | target object for this action |
params | Action parameters |
- Returns
- MHEG5ErrorCode - See mh5base.h
Implementation of the ScaleVideo (XScale, YScale) action of the video class. The effect of this action is to scale the contents of the video to the size (XScale, YScale). ScaleVideo (XScale, YScale) If the MHEG-5 engine implements the Scaling option, the effect of this action is to adapt the rendering of the Video so that it fits to the XScale and YScale dimensions. XScale and YScale parameters represent the final dimensions of the Video in pixel numbers. Thus, the graphical representation of the Video may not keep its original aspect ratio. Note that this action does not affect the BoxSize internal attribute of the Video object. Provisions of use: The Target object shall be an available Video object. XScale and YScale shall be positive Integers. ScaleVideo –> Target, XScale, YScale Target –> GenericObjectReference XScale, YScale –> GenericInteger.
- Parameters
-
target | target object for this action |
params | Action parameters |
- Returns
- MHEG5ErrorCode - See mh5base.h
Implementation of the SetVideoDecodeOffset (NewXOffset, NewYOffset) action of the video class. The effect of this action is to change the location of the decoded and scaled video with respect to the target Video object. SetVideoDecodeOffset (NewXOffset, NewYOffset) Change the location of the decoded and scaled video with respect to the target Video object. The offset parameters may be negative. Execute the following sequence of actions:
- Set the VideoDecodeOffset attribute according to NewXOffset and NewYOffset.
- If the Video object is active, redraw the graphic widget representing the object on the screen in the bounding box defined by the BoxSize and Position attributes and according to its position in the DisplayStack of the active Application object. Provisions of use: The Target object shall be an available Video object. NewXOffset and NewYOffset shall correspond to an offset interpreted in the Scene coordinate system defined by the SceneCoordinateSystem attribute of the currently active Scene. SetVideoDecodeOffset –> Target, NewXOffset, NewYOffset Target –> GenericObjectReference NewXOffset, NewYOffset –> GenericInteger
- Parameters
-
target | target object for this action |
params | Action parameters |
- Returns
- MHEG5ErrorCode - See mh5base.h
Apply the activation behaviour of the video class.
- Parameters
-
video | Video object to activate |
- Returns
- void
Apply the deactivation behaviour of the video class. As this class has no own deactivation behaviour this function just invokes the deactivation behaviour from the base class.
- Parameters
-
video | Video object to deactivate |
- Returns
- void
Destruct a video object. See also MHEG5videoInit.
- Parameters
-
video | Video object to destuct |
- Returns
- void
Free off all memory associated with the specified object, including any exchanged attributes and internal data. The data holding the object itself is not freed.
- Parameters
-
video | Pointer to object to free. |
- Returns
- Void
<Function description>="">
- Returns
- <Return value>=""> Initialise a video object with default values.
- Parameters
-
video | Pointer to object to initialise. |
- Returns
- Void
<Function description>="">
- Parameters
-
video | Pointer to object to initialise |
- Returns
- Void
Apply the preparation behaviour of the video class As this class has no own preparation behaviour this function just invokes the preparation behaviour from the base class.
- Parameters
-
video | Video object to prepare |
- Returns
- void