| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Motion estimation | 2 * Motion estimation |
| 3 * Copyright (c) 2000,2001 Fabrice Bellard | 3 * Copyright (c) 2000,2001 Fabrice Bellard |
| 4 * Copyright (c) 2002-2004 Michael Niedermayer | 4 * Copyright (c) 2002-2004 Michael Niedermayer |
| 5 * | 5 * |
| 6 * new motion estimation (X1/EPZS) by Michael Niedermayer <michaelni@gmx.at> | 6 * new motion estimation (X1/EPZS) by Michael Niedermayer <michaelni@gmx.at> |
| 7 * | 7 * |
| 8 * This file is part of FFmpeg. | 8 * This file is part of FFmpeg. |
| 9 * | 9 * |
| 10 * FFmpeg is free software; you can redistribute it and/or | 10 * FFmpeg is free software; you can redistribute it and/or |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 /** | 25 /** |
| 26 * @file libavcodec/motion_est.c | 26 * @file libavcodec/motion_est.c |
| 27 * Motion estimation. | 27 * Motion estimation. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #include <stdlib.h> | 30 #include <stdlib.h> |
| 31 #include <stdio.h> | 31 #include <stdio.h> |
| 32 #include <limits.h> | 32 #include <limits.h> |
| 33 #include "libavutil/intmath.h" |
| 33 #include "avcodec.h" | 34 #include "avcodec.h" |
| 34 #include "dsputil.h" | 35 #include "dsputil.h" |
| 35 #include "mathops.h" | 36 #include "mathops.h" |
| 36 #include "mpegvideo.h" | 37 #include "mpegvideo.h" |
| 37 | 38 |
| 38 #undef NDEBUG | 39 #undef NDEBUG |
| 39 #include <assert.h> | 40 #include <assert.h> |
| 40 | 41 |
| 41 #define SQ(a) ((a)*(a)) | 42 #define SQ(a) ((a)*(a)) |
| 42 | 43 |
| (...skipping 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1894 mv_table[xy][0]= | 1895 mv_table[xy][0]= |
| 1895 mv_table[xy][1]= 0; | 1896 mv_table[xy][1]= 0; |
| 1896 } | 1897 } |
| 1897 } | 1898 } |
| 1898 } | 1899 } |
| 1899 } | 1900 } |
| 1900 xy++; | 1901 xy++; |
| 1901 } | 1902 } |
| 1902 } | 1903 } |
| 1903 } | 1904 } |
| OLD | NEW |