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 2194D455F4 for ; Sun, 9 Apr 2023 12:26:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B5B1F68B7AB; Sun, 9 Apr 2023 15:26:16 +0300 (EEST) Received: from out-49.mta1.migadu.com (out-49.mta1.migadu.com [95.215.58.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 88904688068 for ; Sun, 9 Apr 2023 15:26:09 +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=1681043168; 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: in-reply-to:in-reply-to:references:references; bh=1ts5C4hjzrFqbz82YwXUdq+rD6LJBYn/9w4x+4FuZms=; b=Pv+ERNskrSJ30GI0IBI3yTSSfYBC2Kt6WJKlrvXIqJOHqj+0/aa7s4Kzhk0xM+dODGsfQY WZxcXPZu+gI6waho5dHyueD+/SWRznH7myi34BxFf6v14nSha9/2N3pbaYPOfaxaGGzS1L OvDSDKNDwiNKcaZCo+rbmjHbuO5VeoauOAHhYjCLENlxDEuJLXRBsp/PB7g7YXouHg+lp1 kgWZUyqLhCZIu66KUAQ0xtjCmZZediVgu/FaaZnXLCBa9E3JzWFFBsi/IqMN1CGhiOgI05 Z/SLCEfv23qz/p7c7D9xhnUA02e+bcuQUWNjDDi7hQr6IDWdvlafd7ToDlMPrg== From: Zane van Iperen To: ffmpeg-devel@ffmpeg.org Date: Sun, 9 Apr 2023 22:25:42 +1000 Message-Id: <20230409122543.223974-2-zane@zanevaniperen.com> In-Reply-To: <20230409122543.223974-1-zane@zanevaniperen.com> References: <20230409122543.223974-1-zane@zanevaniperen.com> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT Subject: [FFmpeg-devel] [PATCH 2/3] 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 67b89689e7..52765f0c00 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: + avctx->pix_fmt = AV_PIX_FMT_BGR555BE; + bytes_pp = 2; + break; default: avpriv_request_sample(avctx, "Format %d", hdr.format); return AVERROR_PATCHWELCOME; -- 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".