[FFmpeg-devel] [PATCH 1/6] avcodec/hevcdsp: Add NEON optimization for qpel weighted mode

Shengbin Meng shengbinmeng at gmail.com
Wed Nov 22 16:01:13 EET 2017

> On 22 Nov 2017, at 20:26, Michael Niedermayer <michael at niedermayer.cc> wrote:
> On Wed, Nov 22, 2017 at 07:12:01PM +0800, Shengbin Meng wrote:
>> From: Meng Wang <wangmeng.kids at bytedance.com>
>> Signed-off-by: Meng Wang <wangmeng.kids at bytedance.com>
>> ---
>> libavcodec/arm/hevcdsp_init_neon.c |  66 +++++
>> libavcodec/arm/hevcdsp_qpel_neon.S | 509 +++++++++++++++++++++++++++++++++++++
>> 2 files changed, 575 insertions(+)
>> diff --git a/libavcodec/arm/hevcdsp_init_neon.c b/libavcodec/arm/hevcdsp_init_neon.c
> This seems not to apply to git master

I looked into that and it seems someone has added commits about hevc decoding in git master after n3.4.
My patches are based on n3.4 so some conflicts occur. And I checked the conflict is mainly due to the following change in master:

ff_hevcdsp_init_neon => ff_hevc_dsp_init_neon  (in libavcodec/arm/hevcdsp_init_neon.c, a common function name was changed).

It is a small conflict though and should be easily resolved. Anyway, I have updated those patches to v2 which are all based on master, for your convenience. They should merge all right.

And since master already contains optimization code for IDCT (even 32x32 blocks, great plus!), our work about IDCT are removed from v2 patches.

Thank you.


> Applying: avcodec/hevcdsp: Add NEON optimization for qpel weighted mode
> Using index info to reconstruct a base tree...
> M       libavcodec/arm/hevcdsp_init_neon.c
> Falling back to patching base and 3-way merge...
> Auto-merging libavcodec/arm/hevcdsp_init_neon.c
> CONFLICT (content): Merge conflict in libavcodec/arm/hevcdsp_init_neon.c
> error: Failed to merge in the changes.
> Patch failed at 0001 avcodec/hevcdsp: Add NEON optimization for qpel weighted mode
> The copy of the patch that failed is found in: .git/rebase-apply/patch
> When you have resolved this problem, run "git am --continue".
> If you prefer to skip this patch, run "git am --skip" instead.
> To restore the original branch and stop patching, run "git am --abort".
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> I am the wisest man alive, for I know one thing, and that is that I know
> nothing. -- Socrates
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list