Skip to content
Snippets Groups Projects
Commit 9f8db17f authored by yuan.tian's avatar yuan.tian Committed by Gianfranco Mariotti
Browse files

MGS-6498 [#ccc] 0019-IMX-2693-CL426299-KERNEL-SPACE-64x_234062-imx-2693-I


64x_234062, imx-2693:
 Implemented YUV planar formats to YUY2 packed format conversion using compute
 shader to avoid UI freeze when playing youtube with ads on MP Android
 platform.

Signed-off-by: default avatarKe Feng <ke.feng@verisilicon.com>

Signed-off-by: default avataryuan.tian <yuan.tian@nxp.com>
parent 4b962596
No related branches found
No related tags found
1 merge request!156Draft: [i.MX] mxc: gpu-viv: apply patches
......@@ -302,7 +302,7 @@ typedef struct _gscSURF_BLITDRAW_ARGS
struct _gscSURF_BLITDRAW_ARG_v1
{
/* Whether it's clear or blit operation, can be extended. */
gceBLITDRAW_TYPE type;
gceBLIT_TYPE type;
union _gscSURF_BLITDRAW_UNION
{
......@@ -506,6 +506,12 @@ gcoSURF_DrawBlitDepth(
gscSURF_BLITDRAW_BLIT *Args
);
gceSTATUS
gcoSURF_ComputeBlit(
gcsSURF_VIEW* SrcView,
gcsSURF_VIEW* DstView,
gscSURF_BLITDRAW_BLIT* Args
);
/******************************************************************************\
******************************** gcoINDEX Object *******************************
......
......@@ -1604,16 +1604,17 @@ typedef enum _gceCLEAR
}
gceCLEAR;
typedef enum _gceBLITDRAW_TYPE
typedef enum _gceBLIT_TYPE
{
gcvBLITDRAW_CLEAR = 0,
gcvBLITDRAW_BLIT = 1,
gcvBLITDRAW_BLIT_DEPTH = 2,
gcvBLIT_DRAW_CLEAR = 0,
gcvBLIT_DRAW_BLIT = 1,
gcvBLIT_DRAW_BLIT_DEPTH = 2,
gcvBLIT_COMPUTE_BLIT = 3,
/* last number, not a real type */
gcvBLITDRAW_NUM_TYPE
gcvBLIT_NUM_TYPE
}
gceBLITDRAW_TYPE;
gceBLIT_TYPE;
typedef enum _gceSPLIT_DRAW_TYPE
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment