Commit Graph

19 Commits

Author SHA1 Message Date
Paul Kocialkowski b0a8023644 Remove INIT_DRIVER_DATA and replace it with explicit definition
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
2018-04-23 11:22:49 +02:00
Paul Kocialkowski 4354922570 Drop the _drv_video suffix from sunxi_cedrus files for conciseness
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
2018-04-23 10:56:11 +02:00
Paul Kocialkowski 36b7bba14f config: Use object config structure directly instead of abstract type
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
2018-04-23 10:56:11 +02:00
Paul Kocialkowski 97950176ad surface: Use object surface structure directly instead of abstract type
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
2018-04-23 10:56:00 +02:00
Paul Kocialkowski 6a06b4570b context: Use object context structure directly instead of abstract type
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
2018-04-23 10:04:58 +02:00
Paul Kocialkowski 5c26862913 buffer: Use object buffer structure directly instead of abstract type
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
2018-04-23 09:59:08 +02:00
Maxime Ripard d758a0d425 Rework buffer and slice handling
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-04-20 11:23:14 +02:00
Maxime Ripard 287d898a22 picture: Move calls to request reinit from EndPicture to SyncSurface
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-04-20 11:06:06 +02:00
Maxime Ripard 22c6a01a93 picture: Move request submit from EndPicture to SyncSurface
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-04-20 11:03:40 +02:00
Maxime Ripard 115b0d39b1 picture: rework the test for the media request fd a bit
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-04-20 10:45:10 +02:00
Maxime Ripard b5fe51b608 picture: remove an assert for a more dynamic approach
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-04-20 10:44:07 +02:00
Maxime Ripard 63617797b4 picture: fix typo in controls type
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-04-20 10:40:20 +02:00
Maxime Ripard 31533a061d picture: return SyncSurface error code on error
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-04-20 10:34:56 +02:00
Paul Kocialkowski 923a001e50 libva: Catch up with the latest version of the media request API
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
2018-03-09 14:28:27 +01:00
Florent Revest c8e187aed5 Always clear v4l2_plane before sending them to the kernel 2016-08-29 17:44:23 +02:00
Florent Revest 6d7050cc7b Picture: Explains the role of EndPicture
EndPicture and RenderPicture might be confusing to get so this commit
adds a comment making that a bit clearer.
2016-08-26 15:43:12 +02:00
Florent Revest f645948921 Add MPEG 4 codec
This patch introduces the support of MPEG4 video decoding. It basically
just copies data from VA's frame/slice headers data structures to v4l's
MPEG4 frame header extended controls data structures.
2016-08-25 16:24:45 +02:00
Florent Revest 728b1b41b9 Add MPEG 2 codec
This patch introduces the support of MPEG2 video decoding. It basically
just copies data from VA's frame/slice headers data structures to v4l's
MPEG2 frame header extended controls data structures.
2016-08-25 16:21:42 +02:00
Florent Revest e263c9542c Adds a sunxi-cedrus-drv-video libVA backend
This VA backend uses v4l2's Frame API proposal to interface with the
"sunxi-cedrus" video driver on Allwinner SoC. Only a few parts of the
code are really dependent on sunxi-cedrus and this VA backend could be
reused for other v4l drivers using the Frame API.
2016-08-25 16:19:34 +02:00