Searched refs:ME_MAP_SIZE (Results 1 – 6 of 6) sorted by relevance
86 const int t= score_map[(index-(1<<ME_MAP_SHIFT))&(ME_MAP_SIZE-1)] in hpel_motion_search()88 const int l= score_map[(index- 1 )&(ME_MAP_SIZE-1)] in hpel_motion_search()90 const int r= score_map[(index+ 1 )&(ME_MAP_SIZE-1)] in hpel_motion_search()92 const int b= score_map[(index+(1<<ME_MAP_SHIFT))&(ME_MAP_SIZE-1)] in hpel_motion_search()99 av_assert2(c->map[(index-(1<<ME_MAP_SHIFT))&(ME_MAP_SIZE-1)] == key); in hpel_motion_search()101 av_assert2(c->map[(index+(1<<ME_MAP_SHIFT))&(ME_MAP_SIZE-1)] == key); in hpel_motion_search()103 av_assert2(c->map[(index+1)&(ME_MAP_SIZE-1)] == key); in hpel_motion_search()105 av_assert2(c->map[(index-1)&(ME_MAP_SIZE-1)] == key); in hpel_motion_search()250 const int t= score_map[(index-(1<<ME_MAP_SHIFT) )&(ME_MAP_SIZE-1)]; in qpel_motion_search()251 const int l= score_map[(index- 1 )&(ME_MAP_SIZE-1)]; in qpel_motion_search()[all …]
38 #define ME_MAP_SIZE 64 macro
60 memset(c->map, 0, sizeof(uint32_t)*ME_MAP_SIZE); in update_map_generation()308 int cache_size= FFMIN(ME_MAP_SIZE>>ME_MAP_SHIFT, 1<<ME_MAP_SHIFT); in ff_init_me()311 if(FFMIN(s->avctx->dia_size, s->avctx->pre_dia_size) < -FFMIN(ME_MAP_SIZE, MAX_SAB_SIZE)){ in ff_init_me()425 const int t= score_map[(index-(1<<ME_MAP_SHIFT))&(ME_MAP_SIZE-1)]; in sad_hpel_motion_search()426 const int l= score_map[(index- 1 )&(ME_MAP_SIZE-1)]; in sad_hpel_motion_search()427 const int r= score_map[(index+ 1 )&(ME_MAP_SIZE-1)]; in sad_hpel_motion_search()428 const int b= score_map[(index+(1<<ME_MAP_SHIFT))&(ME_MAP_SIZE-1)]; in sad_hpel_motion_search()
556 s->m.me.map = av_mallocz(ME_MAP_SIZE * sizeof(uint32_t)); in svq1_encode_init()557 s->m.me.score_map = av_mallocz(ME_MAP_SIZE * sizeof(uint32_t)); in svq1_encode_init()
370 if (!FF_ALLOCZ_TYPED_ARRAY(s->me.map, ME_MAP_SIZE) || in init_duplicate_context()371 !FF_ALLOCZ_TYPED_ARRAY(s->me.score_map, ME_MAP_SIZE)) in init_duplicate_context()
89 s->m.me.map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); in encode_init()90 s->m.me.score_map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); in encode_init()