History log of /drivers/media/platform/vivid/vivid-vid-out.c
Revision Date Author Comments
62f28725a8dc5c16d3d63606f046899ae41fcf4a 20-Sep-2014 Hans Verkuil <hverkuil@xs4all.nl> [media] vivid: add teletext support to VBI capture

This is useful to test teletext capture applications like alevt and mtt.

It also fixes a previously undetected bug where the PAL VBI start line
of the second field was off by one. Using the new field start defines
helps a lot fixing such bugs.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
1d54b3a43cd1228dc90dcd331eb735f79e3b021e 03-Sep-2014 Hans Verkuil <hans.verkuil@cisco.com> [media] vivid: remove duplicate and unused g/s_edid functions

I'm not sure how I missed this, but they should be removed.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
0282969190495950564fb0a7e6905881339a1ebc 03-Sep-2014 Mauro Carvalho Chehab <m.chehab@samsung.com> [media] vivid-vid-out: use memdup_user()

Instead of allocating and coping from __user, do it using
one atomic call. That makes the code simpler.

Found by coccinelle.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
6c1c423a54b5b3a6c9c9561c7ef32aee0fda7253 02-Sep-2014 Mauro Carvalho Chehab <m.chehab@samsung.com> [media] vivid: comment the unused g_edid/s_edid functions

Those non-static functions aren't used anywhere yet. Comment them
while they're unused.

Solves the following warnings:

drivers/media/platform/vivid/vivid-vid-out.c:1120:5: warning: no previous prototype for 'vivid_vid_out_g_edid' [-Wmissing-prototypes]
int vivid_vid_out_g_edid(struct file *file, void *_fh,
^
drivers/media/platform/vivid/vivid-vid-out.c:1152:5: warning: no previous prototype for 'vivid_vid_out_s_edid' [-Wmissing-prototypes]
int vivid_vid_out_s_edid(struct file *file, void *_fh,
^

Cc: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
1fc78bc9d4cd9714b995f61ef414645c0d54a0bb 02-Sep-2014 Mauro Carvalho Chehab <m.chehab@samsung.com> [media] vivid: Don't mess with namespace adding a "get_format" function

This fixes a compilation error with allyesconfig:

drivers/media/platform/exynos-gsc/built-in.o: In function `get_format':
(.text+0x12f5): multiple definition of `get_format'
drivers/media/platform/vivid/built-in.o:(.text+0x4bf4): first defined here

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
ef834f7836ec0502f49f20bbc42f1240577a9c83 25-Aug-2014 Hans Verkuil <hans.verkuil@cisco.com> [media] vivid: add the video capture and output parts

This adds the ioctl and vb2 queue support for video capture and output.
Part of this is common to both, so that is placed in a vid-common source.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>