Lines Matching refs:format

359 			/* CE format, RGB limited range (16-235) */
362 /* not CE format, RGB full range (0-255) */
1012 if the format is one of the CEA or DMT timings. */
1219 struct v4l2_mbus_framefmt *format)
1221 format->width = state->dv_timings.bt.width;
1222 format->height = state->dv_timings.bt.height;
1223 format->field = V4L2_FIELD_NONE;
1228 struct v4l2_subdev_format *format)
1232 if (format->pad != 0)
1235 memset(&format->format, 0, sizeof(format->format));
1236 adv7511_fill_format(state, &format->format);
1238 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
1241 fmt = v4l2_subdev_get_try_format(sd, sd_state, format->pad);
1242 format->format.code = fmt->code;
1243 format->format.colorspace = fmt->colorspace;
1244 format->format.ycbcr_enc = fmt->ycbcr_enc;
1245 format->format.quantization = fmt->quantization;
1246 format->format.xfer_func = fmt->xfer_func;
1248 format->format.code = state->fmt_code;
1249 format->format.colorspace = state->colorspace;
1250 format->format.ycbcr_enc = state->ycbcr_enc;
1251 format->format.quantization = state->quantization;
1252 format->format.xfer_func = state->xfer_func;
1260 struct v4l2_subdev_format *format)
1281 if (format->pad != 0)
1283 switch (format->format.code) {
1292 adv7511_fill_format(state, &format->format);
1293 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
1296 fmt = v4l2_subdev_get_try_format(sd, sd_state, format->pad);
1297 fmt->code = format->format.code;
1298 fmt->colorspace = format->format.colorspace;
1299 fmt->ycbcr_enc = format->format.ycbcr_enc;
1300 fmt->quantization = format->format.quantization;
1301 fmt->xfer_func = format->format.xfer_func;
1305 switch (format->format.code) {
1322 state->fmt_code = format->format.code;
1323 state->colorspace = format->format.colorspace;
1324 state->ycbcr_enc = format->format.ycbcr_enc;
1325 state->quantization = format->format.quantization;
1326 state->xfer_func = format->format.xfer_func;
1328 switch (format->format.colorspace) {
1336 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV601) {
1343 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV709) {
1355 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_BT2020_CONST_LUM)
1377 switch (format->format.quantization) {
1502 /* Input format: RGB 4:4:4 */
1504 /* Output format: RGB 4:4:4 */
1512 /* Output format: RGB 4:4:4, Active Format Information is valid,
1517 /* Colorimetry, Active format aspect ratio: same as picure. */