[mythtv-commits] [MythTV/mythtv] fba3e8: MythVideoOutputVulkan: Move visualiser preparation...

Mark Kendall noreply at github.com
Thu Sep 17 15:55:46 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: fba3e8f074b22658d0fdf005aa96b04813d28f37
      https://github.com/MythTV/mythtv/commit/fba3e8f074b22658d0fdf005aa96b04813d28f37
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideooutgpu.cpp
    M mythtv/libs/libmythtv/mythvideooutgpu.h
    M mythtv/libs/libmythtv/vulkan/mythvideooutputvulkan.cpp

  Log Message:
  -----------
  MythVideoOutputVulkan: Move visualiser preparation into Vulkan code


  Commit: e4ce9d4bfbecb44cc2f8ffa63659ef8b1b67bd2d
      https://github.com/MythTV/mythtv/commit/e4ce9d4bfbecb44cc2f8ffa63659ef8b1b67bd2d
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideooutgpu.cpp
    M mythtv/libs/libmythtv/mythvideooutgpu.h
    M mythtv/libs/libmythtv/opengl/mythvideooutopengl.cpp
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/videoouttypes.h
    M mythtv/libs/libmythtv/vulkan/mythvideooutputvulkan.cpp

  Log Message:
  -----------
  Video: Drop support for stereo video overlays (i.e. OSD)

- with no metadata signalling to the TV, the chances of anyone actually
watching 3D content properly are next to none
- has never been fully implemented
- probably rarely actually used
- we can never support all 3D types (Only Side by Side and Top and
Bottom are realistic)
- 3D popularity has (predictably) crashed
- it's complicating the code for no obvious benefit


  Commit: 116a2d7a735920ad674dc39f6815cfd219efd3e0
      https://github.com/MythTV/mythtv/commit/116a2d7a735920ad674dc39f6815cfd219efd3e0
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideooutgpu.cpp
    M mythtv/libs/libmythtv/mythvideooutgpu.h
    M mythtv/libs/libmythtv/opengl/mythvideooutopengl.cpp
    M mythtv/libs/libmythtv/vulkan/mythvideooutputvulkan.cpp

  Log Message:
  -----------
  MythVideoOutputGPU: Rename RenderFrameGPU to RenderFrame (override)


  Commit: 12a10b1e8513cfd3ccaf1bf50effeb0736b247e3
      https://github.com/MythTV/mythtv/commit/12a10b1e8513cfd3ccaf1bf50effeb0736b247e3
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideooutgpu.cpp
    M mythtv/libs/libmythtv/mythvideooutgpu.h
    M mythtv/libs/libmythtv/opengl/mythvideooutopengl.cpp
    M mythtv/libs/libmythtv/vulkan/mythvideooutputvulkan.cpp

  Log Message:
  -----------
  MythVideoOutputGPU: Rename ProcessFrameGPU to PrepareFrame (override)


  Commit: 4b73860db80633dbd0e80798814150f0b34574b0
      https://github.com/MythTV/mythtv/commit/4b73860db80633dbd0e80798814150f0b34574b0
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythui/opengl/mythpainteropengl.cpp

  Log Message:
  -----------
  macOS video: Fix scaling of OSD

- we were unconditionally applying the pixel ratio scaling when
rendering images but scaling isn't required for the OSD - as the video
classes operate on the underlying pixel sizing

Refs #206


  Commit: fbca698b9f08cbe743d8842bc6022f7a80517f7c
      https://github.com/MythTV/mythtv/commit/fbca698b9f08cbe743d8842bc6022f7a80517f7c
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

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

  Log Message:
  -----------
  macOS video: Fix scaling of video after an input change (high dpi)

- when the display is using high DPI, after an input change we re-init
MythVideoBounds but with the current display rectangle; that has already
been scaled for high DPI - leading to a doubling of the display
rectangle on each input change and a halving of the displayed video.
- reset MythVideoBounds using its 'raw' window rect - which will then
have the scaling applied again - and all is good
- should only affect macos with high dpi in use

