Lines Matching defs:esurface
29 OsdSurface esurface;
57 esurface.colorFmt = OSD_COLOR_FMT_RGB1555;
58 CreateSurfaceByBitMap(fileName, &esurface, pBuf, (*buffer)->size);
88 static void PicSourceSurfaceInit(ISurface *esurface, uint64_t phyAddr, int32_t bpp)
90 esurface->width = SAMPLE_IMAGE_WIDTH;
91 esurface->height = SAMPLE_IMAGE_HEIGHT;
92 esurface->phyAddr = phyAddr;
93 esurface->enColorFmt = PIXEL_FMT_RGBA_5551;
94 esurface->stride = SAMPLE_IMAGE_WIDTH * bpp / BITS_PER_BYTE;
95 esurface->bAlphaExt1555 = true;
96 esurface->bAlphaMax255 = true;
97 esurface->alpha0 = 0XFF;
98 esurface->alpha1 = 0XFF;
101 static void DestSurfaceInit(ISurface *esurface, uint64_t phyAddr, int32_t bpp)
103 esurface->width = (uint32_t)g_displayTest.displayInfo.width;
104 esurface->height = (uint32_t)g_displayTest.displayInfo.height;
105 esurface->phyAddr = phyAddr;
106 esurface->enColorFmt = PIXEL_FMT_RGBA_5551;
107 esurface->stride = g_displayTest.displayInfo.width * bpp / BITS_PER_BYTE;
108 esurface->bAlphaExt1555 = true;
109 esurface->bAlphaMax255 = true;
110 esurface->alpha0 = 0XFF;
111 esurface->alpha1 = 0XFF;
112 esurface->bYCbCrClut = 0;
336 // use picture buffer to create source esurface
339 // use layer buffer to create dest esurface