| 821 | } |
| 822 | |
| 823 | void ff_mpv_motion(MpegEncContext *s, |
| 824 | uint8_t *dest_y, uint8_t *dest_cb, |
| 825 | uint8_t *dest_cr, int dir, |
| 826 | uint8_t *const *ref_picture, |
| 827 | const op_pixels_func (*pix_op)[4], |
| 828 | const qpel_mc_func (*qpix_op)[16]) |
| 829 | { |
| 830 | av_assert2(s->out_format == FMT_MPEG1 || |
| 831 | s->out_format == FMT_H263 || |
| 832 | s->out_format == FMT_H261); |
| 833 | prefetch_motion(s, ref_picture, dir); |
| 834 | |
| 835 | #if !CONFIG_SMALL |
| 836 | if (s->out_format == FMT_MPEG1) |
| 837 | mpv_motion_internal(s, dest_y, dest_cb, dest_cr, dir, |
| 838 | ref_picture, pix_op, qpix_op, 1); |
| 839 | else |
| 840 | #endif |
| 841 | mpv_motion_internal(s, dest_y, dest_cb, dest_cr, dir, |
| 842 | ref_picture, pix_op, qpix_op, 0); |
| 843 | } |
no test coverage detected