Skip to content
Commit 29f38b81 authored by Phi Bang Nguyen's avatar Phi Bang Nguyen Committed by Henrik Brix Andersen
Browse files

include: video: Add an utility function to get bytes per pixel



As getting bytes per pixel of a pixel format is a very common operation,
add an utility function for it instead of repeating the same codes in
different drivers.

Signed-off-by: default avatarPhi Bang Nguyen <phibang.nguyen@nxp.com>
parent 8053b722
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment