linux/drivers/media/platform/omap3isp
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
..
Makefile [media] omap3isp: Move to videobuf2 2014-05-25 11:38:53 -03:00
cfa_coef_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
gamma_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
isp.c [media] v4l: omap3isp: Drop platform data support 2015-08-16 13:18:06 -03:00
isp.h [media] v4l: omap3isp: Drop platform data support 2015-08-16 13:18:06 -03:00
ispccdc.c [media] omap3isp: Refactor device configuration structs for Device Tree 2015-04-02 16:41:01 -03:00
ispccdc.h [media] omap3isp: ccdc: Don't timeout on stream off when the CCDC is stopped 2014-08-21 15:25:16 -05:00
ispccp2.c [media] omap3isp: Refactor device configuration structs for Device Tree 2015-04-02 16:41:01 -03:00
ispccp2.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
ispcsi2.c [media] omap3isp: Calculate vpclk_div for CSI-2 2015-04-02 16:42:04 -03:00
ispcsi2.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
ispcsiphy.c [media] omap3isp: Add support for the Device Tree 2015-04-02 16:47:48 -03:00
ispcsiphy.h [media] v4l: omap3isp: Drop platform data support 2015-08-16 13:18:06 -03:00
isph3a.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
isph3a_aewb.c [media] media: omap3isp: hist: Move histogram DMA to DMA engine 2015-04-02 16:37:13 -03:00
isph3a_af.c [media] media: omap3isp: hist: Move histogram DMA to DMA engine 2015-04-02 16:37:13 -03:00
isphist.c [media] omap3isp: Replace mmio_base_phys array with the histogram block base 2015-04-02 16:42:52 -03:00
isphist.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
isppreview.c [media] omap3isp: remove unused var 2015-06-24 08:38:29 -03:00
isppreview.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
ispreg.h [media] omap3isp: ccdc: Support the interlaced field orders at the CCDC output 2014-08-21 15:25:14 -05:00
ispresizer.c [media] v4l2-subdev: add support for the new enum_frame_size 'which' field 2015-03-23 11:48:55 -07:00
ispresizer.h [media] omap3isp: resizer: Protect against races when updating crop 2014-08-21 15:25:17 -05:00
ispstat.c [media] use v4l2_get_timestamp where possible 2015-10-01 08:29:23 -03:00
ispstat.h [media] use v4l2_get_timestamp where possible 2015-10-01 08:29:23 -03:00
ispvideo.c [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
ispvideo.h [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
luma_enhance_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
noise_filter_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
omap3isp.h [media] v4l: omap3isp: Drop platform data support 2015-08-16 13:18:06 -03:00