From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id B70ED49481
	for <ffmpegdev@gitmailbox.com>; Sat, 29 Mar 2025 18:37:11 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 89A80687C26;
	Sat, 29 Mar 2025 20:37:07 +0200 (EET)
Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com
 [209.85.214.176])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9B592687BDA
 for <ffmpeg-devel@ffmpeg.org>; Sat, 29 Mar 2025 20:37:01 +0200 (EET)
Received: by mail-pl1-f176.google.com with SMTP id
 d9443c01a7336-22409077c06so95831055ad.1
 for <ffmpeg-devel@ffmpeg.org>; Sat, 29 Mar 2025 11:37:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1743273420; x=1743878220; darn=ffmpeg.org;
 h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from
 :references:in-reply-to:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=W5QgkNB2pJkKLIT8p01PEYHzrWbEQvk9YiZ3E80L9zU=;
 b=M7NreHyzxwtrT9hTuA1nAfaMg5/IHSh25ORDIEHeEri9QXZKVRm+rtS8JnNAO6b7dt
 IVtCUwrrzk0HfMq3mJ4s+O7Gf6r9il/l+F6taJq3FsKQH9yQydkBXejHhnWVREsXZKgu
 c/zPnb0+Lz12lHSs8nm9Kkv939w51vwVuL0qsyNRCh+DntmiUUl9O4/nB3fdW7Uoc5U4
 GEbcG4gf0ihnIIr/KxRkMREIGdIvGTTT//K98XGYlGlBaOKHbRZtwzDJNz+iSxtmp8BB
 h/I9W2VXq1j2N+iaUewRmklybuogGeKX7A9NTA5ykpUc+8l5nSL3ywzNl0+1igV/RJfi
 r1mw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1743273420; x=1743878220;
 h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from
 :references:in-reply-to:message-id:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=W5QgkNB2pJkKLIT8p01PEYHzrWbEQvk9YiZ3E80L9zU=;
 b=kG+PVHG93UTa8VvCuGx2BdzNdGH7yhq+FHX2DRnvW1MEDDJFXndPQv14PER1fE/GeB
 RkTmUO2Ko7oneSR0JyLxqQ1tYv1mbTiOWknVcVV3DwWwx9/R403AyoG4ZKtqNvVb4s0S
 1GkRJLuvPIrQ6MQRpfw5IPcXFp+0NJ/aIFyf/EK8C3yu+RH7uzlwaGYUwIddVUbySbsK
 twXq1ibLRofs+RNTarTITJHeLmStbO3GwItavzt3ePUvpByr1FNbmdSMcU2FgTbyEyKM
 gdN7VYag978eUQwnMxHhtCE+8GtHGzkiWmXOuuXoUuKFN+NJwhRvDweCeIpKEWd0TN+X
 uUAQ==
X-Gm-Message-State: AOJu0YxMuJKsojykSkUGniZqyMEnfcX9f8nM9+7IJAQdO08imHURP2o4
 uR2NlaRR+f8qoDhosoY8hR1nTVVtZfkS3BRr2NvTxi49/oRqvd/Qkbo6NA==
X-Gm-Gg: ASbGnct6l8X88mx2a0PN6InDYUkkOs1/pbB7VJLGFW9WrDVEAtNcRCeQ7Cq+d3Dwp3O
 oICrXzxFk+cIRZBduzmuGdF7bfA7YdqWUj3fgsXDMcJKXAarHqrw5Q9kXjLupNMh8C4uIv7sCvG
 ugpMMKAG1Xcqh8aK9fK3eIEqnL4iz7+ULA0pkVRGVXdTkWvyvXoPoIhT4C8iEo1c1RLHn6TwEOs
 b/aOAjyLVMYI3HcWkTul0m3EEMBiw0T7r4NWT4H/LQkdsfHMUgkxTrs2D1uIPcjkxeztrTCBs+d
 Vfj7Zb8VotWpIEw583e3LhviYCN8IzgKQh9Tzc/YDnNqJ3/Gmythirj7ooW/9go=
