ok, thank you for info. 
 
------------------------------------
-Regards, Hermet- 

-----Original Message-----
From: "Tom Hacohen"<tom.haco...@samsung.com> 
To: <enlightenment-devel@lists.sourceforge.net>; 
Cc: "ChunEon Park"<chuneon.p...@samsung.com>; "ChunEon Park"<her...@naver.com>; 
Sent: 2013-02-22 (금) 22:45:10
Subject: Re: [EGIT] [core/efl] master 01/01: evas/common - fix indentation

Hey Hermet (and others that are having the same issue),

Please consider properly setting your name using
git config --global user.name "ChunEon Park"

Cheers,
Tom.

On 22/02/13 13:40, chuneon.park - Enlightenment Git wrote:
> hermet pushed a commit to branch master.
>
> commit e79cb473a850f163eda0a93da88e4f1bde60ffeb
> Author: chuneon.park <chuneon.park>@samsung.com>
> Date:   Fri Feb 22 22:40:34 2013 +0900
>
>      evas/common - fix indentation
> ---
>   src/lib/evas/common/evas_scale_sample.c  60 
> ++++++++++++++++-----------------
>   1 file changed, 30 insertions(+), 30 deletions(-)
>
> diff --git a/src/lib/evas/common/evas_scale_sample.c 
> b/src/lib/evas/common/evas_scale_sample.c
> index 44b388e..ec80f1e 100644
> --- a/src/lib/evas/common/evas_scale_sample.c
> +++ b/src/lib/evas/common/evas_scale_sample.c
> @@ -99,15 +99,15 @@ evas_common_scale_rgba_sample_draw(RGBA_Image *src, 
> RGBA_Image *dst, int dst_cli
>
>      if (dst_clip_x < dst_region_x)
>        {
> -dst_clip_w += dst_clip_x - dst_region_x;
> -dst_clip_x = dst_region_x;
> +        dst_clip_w += dst_clip_x - dst_region_x;
> +        dst_clip_x = dst_region_x;
>        }
>      if ((dst_clip_x + dst_clip_w) > (dst_region_x + dst_region_w))
>        dst_clip_w = dst_region_x + dst_region_w - dst_clip_x;
>      if (dst_clip_y < dst_region_y)
>        {
> -dst_clip_h += dst_clip_y - dst_region_y;
> -dst_clip_y = dst_region_y;
> +        dst_clip_h += dst_clip_y - dst_region_y;
> +        dst_clip_y = dst_region_y;
>        }
>      if ((dst_clip_y + dst_clip_h) > (dst_region_y + dst_region_h))
>        dst_clip_h = dst_region_y + dst_region_h - dst_clip_y;
> @@ -120,68 +120,68 @@ evas_common_scale_rgba_sample_draw(RGBA_Image *src, 
> RGBA_Image *dst, int dst_cli
>      /* sanitise x */
>      if (src_region_x < 0)
>        {
> -dst_region_x -= (src_region_x * dst_region_w) / src_region_w;
> -dst_region_w += (src_region_x * dst_region_w) / src_region_w;
> -src_region_w += src_region_x;
> -src_region_x = 0;
> +        dst_region_x -= (src_region_x * dst_region_w) / src_region_w;
> +        dst_region_w += (src_region_x * dst_region_w) / src_region_w;
> +        src_region_w += src_region_x;
> +        src_region_x = 0;
>        }
>      if (src_region_x >= src_w) return;
>      if ((src_region_x + src_region_w) > src_w)
>        {
> -dst_region_w = (dst_region_w * (src_w - src_region_x)) / (src_region_w);
> -src_region_w = src_w - src_region_x;
> +        dst_region_w = (dst_region_w * (src_w - src_region_x)) / 
> (src_region_w);
> +        src_region_w = src_w - src_region_x;
>        }
>      if (dst_region_w <= 0) return;
>      if (src_region_w <= 0) return;
>      if (dst_clip_x < 0)
>        {
> -dst_clip_w += dst_clip_x;
> -dst_clip_x = 0;
> +        dst_clip_w += dst_clip_x;
> +        dst_clip_x = 0;
>        }
>      if (dst_clip_w <= 0) return;
>      if (dst_clip_x >= dst_w) return;
>      if (dst_clip_x < dst_region_x)
>        {
> -dst_clip_w += (dst_clip_x - dst_region_x);
> -dst_clip_x = dst_region_x;
> +        dst_clip_w += (dst_clip_x - dst_region_x);
> +        dst_clip_x = dst_region_x;
>        }
>      if ((dst_clip_x + dst_clip_w) > dst_w)
>        {
> -dst_clip_w = dst_w - dst_clip_x;
> +        dst_clip_w = dst_w - dst_clip_x;
>        }
>      if (dst_clip_w <= 0) return;
>
>      /* sanitise y */
>      if (src_region_y < 0)
>        {
> -dst_region_y -= (src_region_y * dst_region_h) / src_region_h;
> -dst_region_h += (src_region_y * dst_region_h) / src_region_h;
> -src_region_h += src_region_y;
> -src_region_y = 0;
> +        dst_region_y -= (src_region_y * dst_region_h) / src_region_h;
> +        dst_region_h += (src_region_y * dst_region_h) / src_region_h;
> +        src_region_h += src_region_y;
> +        src_region_y = 0;
>        }
>      if (src_region_y >= src_h) return;
>      if ((src_region_y + src_region_h) > src_h)
>        {
> -dst_region_h = (dst_region_h * (src_h - src_region_y)) / (src_region_h);
> -src_region_h = src_h - src_region_y;
> +        dst_region_h = (dst_region_h * (src_h - src_region_y)) / 
> (src_region_h);
> +        src_region_h = src_h - src_region_y;
>        }
>      if (dst_region_h <= 0) return;
>      if (src_region_h <= 0) return;
>      if (dst_clip_y < 0)
>        {
> -dst_clip_h += dst_clip_y;
> -dst_clip_y = 0;
> +        dst_clip_h += dst_clip_y;
> +        dst_clip_y = 0;
>        }
>      if (dst_clip_h <= 0) return;
>      if (dst_clip_y >= dst_h) return;
>      if (dst_clip_y < dst_region_y)
>        {
> -dst_clip_h += (dst_clip_y - dst_region_y);
> -dst_clip_y = dst_region_y;
> +        dst_clip_h += (dst_clip_y - dst_region_y);
> +        dst_clip_y = dst_region_y;
>        }
>      if ((dst_clip_y + dst_clip_h) > dst_h)
>        {
> -dst_clip_h = dst_h - dst_clip_y;
> +        dst_clip_h = dst_h - dst_clip_y;
>        }
>      if (dst_clip_h <= 0) return;
>
> @@ -215,13 +215,13 @@ evas_common_scale_rgba_sample_draw(RGBA_Image *src, 
> RGBA_Image *dst, int dst_cli
>      else
>        {
>           /* fill scale tables */
> -for (x = 0; x < dst_clip_w; x++)
> +        for (x = 0; x < dst_clip_w; x++)
>             lin_ptr[x] = (((x + dst_clip_x - dst_region_x) * src_region_w) / 
> dst_region_w) + src_region_x;
> -for (y = 0; y < dst_clip_h; y++)
> +        for (y = 0; y < dst_clip_h; y++)
>             row_ptr[y] = src_data + (((((y + dst_clip_y - dst_region_y) * 
> src_region_h) / dst_region_h)
>                                       + src_region_y) * src_w);
> -/* scale to dst */
> -dptr = dst_ptr;
> +        /* scale to dst */
> +        dptr = dst_ptr;
>
>           /* a scanline buffer */
>           buf = alloca(dst_clip_w * sizeof(DATA32));
>


 
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to