Lines Matching refs:sl
37 static void mc_part(const H264Context *h, H264SliceContext *sl,
51 if ((sl->pwt.use_weight == 2 && list0 && list1 &&
52 (sl->pwt.implicit_weight[sl->ref_cache[0][scan8[n]]][sl->ref_cache[1][scan8[n]]][sl->mb_y & 1] != 32)) ||
53 sl->pwt.use_weight == 1)
54 mc_part_weighted(h, sl, n, square, height, delta, dest_y, dest_cb, dest_cr,
59 mc_part_std(h, sl, n, square, height, delta, dest_y, dest_cb, dest_cr,
64 static void MCFUNC(hl_motion)(const H264Context *h, H264SliceContext *sl,
74 const int mb_xy = sl->mb_xy;
80 await_references(h, sl);
82 prefetch_motion(h, sl, 0, PIXEL_SHIFT, CHROMA_IDC);
85 mc_part(h, sl, 0, 1, 16, 0, dest_y, dest_cb, dest_cr, 0, 0,
90 mc_part(h, sl, 0, 0, 8, 8 << PIXEL_SHIFT, dest_y, dest_cb, dest_cr, 0, 0,
94 mc_part(h, sl, 8, 0, 8, 8 << PIXEL_SHIFT, dest_y, dest_cb, dest_cr, 0, 4,
99 mc_part(h, sl, 0, 0, 16, 8 * sl->mb_linesize, dest_y, dest_cb, dest_cr, 0, 0,
103 mc_part(h, sl, 4, 0, 16, 8 * sl->mb_linesize, dest_y, dest_cb, dest_cr, 4, 0,
113 const int sub_mb_type = sl->sub_mb_type[i];
119 mc_part(h, sl, n, 1, 8, 0, dest_y, dest_cb, dest_cr,
125 mc_part(h, sl, n, 0, 4, 4 << PIXEL_SHIFT, dest_y, dest_cb, dest_cr,
130 mc_part(h, sl, n + 2, 0, 4, 4 << PIXEL_SHIFT,
136 mc_part(h, sl, n, 0, 8, 4 * sl->mb_linesize,
141 mc_part(h, sl, n + 1, 0, 8, 4 * sl->mb_linesize,
152 mc_part(h, sl, n + j, 1, 4, 0,
163 prefetch_motion(h, sl, 1, PIXEL_SHIFT, CHROMA_IDC);