DirectVideo API for playing video stream. More...
Go to the source code of this file.
Classes | |
struct | LGNC_VDEC_DATA_INFO_T |
Video information. More... | |
Typedefs | |
typedef enum LGNC_VDEC_3D_TYPE_T | LGNC_VDEC_3D_TYPE_T |
typedef enum LGNC_VDEC_FMT_T | LGNC_VDEC_FMT_T |
Enumerations | |
enum | LGNC_VDEC_FMT_T { LGNC_VDEC_FMT_MAX = 10 , LGNC_VDEC_FMT_H264 = 2 } |
Video format. | |
enum | LGNC_VDEC_3D_TYPE_T { LGNC_VDEC_3D_TYPE_LR_HALF = 2 , LGNC_VDEC_3D_TYPE_NONE = 0 , LGNC_VDEC_3D_TYPE_TB_HALF = 3 , LGNC_VDEC_3D_TYPE_2DTO3D = 1 , LGNC_VDEC_3D_TYPE_MAX = 4 } |
Video 3D type. More... | |
Functions | |
int | LGNC_DIRECTVIDEO_Close () |
Close video playback. More... | |
int | LGNC_DIRECTVIDEO_Open (const LGNC_VDEC_DATA_INFO_T *info) |
Open video playback. More... | |
int | LGNC_DIRECTVIDEO_Play (const void *data, unsigned int size) |
Play video buffer. More... | |
int | _LGNC_DIRECTVIDEO_SetDisplayWindow (int x, int y, int w, int h) |
Set video display window on the screen. More... | |
int | _LGNC_DIRECTVIDEO_SetCustomDisplayWindow (int x, int y, int w, int h) |
Set video display window on the screen. More... | |
DirectVideo API for playing video stream.
enum LGNC_VDEC_3D_TYPE_T |
int _LGNC_DIRECTVIDEO_SetCustomDisplayWindow | ( | int | x, |
int | y, | ||
int | w, | ||
int | h | ||
) |
Set video display window on the screen.
x | X position of the video |
y | Y position of the video |
w | Width of the video |
h | Height of the video |
int _LGNC_DIRECTVIDEO_SetDisplayWindow | ( | int | x, |
int | y, | ||
int | w, | ||
int | h | ||
) |
Set video display window on the screen.
x | X position of the video |
y | Y position of the video |
w | Width of the video |
h | Height of the video |
int LGNC_DIRECTVIDEO_Close | ( | ) |
Close video playback.
int LGNC_DIRECTVIDEO_Open | ( | const LGNC_VDEC_DATA_INFO_T * | info | ) |
Open video playback.
info | Video information |
int LGNC_DIRECTVIDEO_Play | ( | const void * | data, |
unsigned int | size | ||
) |
Play video buffer.
data | Video buffer |
size | Size of video buffer |