1
by Jens Kuske
First release |
1 |
TARGET = libvdpau_sunxi.so.1 |
15
by Jens Kuske
Fix Makefile |
2 |
SRC = device.c presentation_queue.c surface_output.c surface_video.c \ |
71
by Jens Kuske
Use libcedrus |
3 |
surface_bitmap.c video_mixer.c decoder.c handles.c \
|
59.1.9
by Jens Kuske
Move disp code to seperate files |
4 |
h264.c mpeg12.c mpeg4.c rgba.c tiled_yuv.S h265.c sunxi_disp.c \
|
72
by Andreas Baierl
Add CPU fallback for G2D |
5 |
sunxi_disp2.c sunxi_disp1_5.c rgba_g2d.c rgba_pixman.c |
56
by Jens Kuske
Improve Makefile |
6 |
CFLAGS ?= -Wall -O3 |
7 |
LDFLAGS ?= |
|
71
by Jens Kuske
Use libcedrus |
8 |
LIBS = -lrt -lm -lX11 -lpthread -lcedrus |
56
by Jens Kuske
Improve Makefile |
9 |
CC ?= gcc |
1
by Jens Kuske
First release |
10 |
|
72
by Andreas Baierl
Add CPU fallback for G2D |
11 |
CFLAGS += $(shell pkg-config --cflags pixman-1) |
12 |
LIBS += $(shell pkg-config --libs pixman-1) |
|
13 |
||
1
by Jens Kuske
First release |
14 |
DEP_CFLAGS = -MD -MP -MQ $@ |
47
by Jens Kuske
Hide internal symbols in shared library |
15 |
LIB_CFLAGS = -fpic -fvisibility=hidden |
15
by Jens Kuske
Fix Makefile |
16 |
LIB_LDFLAGS = -shared -Wl,-soname,$(TARGET) |
1
by Jens Kuske
First release |
17 |
|
18 |
OBJ = $(addsuffix .o,$(basename $(SRC))) |
|
19 |
DEP = $(addsuffix .d,$(basename $(SRC))) |
|
20 |
||
21 |
MODULEDIR = $(shell pkg-config --variable=moduledir vdpau) |
|
22 |
||
23 |
ifeq ($(MODULEDIR),)
|
|
24 |
MODULEDIR=/usr/lib/vdpau |
|
25 |
endif
|
|
26 |
||
56
by Jens Kuske
Improve Makefile |
27 |
.PHONY: clean all install uninstall |
1
by Jens Kuske
First release |
28 |
|
29 |
all: $(TARGET) |
|
30 |
$(TARGET): $(OBJ) |
|
15
by Jens Kuske
Fix Makefile |
31 |
$(CC) $(LIB_LDFLAGS) $(LDFLAGS) $(OBJ) $(LIBS) -o $@ |
1
by Jens Kuske
First release |
32 |
|
33 |
clean: |
|
15
by Jens Kuske
Fix Makefile |
34 |
rm -f $(OBJ) |
35 |
rm -f $(DEP) |
|
36 |
rm -f $(TARGET) |
|
1
by Jens Kuske
First release |
37 |
|
38 |
install: $(TARGET) |
|
39 |
install -D $(TARGET) $(DESTDIR)$(MODULEDIR)/$(TARGET) |
|
56
by Jens Kuske
Improve Makefile |
40 |
ln -sf $(TARGET) $(DESTDIR)$(MODULEDIR)/$(basename $(TARGET)) |
1
by Jens Kuske
First release |
41 |
|
42 |
uninstall: |
|
56
by Jens Kuske
Improve Makefile |
43 |
rm -f $(DESTDIR)$(MODULEDIR)/$(basename $(TARGET)) |
1
by Jens Kuske
First release |
44 |
rm -f $(DESTDIR)$(MODULEDIR)/$(TARGET) |
45 |
||
46 |
%.o: %.c |
|
47 |
$(CC) $(DEP_CFLAGS) $(LIB_CFLAGS) $(CFLAGS) -c $< -o $@ |
|
48 |
||
44
by Jens Kuske
Add VideoSurface get_bits_y_cb_cr for YV12 and NV12 |
49 |
%.o: %.S |
50 |
$(CC) -c $< -o $@ |
|
51 |
||
1
by Jens Kuske
First release |
52 |
include $(wildcard $(DEP))
|