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()
360 pixFormatStr, mDisplayName); in dumpLayer()
372 void HwcDebug::getHalPixelFormatStr(int format, char pixFormatStr[]) in getHalPixelFormatStr() argument
374 if (!pixFormatStr) in getHalPixelFormatStr()
379 strlcpy(pixFormatStr, "RGBA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
382 strlcpy(pixFormatStr, "RGBX_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
385 strlcpy(pixFormatStr, "RGB_888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
388 strlcpy(pixFormatStr, "RGB_565", sizeof(pixFormatStr)); in getHalPixelFormatStr()
391 strlcpy(pixFormatStr, "BGRA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
394 strlcpy(pixFormatStr, "YV12", sizeof(pixFormatStr)); in getHalPixelFormatStr()
397 strlcpy(pixFormatStr, "YCbCr_422_SP_NV16", sizeof(pixFormatStr)); in getHalPixelFormatStr()
400 strlcpy(pixFormatStr, "YCrCb_420_SP_NV21", sizeof(pixFormatStr)); in getHalPixelFormatStr()
403 strlcpy(pixFormatStr, "YCbCr_422_I_YUY2", sizeof(pixFormatStr)); in getHalPixelFormatStr()
406 strlcpy(pixFormatStr, "YCrCb_422_I_YVYU", sizeof(pixFormatStr)); in getHalPixelFormatStr()
409 strlcpy(pixFormatStr, "NV12_ENCODEABLE", sizeof(pixFormatStr)); in getHalPixelFormatStr()
412 strlcpy(pixFormatStr, "YCbCr_420_SP_TILED_TILE_4x2", in getHalPixelFormatStr()
413 sizeof(pixFormatStr)); in getHalPixelFormatStr()
416 strlcpy(pixFormatStr, "YCbCr_420_SP", sizeof(pixFormatStr)); in getHalPixelFormatStr()
419 strlcpy(pixFormatStr, "YCrCb_420_SP_ADRENO", sizeof(pixFormatStr)); in getHalPixelFormatStr()
422 strlcpy(pixFormatStr, "YCrCb_422_SP", sizeof(pixFormatStr)); in getHalPixelFormatStr()
425 strlcpy(pixFormatStr, "R_8", sizeof(pixFormatStr)); in getHalPixelFormatStr()
428 strlcpy(pixFormatStr, "RG_88", sizeof(pixFormatStr)); in getHalPixelFormatStr()
431 strlcpy(pixFormatStr, "INTERLACE", sizeof(pixFormatStr)); in getHalPixelFormatStr()
434 strlcpy(pixFormatStr, "YCbCr_420_SP_VENUS", sizeof(pixFormatStr)); in getHalPixelFormatStr()
437 size_t len = sizeof(pixFormatStr); in getHalPixelFormatStr()
438 snprintf(pixFormatStr, len, "Unknown0x%X", format); in getHalPixelFormatStr()