Lines Matching refs:mbus_fmt
134 * @mbus_fmt: pointer to &struct v4l2_mbus_framefmt to be used as model
138 const struct v4l2_mbus_framefmt *mbus_fmt)
140 pix_fmt->width = mbus_fmt->width;
141 pix_fmt->height = mbus_fmt->height;
142 pix_fmt->field = mbus_fmt->field;
143 pix_fmt->colorspace = mbus_fmt->colorspace;
144 pix_fmt->ycbcr_enc = mbus_fmt->ycbcr_enc;
145 pix_fmt->quantization = mbus_fmt->quantization;
146 pix_fmt->xfer_func = mbus_fmt->xfer_func;
154 * @mbus_fmt: pointer to &struct v4l2_mbus_framefmt to be filled
158 static inline void v4l2_fill_mbus_format(struct v4l2_mbus_framefmt *mbus_fmt,
162 mbus_fmt->width = pix_fmt->width;
163 mbus_fmt->height = pix_fmt->height;
164 mbus_fmt->field = pix_fmt->field;
165 mbus_fmt->colorspace = pix_fmt->colorspace;
166 mbus_fmt->ycbcr_enc = pix_fmt->ycbcr_enc;
167 mbus_fmt->quantization = pix_fmt->quantization;
168 mbus_fmt->xfer_func = pix_fmt->xfer_func;
169 mbus_fmt->code = code;
177 * @mbus_fmt: pointer to &struct v4l2_mbus_framefmt to be used as model
181 const struct v4l2_mbus_framefmt *mbus_fmt)
183 pix_mp_fmt->width = mbus_fmt->width;
184 pix_mp_fmt->height = mbus_fmt->height;
185 pix_mp_fmt->field = mbus_fmt->field;
186 pix_mp_fmt->colorspace = mbus_fmt->colorspace;
187 pix_mp_fmt->ycbcr_enc = mbus_fmt->ycbcr_enc;
188 pix_mp_fmt->quantization = mbus_fmt->quantization;
189 pix_mp_fmt->xfer_func = mbus_fmt->xfer_func;
196 * @mbus_fmt: pointer to &struct v4l2_mbus_framefmt to be filled
200 v4l2_fill_mbus_format_mplane(struct v4l2_mbus_framefmt *mbus_fmt,
203 mbus_fmt->width = pix_mp_fmt->width;
204 mbus_fmt->height = pix_mp_fmt->height;
205 mbus_fmt->field = pix_mp_fmt->field;
206 mbus_fmt->colorspace = pix_mp_fmt->colorspace;
207 mbus_fmt->ycbcr_enc = pix_mp_fmt->ycbcr_enc;
208 mbus_fmt->quantization = pix_mp_fmt->quantization;
209 mbus_fmt->xfer_func = pix_mp_fmt->xfer_func;