Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: James Darnley <jdarnley@obe.tv>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 3/3] avfilter: add avx2 filter_line function for bwdif
Date: Mon, 13 Mar 2023 12:08:28 +0100
Message-ID: <35a9d676-2e58-a1ec-528a-7b243ec15776@obe.tv> (raw)
In-Reply-To: <CAC5+Sy6+A5b3RHZprUUh0Uw2WFQFCkz2riuC9cP7LvB5JMzZ8A@mail.gmail.com>

On 3/11/23 17:14, Thomas Mundt wrote:

>> +    %if mmsize == 32
>> +        vpbroadcastd m12, DWORD clip_maxm
>>
> 
> I get a green pattern at bit depths > 8.
> Looks good with:
> vpbroadcastw m12, WORD clip_maxm
> 
> +    %else
>>       movd        m12, DWORD clip_maxm
>>       SPLATW      m12, m12, 0
>> +    %endif

Of course it should be a word broadcast!

But why doesn't my checkasm test catch it?

>>               bwdif->filter_line = ff_bwdif_filter_line_sse2;
>>           if (EXTERNAL_SSSE3(cpu_flags))
>>               bwdif->filter_line = ff_bwdif_filter_line_ssse3;
>> +        if (ARCH_X86_64 && EXTERNAL_AVX2(cpu_flags))
>> +            bwdif->filter_line = ff_bwdif_filter_line_avx2;
>>       } else if (bit_depth <= 12) {
>>           if (EXTERNAL_SSE2(cpu_flags))
>>               bwdif->filter_line = ff_bwdif_filter_line_12bit_sse2;
>>           if (EXTERNAL_SSSE3(cpu_flags))
>>               bwdif->filter_line = ff_bwdif_filter_line_12bit_ssse3;
>> +        if (ARCH_X86_64 && EXTERNAL_AVX2(cpu_flags))
>> +            bwdif->filter_line = ff_bwdif_filter_line_12bit_avx2;
>>       }
>>   }

I was intending to only modify/write the 8-bit function so this is a 
mistake.

Thanks.  I'll be back with a version 2.

[re-sending to list]
_______________________________________________
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-03-13 11:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-20 19:57 [FFmpeg-devel] [PATCH 1/3] avfilter: move bwdif's filter_line init into a dedicated function James Darnley
2023-02-20 19:57 ` [FFmpeg-devel] [PATCH 2/3] checkasm: add test for bwdif James Darnley
2023-03-11 16:18   ` Thomas Mundt
2023-03-13 11:04     ` James Darnley
2023-02-20 19:57 ` [FFmpeg-devel] [PATCH 3/3] avfilter: add avx2 filter_line function " James Darnley
2023-03-11 16:14   ` Thomas Mundt
2023-03-13 11:08     ` James Darnley [this message]
2023-02-24  1:19 ` [FFmpeg-devel] [PATCH 1/3] avfilter: move bwdif's filter_line init into a dedicated function Thomas Mundt

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=35a9d676-2e58-a1ec-528a-7b243ec15776@obe.tv \
    --to=jdarnley@obe.tv \
    --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