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:
Phi Bang Nguyen <phibang.nguyen@nxp.com>
Loading
Please sign in to comment