123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- chromadir = $(pluginsdir)/video_chroma
- libchain_plugin_la_SOURCES = video_chroma/chain.c
- libchroma_omx_plugin_la_SOURCES = video_chroma/omxdl.c
- libchroma_omx_plugin_la_CFLAGS = $(AM_CFLAGS) $(OMXIP_CFLAGS)
- libchroma_omx_plugin_la_LIBADD = $(OMXIP_LIBS)
- libswscale_plugin_la_SOURCES = video_chroma/swscale.c codec/avcodec/chroma.c
- libswscale_plugin_la_CFLAGS = $(AM_CFLAGS) $(SWSCALE_CFLAGS)
- libswscale_plugin_la_LIBADD = $(SWSCALE_LIBS) $(LIBM)
- libswscale_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(chromadir)'
- libgrey_yuv_plugin_la_SOURCES = video_chroma/grey_yuv.c
- libi420_rgb_plugin_la_SOURCES = video_chroma/i420_rgb.c video_chroma/i420_rgb.h \
- video_chroma/i420_rgb8.c video_chroma/i420_rgb16.c video_chroma/i420_rgb_c.h
- libi420_rgb_plugin_la_LIBADD = $(LIBM)
- libi420_yuy2_plugin_la_SOURCES = video_chroma/i420_yuy2.c video_chroma/i420_yuy2.h
- libi420_yuy2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
- -DMODULE_NAME_IS_i420_yuy2
- libi420_nv12_plugin_la_SOURCES = video_chroma/i420_nv12.c \
- video_chroma/copy.c video_chroma/copy.h
- libi420_nv12_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
- -DMODULE_NAME_IS_i420_nv12
- libi420_10_p010_plugin_la_SOURCES = video_chroma/i420_10_p010.c \
- video_chroma/copy.c video_chroma/copy.h
- libi420_10_p010_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
- -DMODULE_NAME_IS_i420_10_p010
- libi422_i420_plugin_la_SOURCES = video_chroma/i422_i420.c
- libi422_yuy2_plugin_la_SOURCES = video_chroma/i422_yuy2.c video_chroma/i422_yuy2.h
- libi422_yuy2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
- -DMODULE_NAME_IS_i422_yuy2
- librv32_plugin_la_SOURCES = video_chroma/rv32.c
- libyuy2_i420_plugin_la_SOURCES = video_chroma/yuy2_i420.c
- libyuy2_i422_plugin_la_SOURCES = video_chroma/yuy2_i422.c
- libyuvp_plugin_la_SOURCES = video_chroma/yuvp.c
- chroma_LTLIBRARIES = \
- libi420_rgb_plugin.la \
- libi420_yuy2_plugin.la \
- libi420_nv12_plugin.la \
- libi420_10_p010_plugin.la \
- libi422_i420_plugin.la \
- libi422_yuy2_plugin.la \
- libgrey_yuv_plugin.la \
- libyuy2_i420_plugin.la \
- libyuy2_i422_plugin.la \
- librv32_plugin.la \
- libchain_plugin.la \
- libyuvp_plugin.la \
- $(LTLIBswscale)
- EXTRA_LTLIBRARIES += libswscale_plugin.la libchroma_omx_plugin.la
- # AltiVec
- libi420_yuy2_altivec_plugin_la_SOURCES = video_chroma/i420_yuy2.c video_chroma/i420_yuy2.h
- libi420_yuy2_altivec_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
- -DMODULE_NAME_IS_i420_yuy2_altivec
- libi420_yuy2_altivec_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALTIVEC_CFLAGS)
- if HAVE_ALTIVEC
- chroma_LTLIBRARIES += \
- libi420_yuy2_altivec_plugin.la
- endif
- # MMX
- libi420_rgb_mmx_plugin_la_SOURCES = video_chroma/i420_rgb.c video_chroma/i420_rgb.h \
- video_chroma/i420_rgb16_x86.c video_chroma/i420_rgb_mmx.h
- libi420_rgb_mmx_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DMMX
- libi420_yuy2_mmx_plugin_la_SOURCES = video_chroma/i420_yuy2.c video_chroma/i420_yuy2.h
- libi420_yuy2_mmx_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
- -DMODULE_NAME_IS_i420_yuy2_mmx
- libi422_yuy2_mmx_plugin_la_SOURCES = video_chroma/i422_yuy2.c video_chroma/i422_yuy2.h
- libi422_yuy2_mmx_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
- -DMODULE_NAME_IS_i422_yuy2_mmx
- if HAVE_MMX
- chroma_LTLIBRARIES += \
- libi420_rgb_mmx_plugin.la \
- libi420_yuy2_mmx_plugin.la \
- libi422_yuy2_mmx_plugin.la
- endif
- # SSE2
- libi420_rgb_sse2_plugin_la_SOURCES = video_chroma/i420_rgb.c video_chroma/i420_rgb.h \
- video_chroma/i420_rgb16_x86.c video_chroma/i420_rgb_sse2.h
- libi420_rgb_sse2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DSSE2
- libi420_yuy2_sse2_plugin_la_SOURCES = video_chroma/i420_yuy2.c video_chroma/i420_yuy2.h
- libi420_yuy2_sse2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
- -DMODULE_NAME_IS_i420_yuy2_sse2
- libi422_yuy2_sse2_plugin_la_SOURCES = video_chroma/i422_yuy2.c video_chroma/i422_yuy2.h
- libi422_yuy2_sse2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
- -DMODULE_NAME_IS_i422_yuy2_sse2
- if HAVE_SSE2
- chroma_LTLIBRARIES += \
- libi420_rgb_sse2_plugin.la \
- libi420_yuy2_sse2_plugin.la \
- libi422_yuy2_sse2_plugin.la
- endif
- # DXVA2
- libdxa9_plugin_la_SOURCES = video_chroma/dxa9.c \
- video_chroma/d3d9_fmt.h video_chroma/copy.c video_chroma/copy.h
- if HAVE_AVCODEC_DXVA2
- chroma_LTLIBRARIES += \
- libdxa9_plugin.la
- endif
- # D3D11VA
- libd3d11_surface_plugin_la_SOURCES = video_chroma/d3d11_surface.c \
- video_chroma/d3d11_fmt.h video_chroma/dxgi_fmt.c video_chroma/dxgi_fmt.h \
- video_chroma/copy.c video_chroma/copy.h
- if HAVE_AVCODEC_D3D11VA
- chroma_LTLIBRARIES += \
- libd3d11_surface_plugin.la
- endif
- libcvpx_plugin_la_SOURCES = video_chroma/cvpx.c video_chroma/copy.c video_chroma/copy.h \
- codec/vt_utils.c codec/vt_utils.h
- libcvpx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(chromadir)' -Wl,-framework,Foundation -Wl,-framework,VideoToolbox -Wl,-framework,CoreMedia -Wl,-framework,CoreVideo
- EXTRA_LTLIBRARIES += libcvpx_plugin.la
- chroma_LTLIBRARIES += $(LTLIBcvpx)
|