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 EB13845D64 for ; Fri, 7 Apr 2023 16:01:05 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EFF4D68B43E; Fri, 7 Apr 2023 19:01:01 +0300 (EEST) Received: from out-53.mta0.migadu.com (out-53.mta0.migadu.com [91.218.175.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 72EFB68AB19 for ; Fri, 7 Apr 2023 19:00:55 +0300 (EEST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zanevaniperen.com; s=key1; t=1680883254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=nE8ePmmDGuDJ0ZBo3ZnYFUO1M7DCRCS/FiYhkg8O/Wo=; b=XlMJAxwGRdZ0jKvbu8ziMYAgATtfUjbMdxLUAFG1Ncg4ZOuZlGLMo6MVaKP1zq1U8bpNBB upUHxmccwAwKruLteEftfRRZPw9rbfNnFTlKeWNyHI9E+ZJKeC9w0qVQQ1R7o4nL3bQayf 182miyvfOfMBofOwXV7MfB7PUgvztJkzR02VfLXHJJ0NaUqOM8UThSepfibBx6kweAWxCZ jnS1VVIHhOisxLNGHdjLUEsiFbcYNDsnP2rXvHEgd9oJ5p7WjNLtqcxPnjnuuLu8nJJMXT 90pfbp9OavnKAtqzdyP1X3JfHckV+bEch/piFEFao7V7aB1CI3uwzMWFjjdJeQ== From: Zane van Iperen To: ffmpeg-devel@ffmpeg.org Date: Sat, 8 Apr 2023 02:00:41 +1000 Message-Id: <20230407160042.466129-1-zane@zanevaniperen.com> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT Subject: [FFmpeg-devel] [PATCH 1/2] avcodec/brenderpix: support BGR555BE (type 17) 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-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: --- libavcodec/brenderpix.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/brenderpix.c b/libavcodec/brenderpix.c index e95ab3d4af..32e7329105 100644 --- a/libavcodec/brenderpix.c +++ b/libavcodec/brenderpix.c @@ -195,6 +195,10 @@ static int pix_decode_frame(AVCodecContext *avctx, AVFrame *frame, avctx->pix_fmt = AV_PIX_FMT_ARGB; bytes_pp = 4; break; + case 17: // BR_PMT_BGR_555 + avctx->pix_fmt = AV_PIX_FMT_BGR555BE; + bytes_pp = 2; + break; case 18: avctx->pix_fmt = AV_PIX_FMT_YA8; bytes_pp = 2; -- 2.39.2 _______________________________________________ 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".