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