Lines Matching defs:format
566 * Checks the current configured format, if ISC can output it,
567 * considering which type of format the ISC receives from the sensor
617 dev_err(isc->dev, "Requested unsupported format.\n");
638 dev_err(isc->dev, "Cannot convert GREY to another format.\n");
646 * Configures the RLP and DMA modules, depending on the output format
648 * If direct_dump == true, just dump raw data 8/16 bits depending on format.
781 * Configuring pipeline modules, depending on which format the ISC outputs
782 * and considering which format it has as input from the sensor.
792 /* if sensor format is RAW, we convert inside ISC */
802 /* if sensor format is RAW, we convert inside ISC */
813 /* if sensor format is RAW, we convert inside ISC */
825 /* if sensor format is RAW, we convert inside ISC */
836 /* if sensor format is RAW, we convert inside ISC */
867 * If we do not know yet which format the subdev is using, we cannot
878 * Attempt to obtain format size from subdev. If not available,
900 /* find if the format requested is supported */
912 /* If we did not find the requested format, we will fallback here */
947 struct v4l2_subdev_format format = {
956 /* Get current format from subdev */
958 &format);
962 /* Identify the subdev's format configuration */
964 if (isc->formats_list[i].mbus_code == format.format.code) {
969 /* Check if the format is not supported */
973 format.format.code);
977 /* At this moment we know which format the subdev will use */
985 v4l_bound_align_image(&format.format.width, 16, isc->max_width, 0,
986 &format.format.height, 16, isc->max_height, 0, 0);
989 if (pixfmt->height != format.format.height ||
990 pixfmt->width != format.format.width) {
993 format.format.width, format.format.height);
998 "Identified subdev using format %.4s with %dx%d %d bpp\n",
1002 /* Reset and restart AWB if the subdevice changed the format */
1842 dev_err(isc->dev, "Could not set default format\n");