All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] libmad: Add optimization config options
Date: Fri, 13 Jul 2012 21:51:19 +0200 (CEST)	[thread overview]
Message-ID: <17811032.1339793.1342209079006.JavaMail.root@advansee.com> (raw)
In-Reply-To: <20120713214147.7fd4d1e8@skate>

Hi Thomas,

> > Changes for v2:
> >    - Factorize the 'able' in the $(if ).
> 
> I prefer the solution in v1 with regard to this, as it is much easier
> to read.

As you prefer.

> > +choice
> > +	prompt "Speed vs. accuracy"
> > +	default BR2_PACKAGE_LIBMAD_SPEED_ACCURACY
> 
> What about calling those options:
> 
>  BR2_PACKAGE_LIBMAD_OPTIMIZATION_SPEED
>  BR2_PACKAGE_LIBMAD_OPTIMIZATION_ACCURACY
>  BR2_PACKAGE_LIBMAD_OPTIMIZATION_DEFAULT
> 
> > +config BR2_PACKAGE_LIBMAD_SPEED_ACCURACY
> > +	bool "Optimize for both speed and accuracy"
> 
> This should rather be:
> 
> 	bool "Default"
> 
> or something like that. Technically, this option does not enable any
> special optimization for both speed and accuracy, it just uses the
> default options.

Actually, libmad's README says that the default options (neither --enable-speed
nor --enable-accuracy) imply an optimization of both:

"Note that you need not specify one of --enable-speed or --enable-accuracy; in
its default configuration, MAD is optimized for both."

But it refuses to configure with both options, and there is indeed technically
nothing special done by default.

I'll post a v3 doing all that.

Regards,
Beno?t

  reply	other threads:[~2012-07-13 19:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <702722447.1326180.1342189637611.JavaMail.root@advansee.com>
2012-07-13 14:28 ` [Buildroot] [PATCH] libmad: Add optimization config options Benoît Thébaudeau
2012-07-13 17:25   ` [Buildroot] [PATCH v2] " Benoît Thébaudeau
2012-07-13 19:41     ` Thomas Petazzoni
2012-07-13 19:51       ` Benoît Thébaudeau [this message]
2012-07-13 20:14         ` [Buildroot] [PATCH v3] " Benoît Thébaudeau
2012-07-13 20:48           ` Thomas Petazzoni

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=17811032.1339793.1342209079006.JavaMail.root@advansee.com \
    --to=benoit.thebaudeau@advansee.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.