Lines Matching refs:lfi
475 struct loop_filter_info_n lfi; member
508 static void vp9_update_sharpness(struct loop_filter_info_n *lfi, in vp9_update_sharpness() argument
527 lfi->lfthr[lvl].lim = (u8)block_inside_limit; in vp9_update_sharpness()
528 lfi->lfthr[lvl].mblim = (u8)(2 * (lvl + 2) + in vp9_update_sharpness()
537 struct loop_filter_info_n *lfi = &vp9->lfi; in vp9_loop_filter_init() local
542 memset(lfi, 0, sizeof(struct loop_filter_info_n)); in vp9_loop_filter_init()
546 vp9_update_sharpness(lfi, lf->sharpness_level); in vp9_loop_filter_init()
552 thr = ((lfi->lfthr[i * 2 + 1].lim & 0x3f) << 8) | in vp9_loop_filter_init()
553 (lfi->lfthr[i * 2 + 1].mblim & 0xff); in vp9_loop_filter_init()
554 thr = (thr << 16) | ((lfi->lfthr[i * 2].lim & 0x3f) << 8) | in vp9_loop_filter_init()
555 (lfi->lfthr[i * 2].mblim & 0xff); in vp9_loop_filter_init()
575 struct loop_filter_info_n *lfi, in vp9_loop_filter_frame_init() argument
591 vp9_update_sharpness(lfi, lf->sharpness_level); in vp9_loop_filter_frame_init()
598 thr = ((lfi->lfthr[i * 2 + 1].lim & 0x3f) << 8) | in vp9_loop_filter_frame_init()
599 (lfi->lfthr[i * 2 + 1].mblim & 0xff); in vp9_loop_filter_frame_init()
601 ((lfi->lfthr[i * 2].lim & 0x3f) << 8) | in vp9_loop_filter_frame_init()
602 (lfi->lfthr[i * 2].mblim & 0xff); in vp9_loop_filter_frame_init()
626 memset(lfi->lvl[seg_id], lvl_seg, in vp9_loop_filter_frame_init()
627 sizeof(lfi->lvl[seg_id])); in vp9_loop_filter_frame_init()
632 lfi->lvl[seg_id][INTRA_FRAME][0] = in vp9_loop_filter_frame_init()
642 lfi->lvl[seg_id][ref][mode] = in vp9_loop_filter_frame_init()
653 level = ((lfi->lvl[i >> 1][3][i & 1] & 0x3f) << 24) | in vp9_loop_filter_frame_init()
654 ((lfi->lvl[i >> 1][2][i & 1] & 0x3f) << 16) | in vp9_loop_filter_frame_init()
655 ((lfi->lvl[i >> 1][1][i & 1] & 0x3f) << 8) | in vp9_loop_filter_frame_init()
656 (lfi->lvl[i >> 1][0][i & 1] & 0x3f); in vp9_loop_filter_frame_init()
1304 &vp9->lfi, &vp9->lf, in codec_vp9_process_frame()