Lines Matching defs:format
54 #define CEU_CAIFR 0x18 /* Capture interface input format register */
118 * ceu_bus_fmt - describe a 8-bits yuyv format the sensor can produce
120 * @mbus_code: bus format code
185 /* currently configured field and pixel format */
216 * ceu_fmt - describe a memory output format supported by CEU interface.
218 * @fourcc: memory layout fourcc format code
229 * If sensor provides any YUYV bus format, all the following planar memory
378 * match input components ordering with memory output format and
381 * If the memory output planar format is 'swapped' (Cr before Cb) and
382 * input format is not, use the swapped version of CAMCR.DTARY.
384 * If the memory output planar format is not 'swapped' (Cb before Cr)
385 * and input format is, use the swapped version of CAMCR.DTARY.
572 * pixel format.
574 * @ceu_fmt: Active image format.
575 * @pix: Pixel format information (store line width and image sizes)
618 * for the current frame format, if required.
686 /* Program the CEU interface according to the CEU image format. */
773 * __ceu_try_fmt() - test format on CEU and sensor
775 * @v4l2_fmt: format to test.
796 * Set format on sensor sub device: bus format used to produce memory
797 * format is selected depending on YUV component ordering or
838 v4l2_fill_mbus_format_mplane(&sd_format.format, pix);
845 sd_format.format.code = mbus_code;
850 sd_format.format.code = mbus_code_old;
860 v4l2_fill_pix_format_mplane(pix, &sd_format.format);
862 /* Calculate per-plane sizes based on image format. */
865 /* Report to caller the configured mbus format. */
866 *sd_mbus_code = sd_format.format.code;
882 * ceu_set_fmt() - Apply the supplied format to both sensor and CEU
892 * Set format on sensor sub device: bus format used to produce memory
893 * format is selected at initialization time.
895 struct v4l2_subdev_format format = {
903 format.format.code = mbus_code;
904 v4l2_fill_mbus_format_mplane(&format.format, &v4l2_fmt->fmt.pix_mp);
905 ret = v4l2_subdev_call(v4l2_sd, pad, set_fmt, NULL, &format);
916 * ceu_set_default_fmt() - Apply default NV16 memory output format with VGA
956 * CEU media bus format used to produce memory formats.
958 * Find out if sensor can produce a permutation of 8-bits YUYV bus format.
959 * From a single 8-bits YUYV bus format the CEU can produce several memory
1007 * Save the first encountered YUYV format as "mbus_fmt" and use it
1014 /* Annotate the selected bus format components ordering. */
1282 /* Just check if user supplied pixel format is supported. */
1316 /* Just check if user supplied pixel format is supported. */