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 A38D94364E for ; Tue, 18 Oct 2022 20:44:28 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4CC5C68BCEA; Tue, 18 Oct 2022 23:44:26 +0300 (EEST) Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7B91768BC6C for ; Tue, 18 Oct 2022 23:44:19 +0300 (EEST) Received: from 56448e1501e96cac4f435a10cc47adef ([1.145.213.234]) (authenticated (0 bits)) by mx.sdf.org (8.15.2/8.14.5) with ESMTPSA id 29IKi8MC026916 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Tue, 18 Oct 2022 20:44:13 GMT Date: Wed, 19 Oct 2022 07:44:04 +1100 From: Peter Ross To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches References: <05c9fcdb0e0e44f8ee1805e5354accb2b7ef7f9e.1665275680.git.pross@xvid.org> MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCHv2] avcodec: ViewQuest VQC decoder 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: multipart/mixed; boundary="===============0609813111407661643==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0609813111407661643== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iFs3B50l/zTcRiDf" Content-Disposition: inline --iFs3B50l/zTcRiDf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 18, 2022 at 12:05:05PM +0200, Tomas H=E4rdin wrote: > s=F6n 2022-10-09 klockan 11:36 +1100 skrev Peter Ross: > >=20 > > +=A0=A0=A0 gamma =3D buf[0] >> 4; > > +=A0=A0=A0 contrast =3D AV_RL16(buf + 2) >> 1; > > +=A0=A0=A0 if (gamma || contrast) > > +=A0=A0=A0=A0=A0=A0=A0 avpriv_request_sample(avctx, "gamma=3D0x%x, cont= rast=3D0x%x\n", > > gamma, contrast); >=20 > Shouldn't this also error out with AVERROR_PATCHWELCOME? =20 not really, because the image will still be displayable, just lacking in brightness/contrast adjustment. i couldn't find any samples with this feature enabled. -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) --iFs3B50l/zTcRiDf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSpB+AvpuUM0jTNINJnYHnFrEDdawUCY08QDgAKCRBnYHnFrEDd a2xLAJ4wq63Nll9QhjHrObYbxMlI/EeSsQCfTPJtzOaZzT2FJl9wAqjUqKuzapU= =Tf9W -----END PGP SIGNATURE----- --iFs3B50l/zTcRiDf-- --===============0609813111407661643== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============0609813111407661643==--