Lines Matching refs:layers
50 desc->width, desc->height, format, desc->layers, usage, in AHardwareBuffer_allocate()
59 desc->width, desc->height, desc->layers, strerror(-err), gbuffer->handle); in AHardwareBuffer_allocate()
88 outDesc->layers = gbuffer->getLayerCount(); in AHardwareBuffer_describe()
374 status_t err = gBuffer->isSupported(desc->width, desc->height, desc->format, desc->layers, 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()
431 format, desc->layers, usage, desc->stride)); in AHardwareBuffer_createFromHandle()
449 if (desc->width == 0 || desc->height == 0 || desc->layers == 0) { in AHardwareBuffer_isValidDescription()
466 if (desc->height != 1 || desc->layers != 1) { in AHardwareBuffer_isValidDescription()
485 if (desc->layers != 1) { in AHardwareBuffer_isValidDescription()
520 if (desc->layers % 6 != 0) { in AHardwareBuffer_isValidDescription()