From 4c067523b3f67ce10e2686a64f083d550523f788 Mon Sep 17 00:00:00 2001 From: celtare21 Date: Sat, 26 Nov 2022 08:36:42 -0500 Subject: [PATCH] mfc: Import IS_UHD_RES definition Signed-off-by: celtare21 --- drivers/media/platform/exynos/mfc/mfc_common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/exynos/mfc/mfc_common.h b/drivers/media/platform/exynos/mfc/mfc_common.h index 8e2c17deeaba..567e83fd759a 100644 --- a/drivers/media/platform/exynos/mfc/mfc_common.h +++ b/drivers/media/platform/exynos/mfc/mfc_common.h @@ -189,6 +189,9 @@ ((p->seq_hdr_mode == V4L2_MPEG_VIDEO_HEADER_MODE_JOINED_WITH_1ST_FRAME) || \ ((IS_VP8_ENC(ctx) || IS_VP9_ENC(ctx)) && p->ivf_header_disable)) +#define MFC_UHD_RES (3840 * 2160) +#define IS_UHD_RES(ctx) (((ctx)->crop_width * (ctx)->crop_height) == MFC_UHD_RES) + /* levels with maximum property values level Maximum frame size in MB (MB width x MB height)