blob: b3f919db2bd6d62611c49a89a8159d3a9e724dd4 [file] [log] [blame]
John Koleszar0ea50ce2010-05-18 11:58:33 -04001/*
John Koleszarc2140b82010-09-09 08:16:39 -04002 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
John Koleszar0ea50ce2010-05-18 11:58:33 -04003 *
John Koleszar94c52e42010-06-18 12:39:21 -04004 * Use of this source code is governed by a BSD-style license
John Koleszar09202d82010-06-04 16:19:40 -04005 * 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
John Koleszar94c52e42010-06-18 12:39:21 -04007 * in the file PATENTS. All contributing project authors may
John Koleszar09202d82010-06-04 16:19:40 -04008 * be found in the AUTHORS file in the root of the source tree.
John Koleszar0ea50ce2010-05-18 11:58:33 -04009 */
10
11
12#ifndef __INC_MV_H
13#define __INC_MV_H
Scott LaVarnway6b255012011-05-12 10:50:16 -040014#include "vpx/vpx_integer.h"
John Koleszar0ea50ce2010-05-18 11:58:33 -040015
16typedef struct
17{
18 short row;
19 short col;
20} MV;
21
John Koleszar0b0bc8d2012-01-12 16:55:44 -080022typedef union int_mv
Scott LaVarnway6b255012011-05-12 10:50:16 -040023{
24 uint32_t as_int;
25 MV as_mv;
26} int_mv; /* facilitates faster equality tests and copies */
27
John Koleszar0ea50ce2010-05-18 11:58:33 -040028#endif