mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 17:09:48 +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/1943>
This commit is contained in:
parent
d58aca531b
commit
7fac3c2c29
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