Mercurial > libavcodec.hg
comparison motion_est.c @ 2846:40765c51a7a9 libavcodec
Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)
author | michael |
---|---|
date | Fri, 26 Aug 2005 19:05:44 +0000 |
parents | fd5d7c732c6b |
children | ef2149182f1c |
comparison
equal
deleted
inserted
replaced
2845:d9f4b93e81c5 | 2846:40765c51a7a9 |
---|---|
439 y2 = ymax; | 439 y2 = ymax; |
440 | 440 |
441 } while (range >= 1); | 441 } while (range >= 1); |
442 | 442 |
443 #ifdef DEBUG | 443 #ifdef DEBUG |
444 fprintf(stderr, "log - MX: %d\tMY: %d\n", mx, my); | 444 av_log(s->avctx, AV_LOG_DEBUG, "log - MX: %d\tMY: %d\n", mx, my); |
445 #endif | 445 #endif |
446 *mx_ptr = mx; | 446 *mx_ptr = mx; |
447 *my_ptr = my; | 447 *my_ptr = my; |
448 return dmin; | 448 return dmin; |
449 } | 449 } |
528 y2 = ymax; | 528 y2 = ymax; |
529 | 529 |
530 } while (range >= 1); | 530 } while (range >= 1); |
531 | 531 |
532 #ifdef DEBUG | 532 #ifdef DEBUG |
533 fprintf(stderr, "phods - MX: %d\tMY: %d\n", mx, my); | 533 av_log(s->avctx, AV_LOG_DEBUG, "phods - MX: %d\tMY: %d\n", mx, my); |
534 #endif | 534 #endif |
535 | 535 |
536 /* half pixel search */ | 536 /* half pixel search */ |
537 *mx_ptr = mx; | 537 *mx_ptr = mx; |
538 *my_ptr = my; | 538 *my_ptr = my; |