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 C1A9B42A92 for ; Wed, 10 Aug 2022 21:37:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A03A168B8A2; Thu, 11 Aug 2022 00:37:10 +0300 (EEST) Received: from btbn.de (btbn.de [136.243.74.85]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E8F2868B748 for ; Thu, 11 Aug 2022 00:37:04 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 9A3032F4146 for ; Wed, 10 Aug 2022 23:37:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1660167424; bh=3cXix66UKXrLjDn/azhB8WoG1m1xiLl1JxSoCYCxwt8=; h=Date:Subject:To:References:From:In-Reply-To; b=AZCs3opK5xed5EytDD5kcnFMZMbsH4uQ5BkogXzQuPJGv1ZGC1rXTZb6Y9v+nq2AJ NjSUkYIfBD8Zwr7Ge2qi2PSRm65pNF4FAO6MF8QRkPR245K/CEl8tgSUp2aL7uEVbC yioxO/46GQMMscB+737rZ2tToXSyWPJyQ4jgotJrcPF4Pts9CEbbUWSCyHypaqtCwE 7vTp9McFryMm8tQU2v6R2bW1YWh8yWDXS+njxPz5je3Lq6dXLLjDG4ma0AvzgAjmoQ 8QF+SYTBJkaGPiaaQ+JVOkwhsJSMnrOZfqJ5nEjA19SwGOG8viS2OXRyfWO54lyx8E k3tjNg/r7HjWA== Message-ID: <2e8563ba-e9e8-a000-52ad-8d554dabece2@rothenpieler.org> Date: Wed, 10 Aug 2022 23:37:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20220810204712.3123-1-timo@rothenpieler.org> <20220810204712.3123-11-timo@rothenpieler.org> From: Timo Rothenpieler In-Reply-To: <20220810204712.3123-11-timo@rothenpieler.org> Subject: Re: [FFmpeg-devel] [PATCH 11/11] swscale/input: add rgbaf16 input support 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 10.08.2022 22:47, Timo Rothenpieler wrote: ... > +#define rgbaf16_funcs_endian(endian_name, endian) \ > +static void rgbaf16##endian_name##ToUV_half_c(uint8_t *_dstU, uint8_t *_dstV, const uint8_t *unused, \ > + const uint8_t *src1, const uint8_t *src2, \ > + int width, uint32_t *_rgb2yuv, void *opq) \ > +{ \ > + const uint16_t *src = (const uint16_t*)src1; \ > + uint16_t *dstU = (uint16_t*)_dstU; \ > + uint16_t *dstV = (uint16_t*)_dstV; \ > + int32_t *rgb2yuv = (int32_t*)_rgb2yuv; \ > + av_assert1(src1==src2); \ > + rgbaf16ToUV_half_endian(dstU, dstV, endian, src, width, rgb2yuv, opq); \ > +} \ > +static void rgbaf16##endian_name##ToUV_c(uint8_t *_dstU, uint8_t *_dstV, const uint8_t *unused, \ > + const uint8_t *src1, const uint8_t *src2, \ > + int width, uint32_t *_rgb2yuv, void *opq) \ > +{ \ > + const uint16_t *src = (const uint16_t*)src1; \ > + uint16_t *dstU = (uint16_t*)_dstU; \ > + uint16_t *dstV = (uint16_t*)_dstV; \ > + int32_t *rgb2yuv = (int32_t*)_rgb2yuv; \ > + av_assert1(src1==src2); \ > + rgbaf16ToUV_half_endian(dstU, dstV, endian, src, width, rgb2yuv, opq); \ > +} \ copy/paste error here: This should be the non-half version. Fixed locally. _______________________________________________ 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".