[mythtv-commits] [MythTV/mythtv] 0b0d7d: VideoToolBox: Add untested P010 support
Mark Kendall
noreply at github.com
Sat Jun 22 16:46:13 UTC 2019
Branch: refs/heads/devel/2019-render
Home: https://github.com/MythTV/mythtv
Commit: 0b0d7d2a26dd1a9300425a77a579dfeed88faf00
https://github.com/MythTV/mythtv/commit/0b0d7d2a26dd1a9300425a77a579dfeed88faf00
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2019-06-22 (Sat, 22 Jun 2019)
Changed paths:
M mythtv/libs/libmythtv/mythvtbinterop.cpp
Log Message:
-----------
VideoToolBox: Add untested P010 support
- as noted UNTESTED but looks good
- P010 support in FFmpeg is not yet merged into MythTV version
Commit: af37064690dfcb3712f044a272584b5d88ce3541
https://github.com/MythTV/mythtv/commit/af37064690dfcb3712f044a272584b5d88ce3541
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2019-06-22 (Sat, 22 Jun 2019)
Changed paths:
M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
M mythtv/libs/libmythtv/decoders/avformatdecoder.h
M mythtv/libs/libmythtv/decoders/nuppeldecoder.cpp
M mythtv/libs/libmythtv/mpeg/H264Parser.cpp
M mythtv/libs/libmythtv/mpeg/H264Parser.h
M mythtv/libs/libmythtv/mythplayer.cpp
M mythtv/libs/libmythtv/mythplayer.h
M mythtv/libs/libmythtv/mythvaapicontext.cpp
M mythtv/libs/libmythtv/videobuffers.cpp
M mythtv/libs/libmythtv/videobuffers.h
M mythtv/libs/libmythtv/videoout_null.cpp
M mythtv/libs/libmythtv/videoout_null.h
M mythtv/libs/libmythtv/videoout_opengl.cpp
M mythtv/libs/libmythtv/videoout_opengl.h
M mythtv/libs/libmythtv/videooutbase.cpp
M mythtv/libs/libmythtv/videooutbase.h
Log Message:
-----------
VideoBuffers: Optimise number of buffers for reference frames in use
- parse the number of reference frames from the AVCodecContext when
initialising the video stream and pass the value through to the
VideoOutput classes via the player.
- use the H.264 parser to check the number of ref frames (but don't use
it to trigger a stream change)
- use the number of ref frames to determine the number of video buffers.
Only currently impacts VAAPI and software decode.
- HEVC, VP8 and VP9 default to their maximum values (i.e. they are not
parsed - not even sure they can be)
- otherwise the default is 2
This significantly reduces the number of video buffers for a lot of
content - and hence reduces memory consumption.
Compare: https://github.com/MythTV/mythtv/compare/a3b9538eceda...af37064690df
More information about the mythtv-commits
mailing list