On Mon, Aug 5, 2019 at 2:05 PM Lynne wrote:
> Aug 5, 2019, 9:39 AM by one...@gmail.com:
>
> > Hi,
> >
> > Patch attached.
> >
>
> > int run = FFMIN(255, copy);
>
> Just replace all FFMIN(255 with av_clip_uint8, should be faster, in
> theory, on some platforms.
>
>
> > +switch (s->pixel_si
Aug 5, 2019, 9:39 AM by one...@gmail.com:
> Hi,
>
> Patch attached.
>
> int run = FFMIN(255, copy);
Just replace all FFMIN(255 with av_clip_uint8, should be faster, in theory, on
some platforms.
> +switch (s->pixel_size) {> +case 3:> +
> bytestream2_put_le24(&s->pb
mån 2019-08-05 klockan 10:39 +0200 skrev Paul B Mahol:
> Hi,
>
> Patch attached.
> +static av_cold int msrle_encode_init(AVCodecContext *avctx)
> +{
> +MsrleEncContext *s = avctx->priv_data;
> +
> +if (av_image_check_size(avctx->width, avctx->height, 0, avctx) < 0)
> +return AVERR