comparison motion_est.c @ 664:00a882f626bd libavcodec

interlaced mpeg4 b frame decoding
author michaelni
date Fri, 13 Sep 2002 09:45:32 +0000
parents 45e8f39fda50
children a1c69cb685b3
comparison
equal deleted inserted replaced
663:76fef3b11680 664:00a882f626bd
1389 int motion_fx, motion_fy, motion_bx, motion_by, motion_bx0, motion_by0; 1389 int motion_fx, motion_fy, motion_bx, motion_by, motion_bx0, motion_by0;
1390 int motion_dx, motion_dy; 1390 int motion_dx, motion_dy;
1391 const int motion_px= s->p_mv_table[mot_xy][0]; 1391 const int motion_px= s->p_mv_table[mot_xy][0];
1392 const int motion_py= s->p_mv_table[mot_xy][1]; 1392 const int motion_py= s->p_mv_table[mot_xy][1];
1393 const int time_pp= s->pp_time; 1393 const int time_pp= s->pp_time;
1394 const int time_bp= s->bp_time; 1394 const int time_pb= s->pb_time;
1395 const int time_pb= time_pp - time_bp; 1395 const int time_bp= time_pp - time_pb;
1396 int bx, by; 1396 int bx, by;
1397 int mx, my, mx2, my2; 1397 int mx, my, mx2, my2;
1398 uint8_t *ref_picture= s->me_scratchpad - (mb_x - 1 + (mb_y - 1)*s->linesize)*16; 1398 uint8_t *ref_picture= s->me_scratchpad - (mb_x - 1 + (mb_y - 1)*s->linesize)*16;
1399 int16_t (*mv_table)[2]= s->b_direct_mv_table; 1399 int16_t (*mv_table)[2]= s->b_direct_mv_table;
1400 /* uint16_t *mv_penalty= s->mv_penalty[s->f_code] + MAX_MV; */ // f_code of the prev frame 1400 /* uint16_t *mv_penalty= s->mv_penalty[s->f_code] + MAX_MV; */ // f_code of the prev frame