Lines Matching +full:pixel +full:- +full:format
1 // SPDX-License-Identifier: GPL-2.0
3 * camss-format.c
5 * Qualcomm MSM Camera Subsystem - Format helpers
13 #include "camss-format.h"
16 * camss_format_get_bpp - Map media bus format to bits per pixel
19 * @code: media bus format code
21 * Return number of bits per pixel
31 WARN(1, "Unknown format\n"); in camss_format_get_bpp()
37 * camss_format_find_code - Find a format code in an array
38 * @code: a pointer to media bus format codes array
43 * Return media bus format code
66 * camss_format_find_format - Find a format in an array
67 * @code: media bus format code
68 * @pixelformat: V4L2 pixel format FCC identifier
72 * Return index of a format or a negative error code otherwise
90 return -EINVAL; in camss_format_find_format()