Skip to content

Commit

Permalink
Remove the unused macro SUBSAMPLE
Browse files Browse the repository at this point in the history
  • Loading branch information
wantehchang committed Jul 30, 2024
1 parent 5125ca2 commit d486dad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion third_party/libyuv/source/scale.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ static __inline int Abs(int v) {
return v >= 0 ? v : -v;
}

#define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s)
#define CENTERSTART(dx, s) (dx < 0) ? -((-dx >> 1) + s) : ((dx >> 1) + s)

#define MIN1(x) ((x) < 1 ? 1 : (x))
Expand Down

0 comments on commit d486dad

Please sign in to comment.