yadif: Fix CHECK macro for YUY2 format

Used to make comb artifacts for videotestsrc pattern=ball for YUY2
format only (not AYUV).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1938>
This commit is contained in:
Vivia Nikolaidou 2022-03-12 17:13:48 +02:00 committed by GStreamer Marge Bot
parent e270e2967f
commit 8c648384f2

View file

@ -220,8 +220,8 @@ static void
if (is_not_edge) {\
int spatial_score = FFABS(stzero[x-colors2] - sbzero[x-colors2]) + FFABS(c-e) \
+ FFABS(stzero[x+colors2] - sbzero[x+colors2]); \
CHECK(-1) CHECK(-2) }} }} \
CHECK( 1) CHECK( 2) }} }} \
CHECK(-1 * colors2) CHECK(-2 * colors2) }} }} \
CHECK(colors2) CHECK(2 * colors2) }} }} \
}\
\
if (!(mode&2)) { \