Lines Matching refs:pixFormatStr
232 char pixFormatStr[32] = "None"; in logLayer() local
244 getHalPixelFormatStr(hnd->format, pixFormatStr); in logLayer()
262 pixFormatStr, in logLayer()
308 char pixFormatStr[32] = "None"; in dumpLayer() local
316 getHalPixelFormatStr(hnd->format, pixFormatStr); in dumpLayer()
357 mDisplayName, layerIndex, dumpLogStrPng, pixFormatStr); in dumpLayer()
369 pixFormatStr, mDisplayName); in dumpLayer()
381 void HwcDebug::getHalPixelFormatStr(int format, char pixFormatStr[]) in getHalPixelFormatStr() argument
383 if (!pixFormatStr) in getHalPixelFormatStr()
388 strlcpy(pixFormatStr, "RGBA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
391 strlcpy(pixFormatStr, "RGBX_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
394 strlcpy(pixFormatStr, "RGB_888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
397 strlcpy(pixFormatStr, "RGB_565", sizeof(pixFormatStr)); in getHalPixelFormatStr()
400 strlcpy(pixFormatStr, "BGRA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
403 strlcpy(pixFormatStr, "RGBA_5551", sizeof(pixFormatStr)); in getHalPixelFormatStr()
406 strlcpy(pixFormatStr, "RGBA_4444", sizeof(pixFormatStr)); in getHalPixelFormatStr()
409 strlcpy(pixFormatStr, "YV12", sizeof(pixFormatStr)); in getHalPixelFormatStr()
412 strlcpy(pixFormatStr, "YCbCr_422_SP_NV16", sizeof(pixFormatStr)); in getHalPixelFormatStr()
415 strlcpy(pixFormatStr, "YCrCb_420_SP_NV21", sizeof(pixFormatStr)); in getHalPixelFormatStr()
418 strlcpy(pixFormatStr, "YCbCr_422_I_YUY2", sizeof(pixFormatStr)); in getHalPixelFormatStr()
421 strlcpy(pixFormatStr, "YCrCb_422_I_YVYU", sizeof(pixFormatStr)); in getHalPixelFormatStr()
424 strlcpy(pixFormatStr, "NV12_ENCODEABLE", sizeof(pixFormatStr)); in getHalPixelFormatStr()
427 strlcpy(pixFormatStr, "YCbCr_420_SP_TILED_TILE_4x2", in getHalPixelFormatStr()
428 sizeof(pixFormatStr)); in getHalPixelFormatStr()
431 strlcpy(pixFormatStr, "YCbCr_420_SP", sizeof(pixFormatStr)); in getHalPixelFormatStr()
434 strlcpy(pixFormatStr, "YCrCb_420_SP_ADRENO", sizeof(pixFormatStr)); in getHalPixelFormatStr()
437 strlcpy(pixFormatStr, "YCrCb_422_SP", sizeof(pixFormatStr)); in getHalPixelFormatStr()
440 strlcpy(pixFormatStr, "R_8", sizeof(pixFormatStr)); in getHalPixelFormatStr()
443 strlcpy(pixFormatStr, "RG_88", sizeof(pixFormatStr)); in getHalPixelFormatStr()
446 strlcpy(pixFormatStr, "INTERLACE", sizeof(pixFormatStr)); in getHalPixelFormatStr()
449 strlcpy(pixFormatStr, "YCbCr_420_SP_VENUS", sizeof(pixFormatStr)); in getHalPixelFormatStr()
452 size_t len = sizeof(pixFormatStr); in getHalPixelFormatStr()
453 snprintf(pixFormatStr, len, "Unknown0x%X", format); in getHalPixelFormatStr()