grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Bitmap scale support.


From: Vladimir 'phcoder' Serbinenko
Subject: Re: [PATCH] Bitmap scale support.
Date: Fri, 28 Aug 2009 19:11:55 +0200

On Wed, Aug 26, 2009 at 2:40 AM, Robert Millan<address@hidden> wrote:
> On Mon, Aug 24, 2009 at 10:48:26PM +0200, Vladimir 'phcoder' Serbinenko wrote:
>> +  int dy;
>> +  for (dy = 0; dy < dh; dy++)
>> +    {
>> +      int dx;
>> +      for (dx = 0; dx < dw; dx++)
>> +        {
>> +          grub_uint8_t *dptr;
>> +          grub_uint8_t *sptr;
>> +          int sx;
>> +          int sy;
>> [...]
>> +                  grub_uint8_t f0y = (256 - v) * f00 / 256 + v * f01 / 256;
>> +                  grub_uint8_t f1y = (256 - v) * f10 / 256 + v * f11 / 256;
>
> This kind of variable names make the code too cryptic.  Please could you use
> more meaningful names?
>
I will look what I can do. I have to understand this part of code a
bit better first (it's Collin's work, I just rediffed it)
> --
> Robert Millan
>
>  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
>  how) you may access your data; but nobody's threatening your freedom: we
>  still allow you to remove your data and not access it at all."
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git




reply via email to

[Prev in Thread] Current Thread [Next in Thread]