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 3D7C648A8D for <ffmpegdev@gitmailbox.com>; Sat, 29 Mar 2025 18:37:22 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DB760687C46; Sat, 29 Mar 2025 20:37:13 +0200 (EET) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 48784687BDA for <ffmpeg-devel@ffmpeg.org>; Sat, 29 Mar 2025 20:37:07 +0200 (EET) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-227b828de00so58927715ad.1 for <ffmpeg-devel@ffmpeg.org>; Sat, 29 Mar 2025 11:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743273425; x=1743878225; darn=ffmpeg.org; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date :references:in-reply-to:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=MWE7mGy6StgCn55Z6HsawaEepHHsXFXbZFQmlg4FZoA=; b=Aa29ar4f27IIHMAEeK3ODSXvFxGUwun+jWJP5Iy9398Sbm1oFG+EYyXGtX4qkQbefT DU20OI4qfJuBSSl2IzUB2/Xeyu+8gYk/CxITV8KS0Vm0Ehe5v7+8ykvpvJqVHc43wEJP K4LvGp1ymlfTsEdOfv8iIU4YVnkI82vFA4zulQrIoLvQ0SEAkcA6FecwyZEnMwuPRen9 2iSFP+EThu3NHJu29NvWsWL2fZ2OIGgHzYiGW8RFJBuyck4YIcxBoHq6pW3XE+tq4gZp DHdo0+1492aF5Y8PqibSuW0uuziq+seMaDbI9daPnT5SndSoUVJPQ41aFW+NYawkGtVf w9Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743273425; x=1743878225; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date :references:in-reply-to:message-id:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=MWE7mGy6StgCn55Z6HsawaEepHHsXFXbZFQmlg4FZoA=; b=kdvMd+Jt9Piq3Yw6p5my5u04tttsWddJle1k45CROJVYfzkfwKzamnh6l+aaFg+KQG 3ZYH65UeduZpvnXRafjI13qe0Dnb5L9bHvb1FzYEuoxL0dxrRM5xAO4t5T43Uhvr3irt LsI7j6Trgogs7jsqM6BX38T9NWoIF0w709pCYHlJ0Y6Rbch4VX52qNT9Bc4aPdJVulli I1/e8odFhM1gQensWvK77C5zTGqdIbWSoBERf2UPBnTCCSBBF+V14LOX2OqnEHP1sMDh cz9uVlT8lSmISr1hNZitdHZZWNT9sZS1XUCNylF+We/daQ3bPGQ3tXzlKdnU/VImVUZq NdxA== X-Gm-Message-State: AOJu0YzdzbDJOEoZG6lwJ/VKYiVCimp7li6xqy/F+rbCju+V8bUoGIll 8cstxwXjrye4zi/rCHwpu+C+6XwItoDQHraN80C6ln1BTpaxWJbDPHbKzg== X-Gm-Gg: ASbGncuGwg1a6rFjLX5eVvCaBdOiBfGzRKcCcwDUIiF8oBRjhtwgaRHN5m/Tn/I4CAH tJZs3xQD+TDNyEKzHkLFzqojw5XA9QaYJpRo3b81V1J3sD/r94LZVtAdtdQVqe1X+MfKfHYWTR9 KxENVYmKiQLdy46dxIRVrtHIW7cymOIXg7ODM+ulkPk1M0APPyHxw6M1FMZ0TrHfpiKMCHNfY8K HyA5ECK0LKYtzmK1c8RxBGdFSkVhXaGhlapOZE5BTsDN2u1sD3uEJ8HaCYkBnaQ4Trv7eNKoZZN KkGqga4Pejm5P+gxFYrC+hyrPdlHWuGw0GuJta8nCfK5IhiNYnN+wD5DGzI8vgr7GCIuBE2sgQ= = X-Google-Smtp-Source: AGHT+IEHnILHmgu8Q5T24PBGB2KUYRPxCoOlUSk9kIotukpTFc0wRbIbdmxBjs6fspz9Wg4Lg3zwqg== X-Received: by 2002:a17:902:f705:b0:220:c066:94eb with SMTP id d9443c01a7336-2292f9747f0mr56555805ad.25.1743273425608; Sat, 29 Mar 2025 11:37:05 -0700 (PDT) Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-739710cce59sm3885329b3a.159.2025.03.29.11.37.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Mar 2025 11:37:05 -0700 (PDT) From: softworkz <ffmpegagent@gmail.com> X-Google-Original-From: softworkz <softworkz@hotmail.com> Message-Id: <3547fc2de716e79cf93640ff983ec155d28c58ae.1743273413.git.ffmpegagent@gmail.com> In-Reply-To: <pull.61.v2.ffstaging.FFmpeg.1743273413.ffmpegagent@gmail.com> References: <pull.61.ffstaging.FFmpeg.1741757838.ffmpegagent@gmail.com> <pull.61.v2.ffstaging.FFmpeg.1743273413.ffmpegagent@gmail.com> Date: Sat, 29 Mar 2025 18:36:52 +0000 Fcc: Sent MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH v2 1/2] avutil/log, hwcontext: Add AV_CLASS_CATEGORY_HWDEVICE 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/3547fc2de716e79cf93640ff983ec155d28c58ae.1743273413.git.ffmpegagent@gmail.com/> List-Archive: <https://master.gitmailbox.com/ffmpegdev/> List-Post: <mailto:ffmpegdev@gitmailbox.com> From: softworkz <softworkz@hotmail.com> Signed-off-by: softworkz <softworkz@hotmail.com> --- doc/APIchanges | 3 +++ libavutil/hwcontext.c | 1 + libavutil/log.c | 1 + libavutil/log.h | 1 + libavutil/version.h | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 401eec0162..dfb4202e67 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -2,6 +2,9 @@ The last version increases of all libraries were on 2025-03-28 API changes, most recent first: +2025-03-12 - xxxxxxxxxx - lavu 60.1.100 - log.h + Add AV_CLASS_CATEGORY_HWDEVICE. + 2025-03-17 - xxxxxxxxxx - lavu 59.60.100 - pixfmt.h Add AV_PIX_FMT_GBRAP32BE and AV_PIX_FMT_GBRAP32LE. diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c index f06d49c45c..276dc9cee6 100644 --- a/libavutil/hwcontext.c +++ b/libavutil/hwcontext.c @@ -140,6 +140,7 @@ enum AVHWDeviceType av_hwdevice_iterate_types(enum AVHWDeviceType prev) static const AVClass hwdevice_ctx_class = { .class_name = "AVHWDeviceContext", .item_name = av_default_item_name, + .category = AV_CLASS_CATEGORY_HWDEVICE, .version = LIBAVUTIL_VERSION_INT, }; diff --git a/libavutil/log.c b/libavutil/log.c index c5ee876a88..2b721aea5a 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -81,6 +81,7 @@ static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = { [16+AV_CLASS_CATEGORY_BITSTREAM_FILTER] = 9, [16+AV_CLASS_CATEGORY_SWSCALER ] = 7, [16+AV_CLASS_CATEGORY_SWRESAMPLER ] = 7, + [16+AV_CLASS_CATEGORY_HWDEVICE ] = 6, [16+AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT ] = 13, [16+AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT ] = 5, [16+AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT ] = 13, diff --git a/libavutil/log.h b/libavutil/log.h index dd094307ce..ac5b08b632 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -37,6 +37,7 @@ typedef enum { AV_CLASS_CATEGORY_BITSTREAM_FILTER, AV_CLASS_CATEGORY_SWSCALER, AV_CLASS_CATEGORY_SWRESAMPLER, + AV_CLASS_CATEGORY_HWDEVICE, AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT = 40, AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT, AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT, diff --git a/libavutil/version.h b/libavutil/version.h index 6d79b303c6..5139883569 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -79,7 +79,7 @@ */ #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, \ -- 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".