From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 89B6E4C232 for ; Thu, 9 Oct 2025 06:21:04 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'LixWV3WS0j13KyKbJWGX/eV36zc275z9gC+klpj+I94=', expected b'wB7gbYaDh3SCppsLaB+0kwX4KmMABDvJPk/c/SXFAB8=')) header.d=ffmpeg.org header.i=@ffmpeg.org header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1759990857; h=mime-version : to : date : message-id : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=LixWV3WS0j13KyKbJWGX/eV36zc275z9gC+klpj+I94=; b=PQNUGYaGwXRBzYEoR1dWuxfPXo59lGNgIhNjGthRDlqtzxgKAS6U1NJzGlB6NT+g7yYPP E0vy/jSLFqTwGlsuQMAARtc/OE1xRMsjFcVhETFNqIWzIb56zdACIvMTtGst/QoloShcN0l OdCVLaJthq3x+u2AxtaJ/axkpZe0511k2JHlWNPP+L66omRZ3xWpp2LaBYDOz2LpGHB2Zw7 /1Mcxye7MKEoAdm83pzOw4d2nruaUrcRhNqz3fQB4izKJvRsVQUNfD3nwn+jBBexC9HayBI E+kA7yCdHEyT0ACi6opFTtenSSwjwwSC+Mq04L4DLFJfoCWTKy1cEZZ0Zpiw== Received: from [172.18.0.2] (unknown [172.19.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id AA9B068F1B8; Thu, 9 Oct 2025 09:20:57 +0300 (EEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1759990842; b=hXemZU8V/fPjwNkaMJjNDkV9GC4vTpw1TAL61NgoMuqgZUq5iMSsKpuOvARAMDW1nQCT8 Wh59G9/Le52wIoM0F6q5QHPZC7QUBKawlBbg4nekjHcGddGorfR8ueq2bTJJc8hUCsLeNYe nAfdkneGGUHMni01YZQkemXkytJVqktwSF8hxmcrS8M6FbzqqNI3PgxPTXzNiyjRrOXtfcN f+QM1j8snqY2tfdfQowsq71AmcYPLNmYsMA3gAM3RK5X1lV9fF6xP0jYgzWgJrjtsoW7aYC pENfHYTkkpy2ER1q4cOcQ1FQleA0ViN7f5169qaB8v5a776B4zVdbxcHYtZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1759990842; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=T5HF6UINiRj1KxkFvf0oZxCzA1MnyLY6c2D18PS/+vo=; b=lSxwK2cT99mphpXSwfZSLSNNdsNo3dwQkFIT67cDKdg/Qid4sE6SXiz12aMzPRR1OqQBT dnEX7+simFn11uHnync43aENYNtsrA/nyol/rBOi8MrwhxdianfYC/4FCXlJxkDWRi3zYhq JSVgffwOOJg6GwniRrbeXBI9KcOBTHFUjTUISOw22qj20MPK3QoGYn15V3oRsr1GRFQMcXl /IA/rTbQATFXtD5CP8fbfbz2MgGVHh3nPl1rVOd81vrv0hGbtpikT7nKylU8E7L/oxJaj07 CyA1CXs+tcvMzYTRyDnhYGoRiAEK13oybLduu2Zp3fsu1XTFvdoN4VAgDSsg== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none; dmarc=pass header.from=ffmpeg.org policy.dmarc=quarantine Authentication-Results: ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=ffmpeg.org policy.dmarc=quarantine DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1759990835; h=content-type : mime-version : content-transfer-encoding : from : to : reply-to : subject : date : from; bh=wB7gbYaDh3SCppsLaB+0kwX4KmMABDvJPk/c/SXFAB8=; b=eUaLAW47oZu8HWgZxLxeh2F0lESos4ZKqSfoS2xhP5Tgre6VARl9ity37riTb+dsNZ06J e9JaZO4/wkr48M/GXrfvBR5cIJg+zns1Cc/fhjxV/9y9rXNjO7nziBdiQzrAny4H+Mc32PA cLXwpv/lxHxHDGrUYSAk9AEQky364UbkfNPNjnfnSER2CXK2QocH19Narq6Z3MeR5xota23 II02mA0oC1+vr4fk84eZ6PvZr4ykeJ0WjKBib/y36thLnzfL6Ed1jluMXvxT0kvhjZa9dnv ujm3PRdiK/PzZtnqcnN0cDrFf137HJ06aPJHT6nL6HB9CSvaBDBAqO3RI6jw== Received: from be50bb5a3685 (code.ffmpeg.org [188.245.149.3]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 9466A68F11F for ; Thu, 9 Oct 2025 09:20:35 +0300 (EEST) MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Date: Thu, 09 Oct 2025 06:20:35 -0000 Message-ID: <175999083573.65.3595513735076076737@bf249f23a2c8> Message-ID-Hash: 6BU3CZJFMPH4KTBDGEYQJONKCYYSM24K X-Message-ID-Hash: 6BU3CZJFMPH4KTBDGEYQJONKCYYSM24K X-MailFrom: code@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH] WIP: CoreVideo: add support for kCVPixelFormatType_422YpCbCr8_yuvs (PR #20679) List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: timblechmann via ffmpeg-devel Cc: timblechmann Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: PR #20679 opened by timblechmann URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20679 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20679.patch i'd appreciate a second pair of eyes on this patch: it tries to enable support for kCVPixelFormatType_422YpCbCr8_yuvs mapped to AV_PIX_FMT_YUYV422. it is an attempt to fix a bug in qtmultimedia when feeding video frames using kCVPixelFormatType_422YpCbCr8_yuvs into ffmpeg. context: https://bugreports.qt.io/browse/QTBUG-137436 any thoughts if this goes into the correct direction? >>From 7c01c559d47210bcc231d95ee62d5246218a8b15 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Tue, 24 Jun 2025 12:27:05 +0800 Subject: [PATCH] CoreVideo: add support for kCVPixelFormatType_422YpCbCr8_yuvs --- configure | 1 + libavutil/hwcontext_videotoolbox.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/configure b/configure index 7828381b5d..a323492b9b 100755 --- a/configure +++ b/configure @@ -2531,6 +2531,7 @@ TYPES_LIST=" kCVPixelFormatType_444YpCbCr8BiPlanarVideoRange kCVPixelFormatType_444YpCbCr10BiPlanarVideoRange kCVPixelFormatType_444YpCbCr16BiPlanarVideoRange + kCVPixelFormatType_422YpCbCr8_yuvs kCVImageBufferTransferFunction_SMPTE_ST_2084_PQ kCVImageBufferTransferFunction_ITU_R_2100_HLG kCVImageBufferTransferFunction_Linear diff --git a/libavutil/hwcontext_videotoolbox.c b/libavutil/hwcontext_videotoolbox.c index 102fa485e5..2764097413 100644 --- a/libavutil/hwcontext_videotoolbox.c +++ b/libavutil/hwcontext_videotoolbox.c @@ -82,6 +82,9 @@ static const struct { #if HAVE_KCVPIXELFORMATTYPE_444YPCBCR16BIPLANARVIDEORANGE { kCVPixelFormatType_444YpCbCr16BiPlanarVideoRange, false, AV_PIX_FMT_P416 }, #endif +#if HAVE_KCVPIXELFORMATTYPE_422YPCBCR8_YUVS + { kCVPixelFormatType_422YpCbCr8_yuvs, false, AV_PIX_FMT_YUYV422 }, +#endif }; static const enum AVPixelFormat supported_formats[] = { @@ -112,6 +115,9 @@ static const enum AVPixelFormat supported_formats[] = { #endif #if HAVE_KCVPIXELFORMATTYPE_444YPCBCR16BIPLANARVIDEORANGE AV_PIX_FMT_P416, +#endif +#if HAVE_KCVPIXELFORMATTYPE_422YPCBCR8_YUVS + AV_PIX_FMT_YUYV422, #endif AV_PIX_FMT_BGRA, }; -- 2.49.1 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org