View | Details | Raw Unified | Return to bug 129067
Collapse All | Expand All

(-)c-a-i-r/Makefile (-2 / +2 lines)
Lines 6-15 Link Here
6
#
6
#
7
7
8
PORTNAME=	c-a-i-r
8
PORTNAME=	c-a-i-r
9
PORTVERSION=	2.16
9
PORTVERSION=	2.17
10
CATEGORIES=	graphics
10
CATEGORIES=	graphics
11
MASTER_SITES=	SF
11
MASTER_SITES=	SF
12
DISTNAME=	CAIR_MT_v2.16
12
DISTNAME=	CAIR_MT_v2.17
13
13
14
MAINTAINER=	buganini@gmail.com
14
MAINTAINER=	buganini@gmail.com
15
COMMENT=	Content Aware Image Resizer is an implementation of seam carving
15
COMMENT=	Content Aware Image Resizer is an implementation of seam carving
(-)c-a-i-r/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (CAIR_MT_v2.16.zip) = 5ddfef014e98579efc22c8cde4cf2e8f
1
MD5 (CAIR_MT_v2.17.zip) = 0bf903c4550d44a3467f676d41c05a41
2
SHA256 (CAIR_MT_v2.16.zip) = 6244ef83c0ecac5cffe681d76208a52698fa77f2bbfc6fc7c845817740ba46ff
2
SHA256 (CAIR_MT_v2.17.zip) = 85178eaba17a14e86bd5f81e345a393397db20569b79350fed6c146c89fdc188
3
SIZE (CAIR_MT_v2.16.zip) = 217086
3
SIZE (CAIR_MT_v2.17.zip) = 217913
(-)c-a-i-r/files/amd64-CAIR.cpp (-9 / +9 lines)
Lines 1-6 Link Here
1
--- CAIR.cpp.orig	2008-10-19 19:15:39.000000000 +0800
1
--- CAIR.cpp.orig	2008-11-22 23:41:22.000000000 +0800
2
+++ CAIR.cpp	2008-10-19 19:17:24.000000000 +0800
2
+++ CAIR.cpp	2008-11-22 23:43:28.000000000 +0800
3
@@ -252,7 +252,7 @@
3
@@ -260,7 +260,7 @@
4
 //Our thread function for the Grayscale
4
 //Our thread function for the Grayscale
5
 void * Gray_Quadrant( void * id )
5
 void * Gray_Quadrant( void * id )
6
 {
6
 {
Lines 9-16 Link Here
9
 
9
 
10
 	while( true )
10
 	while( true )
11
 	{
11
 	{
12
@@ -417,7 +417,7 @@
12
@@ -425,7 +425,7 @@
13
 //This is multi-threaded to 4 threads, spliting the image into 4 strips
13
 //The thread function, splitting the image into strips
14
 void * Edge_Quadrant( void * id )
14
 void * Edge_Quadrant( void * id )
15
 {
15
 {
16
-	int num = (int)id;
16
-	int num = (int)id;
Lines 18-24 Link Here
18
 
18
 
19
 	while( true )
19
 	while( true )
20
 	{
20
 	{
21
@@ -612,7 +612,7 @@
21
@@ -619,7 +619,7 @@
22
 //=========================================================================================================//
22
 //=========================================================================================================//
23
 void * Energy_Left( void * id )
23
 void * Energy_Left( void * id )
24
 {
24
 {
Lines 27-33 Link Here
27
 	int energy = 0;// current calculated enery
27
 	int energy = 0;// current calculated enery
28
 	int min_x = 0, max_x = 0;
28
 	int min_x = 0, max_x = 0;
29
 
29
 
30
@@ -727,7 +727,7 @@
30
@@ -734,7 +734,7 @@
31
 //=========================================================================================================//
31
 //=========================================================================================================//
32
 void * Energy_Right( void * id )
32
 void * Energy_Right( void * id )
33
 {
33
 {
Lines 36-42 Link Here
36
 	int energy = 0;// current calculated enery
36
 	int energy = 0;// current calculated enery
37
 	int min_x = 0, max_x = 0;
37
 	int min_x = 0, max_x = 0;
38
 
38
 
39
@@ -938,7 +938,7 @@
39
@@ -945,7 +945,7 @@
40
 //This works like Remove_Quadrant, stripes across the image.
40
 //This works like Remove_Quadrant, stripes across the image.
41
 void * Add_Quadrant( void * id )
41
 void * Add_Quadrant( void * id )
42
 {
42
 {
Lines 45-51 Link Here
45
 	Thread_Params add_area;
45
 	Thread_Params add_area;
46
 
46
 
47
 	while( true )
47
 	while( true )
48
@@ -1245,7 +1245,7 @@
48
@@ -1260,7 +1260,7 @@
49
 //the areas are not quadrants, rather, more like strips, but I keep the name convention
49
 //the areas are not quadrants, rather, more like strips, but I keep the name convention
50
 void * Remove_Quadrant( void * id )
50
 void * Remove_Quadrant( void * id )
51
 {
51
 {

Return to bug 129067