[FFmpeg-devel] [PATCH 0/2] Improve HWDeviceContext logging
ffmpegagent
ffmpegagent at gmail.com
Wed Mar 12 07:37:16 EET 2025
This changeset
* adds an av class category for hw device contexts
* assigns a color to it
* adds an item_name function to the av class for hw device context
Before
======
[AVHWDeviceContext @ 00000260A9C63E00] Selecting d3d11va adapter 2
[AVHWDeviceContext @ 00000260A9C63E00] Using device 8086:4c8a (Intel(R) UH..
[AVHWDeviceContext @ 00000260A9BFFC40] Use Intel(R) Media SDK to create MF..
[AVHWDeviceContext @ 00000260A9BFFC40] Initialize MFX session: implementat..
[h264 @ 00000260AC0DC640] Reinit context to 1920x800, pix_fmt: yuv420p
After
=====
[D3D11VA @ 00000184942C25C0] Selecting d3d11va adapter 2 [D3D11VA @
00000184942C25C0] Using device 8086:4c8a (Intel(R) UHD Graphics.. [QSV @
00000184942601C0] Use Intel(R) Media SDK to create MFX session, API.. [QSV @
00000184942601C0] Initialize MFX session: implementation version is.. [h264
@ 00000184964BA9C0] Reinit context to 1920x800, pix_fmt: yuv420p
(..unable to show the terminal color change in plain text e-mail)
softworkz (2):
avutil/log,hwcontext: Add AV_CLASS_CATEGORY_HWDEVICE
avutil/hwcontext: Add item_name function for AVHWDeviceContext
doc/APIchanges | 3 +++
libavutil/hwcontext.c | 9 ++++++++-
libavutil/log.c | 1 +
libavutil/log.h | 1 +
libavutil/version.h | 2 +-
5 files changed, 14 insertions(+), 2 deletions(-)
base-commit: 0b097ed9f141f57e2b91f0704c721a9eff0204c0
Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-61%2Fsoftworkz%2Fsubmit_hwdevice_logging-v1
Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-61/softworkz/submit_hwdevice_logging-v1
Pull-Request: https://github.com/ffstaging/FFmpeg/pull/61
--
ffmpeg-codebot
More information about the ffmpeg-devel
mailing list