Searched refs:pln (Results 1 – 2 of 2) sorted by relevance
/hardware/google/gchips/gralloc4/src/core/ |
D | format_info.cpp | 494 for (int pln = 0; pln < 3; pln++) in sanitize_formats() local 496 if (format->linear && (pln < format->npln) && (format->bpp[pln] == 0)) in sanitize_formats() 498 …GRALLOC_LOGE("Format [id:0x%" PRIx32 "] does not have bpp defined for plane: %d", format->id, pln); in sanitize_formats() 501 else if (format->linear && (pln >= format->npln) && (format->bpp[pln] != 0)) in sanitize_formats() 503 …ALLOC_LOGE("Format [id:0x%" PRIx32 "] should not have bpp defined for plane: %d", format->id, pln); in sanitize_formats() 506 else if (!format->linear && (format->bpp[pln] != 0)) in sanitize_formats() 512 if (format->afbc && (pln < format->npln) && (format->bpp_afbc[pln] == 0)) in sanitize_formats() 514 …OC_LOGE("Format [id:0x%" PRIx32 "] does not have bpp_afbc defined for plane: %d", format->id, pln); in sanitize_formats() 517 else if (format->afbc && (pln >= format->npln) && (format->bpp_afbc[pln] != 0)) in sanitize_formats() 519 …_LOGE("Format [id:0x%" PRIx32 "] should not have bpp_afbc defined for plane: %d", format->id, pln); in sanitize_formats() [all …]
|
/hardware/google/gchips/gralloc3/src/ |
D | format_info.cpp | 468 for (int pln = 0; pln < 3; pln++) in sanitize_formats() local 470 if (format->linear && (pln < format->npln) && (format->bpp[pln] == 0)) in sanitize_formats() 472 AERR("Format [id:0x%" PRIx32 "] does not have bpp defined for plane: %d", format->id, pln); in sanitize_formats() 475 else if (format->linear && (pln >= format->npln) && (format->bpp[pln] != 0)) in sanitize_formats() 477 AERR("Format [id:0x%" PRIx32 "] should not have bpp defined for plane: %d", format->id, pln); in sanitize_formats() 480 else if (!format->linear && (format->bpp[pln] != 0)) in sanitize_formats() 486 if (format->afbc && (pln < format->npln) && (format->bpp_afbc[pln] == 0)) in sanitize_formats() 488 AERR("Format [id:0x%" PRIx32 "] does not have bpp_afbc defined for plane: %d", format->id, pln); in sanitize_formats() 491 else if (format->afbc && (pln >= format->npln) && (format->bpp_afbc[pln] != 0)) in sanitize_formats() 493 … AERR("Format [id:0x%" PRIx32 "] should not have bpp_afbc defined for plane: %d", format->id, pln); in sanitize_formats()
|