public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Thierry Merle <thierry.merle@free.fr>
To: Gregor Jasny <jasny@vidsoft.de>
Cc: video4linux-list@redhat.com, v4l2-library@linuxtv.org
Subject: Re: PATCH: libv4l-fix-idct-inline-assembly.diff
Date: Fri, 04 Jul 2008 19:35:36 +0200	[thread overview]
Message-ID: <486E5F68.80201@free.fr> (raw)
In-Reply-To: <20080704144036.GJ18818@vidsoft.de>

Gregor Jasny a écrit :
> Hi,
>
> This patch fixes the input constraint for the sar instruction. It allows only an
> immediate or cl as shift width.
>
> Thanks,
> Gregor
>
> Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
>
> diff -r 61deeffda900 v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c
> --- a/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c	Fri Jul 04 07:21:55 2008 +0200
> +++ b/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c	Fri Jul 04 16:24:33 2008 +0200
> @@ -92,7 +92,7 @@ static inline unsigned char descale_and_
>        "\tcmpl %4,%1\n"
>        "\tcmovg %4,%1\n"
>        : "=r"(x)
> -      : "0"(x), "Ir"(shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0)
> +      : "0"(x), "Ic"((unsigned char)shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0)
>        );
>    return x;
>  }
>
>   
Applied on http://www.linuxtv.org/hg/~tmerle/v4l2-library

Thanks,

Thierry

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

      parent reply	other threads:[~2008-07-04 17:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-04 14:40 PATCH: libv4l-fix-idct-inline-assembly.diff Gregor Jasny
2008-07-04 15:07 ` Hans de Goede
2008-07-04 17:35 ` Thierry Merle [this message]

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=486E5F68.80201@free.fr \
    --to=thierry.merle@free.fr \
    --cc=jasny@vidsoft.de \
    --cc=v4l2-library@linuxtv.org \
    --cc=video4linux-list@redhat.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox