summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-05-04Update for new kernel ABIHEADmasterThierry Reding10-26/+189
This adds support for Tegra124 with the secure memory FD that's required for reference picture marking as well as tiling formats needed by the IP present in Tegra124. Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-03-28Fix cut-n-paste typo in create_shared_surface()Dmitry Osipenko1-1/+1
2018-03-10Don't fail if 2d channel fails to openDmitry Osipenko2-1/+4
This allows to at least display video in Xv overlay if 2d channel opening fails.
2018-02-17Make DRI <-> Xv transition less flashyDmitry Osipenko3-20/+20
2018-02-17Correct UV planes strideDmitry Osipenko1-1/+1
This fixes decoding of odd-sized videos because HW require alignment to 2 macroblocks for color planes stride (16 bytes).
2018-02-10Merge pull request #3 from kwizart/udevdir_fixDmitry Osipenko1-1/+1
Fixup udevdir installation to not depend on prefix
2018-02-10Fixup udevdir installation to not depend on prefixNicolas Chauvet1-1/+1
This lead to /usr/usr/lib/udev/rules.d/ which is not intended
2018-02-09Install UDEV ruleDmitry Osipenko3-0/+7
2018-02-09Merge pull request #2 from kwizart/udev-tegra_vdeDmitry Osipenko1-0/+1
Add udev rules for tegra_vde
2018-02-07Update README.mdDmitry Osipenko1-2/+12
We now have PPA for Ubuntu, also notice our Gentoo overlay.
2018-02-07Reset all pointers in release_surface_data() for consistencyDmitry Osipenko1-0/+4
This doesn't fix anything, solely for consistency.
2018-01-13Disable building of static libraryDmitry Osipenko1-0/+2
2018-01-07Borrow BG color from PQT on transition to XvDmitry Osipenko1-1/+5
PQT carries the actual color, not surface.
2018-01-07Put back X11 eventDmitry Osipenko1-0/+2
Overlay resizing works a bit better now.
2018-01-07Don't scale, but clip DRI RGB transferDmitry Osipenko1-12/+9
That should be correct.
2018-01-07Correct cleanup on shared surface creation errorDmitry Osipenko1-1/+5
2018-01-07Replace some of asserts with error messageDmitry Osipenko5-48/+95
2018-01-07Correct VdpPresentationQueueGetBackgroundColor argument typeDmitry Osipenko1-1/+1
2018-01-04Update README.mdDmitry Osipenko1-1/+6
2018-01-04Don't fail without XvDmitry Osipenko3-61/+87
Only one instance can grab Xv port at a time. Now multiple players could be running simultaneously, they will be forced to use DRI output.
2018-01-04Utilize DRI outputDmitry Osipenko5-215/+487
When players window is overlapped by some other window, the DRI output will be used. The overlap detection is a hack that hijacks players X11 events, but probably the best of what could be done. Two new environment variables are added, the VDPAU_TEGRA_FORCE_XV and VDPAU_TEGRA_FORCE_DRI.
2018-01-01Align surface stride to 16 bytesDmitry Osipenko1-1/+1
G2SB require 8 bytes alignment at minimum and 16 bytes at max. This fixes odd 2D blit failures.
2018-01-01Add more debug messagesDmitry Osipenko5-107/+175
2017-12-30Cleanup presentation condition waitDmitry Osipenko1-6/+5
2017-12-30Update README.mdDmitry Osipenko1-0/+4
2017-12-30Add debug messagesDmitry Osipenko6-4/+115
Use VDPAU_TRACE=1 environment variable to print the messages.
2017-12-30Implement DRI outputDmitry Osipenko11-100/+340
DRI output will be used when Xv overlay isn't available or not suitable. Lot's of locking fixes in this patch as well.
2017-12-29Fixup 'crashing vdp_output_surface_render_bitmap_surface'Dmitry Osipenko1-2/+2
2017-12-29Remove idle_hackDmitry Osipenko2-6/+1
It is not relevant anymore.
2017-12-29Fix crashing vdp_output_surface_render_bitmap_surfaceDmitry Osipenko1-12/+6
Src output surface might occur unallocated.
2017-12-29Handle potential interrupt signals in the decoderDmitry Osipenko1-1/+7
2017-12-29Check if background surface is allocatedDmitry Osipenko1-2/+14
Fixes crashing VDPAU over VAAPI.
2017-12-28Cleanup shared surfaceDmitry Osipenko2-28/+60
2017-12-28Factor out presentation_queue_targetDmitry Osipenko3-86/+110
2017-12-28Harden refcountsDmitry Osipenko9-103/+413
All known (by me) VDPAU users aren't doing weird things like free-during-use, but VDPAU doc explicitly require to be safe.
2017-12-28Harden lockingsDmitry Osipenko8-9/+76
2017-12-28Precalculate CSC paramsDmitry Osipenko6-89/+98
2017-12-27Update README.mdDmitry Osipenko1-1/+1
2017-12-27Update Readme.mdDmitry Osipenko1-5/+2
2017-12-27Correct CSC values conversion for GR2DDmitry Osipenko1-20/+25
Saturation and contrast are now working correctly.
2017-12-26Pass CSC matrix by pointerDmitry Osipenko4-12/+12
2017-12-26Remove X11 threadDmitry Osipenko2-75/+2
X11 thread supposed to track drawable position, moving overlay. For some reason it doesn't work anymore and doesn't feel like a good solution.
2017-12-26Allow surface BO cachingDmitry Osipenko1-30/+0
Now surface BO is released when surface is really gone, so caching can be utilized.
2017-12-26Implement dynamic surface allocationDmitry Osipenko9-240/+374
This reduces memory usage up to 2x. Couple fixes for zero-copy are also incorporated in this patch.
2017-12-26queue_block_until_surface_idle() must return error on lockupDmitry Osipenko2-19/+36
VDPAU documentation says it explicitly, this fixes VLC lockup.
2017-12-26Revert "Remove gl_VISIBILITY from configure.ac"Dmitry Osipenko1-0/+1
VLC works now because some of VLC functions have the same name as in libvdpau-tegra and they were getting overridden on library load. gl_VISIBILITY removal was a bad mistake. This reverts commit b0de4419cf1f6e3b822255bb82d76520af8b120d.
2017-12-26Implement zero-copy outputDmitry Osipenko10-139/+590
2017-12-26Cleanup vtableDmitry Osipenko1-4/+9
2017-12-26Correct outside clippingDmitry Osipenko1-1/+1
2017-12-26Detect X11 threading presenceDmitry Osipenko1-7/+3