Home | History | Annotate | Download | only in libhwcomposer

Lines Matching defs:hnd

230     private_handle_t *hnd = (private_handle_t *)layer->handle;
243 if (hnd)
244 getHalPixelFormatStr(hnd->format, pixFormatStr);
249 (hnd)? getWidth(hnd) : -1, (hnd)? getHeight(hnd) : -1,
307 private_handle_t *hnd = (private_handle_t *)layer->handle;
310 if (NULL == hnd) {
316 getHalPixelFormatStr(hnd->format, pixFormatStr);
318 if (needDumpPng && hnd->base) {
326 switch (hnd->format) {
345 SkImageInfo info = SkImageInfo::Make(getWidth(hnd), getHeight(hnd),
347 SkPixmap pixmap(info, (const void*)hnd->base, info.minRowBytes());
360 if (needDumpRaw && hnd->base) {
366 layerIndex, getWidth(hnd), getHeight(hnd),
370 bResult = (bool) fwrite((void*)hnd->base, hnd->size, 1, fp);