Refs #206


  Commit: 726e936c1ae6fb06d811efa8e198d822499177f7
      https://github.com/MythTV/mythtv/commit/726e936c1ae6fb06d811efa8e198d822499177f7
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythui/opengl/mythpainteropengl.cpp
    M mythtv/libs/libmythui/opengl/mythpainteropengl.h

  Log Message:
  -----------
  MythOpenGLPainter: Minor cleanup


  Commit: 9e1741e50d08b9901164abae43e435cb420a819f
      https://github.com/MythTV/mythtv/commit/9e1741e50d08b9901164abae43e435cb420a819f
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideooutgpu.cpp
    M mythtv/libs/libmythtv/mythvideooutgpu.h
    M mythtv/libs/libmythui/libmythui.pro
    M mythtv/libs/libmythui/mythpainter.cpp
    M mythtv/libs/libmythui/mythpainter.h
    A mythtv/libs/libmythui/mythpaintergpu.cpp
    A mythtv/libs/libmythui/mythpaintergpu.h
    M mythtv/libs/libmythui/mythpainterwindow.cpp
    M mythtv/libs/libmythui/opengl/mythpainteropengl.cpp
    M mythtv/libs/libmythui/opengl/mythpainteropengl.h
    M mythtv/libs/libmythui/vulkan/mythpaintervulkan.cpp
    M mythtv/libs/libmythui/vulkan/mythpaintervulkan.h

  Log Message:
  -----------
  libmythui: Add MythPainterGPU

- base class for functionality shared between MythPainterVulkan and
MythOpenGLPainter


  Commit: 9419cf7bb463500ff51469e2a5059660c60203eb
      https://github.com/MythTV/mythtv/commit/9419cf7bb463500ff51469e2a5059660c60203eb
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythui/mythpainter.h

  Log Message:
  -----------
  MythPainter: Remove unused code


  Commit: 88add49a414aed581ae81ddaceb05376c146df74
      https://github.com/MythTV/mythtv/commit/88add49a414aed581ae81ddaceb05376c146df74
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideooutgpu.cpp
    M mythtv/libs/libmythui/mythpaintergpu.cpp
    M mythtv/libs/libmythui/mythpaintergpu.h
    M mythtv/libs/libmythui/opengl/mythpainteropengl.cpp
    M mythtv/libs/libmythui/vulkan/mythpaintervulkan.cpp

  Log Message:
  -----------
  High DPI scaling: Fix displaying the ProgramGuide when embedded

- previously, when playing video, we disabled framebuffer clearing,
setting of the viewport and any high dpi scaling in the painter.
- when high dpi was being used, this broke rendering of the programme
guide etc
- we now differentiate beween control over the framebuffer and the
viewport, and allow the painter to set the viewport (and scaling) when
embedding - and the guide is rendered correctly


  Commit: 8b92bbef4476698fc0f451a67b9f8f09fa513478
      https://github.com/MythTV/mythtv/commit/8b92bbef4476698fc0f451a67b9f8f09fa513478
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideobounds.cpp
    M mythtv/libs/libmythtv/mythvideobounds.h
    M mythtv/libs/libmythtv/mythvideoout.h
    M mythtv/libs/libmythtv/mythvideooutgpu.cpp
    M mythtv/libs/libmythtv/mythvideooutgpu.h

  Log Message:
  -----------
  MythVideoOutput: Move stereo tracking into MythVideoBounds


  Commit: 8bb3d0783c81508b6164677840a522b7e9c5363c
      https://github.com/MythTV/mythtv/commit/8bb3d0783c81508b6164677840a522b7e9c5363c
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideobounds.h
    M mythtv/libs/libmythtv/mythvideogpu.cpp
    M mythtv/libs/libmythtv/mythvideogpu.h
    M mythtv/libs/libmythtv/mythvideooutgpu.cpp
    M mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp
    M mythtv/libs/libmythtv/opengl/mythopenglvideo.h
    M mythtv/libs/libmythtv/tv_actions.h
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h
    M mythtv/libs/libmythtv/videoouttypes.h
    M mythtv/libs/libmythtv/vulkan/mythvideovulkan.cpp
    M mythtv/libs/libmythtv/vulkan/mythvideovulkan.h
    M mythtv/programs/mythfrontend/globalsettings.cpp

  Log Message:
  -----------
  MythVideoOutput: Automatically discard second 3D field

- works for side by side and top and bottom only
- only works if the source material has the correct metadata (i.e.
FFmpeg recognises the source as 3D)
- the default setting is to discard one field when detected
- if it is misdetected or cannot be detected, the behaviour can still be
overriden via the on screen menu (and associated actions/keybindings)


Compare: https://github.com/MythTV/mythtv/compare/5d2422ae4b48...8bb3d0783c81


More information about the mythtv-commits mailing list