Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dvc1dsp.c89 int rnd1 = 4, rnd2 = 3; in vc1_v_s_overlap_c() local
98 top[48] = ((a * 8) - d1 + rnd1) >> 3; in vc1_v_s_overlap_c()
100 bottom[0] = ((c * 8) + d2 + rnd1) >> 3; in vc1_v_s_overlap_c()
106 rnd1 = 7 - rnd1; in vc1_v_s_overlap_c()
115 int rnd1 = flags & 2 ? 3 : 4; in vc1_h_s_overlap_c() local
116 int rnd2 = 7 - rnd1; in vc1_h_s_overlap_c()
125 left[6] = ((a * 8) - d1 + rnd1) >> 3; in vc1_h_s_overlap_c()
127 right[0] = ((c * 8) + d2 + rnd1) >> 3; in vc1_h_s_overlap_c()
134 rnd1 = 7 - rnd1; in vc1_h_s_overlap_c()
/third_party/ffmpeg/libavcodec/mips/
Dvc1dsp_mmi.c1408 int rnd1 = flags & 2 ? 3 : 4; in ff_vc1_h_s_overlap_mmi() local
1409 int rnd2 = 7 - rnd1; in ff_vc1_h_s_overlap_mmi()
1418 left[6] = ((a << 3) - d1 + rnd1) >> 3; in ff_vc1_h_s_overlap_mmi()
1420 right[0] = ((c << 3) + d2 + rnd1) >> 3; in ff_vc1_h_s_overlap_mmi()
1427 rnd1 = 7 - rnd1; in ff_vc1_h_s_overlap_mmi()
1461 int rnd1 = 4, rnd2 = 3; in ff_vc1_v_s_overlap_mmi() local
1470 top[48] = ((a << 3) - d1 + rnd1) >> 3; in ff_vc1_v_s_overlap_mmi()
1472 bottom[0] = ((c << 3) + d2 + rnd1) >> 3; in ff_vc1_v_s_overlap_mmi()
1478 rnd1 = 7 - rnd1; in ff_vc1_v_s_overlap_mmi()