Doxygen Source Code Documentation
motion_comp.c File Reference
#include "config.h"#include <inttypes.h>#include "mpeg2.h"#include "mpeg2_internal.h"Go to the source code of this file.
| Defines | |
| #define | avg2(a, b) ((a+b+1)>>1) | 
| #define | avg4(a, b, c, d) ((a+b+c+d+2)>>2) | 
| #define | predict_o(i) (ref[i]) | 
| #define | predict_x(i) (avg2 (ref[i], ref[i+1])) | 
| #define | predict_y(i) (avg2 (ref[i], (ref+stride)[i])) | 
| #define | predict_xy(i) | 
| #define | put(predictor, i) dest[i] = predictor (i) | 
| #define | avg(predictor, i) dest[i] = avg2 (predictor (i), dest[i]) | 
| #define | MC_FUNC(op, xy) | 
| Functions | |
| void | mpeg2_mc_init (uint32_t accel) | 
| Variables | |
| mpeg2_mc_t | mpeg2_mc | 
Define Documentation
| 
 | 
| 
 Definition at line 72 of file motion_comp.c. Referenced by calc_good_fit(), main(), PRIC_main(), RIC_CalcCoeffAB(), and RIC_CalcVoxelMeans(). | 
| 
 | 
| 
 Definition at line 62 of file motion_comp.c. | 
| 
 | 
| 
 Definition at line 63 of file motion_comp.c. | 
| 
 | 
| 
 Definition at line 76 of file motion_comp.c. | 
| 
 | 
| 
 Definition at line 65 of file motion_comp.c. | 
| 
 | 
| 
 Definition at line 66 of file motion_comp.c. | 
| 
 | 
| Value: Definition at line 68 of file motion_comp.c. | 
| 
 | 
| 
 Definition at line 67 of file motion_comp.c. | 
| 
 | 
| 
 Definition at line 71 of file motion_comp.c. | 
Function Documentation
| 
 | 
Variable Documentation
| 
 | 
| 
 Definition at line 31 of file motion_comp.c. | 
 
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
 
 
 
 
       
	   
	   
	   
	  