Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Paul B Mahol <onemda@gmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] avcodec: add QOI decoder and demuxer and parser and encoder and muxer
Date: Fri, 3 Jun 2022 18:22:24 +0200
Message-ID: <CAPYw7P5OcLDcNn-ZEGhktFz1zUhTooA=nmp2RK9QJtDPi_qvQA@mail.gmail.com> (raw)
In-Reply-To: <DB6PR0101MB2214F5A0B643C4180D28875E8FA19@DB6PR0101MB2214.eurprd01.prod.exchangelabs.com>

On Fri, Jun 3, 2022 at 6:17 PM Andreas Rheinhardt <
andreas.rheinhardt@outlook.com> wrote:

> Paul B Mahol:
> >
> > +
> > +    packet_size = avctx->width * avctx->height * 16LL;
> > +    if ((ret = ff_alloc_packet(avctx, pkt, packet_size)) < 0)
> > +        return ret;
> > +
>
> Where does 16 come from? Looking at the code, the factor should be
> channels + 1 per pixel (and 14 + 8 byte for header + footer). Or am I
> missing something?
>

Worst case compression.


>
> - Andreas
> _______________________________________________
> 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".
>
_______________________________________________
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".

  reply	other threads:[~2022-06-03 16:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-02 16:01 Paul B Mahol
2022-06-03  9:22 ` Tomas Härdin
2022-06-03 16:17 ` Andreas Rheinhardt
2022-06-03 16:22   ` Paul B Mahol [this message]
2022-06-03 16:21     ` Andreas Rheinhardt
2022-06-03 16:34       ` Paul B Mahol
  -- strict thread matches above, loose matches on Subject: below --
2022-06-02 10:59 Paul B Mahol
2022-06-02 11:58 ` Tomas Härdin
2022-06-02 12:06   ` Paul B Mahol
2022-06-02 12:26     ` Tomas Härdin
2022-06-02 19:34       ` Leo Izen

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='CAPYw7P5OcLDcNn-ZEGhktFz1zUhTooA=nmp2RK9QJtDPi_qvQA@mail.gmail.com' \
    --to=onemda@gmail.com \
    --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