-
6.10. Video playback function
The following 8 functions are for the video playback. After EndVideoCapture(), there will be a .m4v(raw
mpeg4) video file created, it can be playbacked on the demo application using the following APIs, NOTICE
THAT these function must be called after StopPreview().
6.10.1. Initiate
playback
Function Description:
Setup initial condition for playback.
Function call:
BOOL InitializeDecoder(LPCTSTR filename, UINT left, UINT top, UINT width, UINT height);
Parameters(Input):
filename:
LPCTSTR
: File name (with path) to store video(raw MPEG4)
left:
UINT
: horizontal starting pixels point from left-top corner
top:
UINT
:
vertical
starting
pixels point from left-top corner
width:
UINT
: horizontal pixel width
height:
UINT
: vertical pixel width
Return code:
TRUE = Success
FALSE = Fail
6.10.2. Release
playback
Function Description:
Called after the playback to release the decoder.
Function call:
void UnInitializeDecoder();
6.10.3. Start
playback
Function Description:
Start the playback. playback will be displayed in the same screen as the preview screen.
Function call:
BOOL StartPlayback();
Return code:
TRUE = Success
FALSE = Fail
6.10.4. Stop
playback
Function Description:
Stop the playback.
Function call:
void StopPlayback();
6.10.5. Pause
playback
Function Description:
Pause the playback.
Function call:
void PausePlayback();
6.10.6. Continue
playback
Function Description:
Resume the playback from pause.
Function call:
void ContinuePlayback();
Содержание MR650
Страница 1: ...MR650 Programming Manual V 1 12 1 16 2008 ...
Страница 7: ... 7 13 FUNCTION KEY SETTING ON REGISTRY 65 14 UPDATE NOTES 66 ...
Страница 16: ... it is for internal use send messages ...
Страница 33: ... Be aware to release handles when program ends ...