Home
last modified time | relevance | path

Searched refs:vic_round_dim (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/test-drivers/vicodec/
H A Dcodec-fwht.h64 #define vic_round_dim(dim, div) (round_up((dim) / (div), 8) * (div)) macro
H A Dvicodec-core.c533 q_dst->coded_width = vic_round_dim(q_dst->visible_width, hdr_width_div); in update_capture_data_from_header()
534 q_dst->coded_height = vic_round_dim(q_dst->visible_height, in update_capture_data_from_header()
846 pix->width = vic_round_dim(pix->width, info->width_div); in vidioc_try_fmt()
849 pix->height = vic_round_dim(pix->height, info->height_div); in vidioc_try_fmt()
869 pix_mp->width = vic_round_dim(pix_mp->width, info->width_div); in vidioc_try_fmt()
872 pix_mp->height = vic_round_dim(pix_mp->height, in vidioc_try_fmt()