Lines Matching refs:sl
222 H264SliceContext *sl = &h->slice_ctx[0];
231 slice->first_mb_in_slice = (sl->mb_y >> FIELD_OR_MBAFF_PICTURE(h)) * h->mb_width + sl->mb_x;
233 slice->BitOffsetToSliceData = get_bits_count(&sl->gb) - 8;
234 slice->slice_type = ff_h264_get_slice_type(sl);
235 if (sl->slice_type_fixed)
237 slice->luma_log2_weight_denom = sl->pwt.luma_log2_weight_denom;
238 slice->chroma_log2_weight_denom = sl->pwt.chroma_log2_weight_denom;
239 if (sl->list_count > 0)
240 slice->num_ref_idx_l0_active_minus1 = sl->ref_count[0] - 1;
241 if (sl->list_count > 1)
242 slice->num_ref_idx_l1_active_minus1 = sl->ref_count[1] - 1;
243 slice->slice_alpha_c0_offset_div2 = sl->slice_alpha_c0_offset / 2;
244 slice->slice_beta_offset_div2 = sl->slice_beta_offset / 2;
250 if (list < sl->list_count && i < sl->ref_count[list]) {
251 const H264Picture *r = sl->ref_list[list][i].parent;
259 sl->ref_list[list][i].reference == PICT_BOTTOM_FIELD);
262 if (plane == 0 && sl->pwt.luma_weight_flag[list]) {
263 w = sl->pwt.luma_weight[i][list][0];
264 o = sl->pwt.luma_weight[i][list][1];
265 } else if (plane >= 1 && sl->pwt.chroma_weight_flag[list]) {
266 w = sl->pwt.chroma_weight[i][list][plane-1][0];
267 o = sl->pwt.chroma_weight[i][list][plane-1][1];
269 w = 1 << (plane == 0 ? sl->pwt.luma_log2_weight_denom :
270 sl->pwt.chroma_log2_weight_denom);
287 slice->slice_qp_delta = sl->qscale - h->ps.pps->init_qp;
288 slice->redundant_pic_cnt = sl->redundant_pic_count;
289 if (sl->slice_type == AV_PICTURE_TYPE_B)
290 slice->direct_spatial_mv_pred_flag = sl->direct_spatial_mv_pred;
291 slice->cabac_init_idc = h->ps.pps->cabac ? sl->cabac_init_idc : 0;
292 if (sl->deblocking_filter < 2)
293 slice->disable_deblocking_filter_idc = 1 - sl->deblocking_filter;
295 slice->disable_deblocking_filter_idc = sl->deblocking_filter;
472 const H264SliceContext *sl = &h->slice_ctx[0];
494 if (sl->slice_type != AV_PICTURE_TYPE_I && sl->slice_type != AV_PICTURE_TYPE_SI)
502 H264SliceContext *sl = &h->slice_ctx[0];
514 ff_h264_draw_horiz_band(h, sl, 0, h->avctx->height);