Home
last modified time | relevance | path

Searched refs:rnd1 (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvc1dsp.c92 int rnd1 = 4, rnd2 = 3; in vc1_v_s_overlap_c() local
101 top[48] = ((a * 8) - d1 + rnd1) >> 3; in vc1_v_s_overlap_c()
103 bottom[0] = ((c * 8) + d2 + rnd1) >> 3; in vc1_v_s_overlap_c()
109 rnd1 = 7 - rnd1; in vc1_v_s_overlap_c()
118 int rnd1 = flags & 2 ? 3 : 4; in vc1_h_s_overlap_c() local
119 int rnd2 = 7 - rnd1; in vc1_h_s_overlap_c()
128 left[6] = ((a * 8) - d1 + rnd1) >> 3; in vc1_h_s_overlap_c()
130 right[0] = ((c * 8) + d2 + rnd1) >> 3; in vc1_h_s_overlap_c()
137 rnd1 = 7 - rnd1; in vc1_h_s_overlap_c()
/third_party/ffmpeg/libavcodec/mips/
Dvc1dsp_mmi.c1406 int rnd1 = flags & 2 ? 3 : 4; in ff_vc1_h_s_overlap_mmi() local
1407 int rnd2 = 7 - rnd1; in ff_vc1_h_s_overlap_mmi()
1416 left[6] = ((a << 3) - d1 + rnd1) >> 3; in ff_vc1_h_s_overlap_mmi()
1418 right[0] = ((c << 3) + d2 + rnd1) >> 3; in ff_vc1_h_s_overlap_mmi()
1425 rnd1 = 7 - rnd1; in ff_vc1_h_s_overlap_mmi()
1459 int rnd1 = 4, rnd2 = 3; in ff_vc1_v_s_overlap_mmi() local
1468 top[48] = ((a << 3) - d1 + rnd1) >> 3; in ff_vc1_v_s_overlap_mmi()
1470 bottom[0] = ((c << 3) + d2 + rnd1) >> 3; in ff_vc1_v_s_overlap_mmi()
1476 rnd1 = 7 - rnd1; in ff_vc1_v_s_overlap_mmi()