webOS TV Native APIs
cgl_video.h File Reference

Video playback functions. More...

Go to the source code of this file.

Functions

int CGL_OpenVideo (const CGL_VIDEO_INFO_T *info)
 Opens video playback. More...
 
int CGL_PlayVideo (const void *data, size_t size)
 Feed and play video data. More...
 
int CGL_CloseVideo ()
 Closes video playback. More...
 

Detailed Description

Video playback functions.

Function Documentation

◆ CGL_CloseVideo()

int CGL_CloseVideo ( )

Closes video playback.

Returns
0 if succeeded

◆ CGL_OpenVideo()

int CGL_OpenVideo ( const CGL_VIDEO_INFO_T *  info)

Opens video playback.

Parameters
infoPointer to video information
Returns
0 if succeeded

◆ CGL_PlayVideo()

int CGL_PlayVideo ( const void *  data,
size_t  size 
)

Feed and play video data.

Parameters
dataVideo stream buffer
sizeSize of buffer
Returns
0 if succeeded