1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libvpx/vp8/common/mv.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +/* 1.5 + * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 1.6 + * 1.7 + * Use of this source code is governed by a BSD-style license 1.8 + * that can be found in the LICENSE file in the root of the source 1.9 + * tree. An additional intellectual property rights grant can be found 1.10 + * in the file PATENTS. All contributing project authors may 1.11 + * be found in the AUTHORS file in the root of the source tree. 1.12 + */ 1.13 + 1.14 + 1.15 +#ifndef __INC_MV_H 1.16 +#define __INC_MV_H 1.17 +#include "vpx/vpx_integer.h" 1.18 + 1.19 +typedef struct 1.20 +{ 1.21 + short row; 1.22 + short col; 1.23 +} MV; 1.24 + 1.25 +typedef union int_mv 1.26 +{ 1.27 + uint32_t as_int; 1.28 + MV as_mv; 1.29 +} int_mv; /* facilitates faster equality tests and copies */ 1.30 + 1.31 +#endif