Lines Matching refs:sd_fmt
1403 struct v4l2_subdev_format sd_fmt; in exynos_gsc_out_config() local
1461 sd_fmt.pad = GSCALER_SUBDEV_PAD_SOURCE; in exynos_gsc_out_config()
1462 sd_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in exynos_gsc_out_config()
1464 sd_fmt.format.width = gsc_handle->dst_img.fw; in exynos_gsc_out_config()
1465 sd_fmt.format.height = gsc_handle->dst_img.fh; in exynos_gsc_out_config()
1467 sd_fmt.format.width = gsc_handle->dst_img.w; in exynos_gsc_out_config()
1468 sd_fmt.format.height = gsc_handle->dst_img.h; in exynos_gsc_out_config()
1470 sd_fmt.format.code = rgb ? V4L2_MBUS_FMT_XRGB8888_4X8_LE : in exynos_gsc_out_config()
1472 if (exynos_subdev_s_fmt(gsc_handle->gsc_sd_entity->fd, &sd_fmt) < 0) { in exynos_gsc_out_config()
1499 sd_fmt.pad = FIMD_SUBDEV_PAD_SINK; in exynos_gsc_out_config()
1500 sd_fmt.format.width = gsc_handle->dst_img.w; in exynos_gsc_out_config()
1501 sd_fmt.format.height = gsc_handle->dst_img.h; in exynos_gsc_out_config()
1503 sd_fmt.pad = MIXER_V_SUBDEV_PAD_SINK; in exynos_gsc_out_config()
1504 sd_fmt.format.width = gsc_handle->dst_img.w + gsc_handle->dst_img.x*2; in exynos_gsc_out_config()
1505 sd_fmt.format.height = gsc_handle->dst_img.h + gsc_handle->dst_img.y*2; in exynos_gsc_out_config()
1508 sd_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in exynos_gsc_out_config()
1509 sd_fmt.format.code = rgb ? V4L2_MBUS_FMT_XRGB8888_4X8_LE : in exynos_gsc_out_config()
1511 if (exynos_subdev_s_fmt(gsc_handle->sink_sd_entity->fd, &sd_fmt) < 0) { in exynos_gsc_out_config()
1512 ALOGE("%s::sink:set format failed (PAD=%d)", __func__, sd_fmt.pad); in exynos_gsc_out_config()
1540 sd_fmt.pad = MIXER_V_SUBDEV_PAD_SOURCE; in exynos_gsc_out_config()
1541 sd_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in exynos_gsc_out_config()
1542 sd_fmt.format.width = gsc_handle->dst_img.w + gsc_handle->dst_img.x*2; in exynos_gsc_out_config()
1543 sd_fmt.format.height = gsc_handle->dst_img.h + gsc_handle->dst_img.y*2; in exynos_gsc_out_config()
1544 sd_fmt.format.code = V4L2_MBUS_FMT_XRGB8888_4X8_LE; in exynos_gsc_out_config()
1545 if (exynos_subdev_s_fmt(gsc_handle->sink_sd_entity->fd, &sd_fmt) < 0) { in exynos_gsc_out_config()
1546 ALOGE("%s::sink:set format failed (PAD=%d)", __func__, sd_fmt.pad); in exynos_gsc_out_config()
1550 sd_fmt.pad = MIXER_V_SUBDEV_PAD_SOURCE; in exynos_gsc_out_config()