webOS Userland
Native system APIs for webOS
 
Loading...
Searching...
No Matches
lgnc_directvideo.h
Go to the documentation of this file.
1
7#pragma once
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
17 LGNC_VDEC_FMT_MAX = 10,
18 LGNC_VDEC_FMT_H264 = 2
19};
20
29 LGNC_VDEC_3D_TYPE_NONE = 0,
34 LGNC_VDEC_3D_TYPE_2DTO3D = 1,
35 LGNC_VDEC_3D_TYPE_MAX = 4
36};
37
39
40typedef struct LGNC_VDEC_DATA_INFO LGNC_VDEC_DATA_INFO_T;
41
43
65
66typedef struct LGNC_VDEC_DATA_INFO LGNC_VDEC_DATA_INFO_T;
67
73
79int LGNC_DIRECTVIDEO_Open(const LGNC_VDEC_DATA_INFO_T *info);
80
87int LGNC_DIRECTVIDEO_Play(const void *data, unsigned int size);
88
97int _LGNC_DIRECTVIDEO_SetDisplayWindow(int x, int y, int w, int h);
98
108int _LGNC_DIRECTVIDEO_SetCustomDisplayWindow(int x, int y, int w, int h);
109
110#ifdef __cplusplus
111}
112#endif
int LGNC_DIRECTVIDEO_Close()
Close video playback.
int _LGNC_DIRECTVIDEO_SetDisplayWindow(int x, int y, int w, int h)
Set video display window on the screen.
LGNC_VDEC_3D_TYPE_T
Video 3D type.
Definition lgnc_directvideo.h:24
@ LGNC_VDEC_3D_TYPE_TB_HALF
Top and bottom.
Definition lgnc_directvideo.h:33
@ LGNC_VDEC_3D_TYPE_LR_HALF
Side by side.
Definition lgnc_directvideo.h:28
int LGNC_DIRECTVIDEO_Play(const void *data, unsigned int size)
Play video buffer.
int _LGNC_DIRECTVIDEO_SetCustomDisplayWindow(int x, int y, int w, int h)
Set video display window on the screen.
LGNC_VDEC_FMT_T
Video format.
Definition lgnc_directvideo.h:16
int LGNC_DIRECTVIDEO_Open(const LGNC_VDEC_DATA_INFO_T *info)
Open video playback.
Video information.
Definition lgnc_directvideo.h:47
int height
Video height.
Definition lgnc_directvideo.h:55
int width
Video width.
Definition lgnc_directvideo.h:51
LGNC_VDEC_3D_TYPE_T trid_type
3D type
Definition lgnc_directvideo.h:63
LGNC_VDEC_FMT_T vdecFmt
Video format.
Definition lgnc_directvideo.h:59