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

Michael Niedermayer michaelni at gmx.at
Thu Apr 11 16:05:08 CEST 2013


On Thu, Apr 11, 2013 at 08:18:50PM +0800, Wei Gao wrote:
> 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

applied

thanks

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

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130411/24b76942/attachment.asc>


More information about the ffmpeg-devel mailing list