From: Hao Chen <chenhao@loongson.cn>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH v2 1/5] avutil: [loongarch] Update loongson_intrinsics.h to v1.1.0
Date: Fri, 25 Feb 2022 11:20:24 +0800
Message-ID: <2408345f-b09a-1dff-23f0-39d6f282c7f5@loongson.cn> (raw)
In-Reply-To: <20220221150035.GZ2829255@pb2>
Thanks for your advices. This file is used by many projects, including
Google.
In order to facilitate the merger of the Google community, this file is
adopted to the Google coding style.
It will be troublesome for us to modify and maintain it, if the
community is very concerned about this coding style.
在 2022/2/21 下午11:00, Michael Niedermayer 写道:
> On Thu, Feb 17, 2022 at 07:11:47PM +0800, Hao Chen wrote:
>> The loongson_intrinsics.h file is updated from v1.0.3 version
>> to v1.1.0. Some spelling mistakes are fixed and new functions are added.
>>
>> Signed-off-by: Hao Chen <chenhao@loongson.cn>
>> ---
>> libavutil/loongarch/loongson_intrinsics.h | 1697 +++++++++++----------
>> 1 file changed, 884 insertions(+), 813 deletions(-)
>>
>> diff --git a/libavutil/loongarch/loongson_intrinsics.h b/libavutil/loongarch/loongson_intrinsics.h
>> index 6e0439f829..eb256863c8 100644
>> --- a/libavutil/loongarch/loongson_intrinsics.h
>> +++ b/libavutil/loongarch/loongson_intrinsics.h
>> @@ -33,7 +33,7 @@
>> * Xiwei Gu <guxiwei-hf@loongson.cn>
>> * Lu Wang <wanglu@loongson.cn>
>> *
>> - * This file is a header file for loongarch builtin extention.
>> + * This file is a header file for loongarch builtin extension.
>> *
>> */
>>
>> @@ -42,50 +42,50 @@
>>
>> /**
>> * MAJOR version: Macro usage changes.
>> - * MINOR version: Add new functions, or bug fix.
>> + * MINOR version: Add new functions, or bug fixes.
>> * MICRO version: Comment changes or implementation changes.
>> */
>> #define LSOM_VERSION_MAJOR 1
>> -#define LSOM_VERSION_MINOR 0
>> -#define LSOM_VERSION_MICRO 3
>> +#define LSOM_VERSION_MINOR 1
>> +#define LSOM_VERSION_MICRO 0
>>
>> #define DUP2_ARG1(_INS, _IN0, _IN1, _OUT0, _OUT1) \
>> -{ \
>> - _OUT0 = _INS(_IN0); \
>> - _OUT1 = _INS(_IN1); \
>> -}
>> + { \
>> + _OUT0 = _INS(_IN0); \
>> + _OUT1 = _INS(_IN1); \
>> + }
>>
>> #define DUP2_ARG2(_INS, _IN0, _IN1, _IN2, _IN3, _OUT0, _OUT1) \
>> -{ \
>> - _OUT0 = _INS(_IN0, _IN1); \
>> - _OUT1 = _INS(_IN2, _IN3); \
>> -}
>> + { \
>> + _OUT0 = _INS(_IN0, _IN1); \
>> + _OUT1 = _INS(_IN2, _IN3); \
>> + }
> These style changes differ from the recommandition in doc/developer.texi
> is that intentional ?
>
> thx
>
> [...]
>
> _______________________________________________
> 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".
next prev parent reply other threads:[~2022-02-25 3:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-17 11:11 [FFmpeg-devel] Optimize HEVC decoding for loongarch Hao Chen
2022-02-17 11:11 ` [FFmpeg-devel] [PATCH v2 1/5] avutil: [loongarch] Update loongson_intrinsics.h to v1.1.0 Hao Chen
2022-02-21 11:11 ` Hao Chen
2022-02-21 11:42 ` 殷时友
2022-02-21 15:00 ` Michael Niedermayer
2022-02-25 3:20 ` Hao Chen [this message]
2022-02-28 8:19 ` 殷时友
2022-02-28 14:17 ` Michael Niedermayer
2022-03-01 12:31 ` 殷时友
2022-02-17 11:11 ` [FFmpeg-devel] [PATCH v2 2/5] avcodec: [loongarch] Optimize Hevcdsp with LSX Hao Chen
2022-02-17 11:11 ` [FFmpeg-devel] [PATCH v2 3/5] avcodec: [loongarch] Optimize Hevc_idct/lpf " Hao Chen
2022-02-17 11:11 ` [FFmpeg-devel] [PATCH v2 4/5] avcodec: [loongarch] Optimize Hevc_mc_bi " Hao Chen
2022-02-17 11:11 ` [FFmpeg-devel] [PATCH v2 5/5] avcodec: [loongarch] Optimize Hevc_mc_uni/w " Hao Chen
2022-02-17 12:08 ` [FFmpeg-devel] Optimize HEVC decoding for loongarch 殷时友
2022-03-01 22:53 ` Michael Niedermayer
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=2408345f-b09a-1dff-23f0-39d6f282c7f5@loongson.cn \
--to=chenhao@loongson.cn \
--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