Message ID | 20211224030904.1196-8-rcombs@rcombs.me |
---|---|
State | Accepted |
Commit | df9180d8a072ac86ced8930a5d6bd0e61e314749 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:cd86:0:0:0:0:0 with SMTP id d128csp7805335iog; Thu, 23 Dec 2021 19:11:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVNUNjQSyuLaLZGilc37RvHFGw3g/ZWxA1h8KupVjf0EaVFc4eBt0u6QXTdV+SlktUBqZd X-Received: by 2002:a17:906:3ed0:: with SMTP id d16mr3820031ejj.636.1640315465697; Thu, 23 Dec 2021 19:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1640315465; cv=none; d=google.com; s=arc-20160816; b=vgxn2J1UL0vGVOafz9GaacsCwlIYziWNZV33sCxcFSEPFCxtyFLnrk6ifvAORdEEKC Db/KdLWjquacQpii1MCbdq6N6kI7fLyCi5q5gTlFeh2R8nPO7TvK4aq2p/a4Jsq1/lFQ uA3UNIpBC8Hbhx85S2Ema4u1C7pwyOUkSdrsZqVyopI+q0ZvCJnujkAyf8PYkYcpUINm 48GkI62RksGvoxyH/emiapCImx1i3v/C5+7PEeidnfFy0sNXWvi8G2eV/IORxcyHshgO l2d08UKQQUPoQFCixwjNHJRUBOIRla1mTgrKubbgYEQqyPeoVyjjMy8bLePwRMtcnTzS 5LwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=zOy6Liz6Yhcb8oyz3V5A2Z1FN6Gx0gh4Ergk76uIya4=; b=0yX8C+mAUeggf38FjhhT0ruuP3vaOTbs4RNJ7ROmGeeslLDlw+HT9XLtQj1zKKOVyC OjHyZiueW1Rrm4MOaM0PKiExR5EkzCvgXbgv1JCUDkTa3QAbmIn1XCxhNtbQMfzA4/FC xaVRvYeNAMLGSXWqlUW8GKx0+/UN7iZ4vV46rDsK13iVnu43599dPSPshjaKLTVMcsAx iLzMoJlg9AkfgV04XlaV33W/sIvRuwr2H9uXIjE0hMabh4nUvuL7/x1iTUFNlQyg0p+k B4damBN/XrkC0SEmpOPi7VtGiarUdSEEerIdhIsu8DenBPijrVtnLHLAE8fQ1DbvkAPO gnSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@rcombs.me header.s=google header.b=E3mySPQp; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=rcombs.me Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id p6si2761677ejy.187.2021.12.23.19.11.05; Thu, 23 Dec 2021 19:11:05 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@rcombs.me header.s=google header.b=E3mySPQp; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=rcombs.me Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CEFB668B209; Fri, 24 Dec 2021 05:09:33 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9C8C068B20B for <ffmpeg-devel@ffmpeg.org>; Fri, 24 Dec 2021 05:09:21 +0200 (EET) Received: by mail-qv1-f51.google.com with SMTP id kk22so6847554qvb.0 for <ffmpeg-devel@ffmpeg.org>; Thu, 23 Dec 2021 19:09:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rcombs.me; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=rh3Xr5S/Sr0MW7aJ4sMm5lz04rR5W1MVSZhYCra6eSk=; b=E3mySPQpLbX6w84DjWLXwXr1gK/KcgDyi0MRPbhrAa2dwOA+gnjgDfEEuP5cMWgTSm voVhmb1dVO5cKsqZA3yxTU/VAuvVJzoYqFQyrciUADdOg+3DqMNYmoiclitAL5SeAtnD 76TJryx2D6PwMY/ve4zOKb5PlBwladYzvyH/GilNdwFtGzl3Iya9Xp2KlS818AKpKs8N NDoFCMuXFT00C57hf+dLHYbI896CKykn1VZUZXEnhK9GoBV9TZppbqUS1o3faUK4lo71 9RqGUjSc7wQr4QgbHYw9R2Z7mpIyD19AZRm3vi/M+uR46eHOwW8bpmOs5fjiCyd7yPBG itCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rh3Xr5S/Sr0MW7aJ4sMm5lz04rR5W1MVSZhYCra6eSk=; b=0MFgUF87dUc3hux9kWOhRhNSat1P2bBL9QR63lCF2p+qTr3u4JNrXVhFR3G3yI3o48 CFr+CD3XTxY3JMFyau/53xpg65bfFWGlEPakoBDR5nmHE0eWtoCDC+Gj9rBw6vK58UEn bNJpX3wi0nx4mi5Ton/1VTI2fQjasCWTQBs1WPavkfSohxi24UgPqA13oUnUNK7CZJPb BetEusYXj2/JGlWd0v1cZk24lu/BZUNP/j2n+/QgzI9+sHsDdjKbDbOhSGqQrGYyq5uq rKvl1Y50iyr53XZkkIrO3P0r5+hXZW+GDDCpcsPXS8dfkjI73uVdoloTfzP5vgjj4oZM F19Q== X-Gm-Message-State: AOAM533fGbIGP1MXTjTojSNLLGtxoWV3KGVffLQzj0ysg21yATyH9KxO UMoxAPtrjOKl4JtMRZoTyo5wHeBiHZxpr60= X-Received: by 2002:a05:6214:1c0d:: with SMTP id u13mr4375605qvc.46.1640315360071; Thu, 23 Dec 2021 19:09:20 -0800 (PST) Received: from rcombs-mbp.localdomain ([2601:243:2000:5ac:cd8d:58a:de7b:88f1]) by smtp.gmail.com with ESMTPSA id e15sm5162479qtq.83.2021.12.23.19.09.19 for <ffmpeg-devel@ffmpeg.org> (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 23 Dec 2021 19:09:19 -0800 (PST) From: rcombs <rcombs@rcombs.me> To: ffmpeg-devel@ffmpeg.org Date: Thu, 23 Dec 2021 21:08:55 -0600 Message-Id: <20211224030904.1196-8-rcombs@rcombs.me> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211224030904.1196-1-rcombs@rcombs.me> References: <20211224030904.1196-1-rcombs@rcombs.me> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 07/16] swscale/output: use isSwappedChroma 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> 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> X-TUID: OIMa5eX1UFJH |
Series |
[FFmpeg-devel,01/16] swscale/output: template-ize yuv2nv12cX 10-bit and 16-bit cases
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | fail | Make fate failed |
diff --git a/libswscale/output.c b/libswscale/output.c index 90f5efa16e..773f3ce059 100644 --- a/libswscale/output.c +++ b/libswscale/output.c @@ -429,8 +429,7 @@ static void yuv2nv12cX_c(enum AVPixelFormat dstFormat, const uint8_t *chrDither, { int i; - if (dstFormat == AV_PIX_FMT_NV12 || - dstFormat == AV_PIX_FMT_NV24) + if (!isSwappedChroma(dstFormat)) for (i=0; i<chrDstW; i++) { int u = chrDither[i & 7] << 12; int v = chrDither[(i + 3) & 7] << 12;