Lines Matching refs:mb_y
464 static av_always_inline void dnxhd_get_blocks(DNXHDEncContext *ctx, int mb_x, int mb_y)
468 const uint8_t *ptr_y = ctx->thread[0]->src[0] + ((mb_y << 4) * ctx->m.linesize) + (mb_x << bs+1);
469 const uint8_t *ptr_u = ctx->thread[0]->src[1] + ((mb_y << 4) * ctx->m.uvlinesize) + (mb_x << bs);
470 const uint8_t *ptr_v = ctx->thread[0]->src[2] + ((mb_y << 4) * ctx->m.uvlinesize) + (mb_x << bs);
478 if (mb_y+1 == ctx->m.mb_height && ctx->m.avctx->height == 1080) {
514 int mb_y = jobnr, mb_x;
524 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
530 dnxhd_get_blocks(ctx, mb_x, mb_y);
565 int mb_y = jobnr, mb_x;
573 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
579 dnxhd_get_blocks(ctx, mb_x, mb_y);
599 int mb_y, mb_x;
601 for (mb_y = 0; mb_y < ctx->m.mb_height; mb_y++) {
603 ctx->slice_offs[mb_y] = offset;
604 ctx->slice_size[mb_y] = 0;
606 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
607 ctx->slice_size[mb_y] += ctx->mb_bits[mb];
609 ctx->slice_size[mb_y] = (ctx->slice_size[mb_y]+31)&~31;
610 ctx->slice_size[mb_y] >>= 3;
611 thread_size = ctx->slice_size[mb_y];
619 int mb_y = jobnr, mb_x;
622 uint8_t *pix = ctx->thread[0]->src[0] + ((mb_y<<4) * ctx->m.linesize);
624 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
633 uint16_t *pix = (uint16_t*)ctx->thread[0]->src[0] + ((mb_y << 4) * linesize) + (mb_x << 4);
634 unsigned mb = mb_y * ctx->m.mb_width + mb_x;