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
Maxime Ripard
056d24d20f
buffer: don't cast the pointer anymore
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:33:39 +02:00
Maxime Ripard
f638dcce4c
mpeg2: don't populate the frame anymore
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:29:56 +02:00
Maxime Ripard
3f9054e95d
mpeg2: remove output mplane querybuf
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:28:26 +02:00
Maxime Ripard
51ac90481a
buffer: cosmetic change
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:24:41 +02:00
Maxime Ripard
b9efb89633
image: free our heap allocated object when destroying the image
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:23:10 +02:00
Maxime Ripard
c271437f4e
image: add comment
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:22:15 +02:00
Maxime Ripard
fdf8c591e0
context: call streamoff when destroying the context
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:21:54 +02:00
Maxime Ripard
9e3f597112
image: memset the VAImage
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:20:29 +02:00
Maxime Ripard
30154c81c5
context: Increase v4l2 sizeimage to take the buffer numbers into account
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:19:42 +02:00
Maxime Ripard
ef3ad9a96e
context: Increase the number of pre-allocated buffers
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:12:29 +02:00
Maxime Ripard
4b52cb488f
mpeg2: cosmetic change
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:10:29 +02:00
Maxime Ripard
35a7aa906f
image: cosmetic change
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:09:26 +02:00
Maxime Ripard
4d0a5d8178
context: cosmetic change
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:08:47 +02:00
Maxime Ripard
073baf070a
buffer: cosmetic change
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:05:54 +02:00
Maxime Ripard
4624e95b1b
buffer: cosmetic change
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:05:43 +02:00
Maxime Ripard
d988545672
buffer: cosmetic change
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:05:31 +02:00
Maxime Ripard
d10aec071b
buffer: remove intermediate vaStatus variable
...
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2018-04-20 10:05:15 +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
5412e2676b
configure.ac don't check for an useless tool
...
This code remained from another configure.ac I based my work on but it
is not needed...
2016-08-26 15:43:33 +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
f53e579944
Clarify licenses text
...
The majority of the code included in sunxi-cedrus-drv-video is licensed
under the MIT but tiled_yuv is licensed under LGPLv2.1 so this COPYING
makes it clearer.
2016-08-26 15:43:09 +02:00
Florent Revest
ad22b93f9e
Include config.h to have VA_DRIVER_INIT_FUNC
...
The VA_DRIVER_INIT_FUNC macro is defined by configure in config.h, if
this header is not included then the init symbol will not be present and
libVA will not be able to load this backend.
2016-08-26 15:42:56 +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