1. 07 Jun, 2019 8 commits
  2. 06 Jun, 2019 2 commits
  3. 05 Jun, 2019 4 commits
  4. 04 Jun, 2019 9 commits
  5. 03 Jun, 2019 7 commits
  6. 02 Jun, 2019 1 commit
  7. 03 Jun, 2019 3 commits
  8. 02 Jun, 2019 6 commits
    • Mark Thompson's avatar
      hwcontext_qsv: Try to select a matching VAAPI device by default · 468f0038
      Mark Thompson authored
      Tries to find a device backed by the i915 kernel driver and loads the iHD
      VAAPI driver to use with it.  This reduces confusion on machines with
      multiple DRM devices and removes the surprising requirement to set the
      LIBVA_DRIVER_NAME environment variable to use libmfx at all.
      468f0038
    • Mark Thompson's avatar
      hwcontext_vaapi: Try to create devices via DRM before X11 · 0b4696fb
      Mark Thompson authored
      Opening the device via X11 (DRI2/DRI3) rather than opening a DRM render
      node directly is only useful if you intend to use the legacy X11 interop
      functions.  That's never true for the ffmpeg utility, and a library user
      who does want this will likely provide their own display instance rather
      than making a new one here.
      0b4696fb
    • Mark Thompson's avatar
      hwcontext_vaapi: Add option to set driver name · 7f3f5a24
      Mark Thompson authored
      For example: -init_hw_device vaapi:/dev/dri/renderD128,driver=foo
      
      This may be more convenient that using the environment variable, and allows
      loading different drivers for different devices in the same process.
      7f3f5a24
    • Mark Thompson's avatar
      hwcontext_vaapi: Make default DRM device selection more helpful · 6b6b8a63
      Mark Thompson authored
      Iterate over available render devices and pick the first one which looks
      usable.  Adds an option to specify the name of the kernel driver associated
      with the desired device, so that it is possible to select a specific type
      of device in a multiple-device system without knowing the card numbering.
      
      For example: -init_hw_device vaapi:,kernel_driver=amdgpu will select only
      devices using the "amdgpu" driver (as used with recent AMD graphics cards).
      
      Kernel driver selection requires libdrm to work.
      6b6b8a63
    • Mark Thompson's avatar
      hwcontext_vaapi: Add option to specify connection type · d2141a9b
      Mark Thompson authored
      Can be set to "drm" or "x11" to force a specific connection type.
      d2141a9b
    • Mark Thompson's avatar
      ffmpeg_hw: Treat empty device string as no device setting · a4448637
      Mark Thompson authored
      The implementation will use some default in this case.  The empty string
      is not a meaningful device for any existing hardware type, and indeed
      OpenCL treats it identically to no device already to work around the lack
      of this setting on the command line.
      a4448637