mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
d3f3eea92d
YUV2 -> RGB BGR for 565, 555 and 888 a.k.a. 24bit color. Speed-up compared to C version compiled with -O3 187.28% Patch by Marc Hoffman %mmh A pleasantst P com% Original thread: Date: May 9, 2007 2:46 AM Subject: [FFmpeg-devel] PATCH BlackFin yuv2rgb color space conversion Originally committed as revision 23307 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
29 lines
569 B
Makefile
29 lines
569 B
Makefile
|
|
include ../config.mak
|
|
|
|
NAME=swscale
|
|
LIBVERSION=$(SWSVERSION)
|
|
LIBMAJOR=$(SWSMAJOR)
|
|
|
|
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
|
|
|
OBJS= swscale.o rgb2rgb.o
|
|
|
|
OBJS-$(TARGET_ALTIVEC) += yuv2rgb_altivec.o
|
|
OBJS-$(CONFIG_GPL) += yuv2rgb.o
|
|
|
|
OBJS-$(TARGET_ARCH_BFIN) += yuv2rgb_bfin.o
|
|
ASM_OBJS-$(TARGET_ARCH_BFIN) += internal_bfin.o
|
|
|
|
HEADERS = swscale.h rgb2rgb.h
|
|
|
|
include ../common.mak
|
|
|
|
cs_test: cs_test.o $(LIB)
|
|
|
|
swscale-example: swscale-example.o $(LIB)
|
|
swscale-example: EXTRALIBS += -lm
|
|
|
|
clean::
|
|
rm -f cs_test swscale-example
|