Lines Matching refs:mb_y
555 void dnxhd_get_blocks(DNXHDEncContext *ctx, int mb_x, int mb_y)
560 ((mb_y << 4) * ctx->m.linesize) + (mb_x << bs + 1);
562 ((mb_y << 4) * ctx->m.uvlinesize) + (mb_x << bs);
564 ((mb_y << 4) * ctx->m.uvlinesize) + (mb_x << bs);
572 if (mb_y + 1 == ctx->m.mb_height && ctx->m.avctx->height == 1080) {
615 int mb_y = jobnr, mb_x;
625 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
631 dnxhd_get_blocks(ctx, mb_x, mb_y);
671 int mb_y = jobnr, mb_x;
680 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
686 dnxhd_get_blocks(ctx, mb_x, mb_y);
706 int mb_y, mb_x;
708 for (mb_y = 0; mb_y < ctx->m.mb_height; mb_y++) {
710 ctx->slice_offs[mb_y] = offset;
711 ctx->slice_size[mb_y] = 0;
713 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
714 ctx->slice_size[mb_y] += ctx->mb_bits[mb];
716 ctx->slice_size[mb_y] = (ctx->slice_size[mb_y] + 31) & ~31;
717 ctx->slice_size[mb_y] >>= 3;
718 thread_size = ctx->slice_size[mb_y];
727 int mb_y = jobnr, mb_x, x, y;
728 int partial_last_row = (mb_y == ctx->m.mb_height - 1) &&
733 uint8_t *pix = ctx->thread[0]->src[0] + ((mb_y << 4) * ctx->m.linesize);
735 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
744 int bh = FFMIN((avctx->height >> ctx->interlaced) - 16 * mb_y, 16);
763 ((mb_y << 4) * linesize) + (mb_x << 4);
764 unsigned mb = mb_y * ctx->m.mb_width + mb_x;