From: Michael Niedermayer <michael@niedermayer.cc> To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_colorlevels: add planar rgb formats support Date: Sun, 6 Mar 2022 16:59:59 +0100 Message-ID: <20220306155959.GF2978559@pb2> (raw) In-Reply-To: <20220306125902.3340241048E@natalya.videolan.org> [-- Attachment #1.1: Type: text/plain, Size: 4550 bytes --] On Sun, Mar 06, 2022 at 12:59:01PM +0000, Paul B Mahol wrote: > ffmpeg | branch: master | Paul B Mahol <onemda@gmail.com> | Sun Mar 6 13:57:34 2022 +0100| [10c2ef1ca41dbe7811f0588f4163c8cf7b8fda66] | committer: Paul B Mahol > > avfilter/vf_colorlevels: add planar rgb formats support > > > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=10c2ef1ca41dbe7811f0588f4163c8cf7b8fda66 > --- > > libavfilter/vf_colorlevels.c | 232 +++++++++++++++++++++++++++++++++++-------- > 1 file changed, 189 insertions(+), 43 deletions(-) [...] > @@ -182,31 +178,126 @@ typedef struct ThreadData { > dst_a += dst_linesize; \ > } > > +#define CLIP8(x, depth) av_clip_uint8(x) > +#define CLIP16(x, depth) av_clip_uint16(x) [...] > +static int colorlevels_slice_9_planar(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) > +{ > + ColorLevelsContext *s = ctx->priv; > + const int depth = s->depth; > + DO_COMMON(uint16_t, av_clip_uintp2, 0, 1) > + return 0; These things break build on ARM Is there any particular reason why you dont post patches for some changes? These breakages could be avoided if you posted this 1-2 days before applying In file included from src/libavutil/intmath.h:30:0, from src/libavutil/common.h:88, from src/libavutil/avutil.h:296, from src/libavutil/opt.h:31, from src/libavfilter/vf_colorlevels.c:22: src/libavutil/arm/intmath.h: In function ‘colorlevels_slice_9_planar’: src/libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn’t match constraints __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn’t match constraints __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn’t match constraints __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn’t match constraints __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: error: impossible constraint in ‘asm’ __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: error: impossible constraint in ‘asm’ __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: error: impossible constraint in ‘asm’ __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: error: impossible constraint in ‘asm’ __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h: In function ‘colorlevels_preserve_slice_9_planar’: src/libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn’t match constraints __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn’t match constraints __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn’t match constraints __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn’t match constraints __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn’t match constraints __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn’t match constraints __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn’t match constraints __asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p)); ^~~~~~~ src/ffbuild/common.mak:78: recipe for target 'libavfilter/vf_colorlevels.o' failed make: *** [libavfilter/vf_colorlevels.o] Error 1 thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Dictatorship naturally arises out of democracy, and the most aggravated form of tyranny and slavery out of the most extreme liberty. -- Plato [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] [-- Attachment #2: Type: text/plain, Size: 251 bytes --] _______________________________________________ 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".
parent reply other threads:[~2022-03-06 16:00 UTC|newest] Thread overview: expand[flat|nested] mbox.gz Atom feed [parent not found: <20220306125902.3340241048E@natalya.videolan.org>]
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=20220306155959.GF2978559@pb2 \ --to=michael@niedermayer.cc \ --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