Files
FFmpeg/libswscale/Makefile
Niklas Haas b568f20f32 swscale/rational64: add 64-bit rational type
This is needed by the ops code, to represent intermediate values for 32-bit
formats, which can exceed the value range of int32_t (especially for
intermediate products).

I copied the math almost 1:1 from rational.c, but adapted to use the 128-bit
integer wrappers defined by int128.h. I added a generous amount of tests in
any case.

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
2026-06-25 01:20:15 +02:00

57 lines
2.7 KiB
Makefile

NAME = swscale
DESC = FFmpeg image rescaling library
HEADERS = swscale.h \
version.h \
version_major.h \
OBJS = alphablend.o \
cms.o \
csputils.o \
hscale.o \
hscale_fast_bilinear.o \
filters.o \
format.o \
framepool.o \
gamma.o \
graph.o \
input.o \
lut3d.o \
options.o \
output.o \
rgb2rgb.o \
slice.o \
swscale.o \
swscale_unscaled.o \
utils.o \
version.o \
yuv2rgb.o \
vscale.o \
OBJS-$(CONFIG_UNSTABLE) += \
ops.o \
ops_chain.o \
ops_dispatch.o \
ops_memcpy.o \
ops_optimizer.o \
rational64.o \
uops.o \
uops_backend.o \
ifeq ($(CONFIG_UNSTABLE),yes)
include $(SRC_PATH)/libswscale/vulkan/Makefile
endif
# Objects duplicated from other libraries for shared builds
SHLIBOBJS += log2_tab.o half2float.o
# Windows resource file
SHLIBOBJS-$(HAVE_GNU_WINDRES) += swscaleres.o
TESTPROGS = colorspace \
floatimg_cmp \
pixdesc_query \
swscale \
sws_ops \
sws_ops_aarch64 \