Skip to content

Commit

Permalink
mfc: Import IS_UHD_RES definition
Browse files Browse the repository at this point in the history
Signed-off-by: celtare21 <[email protected]>
  • Loading branch information
celtare21 committed Dec 16, 2022
1 parent 2b521b5 commit 4c06752
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/media/platform/exynos/mfc/mfc_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4c06752

Please sign in to comment.