[FFmpeg-soc] [PATCH] Splitted AVOption & AVClass part

Michael Niedermayer michaelni at gmx.at
Sun May 4 22:23:38 CEST 2008


On Sun, May 04, 2008 at 03:58:01PM +0200, Keiji Costantini wrote:
> Michael Niedermayer ha scritto:
>> Id prefer this to be a .c file instead of .h
>> [...]
> tried.
[...]
> -    { "bfin", "Blackfin SIMD acceleration", 0, FF_OPT_TYPE_CONST, SWS_CPU_CAPS_BFIN, INT_MIN, INT_MAX, VE, "sws_flags" },
> -    { "full_chroma_int", "full chroma interpolation", 0 , FF_OPT_TYPE_CONST, SWS_FULL_CHR_H_INT, INT_MIN, INT_MAX, VE, "sws_flags" },
> -    { "full_chroma_inp", "full chroma input", 0 , FF_OPT_TYPE_CONST, SWS_FULL_CHR_H_INP, INT_MIN, INT_MAX, VE, "sws_flags" },
> -    { NULL }
> -};
> -
> -#undef VE
> -#undef DEFAULT
> -
> -static const AVClass sws_context_class = { "SWScaler", sws_context_to_name, options };

> +extern const AVClass sws_context_class;

This could as well be in swscale_internal.h so swscale_avoption.h would not be
needed at all

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- 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-soc/attachments/20080504/1defb4dd/attachment.pgp>


More information about the FFmpeg-soc mailing list