[FFmpeg-devel] [PATCH 3/3] ffmpeg: add opencl options to ffmpeg 20130410

Wei Gao highgod0401 at gmail.com
Thu Apr 11 14:18:50 CEST 2013


2013/4/11 Michael Niedermayer <michaelni at gmx.at>

> On Thu, Apr 11, 2013 at 01:01:46PM +0800, Wei Gao wrote:
> [...]
> > index ccef21c..15c4b4e 100644
> > --- a/cmdutils_common_opts.h
> > +++ b/cmdutils_common_opts.h
> > @@ -1,21 +1,24 @@
> > -    { "L"          , OPT_EXIT, {.func_arg = show_license},      "show
> license" },
> > -    { "h"          , OPT_EXIT, {.func_arg = show_help},         "show
> help", "topic" },
> > -    { "?"          , OPT_EXIT, {.func_arg = show_help},         "show
> help", "topic" },
> > -    { "help"       , OPT_EXIT, {.func_arg = show_help},         "show
> help", "topic" },
> > -    { "-help"      , OPT_EXIT, {.func_arg = show_help},         "show
> help", "topic" },
> > -    { "version"    , OPT_EXIT, {.func_arg = show_version},      "show
> version" },
> > -    { "formats"    , OPT_EXIT, {.func_arg = show_formats  },    "show
> available formats" },
> > -    { "codecs"     , OPT_EXIT, {.func_arg = show_codecs   },    "show
> available codecs" },
> > -    { "decoders"   , OPT_EXIT, {.func_arg = show_decoders },    "show
> available decoders" },
> > -    { "encoders"   , OPT_EXIT, {.func_arg = show_encoders },    "show
> available encoders" },
> > -    { "bsfs"       , OPT_EXIT, {.func_arg = show_bsfs     },    "show
> available bit stream filters" },
> > -    { "protocols"  , OPT_EXIT, {.func_arg = show_protocols},    "show
> available protocols" },
> > -    { "filters"    , OPT_EXIT, {.func_arg = show_filters  },    "show
> available filters" },
> > -    { "pix_fmts"   , OPT_EXIT, {.func_arg = show_pix_fmts },    "show
> available pixel formats" },
> > -    { "layouts"    , OPT_EXIT, {.func_arg = show_layouts  },    "show
> standard channel layouts" },
> > -    { "sample_fmts", OPT_EXIT, {.func_arg = show_sample_fmts }, "show
> available audio sample formats" },
> > -    { "loglevel"   , HAS_ARG,  {.func_arg = opt_loglevel},      "set
> logging level", "loglevel" },
> > -    { "v",           HAS_ARG,  {.func_arg = opt_loglevel},      "set
> logging level", "loglevel" },
> > -    { "report"     , 0,        {(void*)opt_report}, "generate a report"
> },
> > -    { "max_alloc"  , HAS_ARG,  {.func_arg = opt_max_alloc},     "set
> maximum size of a single allocated block", "bytes" },
> > -    { "cpuflags"   , HAS_ARG | OPT_EXPERT, {.func_arg = opt_cpuflags},
> "force specific cpu flags", "flags" },
> > +    { "L"             , OPT_EXIT, {.func_arg = show_license},
>  "show license" },
> > +    { "h"             , OPT_EXIT, {.func_arg = show_help},
> "show help", "topic" },
> > +    { "?"             , OPT_EXIT, {.func_arg = show_help},
> "show help", "topic" },
> > +    { "help"          , OPT_EXIT, {.func_arg = show_help},
> "show help", "topic" },
> > +    { "-help"         , OPT_EXIT, {.func_arg = show_help},
> "show help", "topic" },
> > +    { "version"       , OPT_EXIT, {.func_arg = show_version},
>  "show version" },
> > +    { "formats"       , OPT_EXIT, {.func_arg = show_formats  },
>  "show available formats" },
> > +    { "codecs"        , OPT_EXIT, {.func_arg = show_codecs   },
>  "show available codecs" },
> > +    { "decoders"      , OPT_EXIT, {.func_arg = show_decoders },
>  "show available decoders" },
> > +    { "encoders"      , OPT_EXIT, {.func_arg = show_encoders },
>  "show available encoders" },
> > +    { "bsfs"          , OPT_EXIT, {.func_arg = show_bsfs     },
>  "show available bit stream filters" },
> > +    { "protocols"     , OPT_EXIT, {.func_arg = show_protocols},
>  "show available protocols" },
> > +    { "filters"       , OPT_EXIT, {.func_arg = show_filters  },
>  "show available filters" },
> > +    { "pix_fmts"      , OPT_EXIT, {.func_arg = show_pix_fmts },
>  "show available pixel formats" },
> > +    { "layouts"       , OPT_EXIT, {.func_arg = show_layouts  },
>  "show standard channel layouts" },
> > +    { "sample_fmts"   , OPT_EXIT, {.func_arg = show_sample_fmts },
> "show available audio sample formats" },
> > +    { "loglevel"      , HAS_ARG,  {.func_arg = opt_loglevel},      "set
> logging level", "loglevel" },
> > +    { "v"             , HAS_ARG,  {.func_arg = opt_loglevel},      "set
> logging level", "loglevel" },
> > +    { "report"        , 0,        {(void*)opt_report}, "generate a
> report" },
> > +    { "max_alloc"     , HAS_ARG,  {.func_arg = opt_max_alloc},     "set
> maximum size of a single allocated block", "bytes" },
> > +    { "cpuflags"      , HAS_ARG | OPT_EXPERT, {.func_arg =
> opt_cpuflags}, "force specific cpu flags", "flags" },
>
> please dont reindent this
>
 modified according to latest comments
 Thanks

>
> [...]
>
>
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Good people do not need laws to tell them to act responsibly, while bad
> people will find a way around the laws. -- Plato
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-opencl-options-to-ffmpeg-20130411-new.patch
Type: application/octet-stream
Size: 2337 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130411/1750e439/attachment.obj>


More information about the ffmpeg-devel mailing list