[mythtv-commits] [MythTV/mythtv] fdd0e9: MythAVUtil: NV12 destination format is not supported

Mark Kendall noreply at github.com
Fri Mar 15 11:40:49 UTC 2019


  Branch: refs/heads/devel/2019-render
  Home:   https://github.com/MythTV/mythtv
  Commit: fdd0e9edeaaffdda773537de14b435b262a463c3
      https://github.com/MythTV/mythtv/commit/fdd0e9edeaaffdda773537de14b435b262a463c3
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-03-15 (Fri, 15 Mar 2019)

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

  Log Message:
  -----------
  MythAVUtil: NV12 destination format is not supported


  Commit: 9d4b448a541d1f4a8a2ebc2df2a9067a6a64984c
      https://github.com/MythTV/mythtv/commit/9d4b448a541d1f4a8a2ebc2df2a9067a6a64984c
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-03-15 (Fri, 15 Mar 2019)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideotexture.cpp
    M mythtv/libs/libmythtv/mythvideotexture.h
    M mythtv/libs/libmythui/mythrender_opengl.cpp

  Log Message:
  -----------
  MythVideoTexture: Support software NV12 textures

- rendering support is already available (as needed for hardware frames)
- this adds support for creating and uploading NV12 frames directly
which in the short term is useful for direct rendering of VideoToolBox
decoded frames (decode only) and in the longer term will be part of a
suite of supported direct rendering formats.


  Commit: c755f0db4045ec16f57cc8742259ac3a8520214e
      https://github.com/MythTV/mythtv/commit/c755f0db4045ec16f57cc8742259ac3a8520214e
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-03-15 (Fri, 15 Mar 2019)

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

  Log Message:
  -----------
  MythVideoTexture: Use GL_RED for YV12 texture data format

- GL_LUMINANCE is deprecated in more modern GLs


  Commit: 3d72cc54197e54fb694dab34e13b65359f9ecb45
      https://github.com/MythTV/mythtv/commit/3d72cc54197e54fb694dab34e13b65359f9ecb45
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-03-15 (Fri, 15 Mar 2019)

  Changed paths:
    M mythtv/libs/libmythtv/mythframe.cpp
    M mythtv/libs/libmythtv/mythframe.h
    M mythtv/libs/libmythtv/mythvideotexture.cpp
    M mythtv/libs/libmythtv/mythvideotexture.h

  Log Message:
  -----------
  MythVideoTexture: Optimise YV12 and NV12 texture uploads

- use GL_UNPACK_ROW_LENGTH to handle different pitches instead of
creating a software buffer and copying.
- remove bogus attempt at optimisation for YV12 to YUYV conversion.
- make MythFrame::copyplane private again


Compare: https://github.com/MythTV/mythtv/compare/8bf831e474e2...3d72cc54197e


More information about the mythtv-commits mailing list