1. 04 Apr, 2020 5 commits
    • He Junyan's avatar
      libs: bufferproxy: remove GstMemory reference · f1d13d1e
      He Junyan authored
      Since bufferproxy and surface are not referenced circularly, there's
      no need to keep, in the buffer proxy, a reference to the GstMemory
      where it is held. This patch removes that handling.
      f1d13d1e
    • He Junyan's avatar
      libs,plugin: break surface-bufferproxy circular reference · e54671d4
      He Junyan authored
      The bufferproxy may reference the surface and the surface may also
      reference the bufferproxy, producing a circular reference, which might
      lead to serious resource leak problems.
      
      Now make the relationship clearer, the bufferproxy's references is
      transfered to surface, while bufferproxy just keeps the surface's
      address without increasing its reference count.
      
      The surface can be created through a bufferproxy like in
      gst_vaapi_surface_new_with_dma_buf_handle(), and the surface might
      get its bufferproxy via gst_vaapi_surface_get_dma_buf_handle(). In
      both cases the surface holds a bufferproxy's reference.
      e54671d4
    • He Junyan's avatar
      c80668c3
    • He Junyan's avatar
      plugin: bufferpool: use hashmap to cache dmabuf mem-surface · ce3bf2c2
      He Junyan authored
      The old way of refer memory by bufferproxy is not a good one, since it
      make the logic error prone.
      
      Now it is established a map between surface-bufferproxy and its GstMemory,
      caching the memory bound by a surface looked for the specified surface.
      ce3bf2c2
    • He Junyan's avatar
      plugin: bufferpool: Delete ACQUIRE_FLAG_NO_ALLOC flag. · 77018448
      He Junyan authored
      Delete the GST_VAAPI_VIDEO_BUFFER_POOL_ACQUIRE_FLAG_NO_ALLOC flag.
      In fact, no one is using that flag, and all vaapi buffers should
      have GstVaapiVideoMeta.
      77018448
  2. 03 Apr, 2020 2 commits
  3. 02 Apr, 2020 2 commits
  4. 31 Mar, 2020 1 commit
  5. 27 Mar, 2020 2 commits
  6. 22 Mar, 2020 1 commit
    • Víctor Manuel Jáquez Leal's avatar
      build: Add meson's option package-origin. · 4c9f4943
      Víctor Manuel Jáquez Leal authored
      This options is added to synchronize with other gstreamer packages
      build configuration.
      
      Though, to avoid breaking distro configuration it is set, as default,
      the issues gitlab's url, instead of the used string
      "Unkown package origin".
      
      Also, set_quoted is used for string based cdata.
      4c9f4943
  7. 20 Mar, 2020 3 commits
  8. 19 Mar, 2020 1 commit
    • U. Artie Eoff's avatar
      libs: encoder: set VA HRD param before RC param · 861b4cc4
      U. Artie Eoff authored
      This is a workaround for intel-media-driver bug
      https://github.com/intel/media-driver/issues/865
      
      The driver will force the RC method to CBR for HEVCe
      when it parses the HRD param.  Thus, any RC method
      param submitted "prior" to the HRD param will be lost.
      Therefore, VBR, ICQ and QVBR for HEVCe can't be
      effectively enabled if the RC method param "precedes"
      the HRD param.
      
      To work around this issue, set the HRD param before
      the RC method param so the driver will parse the RC
      method param "after" the HRD param.
      
      Afaict, other codecs in the driver (and other drivers)
      do not appear to be dependent on the order of HRD and
      RC param submission.
      861b4cc4
  9. 17 Mar, 2020 4 commits
  10. 09 Mar, 2020 1 commit
    • He Junyan's avatar
      test: fix a ninja test failure for vaapioverlay. · 5eb87165
      He Junyan authored
      That test case only works with drm display, so the build such as
      
      meson -Dwith_x11=yes -Dwith_wayland=no -Dwith_drm=no -Dwith_egl=no
      -Dwith_glx=no
      
      gets a failure when run ninja test. Just enable this test when drm
      is enabled.
      5eb87165
  11. 06 Mar, 2020 2 commits
  12. 05 Mar, 2020 2 commits
  13. 04 Mar, 2020 1 commit
  14. 28 Feb, 2020 5 commits
  15. 23 Feb, 2020 4 commits
  16. 22 Feb, 2020 3 commits
  17. 21 Feb, 2020 1 commit