X-Google-Smtp-Source: AGHT+IEnhavnEFP09LVU2WKrRBKFFYk74EMJ+DS2CUIsbVHuGABwmw2VPXI/05Ug5XwM+ar0yYf98g==
X-Received: by 2002:a17:903:2445:b0:223:2aab:4626 with SMTP id
 d9443c01a7336-2292f94a1e1mr57257845ad.11.1743273419856; 
 Sat, 29 Mar 2025 11:36:59 -0700 (PDT)
Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-2291f1ecbc9sm39317525ad.215.2025.03.29.11.36.59
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 29 Mar 2025 11:36:59 -0700 (PDT)
Message-Id: <pull.61.v2.ffstaging.FFmpeg.1743273413.ffmpegagent@gmail.com>
In-Reply-To: <pull.61.ffstaging.FFmpeg.1741757838.ffmpegagent@gmail.com>
References: <pull.61.ffstaging.FFmpeg.1741757838.ffmpegagent@gmail.com>
From: ffmpegagent <ffmpegagent@gmail.com>
Date: Sat, 29 Mar 2025 18:36:51 +0000
Fcc: Sent
MIME-Version: 1.0
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] [PATCH v2 0/2] Improve HWDeviceContext logging
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: softworkz <softworkz@hotmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/pull.61.v2.ffstaging.FFmpeg.1743273413.ffmpegagent@gmail.com/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

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)


V2
==

 * Resolved merge conflicts
 * PING

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: 5fac8d062d2bfe74b8844dd2538137b087b985e5
Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-61%2Fsoftworkz%2Fsubmit_hwdevice_logging-v2
Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-61/softworkz/submit_hwdevice_logging-v2
Pull-Request: https://github.com/ffstaging/FFmpeg/pull/61

Range-diff vs v1:

 1:  6213faa209 ! 1:  3547fc2de7 avutil/log,hwcontext: Add AV_CLASS_CATEGORY_HWDEVICE
     @@ Commit message
          Signed-off-by: softworkz <softworkz@hotmail.com>
      
       ## doc/APIchanges ##
     -@@ doc/APIchanges: The last version increases of all libraries were on 2024-03-07
     +@@ doc/APIchanges: The last version increases of all libraries were on 2025-03-28
       
       API changes, most recent first:
       
     -+2025-03-12 - xxxxxxxxxx - lavu 59.60.100 - log.h
     ++2025-03-12 - xxxxxxxxxx - lavu 60.1.100 - log.h
      +  Add AV_CLASS_CATEGORY_HWDEVICE.
      +
     - 2025-03-10 - xxxxxxxxxx - lavu 59.59.100 - pixfmt.h
     -   Add AV_PIX_FMT_YAF16BE, AV_PIX_FMT_YAF16LE, AV_PIX_FMT_YAF32BE,
     -   and AV_PIX_FMT_YAF32LE.
     + 2025-03-17 - xxxxxxxxxx - lavu 59.60.100 - pixfmt.h
     +   Add AV_PIX_FMT_GBRAP32BE and AV_PIX_FMT_GBRAP32LE.
     + 
      
       ## libavutil/hwcontext.c ##
      @@ libavutil/hwcontext.c: enum AVHWDeviceType av_hwdevice_iterate_types(enum AVHWDeviceType prev)
     @@ libavutil/version.h
      @@
        */
       
     - #define LIBAVUTIL_VERSION_MAJOR  59
     --#define LIBAVUTIL_VERSION_MINOR  59
     -+#define LIBAVUTIL_VERSION_MINOR  60
     + #define LIBAVUTIL_VERSION_MAJOR  60
     +-#define LIBAVUTIL_VERSION_MINOR   0
     ++#define LIBAVUTIL_VERSION_MINOR   1
       #define LIBAVUTIL_VERSION_MICRO 100
       
       #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
 2:  92fe05ca35 = 2:  600d0e65a4 avutil/hwcontext: Add item_name function for AVHWDeviceContext

-- 
ffmpeg-codebot
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".