summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib/mpegplay/motionVector.h
blob: 5a58e027bfc2fcb1d400308df4be4ae44b6179ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
  class for motionvectors
  Copyright (C) 1999  Martin Vogt

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU Library General Public License as published by
  the Free Software Foundation.

  For more information look at the file COPYRIGHT in this package

 */


#ifndef __MOTIONVECTOR_H
#define __MOTIONVECTOR_H


#include "picture.h"


class MotionVector {


 public:
  MotionVector();
  ~MotionVector();

  void computeVector(int* recon_right_ptr,
		     int* recon_down_ptr, 
		     int& recon_right_prev, 
		     int& recon_down_prev,
		     unsigned int& f, 
		     unsigned int& full_pel_vector, 
		     int& motion_h_code, 
		     int& motion_v_code, 
		     unsigned int& motion_h_r,
		     unsigned int& motion_v_r);

};
#endif