Lines Matching refs:format

393 			/* CE format, RGB limited range (16-235) */
396 /* not CE format, RGB full range (0-255) */
1046 if the format is one of the CEA or DMT timings. */
1253 struct v4l2_mbus_framefmt *format)
1255 format->width = state->dv_timings.bt.width;
1256 format->height = state->dv_timings.bt.height;
1257 format->field = V4L2_FIELD_NONE;
1262 struct v4l2_subdev_format *format)
1266 if (format->pad != 0)
1269 memset(&format->format, 0, sizeof(format->format));
1270 adv7511_fill_format(state, &format->format);
1272 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
1275 fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad);
1276 format->format.code = fmt->code;
1277 format->format.colorspace = fmt->colorspace;
1278 format->format.ycbcr_enc = fmt->ycbcr_enc;
1279 format->format.quantization = fmt->quantization;
1280 format->format.xfer_func = fmt->xfer_func;
1282 format->format.code = state->fmt_code;
1283 format->format.colorspace = state->colorspace;
1284 format->format.ycbcr_enc = state->ycbcr_enc;
1285 format->format.quantization = state->quantization;
1286 format->format.xfer_func = state->xfer_func;
1294 struct v4l2_subdev_format *format)
1315 if (format->pad != 0)
1317 switch (format->format.code) {
1326 adv7511_fill_format(state, &format->format);
1327 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
1330 fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad);
1331 fmt->code = format->format.code;
1332 fmt->colorspace = format->format.colorspace;
1333 fmt->ycbcr_enc = format->format.ycbcr_enc;
1334 fmt->quantization = format->format.quantization;
1335 fmt->xfer_func = format->format.xfer_func;
1339 switch (format->format.code) {
1356 state->fmt_code = format->format.code;
1357 state->colorspace = format->format.colorspace;
1358 state->ycbcr_enc = format->format.ycbcr_enc;
1359 state->quantization = format->format.quantization;
1360 state->xfer_func = format->format.xfer_func;
1362 switch (format->format.colorspace) {
1370 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV601) {
1377 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV709) {
1389 if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_BT2020_CONST_LUM)
1411 switch (format->format.quantization) {
1536 /* Input format: RGB 4:4:4 */
1538 /* Output format: RGB 4:4:4 */
1546 /* Output format: RGB 4:4:4, Active Format Information is valid,
1551 /* Colorimetry, Active format aspect ratio: same as picure. */