From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id A7AD1490C0 for ; Fri, 2 Feb 2024 08:41:59 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8F71568D0ED; Fri, 2 Feb 2024 10:41:56 +0200 (EET) Received: from haasn.dev (haasn.dev [78.46.187.166]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 39EEF68C15D for ; Fri, 2 Feb 2024 10:41:50 +0200 (EET) Received: from haasn.dev (unknown [10.30.0.2]) by haasn.dev (Postfix) with ESMTP id D67254BBCC; Fri, 2 Feb 2024 09:41:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=haasn.xyz; s=mail; t=1706863309; bh=TM6kCnqupv5JPG+lE+KmoG2uwG28qmlyWGw6majKuas=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=vz/qaQMsM/7V4P40UTN+U1YUkCJY4QH8LBo7gru7N9I3JgWUUg4AphIkR3BCaAboc JgbcC2z94nojk6LNFZ/o6B0bKoXnrouenAj+YdhpJn5qB5RKrWHCqLNsJCv2D0k7XW pR2jMJYxtN0VlCqCqbxm4ZNszroBM9Nvhu4l4mAY= Date: Fri, 2 Feb 2024 09:41:49 +0100 Message-ID: <20240202094149.GB6092@haasn.xyz> From: Niklas Haas To: ffmpeg-devel@ffmpeg.org In-Reply-To: <20240202011051.46786-1-connorbworley@gmail.com> References: <20240202011051.46786-1-connorbworley@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Subject: Re: [FFmpeg-devel] [PATCH v2 1/2] lavc/texturedsp: fix premult2straight inversion X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Connor Worley Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Thu, 01 Feb 2024 17:10:50 -0800 Connor Worley wrote: > + src[0] = (uint8_t) FFMIN(r * 255 / a, 255); > + src[1] = (uint8_t) FFMIN(g * 255 / a, 255); > + src[2] = (uint8_t) FFMIN(b * 255 / a, 255); av_clip_uint8? _______________________________________________ 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".