Skip to contentSkip to conversation

video: mmp: add pitch info in mmp_win structure

PATCH New Jean-Christophe PLAGNIOL-VILLARD 1 participant 1 message Jun 10, 2013 2 messages not in the archive Framebuffer layer

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CACDDiy-Ri=iYNLWg6dd3BwayZx=4+Lb5WC=ZEgtNHpxiSca=nA@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

PATCH v2 5/7 video: mmp: add pitch info in mmp_win structure

Quoted 2 lines · Jett.Zhou

From: Jing Xiang <[email protected]>

this is impossible to follow

resend the patch series fully with a PATCH 0

as I just go back from vacation I'll not read this series until then

Best Regards,
J.

Quoted 28 lines

Add pitch length info of graphics/video layer for mmp_win, if it is YUV format of video layer, u/v pitch will non-zero.

---
 include/video/mmp_disp.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
include/video/mmp_disp.h +5 -0
index b9dd1fb..462e3bd 100644
@@ -91,6 +91,11 @@ struct mmp_win {
 	u16	up_crop;
 	u16	bottom_crop;
 	int	pix_fmt;
+	/*
+	 * pitch[0]: graphics/video layer line length or y pitch
+	 * pitch[1]/pitch[2]: video u/v pitch if non-zero
+	 */
+	u32	pitch[3];
 };
 
 struct mmp_addr {
Signature · 1 line
1.7.0.4