Commit 6af28010 authored by Ronald S. Bultje's avatar Ronald S. Bultje

swscale: split swscale.c in unscaled and generic conversion routines.

This duplicates the function fillPlane().
parent 2762ee30
......@@ -5,7 +5,8 @@ FFLIBS = avutil
HEADERS = swscale.h
OBJS = options.o rgb2rgb.o swscale.o utils.o yuv2rgb.o
OBJS = options.o rgb2rgb.o swscale.o utils.o yuv2rgb.o \
swscale_unscaled.o
OBJS-$(ARCH_BFIN) += bfin/internal_bfin.o \
bfin/swscale_bfin.o \
......
This diff is collapsed.
......@@ -464,6 +464,13 @@ const char *sws_format_name(enum PixelFormat format);
|| (x)==PIX_FMT_Y400A \
|| (x)==PIX_FMT_YUVA420P \
)
#define isPacked(x) ( \
(x)==PIX_FMT_PAL8 \
|| (x)==PIX_FMT_YUYV422 \
|| (x)==PIX_FMT_UYVY422 \
|| (x)==PIX_FMT_Y400A \
|| isAnyRGB(x) \
)
#define usePal(x) ((av_pix_fmt_descriptors[x].flags & PIX_FMT_PAL) || (x) == PIX_FMT_Y400A)
extern const uint64_t ff_dither4[2];
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment