commit | 3eacb6028e84ade9da6469a31404acb1b43d2a00 | [log] [tgz] |
---|---|---|
author | Ricardo Ribalda <ribalda@chromium.org> | Thu Oct 07 00:26:19 2021 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Fri Oct 08 13:30:09 2021 +0200 |
tree | e1aab05c0a0bc66dd054e8a819a240473102b1d9 | |
parent | 37b198eeb0d41382d80b45101bac3a2e400e67a8 [diff] |
media: ipu3-imgu: Refactor bytesperpixel calculation Move the calculation to an inline function, to it can be used by other parts of the driver. Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>