projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36d87d9
)
OMAPDSS: DISPC: Downscale chroma if plane is writeback
author
Archit Taneja
<archit@ti.com>
Fri, 24 Aug 2012 05:41:14 +0000
(11:11 +0530)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:50 +0000
(14:58 +0300)
When converting YUYV444 content to YUV422 or NV12 formats through writeback
pipeline, the scaler needs to downscale the chroma plane. Ensure that chroma
is downscaled when the pipeline is writeback.
Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dispc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/omap2/dss/dispc.c
b/drivers/video/omap2/dss/dispc.c
index b9e53b3cbe05ec40e57863f431145b1c7380c691..435e565a7fc5165cee2c3eb69411c65ffcbcf2af 100644
(file)
--- a/
drivers/video/omap2/dss/dispc.c
+++ b/
drivers/video/omap2/dss/dispc.c
@@
-1460,7
+1460,7
@@
static void dispc_ovl_set_scaling_uv(enum omap_plane plane,
{
int scale_x = out_width != orig_width;
int scale_y = out_height != orig_height;
- bool chroma_upscale =
tru
e;
+ bool chroma_upscale =
plane != OMAP_DSS_WB ? true : fals
e;
if (!dss_has_feature(FEAT_HANDLE_UV_SEPARATE))
return;