Lines Matching defs:mb_x

609                 top_border = sl->top_borders[0][sl->mb_x];
649 top_border = sl->top_borders[top_idx][sl->mb_x];
2067 sl->resync_mb_x = sl->mb_x = sl->first_mb_addr % h->mb_width;
2168 sl->mb_y * h->mb_width + sl->mb_x,
2403 int16_t(*mv_src)[2] = &h->cur_pic.motion_val[list][4 * sl->mb_x + 4 * sl->mb_y * b_stride];
2559 int linesize, uvlinesize, mb_x, mb_y;
2569 for (mb_x = start_x; mb_x < end_x; mb_x++)
2572 mb_xy = sl->mb_xy = mb_x + mb_y * h->mb_stride;
2579 sl->mb_x = mb_x;
2582 ((mb_x << pixel_shift) + mb_y * sl->linesize) * 16;
2584 (mb_x << pixel_shift) * (8 << CHROMA444(h)) +
2587 (mb_x << pixel_shift) * (8 << CHROMA444(h)) +
2611 ff_h264_filter_mb(h, sl, mb_x, mb_y, dest_y, dest_cb, dest_cr,
2614 ff_h264_filter_mb_fast(h, sl, mb_x, mb_y, dest_y, dest_cb,
2620 sl->mb_x = end_x;
2628 const int mb_xy = sl->mb_x + sl->mb_y * h->mb_stride;
2686 int lf_x_start = sl->mb_x;
2732 if (sl->mb_x + sl->mb_y * h->mb_width >= sl->next_slice_idx) {
2735 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x,
2759 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x - 1,
2761 if (sl->mb_x >= lf_x_start)
2762 loop_filter(h, sl, lf_x_start, sl->mb_x + 1);
2770 sl->mb_x, sl->mb_y,
2772 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x,
2777 if (++sl->mb_x >= h->mb_width) {
2778 loop_filter(h, sl, lf_x_start, sl->mb_x);
2779 sl->mb_x = lf_x_start = 0;
2792 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x - 1,
2794 if (sl->mb_x > lf_x_start)
2795 loop_filter(h, sl, lf_x_start, sl->mb_x);
2803 if (sl->mb_x + sl->mb_y * h->mb_width >= sl->next_slice_idx) {
2806 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x,
2828 "error while decoding MB %d %d\n", sl->mb_x, sl->mb_y);
2829 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x,
2834 if (++sl->mb_x >= h->mb_width) {
2835 loop_filter(h, sl, lf_x_start, sl->mb_x);
2836 sl->mb_x = lf_x_start = 0;
2851 sl->mb_x - 1, sl->mb_y, ER_MB_END);
2856 sl->mb_x, sl->mb_y, ER_MB_END);
2869 sl->mb_x - 1, sl->mb_y, ER_MB_END);
2870 if (sl->mb_x > lf_x_start)
2871 loop_filter(h, sl, lf_x_start, sl->mb_x);
2875 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x,
2927 slice_idx = sl->mb_y * h->mb_width + sl->mb_x;
2930 int slice_idx2 = sl2->mb_y * h->mb_width + sl2->mb_x;
2954 x_end = (sl->mb_y >= h->mb_height) ? h->mb_width : sl->mb_x;