Go to the source code of this file.
Classes | |
struct | DILE_VT_RECT_T |
This structure describes a rectangle specified by a point and a dimension. More... | |
struct | DILE_VT_DISPLAY_INFO_T |
This structure describes the information of display panel. More... | |
struct | DILE_VT_GRAPHIC_INFO_T |
This structure describes the information of graphic resolution. More... | |
struct | DILE_VT_BOARD_INFO_T |
This structure describes the information of dependent to board. More... | |
struct | DILE_VT_DEVICE_CAPABILITY_INFO_T |
This structure describes the capability of video device. More... | |
struct | DILE_VT_VIDEO_FRAME_BUFFER_CAPABILITY_INFO_T |
This structure describes the capability of video frame buffer. More... | |
struct | DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_CAPABILITY_INFO_T |
This structure describes the capability of video frame output device. More... | |
struct | DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_LIMITATION_INFO_T |
This structure describes the limitation of video frame output device. More... | |
struct | DILE_VT_VIDEO_FRAME_BUFFER_PROPERTY_INFO_T |
This structure describes the constant property of video frame buffer. These member values are unique properties of video frame buffer. it is not able to be changed. More... | |
struct | DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_INFO_T |
This structure describes state information of video frame output device. More... | |
struct | DILE_VT_INPUT_VIDEO_INFO_T |
This structure describes information of input video. More... | |
struct | DILE_VT_OUTPUT_VIDEO_INFO_T |
This structure describes information of output video. More... | |
struct | DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_OUTPUT_INFO_T |
This structure describes output information of video frame output device. More... | |
struct | DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_PROPERTY_INFO_T |
This structure describes property information of video frame output device. More... | |
struct | DILE_VTV_RESOLUTION_T |
struct | DILE_VTV_DEVICE_CAPABILITY_INFO_T |
struct | DILE_VTV_VFB_PROPERTY_INFO_T |
struct | DILE_VTV_CALLBACK_INFO_T |
Macros | |
#define | DILE_STATUS_T _DILE_STATUS_T |
Typedefs | |
typedef void * | DILE_VT_HANDLE_T |
typedef void(* | DILE_VT_EVENT_HANDLER_T) (DILE_VT_HANDLE_T handle, DILE_VT_EVENT_TYPE_T eventType, void *eventData, void *userData) |
typedef void * | DILE_VTV_HANDLE_T |
typedef void(* | DILE_VTV_CALLBACK) (DILE_VTV_CALLBACK_INFO_T *pInfo) |
Enumerations | |
enum | DILE_VT_VIDEO_FRAME_BUFFER_PLANE_NUMBER_T { DILE_VT_VIDEO_FRAME_BUFFER_PLANE_INTERLEAVED = 1 , DILE_VT_VIDEO_FRAME_BUFFER_PLANE_SEMI_PLANAR , DILE_VT_VIDEO_FRAME_BUFFER_PLANE_PLANAR } |
This enumeration describes the supported number of plane corresponding to plane type of video frame buffer. | |
enum | DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_T { DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV420_PLANAR = 0 , DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV420_SEMI_PLANAR , DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV420_INTERLEAVED , DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV422_PLANAR , DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV422_SEMI_PLANAR , DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV422_INTERLEAVED , DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV444_PLANAR , DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV444_SEMI_PLANAR , DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV444_INTERLEAVED , DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_RGB , DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_ARGB } |
This enumeration describes the supported pixel format of video frame buffer. | |
enum | DILE_VT_VIDEO_WINDOW_TYPE_T { DILE_VT_VIDEO_INVALID_WINDOW = -1 , DILE_VT_VIDEO_WINDOW_0 = 0 , DILE_VT_VIDEO_WINDOW_1 = 1 , DILE_VT_VIDEO_WINDOW_2 = 2 } |
This enumeration describes the supported video window. | |
enum | DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_FLAGS_T { DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_NOFX = 0x00000000 , DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_ENABLED = 0x00000001 , DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_FREEZED = 0x00000002 , DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_APPLIED_PQ = 0x00000004 , DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_FRAMERATE_DIVIDE = 0x00000010 } |
This enumeration describes flags for state of video frame output device setting. | |
enum | DILE_VT_EVENT_TYPE_T { DILE_VT_VIDEO_FRAME_BUFFER_AVAILABLE = 0 , DILE_VT_VIDEO_FRAME_BUFFER_UNAVAILABLE = 1 , DILE_VT_DIMENSION_CHANGED = 2 } |
This enumeration describes the event type about notified information of video texture. | |
enum | DILE_VT_MIRROR_FLAGS_T { DILE_VT_NONE_MIRROR = 0x00000000 , DILE_VT_HORIZONTAL_MIRROR = 0x00000001 , DILE_VT_VERTICAL_MIRROR = 0x00000010 , DILE_VT_EPI_MIRROR = 0x00000020 , DILE_VT_ALL = 0x00000031 } |
This enumeration describes the flags controlling mirror mode. | |
enum | DILE_VT_DISPLAY_TYPE_T { DILE_VT_PLASMA_DISPLAY = 0 , DILE_VT_LCD_DISPLAY , DILE_VT_OLED_DISPLAY } |
This enumeration describes display type. | |
enum | DILE_VT_DUMP_LOCATION_TYPE_T { DILE_VT_SCALER_OUTPUT = 0 , DILE_VT_DISPLAY_OUTPUT } |
This enumeration describes the dump location of video memory. | |
enum | DILE_VT_VIDEO_TYPE_T { DILE_VT_VIDEO_INTERLACED = 0 , DILE_VT_VIDEO_PROGRESSIVE } |
This enumeration describes the type of video. | |
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 } |
Functions | |
DILE_VTV_HANDLE_T | DILE_VTV_Init (void) |
DILE_STATUS_T | DILE_VTV_Finalize (DILE_VTV_HANDLE_T handle) |
DILE_STATUS_T | DILE_VTV_GetDeviceCapability (DILE_VTV_HANDLE_T handle, DILE_VTV_DEVICE_CAPABILITY_INFO_T *pCapabilityInfo) |
DILE_STATUS_T | DILE_VTV_RegisterCallback (DILE_VTV_HANDLE_T handle, DILE_VTV_CALLBACK cbFunc) |
DILE_STATUS_T | DILE_VTV_GetInputBufferResolution (DILE_VTV_HANDLE_T handle, DILE_VTV_RESOLUTION_T *pResolution) |
DILE_STATUS_T | DILE_VTV_SetInputBufferResolution (DILE_VTV_HANDLE_T handle, DILE_VTV_RESOLUTION_T *pResolution) |
DILE_STATUS_T | DILE_VTV_GetOutputBufferResolution (DILE_VTV_HANDLE_T handle, DILE_VTV_RESOLUTION_T *pResolution) |
DILE_STATUS_T | DILE_VTV_SetOutputBufferResolution (DILE_VTV_HANDLE_T handle, DILE_VTV_RESOLUTION_T *pResolution) |
DILE_STATUS_T | DILE_VTV_GetOutputBufferIndex (DILE_VTV_HANDLE_T handle, unsigned int *pIndex) |
DILE_STATUS_T | DILE_VTV_SetOutputBufferIndex (DILE_VTV_HANDLE_T handle, unsigned int index, unsigned int vendorData) |
DILE_STATUS_T | DILE_VTV_GetInputBufferFreeze (DILE_VTV_HANDLE_T handle, unsigned int bufferIndex, unsigned int *pbFreeze) |
DILE_STATUS_T | DILE_VTV_SetInputBufferFreeze (DILE_VTV_HANDLE_T handle, unsigned int bufferIndex, unsigned int bFreeze) |
DILE_STATUS_T | DILE_VT_Init (void) |
Initializes Video module related to. Call Chipset driver initialization function and create resources for Video module related to VT. More... | |
DILE_STATUS_T | DILE_VT_InitEx (unsigned int bufferNum) |
Initializes Video module related to. Call Chipset driver initialization function and create resources for Video module related to VT according to bufferNum. More... | |
DILE_STATUS_T | DILE_VT_Finalize (void) |
Finalize Video module related to VT. More... | |
DILE_STATUS_T | DILE_VT_EnableFRCMode (unsigned int bEnableFRC) |
Set FRC mode. Save the mode in global variable and it is requested to VT driver right before DILE_VT_Init/InitEx. More... | |
DILE_VT_HANDLE_T | DILE_VT_Create (DILE_VT_VIDEO_WINDOW_TYPE_T videoWindowID) |
Create dile_vt handle after call to HAL_VT APIs in order to initialize Chipset driver. More... | |
DILE_VT_HANDLE_T | DILE_VT_CreateEx (DILE_VT_VIDEO_WINDOW_TYPE_T videoWindowID, unsigned int bufferNum) |
Create dile_vt handle after call to HAL_VT APIs in order to initialize Chipset driver and create resources for Video module related to VT according to bufferNum. More... | |
DILE_STATUS_T | DILE_VT_Destroy (DILE_VT_HANDLE_T handle) |
Destroy dile_vt handle after call to HAL_VT APIs in order to finalize Chipset driver. More... | |
DILE_STATUS_T | DILE_VT_GetDeviceCapability (DILE_VT_HANDLE_T handle, DILE_VT_DEVICE_CAPABILITY_INFO_T *pDeviceCapabilityInfo) |
Gets the capability of VIDEO Device. More... | |
DILE_STATUS_T | DILE_VT_GetVideoFrameBufferCapability (DILE_VT_HANDLE_T handle, DILE_VT_VIDEO_FRAME_BUFFER_CAPABILITY_INFO_T *pVideoFrameBufferCapabilityInfo) |
Gets the capability of Video Frame Buffer. More... | |
DILE_STATUS_T | DILE_VT_GetVideoFrameOutputDeviceCapability (DILE_VT_HANDLE_T handle, DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_CAPABILITY_INFO_T *pVideoFrameOutputDeviceCapabilityInfo) |
Gets the capability of Video Frame Output Device. More... | |
DILE_STATUS_T | DILE_VT_GetVideoFrameOutputDeviceLimitation (DILE_VT_HANDLE_T handle, DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_LIMITATION_INFO_T *pVideoFrameOutputDeviceLimitationInfo) |
Gets the limitation of Video Frame Output Device. More... | |
DILE_STATUS_T | DILE_VT_SetEventHandler (DILE_VT_HANDLE_T handle, DILE_VT_EVENT_HANDLER_T eventHandler, void *pUserData) |
Register a event handler that handle for change of video states. (whether video frame buffer is available or unavailable, etc) More... | |
DILE_STATUS_T | DILE_VT_GetAllVideoFrameBufferProperty (DILE_VT_HANDLE_T handle, DILE_VT_VIDEO_FRAME_BUFFER_CAPABILITY_INFO_T *pVideoFrameBufferCapability, DILE_VT_VIDEO_FRAME_BUFFER_PROPERTY_INFO_T *pVideoFrameBufferProperty) |
Get properties of video frame buffer corresponding to videoWindowID. More... | |
DILE_STATUS_T | DILE_VT_GetCurrentVideoFrameBufferProperty (DILE_VT_HANDLE_T handle, DILE_VT_VIDEO_FRAME_BUFFER_PROPERTY_INFO_T *pVideoFrameBufferProperty, unsigned int *pIndexOfCurrentVideoFrameBuffer) |
Get properties of current video frame buffer corresponding to handle. Current video frame buffer means as followings. The current video frame buffer corresponding to pIndexOfCurrentVideoFrameBuffer is same with video frame buffer that last write operation is completed. This buffer may be 1~2 frame delayed buffer compared to video frame being displayed on the screen. If your chip can only support single video frame buffer, the value is always 0. More... | |
DILE_STATUS_T | DILE_VT_GetVideoFrameBufferSecureVideoState (DILE_VT_HANDLE_T handle, unsigned char *pIsSecureVideo) |
Get secure video state of video frame buffer corresponding to handle. Vdec driver can know SVP state of own. And VT driver can know which vdec is mapped to videoWindowID. Therefore, If VT driver can get vdec's SVP state, VT driver can provide the SVP state information to VT client through this interface. More... | |
DILE_STATUS_T | DILE_VT_GetVideoFrameOutputDeviceState (DILE_VT_HANDLE_T handle, DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_INFO_T *pVideoFrameOutputDeviceState) |
Get state information of video frame output device corresponding to videoWindowID. More... | |
DILE_STATUS_T | DILE_VT_SetVideoFrameOutputDeviceState (DILE_VT_HANDLE_T handle, DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_FLAGS_T videoFrameOutputDeviceStateFlags, DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_INFO_T *pVideoFrameOutputDeviceState) |
Set state of video frame corresponding to videoInputID. More... | |
DILE_STATUS_T | DILE_VT_GetVideoFrameOutputDeviceFramerate (DILE_VT_HANDLE_T handle, unsigned int *pFramerate) |
Get framerate of video frame output device corresponding to videoWindowID. More... | |
DILE_STATUS_T | DILE_VT_GetVideoFrameOutputDeviceDumpLocation (DILE_VT_HANDLE_T handle, DILE_VT_DUMP_LOCATION_TYPE_T *pDumpLocation) |
Get dump location of VFOD corresponding to handle. More... | |
DILE_STATUS_T | DILE_VT_SetVideoFrameOutputDeviceDumpLocation (DILE_VT_HANDLE_T handle, DILE_VT_DUMP_LOCATION_TYPE_T dumpLocation) |
Set dump location of VFOD corresponding to handle. More... | |
DILE_STATUS_T | DILE_VT_GetVideoFrameOutputDeviceOutputInfo (DILE_VT_HANDLE_T handle, DILE_VT_DUMP_LOCATION_TYPE_T dumpLocation, DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_OUTPUT_INFO_T *pOutputInfo) |
Get output information of VFOD corresponding to handle. More... | |
DILE_STATUS_T | DILE_VT_SetVideoFrameOutputDeviceOutputRegion (DILE_VT_HANDLE_T handle, DILE_VT_DUMP_LOCATION_TYPE_T dumpLocation, DILE_VT_RECT_T *pOutputRegion) |
Set output region information of VFOD corresponding to handle. More... | |
DILE_STATUS_T | DILE_VT_GetVideoFrameOutputDeviceBlockState (DILE_VT_VIDEO_WINDOW_TYPE_T videoWindowID, unsigned char *pbBlockState) |
Get block state of video frame output device corresponding to handle. More... | |
DILE_STATUS_T | DILE_VT_SetVideoFrameOutputDeviceBlockState (DILE_VT_VIDEO_WINDOW_TYPE_T videoWindowID, unsigned char bBlockState) |
Set block state of video frame output device corresponding to handle. More... | |
DILE_STATUS_T | DILE_VT_GetVideoFrameOutputDeviceProperty (DILE_VT_VIDEO_WINDOW_TYPE_T videoWindowID, DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_PROPERTY_INFO_T *pVideoFrameOutputDeviceProperty) |
Get property information of video frame output device corresponding to videoWindowID. More... | |
DILE_STATUS_T | DILE_VT_SetVideoFrameOutputDeviceProperty (DILE_VT_VIDEO_WINDOW_TYPE_T videoWindowID, DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_PROPERTY_INFO_T *pVideoFrameOutputDeviceProperty) |
Set property information of video frame output device corresponding to videoWindowID. More... | |
DILE_STATUS_T | DILE_VT_GetBoardInfo (DILE_VT_HANDLE_T handle, DILE_VT_BOARD_INFO_T *pBoardInfo) |
Getting informations related to H/W (display panel resolution, graphic resolution, mirror mode, etc) More... | |
DILE_STATUS_T | DILE_VT_WaitVsync (DILE_VT_HANDLE_T handle) |
Wait for to be completed what the video frame buffer is being written new data by VFOD corresponding to handle. More... | |
DILE_STATUS_T | DILE_VT_GetInputVideoInfo (DILE_VT_HANDLE_T handle, DILE_VT_INPUT_VIDEO_INFO_T *pInputVideoInfo) |
Get input video information corresponding to handle. (input video original region is resolution of input video.) More... | |
DILE_STATUS_T | DILE_VT_GetOutputVideoInfo (DILE_VT_HANDLE_T handle, DILE_VT_OUTPUT_VIDEO_INFO_T *pOutputVideoInfo) |
Get output video information corresponding to handle. Output video resolution may change when aspect ratio information is changed. More... | |
DILE_STATUS_T | DILE_VT_GetVideoMuteStatus (DILE_VT_HANDLE_T handle, unsigned char *pbOnOff) |
Get video mute status of video path corresponding to handle. More... | |
DILE_STATUS_T | DILE_VT_Start (unsigned int *pWaitTime) |
Before getting video memory from HAL_VT, This API must be called to assure multi process safety. The maximum waiting time(ms) for obtaining the vt resources. If you don't set this value, dile_vt will use internal waitTime according to internal policy. More... | |
DILE_STATUS_T | DILE_VT_Stop (void) |
After getting video memory from HAL_VT, This API must be called to assure multi process safety. More... | |
void | DILE_VT_Debug (void) |
Debug menu to verify DILE VT module. More... | |
DILE VT (VT:Video Texture)
typedef void(* DILE_VT_EVENT_HANDLER_T) (DILE_VT_HANDLE_T handle, DILE_VT_EVENT_TYPE_T eventType, void *eventData, void *userData) |
The type of event handler.
DILE_VT_HANDLE_T DILE_VT_Create | ( | DILE_VT_VIDEO_WINDOW_TYPE_T | videoWindowID | ) |
Create dile_vt handle after call to HAL_VT APIs in order to initialize Chipset driver.
videoWindowID | [IN] video window ID |
DILE_VT_HANDLE_T DILE_VT_CreateEx | ( | DILE_VT_VIDEO_WINDOW_TYPE_T | videoWindowID, |
unsigned int | bufferNum | ||
) |
Create dile_vt handle after call to HAL_VT APIs in order to initialize Chipset driver and create resources for Video module related to VT according to bufferNum.
videoWindowID | [IN] video window ID |
bufferNum | [IN] buffer number |
void DILE_VT_Debug | ( | void | ) |
Debug menu to verify DILE VT module.
void |
DILE_STATUS_T DILE_VT_Destroy | ( | DILE_VT_HANDLE_T | handle | ) |
Destroy dile_vt handle after call to HAL_VT APIs in order to finalize Chipset driver.
handle | [IN] the handle for DILE_VT |
DILE_STATUS_T DILE_VT_EnableFRCMode | ( | unsigned int | bEnableFRC | ) |
Set FRC mode. Save the mode in global variable and it is requested to VT driver right before DILE_VT_Init/InitEx.
DILE_STATUS_T DILE_VT_Finalize | ( | void | ) |
Finalize Video module related to VT.
DILE_STATUS_T DILE_VT_GetAllVideoFrameBufferProperty | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_VIDEO_FRAME_BUFFER_CAPABILITY_INFO_T * | pVideoFrameBufferCapability, | ||
DILE_VT_VIDEO_FRAME_BUFFER_PROPERTY_INFO_T * | pVideoFrameBufferProperty | ||
) |
Get properties of video frame buffer corresponding to videoWindowID.
handle | [IN] the handle for DILE_VT |
pVideoFrameBufferCapability | [IN] the capability of video frame buffer |
pVideoFrameBufferProperty | [OUT] property information of video frame buffer |
DILE_STATUS_T DILE_VT_GetBoardInfo | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_BOARD_INFO_T * | pBoardInfo | ||
) |
Getting informations related to H/W (display panel resolution, graphic resolution, mirror mode, etc)
handle | [IN] the handle for DILE_VT |
pBoardInfo | [OUT] board information |
DILE_STATUS_T DILE_VT_GetCurrentVideoFrameBufferProperty | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_VIDEO_FRAME_BUFFER_PROPERTY_INFO_T * | pVideoFrameBufferProperty, | ||
unsigned int * | pIndexOfCurrentVideoFrameBuffer | ||
) |
Get properties of current video frame buffer corresponding to handle. Current video frame buffer means as followings. The current video frame buffer corresponding to pIndexOfCurrentVideoFrameBuffer is same with video frame buffer that last write operation is completed. This buffer may be 1~2 frame delayed buffer compared to video frame being displayed on the screen. If your chip can only support single video frame buffer, the value is always 0.
handle | [IN] the handle for DILE_VT |
pVideoFrameBufferProperty | [OUT] property information of video frame buffer |
pIndexOfCurrentVideoFrameBuffer | [OUT] index of current video frame buffer |
DILE_STATUS_T DILE_VT_GetDeviceCapability | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_DEVICE_CAPABILITY_INFO_T * | pDeviceCapabilityInfo | ||
) |
Gets the capability of VIDEO Device.
handle | [IN] the handle for DILE_VT |
pDeviceCapabilityInfo | [OUT] the capability of video device |
DILE_STATUS_T DILE_VT_GetInputVideoInfo | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_INPUT_VIDEO_INFO_T * | pInputVideoInfo | ||
) |
Get input video information corresponding to handle. (input video original region is resolution of input video.)
handle | [IN] the handle for DILE_VT |
pInputVideoInfo | [OUT] input video information |
DILE_STATUS_T DILE_VT_GetOutputVideoInfo | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_OUTPUT_VIDEO_INFO_T * | pOutputVideoInfo | ||
) |
Get output video information corresponding to handle. Output video resolution may change when aspect ratio information is changed.
handle | [IN] the handle for DILE_VT |
pOutputVideoInfo | [OUT] output video information |
DILE_STATUS_T DILE_VT_GetVideoFrameBufferCapability | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_VIDEO_FRAME_BUFFER_CAPABILITY_INFO_T * | pVideoFrameBufferCapabilityInfo | ||
) |
Gets the capability of Video Frame Buffer.
handle | [IN] the handle for DILE_VT |
pVideoFrameBufferCapabilityInfo | [OUT] the capability of video device |
DILE_STATUS_T DILE_VT_GetVideoFrameBufferSecureVideoState | ( | DILE_VT_HANDLE_T | handle, |
unsigned char * | pIsSecureVideo | ||
) |
Get secure video state of video frame buffer corresponding to handle. Vdec driver can know SVP state of own. And VT driver can know which vdec is mapped to videoWindowID. Therefore, If VT driver can get vdec's SVP state, VT driver can provide the SVP state information to VT client through this interface.
videoWindowID | [IN] video window ID |
pIsSecureVideo | [OUT] state of secure video corresponding to videoWIndowID |
DILE_STATUS_T DILE_VT_GetVideoFrameOutputDeviceBlockState | ( | DILE_VT_VIDEO_WINDOW_TYPE_T | videoWindowID, |
unsigned char * | pbBlockState | ||
) |
Get block state of video frame output device corresponding to handle.
videoWindowID | [IN] video window ID |
pbBlockState | [OUT] block state of VFOD corresponding to handle |
DILE_STATUS_T DILE_VT_GetVideoFrameOutputDeviceCapability | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_CAPABILITY_INFO_T * | pVideoFrameOutputDeviceCapabilityInfo | ||
) |
Gets the capability of Video Frame Output Device.
handle | [IN] the handle for DILE_VT |
pVideoFrameOutputDeviceCapabilityInfo | [OUT] the capability of VFOD |
DILE_STATUS_T DILE_VT_GetVideoFrameOutputDeviceDumpLocation | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_DUMP_LOCATION_TYPE_T * | pDumpLocation | ||
) |
Get dump location of VFOD corresponding to handle.
handle | [IN] the handle for DILE_VT |
pDumpLocation | [OUT] dump location of VFOD |
DILE_STATUS_T DILE_VT_GetVideoFrameOutputDeviceFramerate | ( | DILE_VT_HANDLE_T | handle, |
unsigned int * | pFramerate | ||
) |
Get framerate of video frame output device corresponding to videoWindowID.
handle | [IN] the handle for DILE_VT |
pFramerate | [OUT] framerate of VFOD |
DILE_STATUS_T DILE_VT_GetVideoFrameOutputDeviceLimitation | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_LIMITATION_INFO_T * | pVideoFrameOutputDeviceLimitationInfo | ||
) |
Gets the limitation of Video Frame Output Device.
handle | [IN] the handle for DILE_VT |
pVideoFrameOutputDeviceLimitationInfo | [OUT] the limitation of video frame output device |
DILE_STATUS_T DILE_VT_GetVideoFrameOutputDeviceOutputInfo | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_DUMP_LOCATION_TYPE_T | dumpLocation, | ||
DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_OUTPUT_INFO_T * | pOutputInfo | ||
) |
Get output information of VFOD corresponding to handle.
handle | [IN] the handle for DILE_VT |
dumpLocation | [IN] dump location of VFOD |
pOutputInfo | [OUT] output information of VFOD |
DILE_STATUS_T DILE_VT_GetVideoFrameOutputDeviceProperty | ( | DILE_VT_VIDEO_WINDOW_TYPE_T | videoWindowID, |
DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_PROPERTY_INFO_T * | pVideoFrameOutputDeviceProperty | ||
) |
Get property information of video frame output device corresponding to videoWindowID.
videoWindowID | [IN] video window ID |
pVideoFrameOutputDeviceProperty | [OUT] property information of VFOD corresponding to videoWindowID |
DILE_STATUS_T DILE_VT_GetVideoFrameOutputDeviceState | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_INFO_T * | pVideoFrameOutputDeviceState | ||
) |
Get state information of video frame output device corresponding to videoWindowID.
handle | [IN] the handle for DILE_VT |
pVideoFrameOutputDeviceState | [OUT] state info of video frame output device |
DILE_STATUS_T DILE_VT_GetVideoMuteStatus | ( | DILE_VT_HANDLE_T | handle, |
unsigned char * | pbOnOff | ||
) |
Get video mute status of video path corresponding to handle.
handle | [IN] the handle for DILE_VT |
pbOnOff | [OUT] video mute status (Mute On : 1, Mute Off : 0) |
DILE_STATUS_T DILE_VT_Init | ( | void | ) |
Initializes Video module related to. Call Chipset driver initialization function and create resources for Video module related to VT.
DILE_STATUS_T DILE_VT_InitEx | ( | unsigned int | bufferNum | ) |
Initializes Video module related to. Call Chipset driver initialization function and create resources for Video module related to VT according to bufferNum.
bufferNum | [IN] buffer number |
DILE_STATUS_T DILE_VT_SetEventHandler | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_EVENT_HANDLER_T | eventHandler, | ||
void * | pUserData | ||
) |
Register a event handler that handle for change of video states. (whether video frame buffer is available or unavailable, etc)
handle | [OUT] the handle for DILE_VT |
eventHandler | [OUT] callback function |
pUserData | [OUT] user data |
DILE_STATUS_T DILE_VT_SetVideoFrameOutputDeviceBlockState | ( | DILE_VT_VIDEO_WINDOW_TYPE_T | videoWindowID, |
unsigned char | bBlockState | ||
) |
Set block state of video frame output device corresponding to handle.
videoWindowID | [IN] video window ID |
bBlockState | [IN] block state |
DILE_STATUS_T DILE_VT_SetVideoFrameOutputDeviceDumpLocation | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_DUMP_LOCATION_TYPE_T | dumpLocation | ||
) |
Set dump location of VFOD corresponding to handle.
handle | [IN] the handle for DILE_VT |
pDumpLocation | [IN] dump location of VFOD |
DILE_STATUS_T DILE_VT_SetVideoFrameOutputDeviceOutputRegion | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_DUMP_LOCATION_TYPE_T | dumpLocation, | ||
DILE_VT_RECT_T * | pOutputRegion | ||
) |
Set output region information of VFOD corresponding to handle.
handle | [IN] the handle for DILE_VT |
dumpLocation | [IN] dump location of VFOD |
pOutputRegion | [IN] output region of VFOD |
DILE_STATUS_T DILE_VT_SetVideoFrameOutputDeviceProperty | ( | DILE_VT_VIDEO_WINDOW_TYPE_T | videoWindowID, |
DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_PROPERTY_INFO_T * | pVideoFrameOutputDeviceProperty | ||
) |
Set property information of video frame output device corresponding to videoWindowID.
videoWindowID | [IN] video window ID |
pVideoFrameOutputDeviceProperty | [IN] property information of VFOD corresponding to videoWindowID |
DILE_STATUS_T DILE_VT_SetVideoFrameOutputDeviceState | ( | DILE_VT_HANDLE_T | handle, |
DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_FLAGS_T | videoFrameOutputDeviceStateFlags, | ||
DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_INFO_T * | pVideoFrameOutputDeviceState | ||
) |
Set state of video frame corresponding to videoInputID.
handle | [IN] the handle for DILE_VT |
videoFrameOutputDeviceStateFlags | [IN] flags to state of video frame output device |
pVideoFrameOutputDeviceState | [IN] state info of video frame output device |
DILE_STATUS_T DILE_VT_Start | ( | unsigned int * | pWaitTime | ) |
Before getting video memory from HAL_VT, This API must be called to assure multi process safety. The maximum waiting time(ms) for obtaining the vt resources. If you don't set this value, dile_vt will use internal waitTime according to internal policy.
pWaitTime | [IN] wait time (milisecond or NULL) |
DILE_STATUS_T DILE_VT_Stop | ( | void | ) |
After getting video memory from HAL_VT, This API must be called to assure multi process safety.
DILE_STATUS_T DILE_VT_WaitVsync | ( | DILE_VT_HANDLE_T | handle | ) |
Wait for to be completed what the video frame buffer is being written new data by VFOD corresponding to handle.
handle | [IN] the handle for DILE_VT |