1/* 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11#ifndef VP8_COMMON_MV_H_ 12#define VP8_COMMON_MV_H_ 13#include "vpx/vpx_integer.h" 14 15#ifdef __cplusplus 16extern "C" { 17#endif 18 19typedef struct { 20 short row; 21 short col; 22} MV; 23 24typedef union int_mv { 25 uint32_t as_int; 26 MV as_mv; 27} int_mv; /* facilitates faster equality tests and copies */ 28 29#ifdef __cplusplus 30} // extern "C" 31#endif 32 33#endif // VP8_COMMON_MV_H_ 34