[mythtv-commits] [MythTV/mythtv] 2af9cd: VAAPI: Add a DRM PRIME interface for testing purpo...

Mark Kendall noreply at github.com
Tue Nov 12 10:30:18 UTC 2019


  Branch: refs/heads/devel/2019-render
  Home:   https://github.com/MythTV/mythtv
  Commit: 2af9cdc2befedc33236e1e626ccd249dcc4a3591
      https://github.com/MythTV/mythtv/commit/2af9cdc2befedc33236e1e626ccd249dcc4a3591
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M mythtv/libs/libmythtv/opengl/mythdrmprimeinterop.cpp
    M mythtv/libs/libmythtv/opengl/mythdrmprimeinterop.h
    M mythtv/libs/libmythtv/opengl/mythvaapidrminterop.cpp
    M mythtv/libs/libmythtv/opengl/mythvaapidrminterop.h

  Log Message:
  -----------
  VAAPI: Add a DRM PRIME interface for testing purposes only

- enable by setting the MYTHTV_VAAPI_PRIME from the command line
- useful for testing DRM PRIME interop and actually may be a better
choice in the long term as the fourcc's exported for each plane are
correct - so we don't need to guess


  Commit: 78dff9718bab8d009a344a581858da4280efbc87
      https://github.com/MythTV/mythtv/commit/78dff9718bab8d009a344a581858da4280efbc87
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M mythtv/configure
    M mythtv/external/FFmpeg/libavcodec/v4l2_buffers.c
    M mythtv/libs/libmythtv/libmythtv.pro
    M mythtv/libs/libmythtv/mythvideoout.cpp
    M mythtv/libs/libmythtv/opengl/mythopenglinterop.cpp
    M mythtv/libs/libmythtv/opengl/mythvaapidrminterop.cpp
    M mythtv/libs/libmythtv/opengl/mythvaapidrminterop.h
    M mythtv/libs/libmythtv/videobuffers.cpp
    M mythtv/libs/libmythtv/videodisplayprofile.cpp
    M mythtv/libs/libmythui/libmythui.pro
    M mythtv/libs/libmythui/mythmainwindow.cpp
    M mythtv/libs/libmythui/mythmainwindow_internal.h
    M mythtv/programs/mythavtest/mythavtest.pro
    M mythtv/programs/mythfrontend/globalsettings.cpp
    M mythtv/programs/mythfrontend/mythfrontend.pro

  Log Message:
  -----------
  configure: Cleanup setup for drm, opengl, egl and v4l2

- remove the opengl_video and opengl_themepainter defines. They serve no
purpose (in fact the using_opengl define serves no purpose as configure
will fail without OpenGL and we will get no video without it)

- add a drm test. This is more extensive than FFmpeg's as we have
patched FFmpeg to use a more recent DRM define and need DRM support for
DRM PRIME with V4L2.
- V4L2 Prime support now depends on v4l2 and libdrm
- remove previous hackish attempt to fix FFmpeg build

- MythDRMPRIMEInterop is now built by default as it has no dependencies
on drm or egl.

- NOTE there are a host of conditionals in libmythtv.pro for hardware
acceleration support (e.g. vdpau, vaapi, nvdec etc) that should in
theory be split between requiring OpenGL and the decode only code that
does not. In practice, OpenGL will always be available.


Compare: https://github.com/MythTV/mythtv/compare/d3c3d8f33d41...78dff9718bab


More information about the mythtv-commits mailing list