refactor: correct naming of enum class constants 11/n

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-12-19 10:42:58 +00:00
committed by Compute-Runtime-Automation
parent 88534f1f3c
commit 138fb65401
62 changed files with 378 additions and 378 deletions

View File

@@ -108,11 +108,11 @@ ze_result_t ImageCoreFamily<gfxCoreFamily>::initialize(Device *device, const ze_
auto gmmHelper = static_cast<const NEO::RootDeviceEnvironment &>(device->getNEODevice()->getRootDeviceEnvironment()).getGmmHelper();
if (gmm != nullptr) {
NEO::ImagePlane yuvPlaneType = NEO::ImagePlane::NO_PLANE;
NEO::ImagePlane yuvPlaneType = NEO::ImagePlane::noPlane;
if (isImageView() && (sourceImageFormatDesc->format.layout == ZE_IMAGE_FORMAT_LAYOUT_NV12)) {
yuvPlaneType = NEO::ImagePlane::PLANE_Y;
yuvPlaneType = NEO::ImagePlane::planeY;
if (imgInfo.plane == GMM_PLANE_U) {
yuvPlaneType = NEO::ImagePlane::PLANE_UV;
yuvPlaneType = NEO::ImagePlane::planeUV;
}
}
gmm->updateImgInfoAndDesc(imgInfo, 0u, yuvPlaneType);