[mythtv-commits] [MythTV/mythtv] 3a4da2: MythOpenGLVideo: Fix chroma sampling for multiplan...

Mark Kendall noreply at github.com
Thu Jun 18 10:27:39 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 3a4da22e3b1fa941d3495a6950ef6e5a6bfef7ab
      https://github.com/MythTV/mythtv/commit/3a4da22e3b1fa941d3495a6950ef6e5a6bfef7ab
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp

  Log Message:
  -----------
  MythOpenGLVideo: Fix chroma sampling for multiplanar formats when
resizing

- we need GL_NEAREST for YUY2 and when using unsigned integers texture
formats (GLES3.X for 10bit)
- but it introduces some sampling errors for the chroma planes as, while
the textures are not being resized for the first pass, the chroma planes
are a different size to the main texture.
- so where possible, use GL_LINEAR to filter the chroma planes and
improve playback quality in the bulk of cases.


  Commit: a2f654424ee8ed4dd8e0c41a046ad938330a3094
      https://github.com/MythTV/mythtv/commit/a2f654424ee8ed4dd8e0c41a046ad938330a3094
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp

  Log Message:
  -----------
  MythOpenGLVideo: Minor cleanup


  Commit: aaf6829cd45dad20cbf8dcbfe54fed82f3bc577c
      https://github.com/MythTV/mythtv/commit/aaf6829cd45dad20cbf8dcbfe54fed82f3bc577c
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M mythtv/libs/libmythtv/opengl/mythopenglvideoshaders.h
    M mythtv/libs/libmythtv/videocolourspace.cpp
    M mythtv/libs/libmythtv/videocolourspace.h

  Log Message:
  -----------
  VideoPlayback: Handle chroma sampling location (left or center only)

- a minor improvement to playback quality, only really noticeable for
upscaled SD content.
- only left (or center) sampling is handled. Otherwise I can only find
422 samples that use top left - but they 'look' better with just left...


  Commit: 33fa19e50111cb2b85726645770b331d4c46af51
      https://github.com/MythTV/mythtv/commit/33fa19e50111cb2b85726645770b331d4c46af51
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M mythtv/libs/libmythui/mythdisplay.cpp
    M mythtv/programs/mythfrontend/globalsettings.cpp

  Log Message:
  -----------
  MythDisplay: Assume 'square pixels' for default display aspect ratio
calculation

- the default (for new installations) now assumes display pixels are
square (i.e. have an aspect ratio of 1) - which means we can calculate
the display aspect ratio from the resolution (which was previously a
fallback).
- behaviour for existing installations will be unchanged
- square pixels are now the norm for the vast majority of displays and
using the screen resolution to calculate the aspect ratio avoids small
rounding errors from using the EDID and incorrect aspect ratios from
broken/misleading EDIDs.
- refs #13548


  Commit: 43714e821ba5e53a4e3e9726c658fb4b2aaeccea
      https://github.com/MythTV/mythtv/commit/43714e821ba5e53a4e3e9726c658fb4b2aaeccea
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/mythvdpaucontext.cpp
    M mythtv/libs/libmythtv/decoders/mythvdpauhelper.cpp

  Log Message:
  -----------
  VDPAU: Further extend debug logging of support tests


  Commit: d3378789e99f00ec9c2b911cc244ffec6b82b6d6
      https://github.com/MythTV/mythtv/commit/d3378789e99f00ec9c2b911cc244ffec6b82b6d6
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayer.cpp

  Log Message:
  -----------
  MythPlayer: Use yadif for deinterlacing previews (regression)

- the cpu deinterlacers were re-factored shortly before v31 and yadif is
now 'high' quality


Compare: https://github.com/MythTV/mythtv/compare/3adb5daef8cd...d3378789e99f


More information about the mythtv-commits mailing list