Searched refs:trialDesc (Results 1 – 1 of 1) sorted by relevance
383 AHardwareBuffer_Desc trialDesc = *desc; in AHardwareBuffer_isSupported() local384 trialDesc.width = 4; in AHardwareBuffer_isSupported()385 trialDesc.height = desc->format == AHARDWAREBUFFER_FORMAT_BLOB ? 1 : 4; in AHardwareBuffer_isSupported()387 trialDesc.layers = desc->layers == 6 ? 6 : 12; in AHardwareBuffer_isSupported()389 trialDesc.layers = desc->layers == 1 ? 1 : 2; in AHardwareBuffer_isSupported()392 int result = AHardwareBuffer_allocate(&trialDesc, &trialBuffer); in AHardwareBuffer_isSupported()