diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2018-09-18 11:34:08 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2018-11-05 14:40:06 +0100 |
commit | d0cbc93a0110a82ff9e01d3c21d5a2e2027b706f (patch) | |
tree | 4da0172ef8c3ff0d549a5f6ebce4cc9b0296e46f /include/video | |
parent | dec408fd23ae81338a55556cd570dacd6bf41046 (diff) | |
download | linux-stable-d0cbc93a0110a82ff9e01d3c21d5a2e2027b706f.tar.gz linux-stable-d0cbc93a0110a82ff9e01d3c21d5a2e2027b706f.tar.bz2 linux-stable-d0cbc93a0110a82ff9e01d3c21d5a2e2027b706f.zip |
gpu: ipu-v3: ipu-ic: allow to manually set resize coefficients
For tiled scaling, we want to compute the scaling coefficients
externally in such a way that the interpolation overshoots tile
boundaries and samples up to the first pixel of the next tile.
Prepare to override the resizing coefficients from the image
conversion code.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Steve Longerbeam <slongerbeam@gmail.com>
Tested-by: Steve Longerbeam <slongerbeam@gmail.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/imx-ipu-v3.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/video/imx-ipu-v3.h b/include/video/imx-ipu-v3.h index 8bb163cd9314..e582e8e7527a 100644 --- a/include/video/imx-ipu-v3.h +++ b/include/video/imx-ipu-v3.h @@ -390,6 +390,12 @@ int ipu_ic_task_init(struct ipu_ic *ic, int out_width, int out_height, enum ipu_color_space in_cs, enum ipu_color_space out_cs); +int ipu_ic_task_init_rsc(struct ipu_ic *ic, + int in_width, int in_height, + int out_width, int out_height, + enum ipu_color_space in_cs, + enum ipu_color_space out_cs, + u32 rsc); int ipu_ic_task_graphics_init(struct ipu_ic *ic, enum ipu_color_space in_g_cs, bool galpha_en, u32 galpha, |