41 typedef void* DILE_VT_HANDLE_T;
48 DILE_VT_VIDEO_FRAME_BUFFER_PLANE_INTERLEAVED = 1,
49 DILE_VT_VIDEO_FRAME_BUFFER_PLANE_SEMI_PLANAR,
50 DILE_VT_VIDEO_FRAME_BUFFER_PLANE_PLANAR
58 DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV420_PLANAR = 0,
59 DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV420_SEMI_PLANAR,
60 DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV420_INTERLEAVED,
61 DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV422_PLANAR,
62 DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV422_SEMI_PLANAR,
63 DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV422_INTERLEAVED,
64 DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV444_PLANAR,
65 DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV444_SEMI_PLANAR,
66 DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_YUV444_INTERLEAVED,
67 DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_RGB,
68 DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_ARGB
76 DILE_VT_VIDEO_INVALID_WINDOW = -1,
77 DILE_VT_VIDEO_WINDOW_0 = 0,
78 DILE_VT_VIDEO_WINDOW_1 = 1,
79 DILE_VT_VIDEO_WINDOW_2 = 2
87 DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_NOFX = 0x00000000,
88 DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_ENABLED = 0x00000001,
89 DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_FREEZED = 0x00000002,
90 DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_APPLIED_PQ = 0x00000004,
91 DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_FRAMERATE_DIVIDE = 0x00000010
99 DILE_VT_VIDEO_FRAME_BUFFER_AVAILABLE = 0,
100 DILE_VT_VIDEO_FRAME_BUFFER_UNAVAILABLE = 1,
101 DILE_VT_DIMENSION_CHANGED = 2
109 DILE_VT_NONE_MIRROR = 0x00000000,
110 DILE_VT_HORIZONTAL_MIRROR = 0x00000001,
111 DILE_VT_VERTICAL_MIRROR = 0x00000010,
112 DILE_VT_EPI_MIRROR = 0x00000020,
113 DILE_VT_ALL = 0x00000031
121 DILE_VT_PLASMA_DISPLAY = 0,
131 DILE_VT_SCALER_OUTPUT = 0,
132 DILE_VT_DISPLAY_OUTPUT
140 DILE_VT_VIDEO_INTERLACED = 0,
141 DILE_VT_VIDEO_PROGRESSIVE
187 unsigned int numOfVideoWindow;
194 unsigned int numOfVideoFrameBuffer;
203 unsigned char bSupportedControlEnabled;
204 unsigned char bSupportedControlFreezed;
205 unsigned char bSupportedControlFramerateDivide;
206 unsigned char bSupportedControlPQ;
214 unsigned char bLeftTopAlign;
215 unsigned char bSupportInputVideoDeInterlacing;
216 unsigned char bSupportDisplayVideoDeInterlacing;
217 unsigned char bSupportScaleUp;
218 unsigned int scaleUpLimitWidth;
219 unsigned int scaleUpLimitHeight;
220 unsigned char bSupportScaleDown;
221 unsigned int scaleDownLimitWidth;
222 unsigned int scaleDownLimitHeight;
235 unsigned int** ppPhysicalAddress;
243 unsigned char bEnabled;
244 unsigned char bFreezed;
245 unsigned char bAppliedPQ;
246 unsigned int framerateDivide;
255 unsigned char bIs3DVideo;
282 unsigned int framerate;
285 unsigned char bBlockState;
293 #ifndef DILE_STATUS_T
300 #define DILE_STATUS_T _DILE_STATUS_T
311 typedef void* DILE_VTV_HANDLE_T;
319 unsigned char bSupportInputVideoDeInterlacing;
320 unsigned char bSupportDisplayVideoDeInterlacing;
321 unsigned char bSupportScaleUp;
322 unsigned char bSupportScaleDown;
323 unsigned int scaleUpLimitWidth;
324 unsigned int scaleUpLimitHeight;
325 unsigned int scaleDownLimitWidth;
326 unsigned int scaleDownLimitHeight;
329 unsigned int nNumOfInputBuffer;
330 unsigned int nNumOfOutputBuffer;
331 unsigned int nNumOfPlane;
340 unsigned int yFrame[5];
341 unsigned int uFrame[5];
342 unsigned int vFrame[5];
348 unsigned int inputBufferIndex;
349 unsigned int outputBufferIndex;
355 DILE_VTV_HANDLE_T DILE_VTV_Init(
void);
356 DILE_STATUS_T DILE_VTV_Finalize(DILE_VTV_HANDLE_T handle);
358 DILE_STATUS_T DILE_VTV_RegisterCallback(DILE_VTV_HANDLE_T handle, DILE_VTV_CALLBACK cbFunc);
359 DILE_STATUS_T DILE_VTV_GetInputBufferResolution(DILE_VTV_HANDLE_T handle,
DILE_VTV_RESOLUTION_T *pResolution);
360 DILE_STATUS_T DILE_VTV_SetInputBufferResolution(DILE_VTV_HANDLE_T handle,
DILE_VTV_RESOLUTION_T *pResolution);
361 DILE_STATUS_T DILE_VTV_GetOutputBufferResolution(DILE_VTV_HANDLE_T handle,
DILE_VTV_RESOLUTION_T *pResolution);
362 DILE_STATUS_T DILE_VTV_SetOutputBufferResolution(DILE_VTV_HANDLE_T handle,
DILE_VTV_RESOLUTION_T *pResolution);
363 DILE_STATUS_T DILE_VTV_GetOutputBufferIndex(DILE_VTV_HANDLE_T handle,
unsigned int *pIndex);
364 DILE_STATUS_T DILE_VTV_SetOutputBufferIndex(DILE_VTV_HANDLE_T handle,
unsigned int index,
unsigned int vendorData);
365 DILE_STATUS_T DILE_VTV_GetInputBufferFreeze(DILE_VTV_HANDLE_T handle,
unsigned int bufferIndex,
unsigned int *pbFreeze);
366 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...
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....
DILE_STATUS_T DILE_VT_GetVideoFrameOutputDeviceFramerate(DILE_VT_HANDLE_T handle, unsigned int *pFramerate)
Get framerate of video frame output device corresponding to videoWindowID.
void DILE_VT_Debug(void)
Debug menu to verify DILE VT module.
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.
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.
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.
DILE_VT_VIDEO_FRAME_BUFFER_PLANE_NUMBER_T
This enumeration describes the supported number of plane corresponding to plane type of video frame b...
Definition: dile_vt.h:47
DILE_VT_VIDEO_FRAME_BUFFER_PIXEL_FORMAT_T
This enumeration describes the supported pixel format of video frame buffer.
Definition: dile_vt.h:57
DILE_STATUS_T DILE_VT_GetVideoMuteStatus(DILE_VT_HANDLE_T handle, unsigned char *pbOnOff)
Get video mute status of video path corresponding to handle.
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 in...
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.
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_...
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.
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 mean...
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.
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.
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.
DILE_VT_DISPLAY_TYPE_T
This enumeration describes display type.
Definition: dile_vt.h:120
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.
DILE_STATUS_T DILE_VT_Finalize(void)
Finalize Video module related to VT.
DILE_VT_VIDEO_WINDOW_TYPE_T
This enumeration describes the supported video window.
Definition: dile_vt.h:75
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 ...
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.
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.
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 reso...
DILE_VT_VIDEO_FRAME_OUTPUT_DEVICE_STATE_FLAGS_T
This enumeration describes flags for state of video frame output device setting.
Definition: dile_vt.h:86
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.
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.
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.
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_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 ...
void(* DILE_VT_EVENT_HANDLER_T)(DILE_VT_HANDLE_T handle, DILE_VT_EVENT_TYPE_T eventType, void *eventData, void *userData)
Definition: dile_vt.h:291
DILE_VT_DUMP_LOCATION_TYPE_T
This enumeration describes the dump location of video memory.
Definition: dile_vt.h:130
DILE_STATUS_T DILE_VT_GetDeviceCapability(DILE_VT_HANDLE_T handle, DILE_VT_DEVICE_CAPABILITY_INFO_T *pDeviceCapabilityInfo)
Gets the capability of VIDEO Device.
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 ...
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 avail...
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,...
DILE_STATUS_T DILE_VT_InitEx(unsigned int bufferNum)
Initializes Video module related to. Call Chipset driver initialization function and create resources...
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.
DILE_VT_EVENT_TYPE_T
This enumeration describes the event type about notified information of video texture.
Definition: dile_vt.h:98
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.
DILE_VT_MIRROR_FLAGS_T
This enumeration describes the flags controlling mirror mode.
Definition: dile_vt.h:108
DILE_VT_VIDEO_TYPE_T
This enumeration describes the type of video.
Definition: dile_vt.h:139
Definition: dile_vt.h:345
unsigned int vendorData
Definition: dile_vt.h:350
Definition: dile_vt.h:318
Definition: dile_vt.h:313
Definition: dile_vt.h:335
This structure describes the information of dependent to board.
Definition: dile_vt.h:175
This structure describes the capability of video device.
Definition: dile_vt.h:186
This structure describes the information of display panel.
Definition: dile_vt.h:158
This structure describes the information of graphic resolution.
Definition: dile_vt.h:167
This structure describes information of output video.
Definition: dile_vt.h:261
This structure describes a rectangle specified by a point and a dimension.
Definition: dile_vt.h:148
This structure describes the capability of video frame buffer.
Definition: dile_vt.h:193
This structure describes the constant property of video frame buffer. These member values are unique ...
Definition: dile_vt.h:230
This structure describes the capability of video frame output device.
Definition: dile_vt.h:202
This structure describes the limitation of video frame output device.
Definition: dile_vt.h:212
This structure describes output information of video frame output device.
Definition: dile_vt.h:270
This structure describes property information of video frame output device.
Definition: dile_vt.h:280
This structure describes state information of video frame output device.
Definition: dile_vt.h:242