Lines Matching refs:mb_row
47 int mb_row,
466 int mb_row, in encode_mb_row() argument
481 int seg_map_index = (mb_row * cpi->common.mb_cols); in encode_mb_row()
488 if ((cpi->b_multi_threaded != 0) && (mb_row != 0)) in encode_mb_row()
489 last_row_current_mb_col = &cpi->mt_current_mb_col[mb_row - 1]; in encode_mb_row()
497 xd->up_available = (mb_row != 0); in encode_mb_row()
498 recon_yoffset = (mb_row * recon_y_stride * 16); in encode_mb_row()
499 recon_uvoffset = (mb_row * recon_uv_stride * 8); in encode_mb_row()
501 cpi->tplist[mb_row].start = *tp; in encode_mb_row()
506 xd->mb_to_top_edge = -((mb_row * 16) << 3); in encode_mb_row()
507 xd->mb_to_bottom_edge = ((cm->mb_rows - 1 - mb_row) * 16) << 3; in encode_mb_row()
511 x->mv_row_min = -((mb_row * 16) + (VP8BORDERINPIXELS - 16)); in encode_mb_row()
512 x->mv_row_max = ((cm->mb_rows - 1 - mb_row) * 16) in encode_mb_row()
539 if ((cpi->b_multi_threaded != 0) && (mb_row != 0)) in encode_mb_row()
626 cpi->tplist[mb_row].stop = *tp; in encode_mb_row()
652 cpi->mt_current_mb_col[mb_row] = mb_col; in encode_mb_row()
670 if ((cpi->b_multi_threaded != 0) && (mb_row == cm->mb_rows - 1)) in encode_mb_row()
679 int mb_row; in vp8_encode_frame() local
818 for (mb_row = 0; mb_row < cm->mb_rows; mb_row += (cpi->encoding_thread_count + 1)) in vp8_encode_frame()
822 tp = cpi->tok + mb_row * (cm->mb_cols * 16 * 24); in vp8_encode_frame()
824 encode_mb_row(cpi, cm, mb_row, x, xd, &tp, segment_counts, &totalrate); in vp8_encode_frame()
840 for (mb_row = 0; mb_row < cm->mb_rows; mb_row ++) in vp8_encode_frame()
842 cpi->tok_count += cpi->tplist[mb_row].stop - cpi->tplist[mb_row].start; in vp8_encode_frame()
875 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in vp8_encode_frame()
880 encode_mb_row(cpi, cm, mb_row, x, xd, &tp, segment_counts, &totalrate); in vp8_encode_frame()