Lines Matching defs:mb
32 static int add_mb(AVMotionVector *mb, uint32_t mb_type,
37 mb->w = IS_8X8(mb_type) || IS_8X16(mb_type) ? 8 : 16;
38 mb->h = IS_8X8(mb_type) || IS_16X8(mb_type) ? 8 : 16;
39 mb->motion_x = motion_x;
40 mb->motion_y = motion_y;
41 mb->motion_scale = motion_scale;
42 mb->dst_x = dst_x;
43 mb->dst_y = dst_y;
44 mb->src_x = dst_x + motion_x / motion_scale;
45 mb->src_y = dst_y + motion_y / motion_scale;
46 mb->source = direction ? 1 : -1;
47 mb->flags = 0; // XXX: does mb_type contain extra information that could be exported here?