summaryrefslogtreecommitdiff
path: root/gralloc/gr_camera_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc/gr_camera_info.cpp')
-rw-r--r--gralloc/gr_camera_info.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gralloc/gr_camera_info.cpp b/gralloc/gr_camera_info.cpp
index 12ec3dbb..a57e05b1 100644
--- a/gralloc/gr_camera_info.cpp
+++ b/gralloc/gr_camera_info.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -103,9 +103,6 @@ CamxPixelFormat CameraInfo::GetCameraPixelFormat(int hal_format) {
case HAL_PIXEL_FORMAT_NV21_ZSL:
format = CAMERA_PIXEL_FORMAT_NV21_ZSL;
break;
- case HAL_PIXEL_FORMAT_NV12_LINEAR_FLEX:
- format = CAMERA_PIXEL_FORMAT_YUV_FLEX;
- break;
case HAL_PIXEL_FORMAT_NV12_UBWC_FLEX:
format = CAMERA_PIXEL_FORMAT_UBWC_FLEX;
break;