Commit a8de3c0c authored by Yury Gitman's avatar Yury Gitman Committed by Yaowu Xu

Add VPX_SWAP macro

Change-Id: I60e233eddef238ad918183392794084673f27d2d
parent 1c1bc948
......@@ -46,6 +46,13 @@ extern "C" {
# define UNLIKELY(v) (v)
#endif
#define VPX_SWAP(type, a, b) \
do { \
type c = (b); \
b = a; \
a = c; \
} while (0)
#if CONFIG_VP9_HIGHBITDEPTH
// Note:
// tran_low_t is the datatype used for final transform coefficients.
......
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