[FFmpeg-devel] [PATCH] Set horizontal scaler's range conversion in context in sws_init_swScale().

Michael Niedermayer michaelni
Sun Dec 20 05:09:05 CET 2009


On Sun, Dec 20, 2009 at 01:43:37AM -0200, Ramiro Polla wrote:
> .

>  swscale_internal.h |    3 ++
>  swscale_template.c |   75 +++++++++++++++++++++++++++++++++--------------------
>  2 files changed, 50 insertions(+), 28 deletions(-)
> 6ffd6f6ca1240bd0ed97230a1675f398060761e2  0002-Set-horizontal-scaler-s-range-conversion-in-context.patch
> From 1c25cb21b8fb9b17e4670073e748f01a38de7d1f Mon Sep 17 00:00:00 2001
> From: Ramiro Polla <ramiro.polla at gmail.com>
> Date: Sun, 20 Dec 2009 01:31:14 -0200
> Subject: [PATCH] Set horizontal scaler's range conversion in context in sws_init_swScale().
> 
> ---
>  swscale_internal.h |    3 ++
>  swscale_template.c |   75 ++++++++++++++++++++++++++++++++-------------------
>  2 files changed, 50 insertions(+), 28 deletions(-)
> 
> diff --git a/swscale_internal.h b/swscale_internal.h
> index c4098d1..0dab9f6 100644
> --- a/swscale_internal.h
> +++ b/swscale_internal.h
> @@ -273,6 +273,9 @@ typedef struct SwsContext {
>                     int xInc, const int16_t *filter, const int16_t *filterPos,
>                     long filterSize);
>  
> +    void (*lumConvertRange)(uint16_t *dst, int width);
> +    void (*chrConvertRange)(uint16_t *dst, int width);

both need doxy specifiying API

except that patch should be ok (assuming its tested)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I wish the Xiph folks would stop pretending they've got something they
do not.  Somehow I fear this will remain a wish. -- M?ns Rullg?rd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091220/622e5ce3/attachment.pgp>



More information about the ffmpeg-devel mailing list