Reapply "mfc: Import IS_UHD_RES definition"

This reverts commit d9434755e0.
This commit is contained in:
Ksawlii 2024-12-18 11:46:00 +01:00
parent 53464baf85
commit 1bcc615dc7

View file

@ -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)