Lines Matching refs:hnd
226 private_handle_t *hnd = (private_handle_t *)layer->handle; in logLayer() local
239 if (hnd) in logLayer()
240 getHalPixelFormatStr(hnd->format, pixFormatStr); in logLayer()
245 (hnd)? getWidth(hnd) : -1, (hnd)? getHeight(hnd) : -1, in logLayer()
303 private_handle_t *hnd = (private_handle_t *)layer->handle; in dumpLayer() local
306 if (NULL == hnd) { in dumpLayer()
312 getHalPixelFormatStr(hnd->format, pixFormatStr); in dumpLayer()
314 if (needDumpPng && hnd->base) { in dumpLayer()
323 switch (hnd->format) { in dumpLayer()
338 tempSkBmp->setConfig(tempSkBmpConfig, getWidth(hnd), getHeight(hnd)); in dumpLayer()
339 tempSkBmp->setPixels((void*)hnd->base); in dumpLayer()
353 if (needDumpRaw && hnd->base) { in dumpLayer()
359 layerIndex, getWidth(hnd), getHeight(hnd), in dumpLayer()
363 bResult = (bool) fwrite((void*)hnd->base, hnd->size, 1, fp); in dumpLayer()