Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c mtk_mdp_try_crop() -> mtk_mdp_bound_align_image()

Type Parameter Key Value
PARAM_VALUE 0 w 4287275057702309888
PARAM_VALUE 1 wmin 16,64,4096
PARAM_VALUE 3 align_w 1-2
PARAM_VALUE 4 h 5125473282816868352
PARAM_VALUE 5 hmin 16,32,4096
PARAM_VALUE 7 align_h 1-2
FUZZY_MAX 1 wmin 64
FUZZY_MAX 3 align_w 1
FUZZY_MAX 5 hmin 32
FUZZY_MAX 7 align_h 1
NOCHECK_CALL
USER_DATA 0 *w 0-u32max[u]
USER_DATA 4 *h 0-u32max[u]
UNITS 2 wmax unit_byte
UNITS 6 hmax unit_byte
USER_PTR 0 w
USER_PTR 4 h
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c mtk_mdp_try_fmt_mplane() -> mtk_mdp_bound_align_image()

Type Parameter Key Value
PARAM_VALUE 0 w 4096-ptr_max
PARAM_VALUE 1 wmin 0,16,4096
PARAM_VALUE 2 wmax 16,4096
PARAM_VALUE 3 align_w 2,16
PARAM_VALUE 4 h 4096-ptr_max
PARAM_VALUE 5 hmin 0,16,4096
PARAM_VALUE 6 hmax 16,4096
PARAM_VALUE 7 align_h 2,16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 *w 0-u32max
USER_DATA 4 *h 0-u32max
USER_PTR 0 w
USER_PTR 4 h