Skip to content

Commit ca2c322

Browse files
committed
0.20200509: rename files
1 parent 7defdaa commit ca2c322

File tree

5 files changed

+14
-12
lines changed

5 files changed

+14
-12
lines changed

AUTHORS

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Project: https://github.com/ilyakurdyukov/jpeg-quantsmooth
1+
Origin project: https://github.com/ilyakurdyukov/jpeg-quantsmooth
2+
Project: https://github.com/ImageProcessing-ElectronicPublications/libjpegqs
23

34
Ilya Kurdyukov (Novosibirsk, Russia) [https://github.com/ilyakurdyukov]
4-
5+
zvezdochiot (Moscow, Russia) [https://github.com/zvezdochiot]

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
#APPNAME ?= quantsmooth #origin name
32
APPNAME ?= jpegqs
43
CFLAGS ?= -Wall -O2 -fopenmp -DAPPNAME=$(APPNAME)
54
LIBS ?= -ljpeg -lm
@@ -15,14 +14,14 @@ all: $(PLIBS) $(PROGS)
1514
clean:
1615
rm -rf $(PLIBS) $(PROGS) $(SRCS)/*.o
1716

18-
lib$(APPNAME).a: $(SRCS)/idct.o $(SRCS)/libquantsmooth.o
17+
lib$(APPNAME).a: $(SRCS)/idct.o $(SRCS)/libjpegqs.o
1918
$(AR) rcs $@ $^
2019

21-
lib$(APPNAME).so.0: $(SRCS)/idct.o $(SRCS)/libquantsmooth.o
20+
lib$(APPNAME).so.0: $(SRCS)/idct.o $(SRCS)/libjpegqs.o
2221
$(CC) $(CFLAGS) -shared $^ -o $@ $(LIBS) -s
2322

24-
$(APPNAME): lib$(APPNAME).so.0 $(SRCS)/quantsmooth.o
23+
$(APPNAME): lib$(APPNAME).so.0 $(SRCS)/jpegqs.o
2524
$(CC) $(CFLAGS) $^ -o $@ -s
2625

27-
$(APPNAME)-static: $(SRCS)/quantsmooth.c lib$(APPNAME).a
26+
$(APPNAME)-static: $(SRCS)/jpegqs.c lib$(APPNAME).a
2827
$(CC) $(CFLAGS) $^ -o $@ $(LIBS) -s

src/quantsmooth.c renamed to src/jpegqs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#define STRINGIFY(s) #s
2626
#define TOSTRING(s) STRINGIFY(s)
2727

28-
#include "quantsmooth.h"
28+
#include "jpegqs.h"
2929

3030
int main(int argc, char **argv)
3131
{

src/quantsmooth.h renamed to src/jpegqs.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
1919

20-
#ifndef QUANTSMOOTH_H
21-
#define QUANTSMOOTH_H
20+
#ifndef JPEGQUANTSMOOTH_H
21+
#define JPEGQUANTSMOOTH_H
2222

2323
#include <stdio.h>
2424
#include <stdlib.h>
@@ -28,6 +28,8 @@
2828
#include "idct.h"
2929
#include "jpeglib.h"
3030

31+
#define JPEGQS_VERSION "0.20200509"
32+
3133
typedef struct
3234
{
3335
int optimize;
@@ -108,4 +110,4 @@ void quantsmooth_block(JCOEFPTR coef, UINT16 *quantval, JSAMPROW image, int stri
108110
void quantsmooth_transform(j_decompress_ptr srcinfo, jvirt_barray_ptr *src_coef_arrays, JQS_PARAMS jqsparams);
109111
void do_quantsmooth(j_decompress_ptr srcinfo, jvirt_barray_ptr *coef_arrays, JQS_PARAMS jqsparams);
110112

111-
#endif //QUANTSMOOTH_H//
113+
#endif //JPEGQUANTSMOOTH_H//
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
1919

20-
#include "quantsmooth.h"
20+
#include "jpegqs.h"
2121

2222
void quantsmooth_init(JQS_PARAMS jqsparams)
2323
{

0 commit comments

Comments
 (0)