Mercurial > libavcodec.hg
comparison motion_est_template.c @ 6481:493dc59d469a libavcodec
add FF_ prefix to all (frame)_TYPE usage
author | aurel |
---|---|
date | Sun, 09 Mar 2008 23:31:02 +0000 |
parents | 2b72f9bc4f06 |
children | f03d29b6fefe |
comparison
equal
deleted
inserted
replaced
6480:6f01a499e785 | 6481:493dc59d469a |
---|---|
1033 dmin= cmp(s, 0, 0, 0, 0, size, h, ref_index, src_index, cmpf, chroma_cmpf, flags); | 1033 dmin= cmp(s, 0, 0, 0, 0, size, h, ref_index, src_index, cmpf, chroma_cmpf, flags); |
1034 map[0]= map_generation; | 1034 map[0]= map_generation; |
1035 score_map[0]= dmin; | 1035 score_map[0]= dmin; |
1036 | 1036 |
1037 //FIXME precalc first term below? | 1037 //FIXME precalc first term below? |
1038 if((s->pict_type == B_TYPE && !(c->flags & FLAG_DIRECT)) || s->flags&CODEC_FLAG_MV0) | 1038 if((s->pict_type == FF_B_TYPE && !(c->flags & FLAG_DIRECT)) || s->flags&CODEC_FLAG_MV0) |
1039 dmin += (mv_penalty[pred_x] + mv_penalty[pred_y])*penalty_factor; | 1039 dmin += (mv_penalty[pred_x] + mv_penalty[pred_y])*penalty_factor; |
1040 | 1040 |
1041 /* first line */ | 1041 /* first line */ |
1042 if (s->first_slice_line) { | 1042 if (s->first_slice_line) { |
1043 CHECK_MV(P_LEFT[0]>>shift, P_LEFT[1]>>shift) | 1043 CHECK_MV(P_LEFT[0]>>shift, P_LEFT[1]>>shift) |