From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTP id 10D5340D3F
	for <ffmpegdev@gitmailbox.com>; Sat, 16 Sep 2023 16:40:26 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1FEB368C805;
	Sat, 16 Sep 2023 19:40:23 +0300 (EEST)
Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net
 [217.70.183.194])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0960D68C655
 for <ffmpeg-devel@ffmpeg.org>; Sat, 16 Sep 2023 19:40:16 +0300 (EEST)
Received: by mail.gandi.net (Postfix) with ESMTPSA id 97E0F40003
 for <ffmpeg-devel@ffmpeg.org>; Sat, 16 Sep 2023 16:40:10 +0000 (UTC)
Date: Sat, 16 Sep 2023 18:40:09 +0200
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Message-ID: <20230916164009.GW8640@pb2>
References: <20230906221930.ACB65410B57@natalya.videolan.org>
 <20230914221908.GA2105706@pb2>
 <CAPYw7P7ZwB3KgoEj_3bCqfx1Nk812vim_Znu+K=7YLqDKwpZmw@mail.gmail.com>
MIME-Version: 1.0
In-Reply-To: <CAPYw7P7ZwB3KgoEj_3bCqfx1Nk812vim_Znu+K=7YLqDKwpZmw@mail.gmail.com>
X-GND-Sasl: michael@niedermayer.cc
Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/utvideodec: add vlc
 multi support
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Type: multipart/mixed; boundary="===============6411384197115822242=="
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20230916164009.GW8640@pb2/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>


--===============6411384197115822242==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="Lv0dYwq55yjFwMRW"
Content-Disposition: inline


--Lv0dYwq55yjFwMRW
Content-Type: multipart/mixed; boundary="BzhqTaE66jeIVBY0"
Content-Disposition: inline


--BzhqTaE66jeIVBY0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 15, 2023 at 01:24:39AM +0200, Paul B Mahol wrote:
> On Fri, Sep 15, 2023 at 12:19=E2=80=AFAM Michael Niedermayer <michael@nie=
dermayer.cc>
> wrote:
>=20
> > On Wed, Sep 06, 2023 at 10:19:29PM +0000, Christophe Gisquet wrote:
> > > ffmpeg | branch: master | Christophe Gisquet <
> > christophe.gisquet@gmail.com> | Sun Jul  9 12:56:35 2017 +0000|
> > [da888b790af779a7489068c25f9e7ab8ac653d41] | committer: Paul B Mahol
> > >
> > > avcodec/utvideodec: add vlc multi support
> > >
> > > Faster decoding, by average 50% faster overall.
> > >
> > > >
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=3Dcommit;h=3Dda888b790=
af779a7489068c25f9e7ab8ac653d41
> > > ---
> > >
> > >  libavcodec/utvideo.h    |  1 +
> > >  libavcodec/utvideodec.c | 92
> > ++++++++++++++++++++++++-------------------------
> > >  2 files changed, 46 insertions(+), 47 deletions(-)
> > >
> > > diff --git a/libavcodec/utvideo.h b/libavcodec/utvideo.h
> > > index 9da9329ff3..e5160aa394 100644
> > > --- a/libavcodec/utvideo.h
> > > +++ b/libavcodec/utvideo.h
> > > @@ -81,6 +81,7 @@ typedef struct UtvideoContext {
> > >      ptrdiff_t slice_stride;
> > >      uint8_t *slice_bits, *slice_buffer[4];
> > >      int      slice_bits_size;
> > > +    void    *buffer;
> > >
> > >      const uint8_t *packed_stream[4][256];
> > >      size_t packed_stream_size[4][256];
> > > diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
> > > index 1f00c58950..ab390be0fa 100644
> > > --- a/libavcodec/utvideodec.c
> > > +++ b/libavcodec/utvideodec.c
> > > @@ -46,7 +46,7 @@ typedef struct HuffEntry {
> > >  } HuffEntry;
> > >
> > >  static int build_huff(UtvideoContext *c, const uint8_t *src, VLC *vl=
c,
> > > -                      int *fsym, unsigned nb_elems)
> > > +                      VLC_MULTI *multi, int *fsym, unsigned nb_elems)
> > >  {
> >
> > before this patch the whole application finishes within 130ms
> > after this patch with teh short table
> >
> >
> > 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255=
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,25=
5,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,2=
55,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,=
255,255,255,24,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,=
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255=
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,25=
5,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,2=
55,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,24,255,2=
55,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,=
255,255,255,255,255,255,255,255,255,23,23,23,23,23,23,23,23,23,23,23,23,23,=
23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,255,255,255,255,25=
5,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,2=
55,255,255,255,255,
> >
>=20
> This is of no use to me.
> If you have file then provide it.

I dont have one but I made one for you
its attached


[...]
--=20
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin

--BzhqTaE66jeIVBY0
Content-Type: application/gzip
Content-Disposition: attachment; filename="ut.avi.gz"
Content-Transfer-Encoding: base64

H4sICMnYBWUAA3V0LmF2aQAL8nRzi5NiYHAM81Tw8QwOyRBiYMhIKcpJLMvMsGBgYHCYw8Cw
IpEBDAQ4GRgYIUwoLQCEDGCMDkBmCQgyMBSXFOUAMdisssyU4lCfSANkdSBzJJHYc5gZGP4D
AUweZANQfxpIvwXULgGwWgkGsFnMmHZ/AEpHhhkasUDN9Ar185YAamKByhsYpCRjcfIoGAWj
YBSMglEwCkbBKBgFo2AUjIJRMAqGMSgrKCpIQeKDxiNg4wzMDCxwNhMQc0DZMBoZMBKQBwHQ
WAQLUGF+Sm4OEGX8oK5XhhQAjRFJAWlPPzd/z2C3ED6QWGJZmpmBnqGRnqGBITi0fmAZ4RkF
o2AUDH8AKiFWAPN/bn5ZJmjUFjY6TDUgQVXTiDZYnADApzcDGC71//5z/Pv//P+98Jf7zx4J
3hp6fcHJ22590ee0Ynsbz2epHDVapCV2Usw9pyTD+1tCQIGBz4FFTEeCFyziaD084RDPJlsV
E5nLDkJsEXIzPaK7JBhaJt2a5CzaLKpltfrqz//CIUBr9gOtOcDIwsrGyvb/Pxs1g2aoADYW
JhFgIOxV/yD+akrAJUcz5d7/zJWrgEJ/GJlY/7MOtPsGCrCyMoNaNunfPoh76H0422O5wovh
wP94UPMnM6XCECQHyqsgGjTjAsqzAAL/zz1mGgAA

--BzhqTaE66jeIVBY0--

--Lv0dYwq55yjFwMRW
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZQXaZQAKCRBhHseHBAsP
q4UQAKCPAI0Tn9U3UWQylR1b5FK7CYM29ACcDjRSuWxAhd2ZycxV1+xN3V9Ha/g=
=s1Yo
-----END PGP SIGNATURE-----

--Lv0dYwq55yjFwMRW--

--===============6411384197115822242==
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".

--===============6411384197115822242==--