From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] lavc: remove the QOA decoder
Date: Fri, 22 Dec 2023 04:32:50 +0100
Message-ID: <20231222033250.GG6420@pb2> (raw)
In-Reply-To: <55c8f48079b6956621df72c0e230037ba20be286.camel@haerdin.se>
[-- Attachment #1.1: Type: text/plain, Size: 1429 bytes --]
On Thu, Dec 21, 2023 at 08:43:16PM +0100, Tomas Härdin wrote:
> ons 2023-12-20 klockan 20:11 +0100 skrev Michael Niedermayer:
> > On Wed, Dec 20, 2023 at 05:57:40PM +0100, Tomas Härdin wrote:
> > > tis 2023-12-19 klockan 15:02 +0100 skrev Nicolas George:
> > [...]
> > > [...] , but every line of code
> > > carries with it a non-zero maintenance burden
> >
> > Assuming you mean with "non-zero" a "larger than zero" maintenance
> > burden
> >
> > then we can proof this to be false
>
> Doubt
ok
i seem to have said, "we". So lets do this together :)
heres an example (code by Dave Burton, not by me)
int main(int b,char**i){long long n=B,a=I^n,r=(a/b&a)>>4,y=atoi(*++i),_=(((a^n/b)*(y>>T)|y>>S)&r)|(a^r);printf("%.8s\n",(char*)&_);}
clang -include stdio.h -include stdlib.h -Wall -Weverything -pedantic -DB=6945503773712347754LL -DI=5859838231191962459LL -DT=0 -DS=7 -o prog prog.c
try
./prog 1
./prog 2
./prog 3
...
Can you think of a way to add some lines of code to this that makes it more maintainable ?
if yes, then i think you proofed that adding code can reduce maintaince burden
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
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".
next prev parent reply other threads:[~2023-12-22 3:33 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-02 15:53 Anton Khirnov
2023-12-02 16:07 ` Paul B Mahol
[not found] ` <42528A64-3630-4EBD-A2D2-A6A3E63709BB@cosmin.at>
2023-12-02 18:19 ` Cosmin Stejerean via ffmpeg-devel
2023-12-02 18:55 ` Paul B Mahol
2023-12-04 18:57 ` Jean-Baptiste Kempf
2023-12-04 18:53 ` Nicolas George
2023-12-05 4:21 ` Vittorio Giovara
2023-12-05 7:44 ` Nicolas George
2023-12-05 14:51 ` Vittorio Giovara
2023-12-05 14:59 ` Nicolas George
2023-12-05 15:42 ` Vittorio Giovara
2023-12-06 20:47 ` Nicolas George
2023-12-06 20:55 ` Vittorio Giovara
2023-12-19 13:57 ` Tomas Härdin
2023-12-19 14:02 ` Nicolas George
2023-12-20 16:57 ` Tomas Härdin
2023-12-20 18:05 ` Nicolas George
2023-12-20 19:11 ` Michael Niedermayer
2023-12-21 19:43 ` Tomas Härdin
2023-12-21 20:05 ` Paul B Mahol
2023-12-21 20:31 ` Nicolas George
2023-12-21 21:36 ` Vittorio Giovara
2023-12-21 22:21 ` Nicolas George
2023-12-21 22:37 ` Vittorio Giovara
2023-12-21 22:41 ` Nicolas George
2023-12-21 23:12 ` Vittorio Giovara
2023-12-21 23:14 ` Nicolas George
2023-12-21 23:24 ` Vittorio Giovara
2023-12-22 0:32 ` Michael Niedermayer
2023-12-24 1:17 ` Michael Niedermayer
2023-12-26 13:52 ` [FFmpeg-devel] Mailinglist conduct [was: Re: [PATCH] lavc: remove the QOA decoder] Ronald S. Bultje
2023-12-21 21:38 ` [FFmpeg-devel] [PATCH] lavc: remove the QOA decoder Vittorio Giovara
2023-12-22 6:28 ` Anton Khirnov
2023-12-22 9:28 ` Paul B Mahol
2023-12-22 13:09 ` James Almer
2023-12-24 12:10 ` Tomas Härdin
2023-12-24 12:12 ` Nicolas George
2023-12-24 13:23 ` James Almer
2023-12-24 14:33 ` Tomas Härdin
2023-12-24 14:47 ` Paul B Mahol
2023-12-24 15:11 ` Nicolas George
2023-12-24 17:21 ` Michael Niedermayer
2023-12-24 20:55 ` Tomas Härdin
2023-12-24 21:07 ` Paul B Mahol
2023-12-26 22:20 ` [FFmpeg-devel] Mailinglist conduct [was: Re: [PATCH] lavc: remove the QOA decoder] Ronald S. Bultje
2023-12-26 22:40 ` Paul B Mahol
2023-12-26 23:53 ` James Almer
2023-12-27 8:13 ` Paul B Mahol
2023-12-22 3:32 ` Michael Niedermayer [this message]
2023-12-25 17:22 ` [FFmpeg-devel] [PATCH] lavc: remove the QOA decoder Leo Izen
2023-12-26 12:58 ` Michael Niedermayer
2023-12-06 20:49 ` James Almer
2023-12-07 7:17 ` Anton Khirnov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231222033250.GG6420@pb2 \
--to=michael@niedermayer.cc \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git