Lines Matching refs:pixFormatStr
228 char pixFormatStr[32] = "None"; in logLayer() local
240 getHalPixelFormatStr(hnd->format, pixFormatStr); in logLayer()
258 pixFormatStr, in logLayer()
304 char pixFormatStr[32] = "None"; in dumpLayer() local
312 getHalPixelFormatStr(hnd->format, pixFormatStr); in dumpLayer()
348 mDisplayName, layerIndex, dumpLogStrPng, pixFormatStr); in dumpLayer()
359 pixFormatStr, mDisplayName); in dumpLayer()
371 void HwcDebug::getHalPixelFormatStr(int format, char pixFormatStr[]) in getHalPixelFormatStr() argument
373 if (!pixFormatStr) in getHalPixelFormatStr()
378 strlcpy(pixFormatStr, "RGBA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
381 strlcpy(pixFormatStr, "RGBX_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
384 strlcpy(pixFormatStr, "RGB_888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
387 strlcpy(pixFormatStr, "RGB_565", sizeof(pixFormatStr)); in getHalPixelFormatStr()
390 strlcpy(pixFormatStr, "BGRA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
393 strlcpy(pixFormatStr, "YV12", sizeof(pixFormatStr)); in getHalPixelFormatStr()
396 strlcpy(pixFormatStr, "YCbCr_422_SP_NV16", sizeof(pixFormatStr)); in getHalPixelFormatStr()
399 strlcpy(pixFormatStr, "YCrCb_420_SP_NV21", sizeof(pixFormatStr)); in getHalPixelFormatStr()
402 strlcpy(pixFormatStr, "YCbCr_422_I_YUY2", sizeof(pixFormatStr)); in getHalPixelFormatStr()
405 strlcpy(pixFormatStr, "YCrCb_422_I_YVYU", sizeof(pixFormatStr)); in getHalPixelFormatStr()
408 strlcpy(pixFormatStr, "NV12_ENCODEABLE", sizeof(pixFormatStr)); in getHalPixelFormatStr()
411 strlcpy(pixFormatStr, "YCbCr_420_SP_TILED_TILE_4x2", in getHalPixelFormatStr()
412 sizeof(pixFormatStr)); in getHalPixelFormatStr()
415 strlcpy(pixFormatStr, "YCbCr_420_SP", sizeof(pixFormatStr)); in getHalPixelFormatStr()
418 strlcpy(pixFormatStr, "YCrCb_420_SP_ADRENO", sizeof(pixFormatStr)); in getHalPixelFormatStr()
421 strlcpy(pixFormatStr, "YCrCb_422_SP", sizeof(pixFormatStr)); in getHalPixelFormatStr()
424 strlcpy(pixFormatStr, "R_8", sizeof(pixFormatStr)); in getHalPixelFormatStr()
427 strlcpy(pixFormatStr, "RG_88", sizeof(pixFormatStr)); in getHalPixelFormatStr()
430 strlcpy(pixFormatStr, "INTERLACE", sizeof(pixFormatStr)); in getHalPixelFormatStr()
433 strlcpy(pixFormatStr, "YCbCr_420_SP_VENUS", sizeof(pixFormatStr)); in getHalPixelFormatStr()
436 size_t len = sizeof(pixFormatStr); in getHalPixelFormatStr()
437 snprintf(pixFormatStr, len, "Unknown0x%X", format); in getHalPixelFormatStr()