mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
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:
parent
e270e2967f
commit
8c648384f2
1 changed files with 2 additions and 2 deletions
|
@ -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)) { \
|
||||
|
|
Loading…
Reference in a new issue