Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Nuo Mi <nuomi2021@gmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v4] avcodec/cbs_h266: add support for Adaptation parameter set NALU type
Date: Thu, 6 Jul 2023 22:00:30 +0800
Message-ID: <CAFXK13cjr+PoREVigBfbjPftzs8YdCxeqCN51N+Tcq9hgqjt9A@mail.gmail.com> (raw)
In-Reply-To: <d9ed942d-8b41-de42-4e5b-a1b8e169b965@gmail.com>

On Thu, Jul 6, 2023 at 9:04 AM James Almer <jamrial@gmail.com> wrote:

> On 7/5/2023 9:41 PM, Nuo Mi wrote:
> >> +    if (current->alf_cc_cb_filter_signal_flag)
> >> +        ue(alf_cc_cb_filters_signalled_minus1, 0, 3);
> >> +    else
> >> +        infer(alf_cc_cb_filters_signalled_minus1, 0);
> >>
> > Not right, it will overread one filter set even
> > alf_cc_cb_filter_signal_flag is false.
>
> It will infer all values in alf_cc_cb_mapped_coeff_abs[0][0..7] and
> alf_cc_cb_coeff_sign[0][0..7] to be 0, as they are not present.
>
> Oh, my bad. thank you for the explanation.
LGTM now.

> >
> >> +    for (k = 0; k <= current->alf_cc_cb_filters_signalled_minus1; k++)
> {
> >> +        for (j = 0; j < 7; j++) {
> >> +            if (current->alf_cc_cb_filter_signal_flag)
> >> +                ubs(3, alf_cc_cb_mapped_coeff_abs[k][j], 2, k, j);
> >> +            else
> >> +                infer(alf_cc_cb_mapped_coeff_abs[k][j], 0);
> >> +            if (current->alf_cc_cb_mapped_coeff_abs[k][j])
> >> +                ubs(1, alf_cc_cb_coeff_sign[k][j], 2, k, j);
> >> +            else
> >> +                infer(alf_cc_cb_coeff_sign[k][j], 0);
> >> +        }
> >> +    }
> >> +
> >> +    if (current->alf_cc_cr_filter_signal_flag)
> >> +        ue(alf_cc_cr_filters_signalled_minus1, 0, 3);
> >> +    else
> >> +        infer(alf_cc_cr_filters_signalled_minus1, 0);
> >>
> > Not right,
>
> Same as the above.
> _______________________________________________
> 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:[~2023-07-06 14:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-02 23:26 [FFmpeg-devel] [PATCH 1/4] avcodec/cbs_h266: add support for Operating point information " James Almer
2023-07-02 23:26 ` [FFmpeg-devel] [PATCH 2/4] avcodec/cbs_h266: add support for Decoding capability " James Almer
2023-07-03 15:11   ` Nuo Mi
2023-07-02 23:26 ` [FFmpeg-devel] [PATCH 3/4] avcodec/cbs_h266: add support for Adaptation parameter set " James Almer
2023-07-05 14:29   ` Nuo Mi
2023-07-05 18:11     ` [FFmpeg-devel] [PATCH v2 " James Almer
2023-07-05 18:33     ` [FFmpeg-devel] [PATCH v3] " James Almer
2023-07-05 18:36     ` [FFmpeg-devel] [PATCH v4] " James Almer
2023-07-06  0:41       ` Nuo Mi
2023-07-06  1:03         ` James Almer
2023-07-06 14:00           ` Nuo Mi [this message]
2023-07-02 23:26 ` [FFmpeg-devel] [PATCH 4/4] fate/cbs: add more VVC tests James Almer
2023-07-05 14:32 ` [FFmpeg-devel] [PATCH 1/4] avcodec/cbs_h266: add support for Operating point information NALU type Nuo Mi

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=CAFXK13cjr+PoREVigBfbjPftzs8YdCxeqCN51N+Tcq9hgqjt9A@mail.gmail.com \
    --to=nuomi2021@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