Home
last modified time | relevance | path

Searched refs:pBuf (Results 1 – 4 of 4) sorted by relevance

/drivers/peripheral/display/test/unittest/lite/
Ddisplay_test.c28 uint8_t *pBuf = NULL; in LoadBmp() local
56 pBuf = (uint8_t *)(*buffer)->virAddr; in LoadBmp()
58 CreateSurfaceByBitMap(fileName, &surface, pBuf, (*buffer)->size); in LoadBmp()
71 static void WriteDataToBuf(int32_t width, int32_t height, uint16_t *pBuf) in WriteDataToBuf() argument
78 *((uint16_t*)pBuf + y * width + x) = HIFB_RED_1555; in WriteDataToBuf()
83 *((uint16_t*)pBuf + y * width + x) = HIFB_RED_1555; in WriteDataToBuf()
272 uint16_t *pBuf = (uint16_t *)g_displayTest.buffer.data.virAddr; in GetLayerBufferTest() local
273 WriteDataToBuf(g_displayTest.displayInfo.width, g_displayTest.displayInfo.height, pBuf); in GetLayerBufferTest()
/drivers/peripheral/bluetooth/hci/hdi_service/implement/
Dohos_bt_vendor_lib.h133 typedef size_t (*CmdXmitCallback)(uint16_t opcode, void* pBuf);
/drivers/peripheral/display/
DREADME_zh.md229 static void WriteDataToBuf(int32_t width, int32_t height, uint16_t *pBuf)
236 *((uint16_t*)pBuf + y * width + x) = HIFB_RED_1555;
241 *((uint16_t*)pBuf + y * width + x) = HIFB_RED_1555;
290 uint16_t *pBuf = (uint16_t *)g_displayTest.buffer.data.virAddr;
291 WriteDataToBuf(g_displayTest.displayInfo.width, g_displayTest.displayInfo.height, pBuf);
DREADME.md229 static void WriteDataToBuf(int32_t width, int32_t height, uint16_t *pBuf)
236 *((uint16_t*)pBuf + y * width + x) = HIFB_RED_1555;
241 *((uint16_t*)pBuf + y * width + x) = HIFB_RED_1555;
290 uint16_t *pBuf = (uint16_t *)g_displayTest.buffer.data.virAddr;
291 WriteDataToBuf(g_displayTest.displayInfo.width, g_displayTest.displayInfo.height, pBuf);