Merge "Add VPX_SWAP macro" into nextgenv2
This commit is contained in:
Коммит
8e3766f967
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче