webOS Userland
Native system APIs for webOS
dile_vdec_direct.h File Reference

Go to the source code of this file.

Classes

struct  DILE_VDEC_DIRECT_SRC_INFO_T
 

Macros

#define DILE_STATUS_T   _DILE_STATUS_T
 

Enumerations

enum  _DILE_STATUS_T {
  DILE_OK = 0 , DILE_NOT_OK = -1 , DILE_OK = 0 , DILE_NOT_OK = -1 ,
  DILE_OK = 0 , DILE_NOT_OK = -1
}
 
enum  DILE_VDEC_DIRECT_3D_TYPE_T { DILE_VDEC_DIRECT_3D_TYPE_NONE , DILE_VDEC_DIRECT_3D_TYPE_SIDEBYSIDE , DILE_VDEC_DIRECT_3D_TYPE_TOPANDBOTTOM , DILE_VDEC_DIRECT_3D_TYPE_MAX }
 
enum  DILE_VDEC_DIRECT_SCAN_TYPE_T { DILE_VDEC_DIRECT_SCAN_TYPE_PROGRESSIVE , DILE_VDEC_DIRECT_SCAN_TYPE_INTERLACED }
 

Functions

DILE_STATUS_T DILE_VDEC_DIRECT_SetDEId (int deid)
 
DILE_STATUS_T DILE_VDEC_DIRECT_Open (unsigned int fourcc, int width, int height, DILE_VDEC_DIRECT_3D_TYPE_T trid_type, int videoIndex)
 
DILE_STATUS_T DILE_VDEC_DIRECT_Play (void *data, int size)
 
DILE_STATUS_T DILE_VDEC_DIRECT_PlayWithCallback (void *data, int size, unsigned long long buffID)
 
DILE_STATUS_T DILE_VDEC_DIRECT_SetCallback (void(*callback)(unsigned long long buffID))
 
DILE_STATUS_T DILE_VDEC_DIRECT_Stop (void)
 
DILE_STATUS_T DILE_VDEC_DIRECT_Close (void)
 
DILE_STATUS_T DILE_VDEC_DIRECT_GetVideoInfo (DILE_VDEC_DIRECT_SRC_INFO_T *pInfo)
 

Detailed Description

Device Interface Layer for Direct Vdec

Author
keunbae.choi([email protected])
Version
1.1
Date
2013.12.14
Note
See also

Enumeration Type Documentation

◆ DILE_VDEC_DIRECT_3D_TYPE_T

DILE VDEC DIRECT 3D Type.

◆ DILE_VDEC_DIRECT_SCAN_TYPE_T

DILE VDEC DIRECT SCAN Type.

Function Documentation

◆ DILE_VDEC_DIRECT_Close()

DILE_STATUS_T DILE_VDEC_DIRECT_Close ( void  )

Release video resource

Returns
succeeded - DILE_OK, if not - DILE_NOT_OK.

◆ DILE_VDEC_DIRECT_GetVideoInfo()

DILE_STATUS_T DILE_VDEC_DIRECT_GetVideoInfo ( DILE_VDEC_DIRECT_SRC_INFO_T pInfo)

Get Video Source Information

Parameters
pInfo[out] video source information
Returns
succeeded - DILE_OK, if not - DILE_NOT_OK.

◆ DILE_VDEC_DIRECT_Open()

DILE_STATUS_T DILE_VDEC_DIRECT_Open ( unsigned int  fourcc,
int  width,
int  height,
DILE_VDEC_DIRECT_3D_TYPE_T  trid_type,
int  videoIndex 
)

Set video resource type

Parameters
fourcc[in] video source type
width[in] width
height[in] height
trid_type[in] 3D type
videoIndex[in] video Indext
Returns
succeeded - DILE_OK, if not - DILE_NOT_OK.

◆ DILE_VDEC_DIRECT_Play()

DILE_STATUS_T DILE_VDEC_DIRECT_Play ( void *  data,
int  size 
)

Video playback

Parameters
data[in] pointer of buffer
size[in] buffer size
Returns
succeeded - DILE_OK, if not - DILE_NOT_OK.

◆ DILE_VDEC_DIRECT_PlayWithCallback()

DILE_STATUS_T DILE_VDEC_DIRECT_PlayWithCallback ( void *  data,
int  size,
unsigned long long  buffID 
)

Video playback with calling callback function

Parameters
data[in] pointer of buffer
size[in] buffer size
buffID[in] buffer identification for callback function
Returns
succeeded - DILE_OK, if not - DILE_NOT_OK.

◆ DILE_VDEC_DIRECT_SetCallback()

DILE_STATUS_T DILE_VDEC_DIRECT_SetCallback ( void(*)(unsigned long long buffID)  callback)

Set callback function

Parameters
callback[in] the name of callback function
Returns
succeeded - DILE_OK, if not - DILE_NOT_OK.

◆ DILE_VDEC_DIRECT_SetDEId()

DILE_STATUS_T DILE_VDEC_DIRECT_SetDEId ( int  deid)

Set Display Engine ID

Parameters
deid[in] display engine ID
Returns
succeeded - DILE_OK, if not - DILE_NOT_OK.

◆ DILE_VDEC_DIRECT_Stop()

DILE_STATUS_T DILE_VDEC_DIRECT_Stop ( void  )

Stop video playback

Returns
succeeded - DILE_OK, if not - DILE_NOT_OK.