66 void MHEG5videoPrint(
MHEG5Video *video,
char *out)
69 MHEG5visiblePrint(&video->visible, out);
72 MHEG_PRINT(out,
":componentTag ");
73 MHEG5intPrint(video->componentTag, out);
76 if (video->terminationFreeze)
79 MHEG_PRINT(out,
":Termination freeze");
131 video->scaleSet = MHEG5FALSE;
145 if (!video->visible.ingredient.root.runningStatus)
147 if (!video->visible.ingredient.root.availabilityStatus)
153 if (video->parent->ingredient.root.runningStatus)
175 if (video->visible.ingredient.root.runningStatus)
186 if (video->parent->ingredient.root.runningStatus)
204 MHEG5displayVideoDestroy( video );
243 MHEG5Int XScale, YScale;
245 INFO_PRINT((
"MHEG5scaleVideo: \n"));
249 if (target->clazz != MHEG5VIDEO)
251 return MHEG5ERR_WRONGTARGET;
257 return MHEG5ERR_WRONGNUMBEROFPARAMS;
259 thirdParam = MHEG5resolveGenericInteger(params, &XScale);
263 return MHEG5ERR_WRONGNUMBEROFPARAMS;
265 MHEG5resolveGenericInteger(thirdParam, &YScale);
266 if (XScale == 0 || YScale == 0)
268 return MHEG5ERR_WRONGPARAM;
271 video->scaleSet = MHEG5TRUE;
272 video->xScale = XScale;
273 video->yScale = YScale;
275 if (video->visible.ingredient.root.runningStatus)
277 MHEG5displayVideoPositionUpdate();
280 return MHEG5ERR_NOERROR;
316 MHEG5Int xOffset = 0, yOffset = 0;
320 if (target->clazz != MHEG5VIDEO)
322 return MHEG5ERR_WRONGTARGET;
327 return MHEG5ERR_WRONGNUMBEROFPARAMS;
329 thirdParam = MHEG5resolveGenericInteger(params, &xOffset);
333 return MHEG5ERR_WRONGNUMBEROFPARAMS;
335 MHEG5resolveGenericInteger(thirdParam, &yOffset);
338 video->xOffset = xOffset;
339 video->yOffset = yOffset;
340 if (video->visible.ingredient.root.runningStatus)
342 MHEG5displayVideoPositionUpdate();
345 return MHEG5ERR_NOERROR;
376 if (target->clazz != MHEG5VIDEO)
378 return MHEG5ERR_WRONGTARGET;
384 return MHEG5ERR_WRONGNUMBEROFPARAMS;
386 thirdParam = MHEG5resolveORef(params, &xOffset);
390 return MHEG5ERR_WRONGNUMBEROFPARAMS;
392 MHEG5resolveORef(thirdParam, &yOffset);
394 if (!xOffset || !yOffset)
396 return MHEG5ERR_WRONGNUMBEROFPARAMS;
398 if (xOffset->clazz != MHEG5INTEGERVARIABLE ||
399 yOffset->clazz != MHEG5INTEGERVARIABLE)
401 return MHEG5ERR_WRONGPARAM;
403 if (!xOffset->runningStatus || !yOffset->runningStatus)
405 return MHEG5ERR_PARAMNOTACTIVE;
411 return MHEG5ERR_NOERROR;
void MHEG5visibleActivate(MHEG5Visible *visible)
Apply the activation behaviour of the visible class. Apply the activation behaviour off the visible c...
MHEG5ErrorCode MHEG5setVideoDecodeOffset(MHEG5Root *target, MHEG5GList *params)
Implementation of the SetVideoDecodeOffset (NewXOffset, NewYOffset) action of the video class...
void MHEG5videoPrepare(MHEG5Video *video)
Apply the preparation behaviour of the video class As this class has no own preparation behaviour thi...
Implementation of the Video class Description Defines the attributes and behaviour of an elementary v...
void MHEG5videoFree(MHEG5Video *video)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
void MHEG5visibleFree(MHEG5Visible *visible)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
void MHEG5displayVideoPlay(MHEG5Video *video)
Begin playback of the specified video object.
void MHEG5visiblePrepare(MHEG5Visible *visible)
Apply the preparation behaviour off the visible class Apply the preparation behaviour of the visible ...
Implement the MHEG5 Variable Class 21 Variable Class Defines a variable within the context of a Group...
void MHEG5visibleDestruct(MHEG5Visible *visible)
Destruct a visible object.
void MHEG5displayVideoStop(void)
Stops playback of the video media decoder.
MHEG5ErrorCode MHEG5scaleVideo(MHEG5Root *target, MHEG5GList *params)
Implementation of the ScaleVideo (XScale, YScale) action of the video class. The effect of this actio...
void MHEG5videoActivate(MHEG5Video *video)
Apply the activation behaviour of the video class.
MHEG5ErrorCode MHEG5getVideoDecodeOffset(MHEG5Root *target, MHEG5GList *params)
Implementation of the GetVideoDecodeOffset (XOffsetVar, YOffsetVar) action of the video class...
void MHEG5videoDestruct(MHEG5Video *video)
Destruct a video object. See also MHEG5videoInit.
void MHEG5videoDeactivate(MHEG5Video *video)
Apply the deactivation behaviour of the video class. As this class has no own deactivation behaviour ...
Implement functions to retrieve MHEG5objects by GroupID and ID.
Implementation of the MHEG5 Application Class Defines a set of Ingredient objects, which are shared within an application scope. Base class: Group Subclasses: None Status: Concrete class.
void MHEG5videoInit(MHEG5Video *video)
Initialise a video object with default values. See also MHEG5videoDestruct.
Mheg5 logging and debug printing.
Implement generic MHEG5-display functions - independent from the OSD These are generic functions used...
void MHEG5visibleDeactivate(MHEG5Visible *visible)
Apply the deactivation behaviour of the visible class. As this class has no own deactivation behaviou...
void MHEG5visibleInit(MHEG5Visible *visible)
Initialise a visible object with default values.
MHEG5Application * MHEG5getCurrentApplication(void)
<Function description>="">