Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1317844 > unrolled thread

[PATCH v3 0/2] [media] tvp5150: Add MC support

Started byJavier Martinez Canillas <javier@osg.samsung.com>
First post2016-01-26 13:50 +0100
Last post2016-01-26 13:50 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v3 0/2] [media] tvp5150: Add MC support Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-26 13:50 +0100
    [PATCH v3 1/2] [media] tvp5150: fix tvp5150_fill_fmt() Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-26 13:50 +0100

#1317844 — [PATCH v3 0/2] [media] tvp5150: Add MC support

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2016-01-26 13:50 +0100
Subject[PATCH v3 0/2] [media] tvp5150: Add MC support
Message-ID<qVbeh-4b6-19@gated-at.bofh.it>
Hello,

This series is a split of patch [0] that was part of this series [1].

All patches in that series were picked besides [0] that Mauro asked
to split in two different patches.

I kept the version number of the previous series (v2) so the patches
are marked as v3.

[0]: http://lkml.iu.edu/hypermail/linux/kernel/1601.0/00923.html
[1]: http://lkml.iu.edu/hypermail/linux/kernel/1601.0/00910.html

Best regards,
Javier

Changes in v3:
- Split the format fix and the MC support in different patches.
  Suggested by Mauro Carvalho Chehab.

Changes in v2:
- Embed mbus_type into struct tvp5150. Suggested by Laurent Pinchart.
- Remove platform data support. Suggested by Laurent Pinchart.
- Check if the hsync, vsync and field even active properties are correct.
  Suggested by Laurent Pinchart.

Laurent Pinchart (2):
  [media] tvp5150: fix tvp5150_fill_fmt()
  [media] tvp5150: Add pad-level subdev operations

 drivers/media/i2c/tvp5150.c | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

-- 
2.5.0

[toc] | [next] | [standalone]


#1317846 — [PATCH v3 1/2] [media] tvp5150: fix tvp5150_fill_fmt()

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2016-01-26 13:50 +0100
Subject[PATCH v3 1/2] [media] tvp5150: fix tvp5150_fill_fmt()
Message-ID<qVbei-4b6-25@gated-at.bofh.it>
In reply to#1317844
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

The tvp5150 output video is interlaced so mark the format
field as alternate and reduce the height to the half.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[javier: split patch and write commit message]
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

Changes in v3: None
Changes in v2: None

 drivers/media/i2c/tvp5150.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/i2c/tvp5150.c b/drivers/media/i2c/tvp5150.c
index 9b83fc9ee8d1..37853bc3f0b3 100644
--- a/drivers/media/i2c/tvp5150.c
+++ b/drivers/media/i2c/tvp5150.c
@@ -852,10 +852,10 @@ static int tvp5150_fill_fmt(struct v4l2_subdev *sd,
 	tvp5150_reset(sd, 0);
 
 	f->width = decoder->rect.width;
-	f->height = decoder->rect.height;
+	f->height = decoder->rect.height / 2;
 
 	f->code = MEDIA_BUS_FMT_UYVY8_2X8;
-	f->field = V4L2_FIELD_SEQ_TB;
+	f->field = V4L2_FIELD_ALTERNATE;
 	f->colorspace = V4L2_COLORSPACE_SMPTE170M;
 
 	v4l2_dbg(1, debug, sd, "width = %d, height = %d\n", f->width,
-- 
2.5.0

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web