s->me_map_generation+= 1<<(ME_MAP_MV_BITS*2); if(s->me_map_generation==0){ s->me_map_generation= 1<<(ME_MAP_MV_BITS*2); memset(s->me_map, 0, sizeof(uint32_t)*ME_MAP_SIZE);
s->me.map_generation+= 1<<(ME_MAP_MV_BITS*2); if(s->me.map_generation==0){ s->me.map_generation= 1<<(ME_MAP_MV_BITS*2); memset(s->me.map, 0, sizeof(uint32_t)*ME_MAP_SIZE);
static inline int update_map_generation(MpegEncContext * s){    s->me_map_generation+= 1<<(ME_MAP_MV_BITS*2);    if(s->me_map_generation==0){        s->me_map_generation= 1<<(ME_MAP_MV_BITS*2);        memset(s->me_map, 0, sizeof(uint32_t)*ME_MAP_SIZE);    }    return s->me_map_generation;}