diff options
author | Robert Morell <rmorell@nvidia.com> | 2011-03-17 17:56:49 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-08-11 11:53:47 -0700 |
commit | d8dc0aa6548723d8b0637ab131e0732e2e7e7296 (patch) | |
tree | 06994e82d6737e9f3276bb2278ee4f8ff2ea7611 /include | |
parent | eef15b664f09304530f8692fa75f5ce225937db3 (diff) |
video: tegra: Allow fractional input rects
This change makes the input rect for Tegra windows be a 20.12
fixed-point number instead of an integer. This allows software to
specify sub-pixel precision.
bug 818525
Change-Id: I130f63b68159ed896d1113ea537307997875ca40
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40526
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/video/tegra_dc_ext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/video/tegra_dc_ext.h b/include/video/tegra_dc_ext.h index 6f43ee689b26..2e89a12add3e 100644 --- a/include/video/tegra_dc_ext.h +++ b/include/video/tegra_dc_ext.h @@ -65,6 +65,10 @@ struct tegra_dc_ext_flip_windowattr { __u32 stride; __u32 stride_uv; __u32 pixformat; + /* + * x, y, w, h are fixed-point: 20 bits of integer (MSB) and 12 bits of + * fractional (LSB) + */ __u32 x; __u32 y; __u32 w; |