1. 01 May, 2019 31 commits
  2. 22 Jan, 2019 1 commit
  3. 11 Jan, 2019 1 commit
    • Wim Taymans's avatar
      video-converter: fix number of allocated lines · 85e0ef9f
      Wim Taymans authored
      We make an allocator for temporary lines and then use this for all
      the steps in the conversion that can do in-place processing.
      
      Keep track of the number of lines each step needs and use this to
      allocate the right number of lines.
      
      Previously we would not always allocate enough lines and we would
      end up with conversion errors as lines would be reused prematurely.
      
      Fixes #350
      85e0ef9f
  4. 11 Nov, 2018 2 commits
    • Sjoerd Simons's avatar
      glupload: dmabuf: be explicit about gl formats used · 2bb37b36
      Sjoerd Simons authored
      Rather then letting gst_gl_memory_setup_buffer guess the GL format used
      for an eglimage after importing a dmabuf be explicit about it. This
      fixes issues where dmabuf import may have used another format then
      gst_gl_format_from_video_info would guess on the basis of the available
      GL extensions.
      
      In particular on etnaviv the gst_gl_format_from_video_info would
      assuming a luminance + alpha GL format is used for YUY2, but the dmabuf
      import will always use RG88. Which causes images to end up somewhat pink when
      displayed on the screen.
      2bb37b36
    • Sjoerd Simons's avatar
      gl/egl: Determine correct format on dmabuf import · 2041434f
      Sjoerd Simons authored
      When importing an egl image from dmabuf gst_gl_format_from_video_info
      was used to work what the result GL format will be. Unfortunately that
      will only work if the conventional format and the choosen DRM fourcc for
      the format match up.
      
      On etnaviv platforms there is no support for GL_EXT_texture_rg, so the
      GL format chosen for YUY2 ends up being GST_GL_LUMINANCE_ALPHA. However
      DRM does not do luminance + alpha as it's a legacy GL thing, so the
      dmabuf import ends up using DRM_FORMAT_GR88.
      
      To fix this, tie the DRM_FORMAT and the GL format together so they
      always match up.
      2041434f
  5. 10 Nov, 2018 1 commit
  6. 08 Nov, 2018 4 commits