[media] media: videobuf2: Prepare to divide videobuf2
authorJunghak Sung <jh1009.sung@samsung.com>
Tue, 6 Oct 2015 09:37:48 +0000 (06:37 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 20 Oct 2015 17:12:45 +0000 (15:12 -0200)
commitb0e0e1f83de31aa0428c38b692c590cc0ecd3f03
tree21f1018973380de7d7883e338944a6aa1c8521a0
parentbed04f9342473743fc96b71c3130f645c718bd47
[media] media: videobuf2: Prepare to divide videobuf2

Prepare to divide videobuf2
- Separate vb2 trace events from v4l2 trace event.
- Make wrapper functions that will move to v4l2-side.
- Make vb2_core_* functions that will remain in core-side.
- Add a callback function table for buffer operation which makes vb2-core
  to be able to invoke a v4l2-side functions.
- Rename internal functions as vb2_*.

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>
drivers/media/v4l2-core/Makefile
drivers/media/v4l2-core/v4l2-trace.c
drivers/media/v4l2-core/vb2-trace.c [new file with mode: 0644]
drivers/media/v4l2-core/videobuf2-core.c
include/media/videobuf2-core.h
include/trace/events/v4l2.h
include/trace/events/vb2.h [new file with mode: 0644]