From 50f2fde1f26a8c185ec85e79b4ce17978ba3ea21 Mon Sep 17 00:00:00 2001 From: yehonatan2020 Date: Sun, 4 Feb 2024 22:37:31 +0000 Subject: [PATCH] mfc: Import IS_UHD_RES definition --- drivers/media/platform/exynos/mfc/base/mfc_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/exynos/mfc/base/mfc_common.h b/drivers/media/platform/exynos/mfc/base/mfc_common.h index 27c96fdce..d9587930a 100755 --- a/drivers/media/platform/exynos/mfc/base/mfc_common.h +++ b/drivers/media/platform/exynos/mfc/base/mfc_common.h @@ -237,6 +237,7 @@ /* UHD resolution (include 21:9 3840 x 1644) */ #define MFC_UHD_RES (3840 * 1600) #define OVER_UHD_RES(ctx) (((ctx)->crop_width * (ctx)->crop_height) >= MFC_UHD_RES) +#define IS_UHD_RES(ctx) (((ctx)->crop_width * (ctx)->crop_height) == MFC_UHD_RES) /* FHD resolution */ #define MFC_FHD_RES (1920 * 1088)