linux/drivers/media/pci
Junghak Sung 2d7007153f [media] media: videobuf2: Restructure vb2_buffer
Remove v4l2 stuff - v4l2_buf, v4l2_plane - from struct vb2_buffer.

Add new member variables - bytesused, length, offset, userptr, fd,
data_offset - to struct vb2_plane in order to cover all information
of v4l2_plane.
struct vb2_plane {
        <snip>
        unsigned int            bytesused;
        unsigned int            length;
        union {
                unsigned int    offset;
                unsigned long   userptr;
                int             fd;
        } m;
        unsigned int            data_offset;
}

Replace v4l2_buf with new member variables - index, type, memory - which
are common fields for buffer management.
struct vb2_buffer {
        <snip>
        unsigned int            index;
        unsigned int            type;
        unsigned int            memory;
        unsigned int            num_planes;
        struct vb2_plane        planes[VIDEO_MAX_PLANES];
        <snip>
};

v4l2 specific fields - flags, field, timestamp, timecode,
sequence - are moved to vb2_v4l2_buffer in videobuf2-v4l2.c
struct vb2_v4l2_buffer {
        struct vb2_buffer       vb2_buf;

        __u32                   flags;
        __u32                   field;
        struct timeval          timestamp;
        struct v4l2_timecode    timecode;
        __u32                   sequence;
};

Signed-off-by: Junghak Sung <jh1009.sung@samsung.com>
Signed-off-by: Geunyoung Kim <nenggun.kim@samsung.com>
Acked-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-10-01 09:04:43 -03:00
..
b2c2
bt8xx [media] use v4l2_get_timestamp where possible 2015-10-01 08:29:23 -03:00
cobalt [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
cx18 [media] use v4l2_get_timestamp where possible 2015-10-01 08:29:23 -03:00
cx88 [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
cx23885 [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
cx25821 [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
ddbridge
dm1105
dt3155 [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
ivtv [media] ivtv-alsa: Add index to specify device number 2015-09-25 17:17:08 -03:00
mantis [media] mantis: Fix error handling in mantis_dma_init() 2015-08-19 07:04:55 -03:00
meye
netup_unidvb [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
ngene
pluto2
pt1
pt3
saa7134 [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
saa7146
saa7164 [media] saa7164: video and vbi ports share the same input/tuner/std 2015-10-01 08:26:53 -03:00
smipcie
solo6x10 [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
sta2x11 [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
ttpci [media] ttpci: Replace memset with eth_zero_addr 2015-08-11 12:50:56 -03:00
tw68 [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
zoran [media] zoran: Use monotonic time 2015-08-16 13:29:31 -03:00
Kconfig [media] netup_unidvb: NetUP Universal DVB-S/S2/T/T2/C PCI-E card driver 2015-08-11 15:16:40 -03:00
Makefile [media] netup_unidvb: NetUP Universal DVB-S/S2/T/T2/C PCI-E card driver 2015-08-11 15:16:40 -03:00