[FFmpeg-devel] [PATCHv2] avcodec: ViewQuest VQC decoder

Peter Ross pross at xvid.org
Tue Oct 18 23:44:04 EEST 2022


On Tue, Oct 18, 2022 at 12:05:05PM +0200, Tomas Härdin wrote:
> sön 2022-10-09 klockan 11:36 +1100 skrev Peter Ross:
> > 
> > +    gamma = buf[0] >> 4;
> > +    contrast = AV_RL16(buf + 2) >> 1;
> > +    if (gamma || contrast)
> > +        avpriv_request_sample(avctx, "gamma=0x%x, contrast=0x%x\n",
> > gamma, contrast);
> 
> Shouldn't this also error out with AVERROR_PATCHWELCOME?
 
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20221019/eb940fc2/attachment.sig>


More information about the ffmpeg-devel mailing list