Lines Matching refs:tile_rows
88 int tile_cols, tile_rows; member
436 ctx->tile_rows = 1 << ctx->tile_rows_log2; in choose_tiling()
447 if (ctx->tile_rows == 0) { in choose_tiling()
451 ctx->tile_rows = in choose_tiling()
454 if (ctx->tile_rows > 1) { in choose_tiling()
456 "rows to fill area.\n", ctx->tile_rows); in choose_tiling()
459 av_assert0(ctx->tile_rows > 0); in choose_tiling()
462 (avctx->height + 63) / 64 < ctx->tile_rows) { in choose_tiling()
468 ctx->tile_rows > AV1_MAX_TILE_ROWS) { in choose_tiling()
483 if (ctx->tile_cols == 1 && ctx->tile_rows == 1) { in choose_tiling()
490 (avctx->height + 127) / 128 >= ctx->tile_rows; in choose_tiling()
494 ctx->tile_rows_log2 = ctx->tile_rows == 1 ? 0 : in choose_tiling()
495 av_log2(ctx->tile_rows - 1) + 1; in choose_tiling()
504 uniform_rows == ctx->tile_rows; in choose_tiling()
514 uniform_rows == ctx->tile_rows; in choose_tiling()
552 sb_size, sb_size, ctx->tile_cols, ctx->tile_rows); in choose_tiling()
555 enccfg->tile_height_count = ctx->tile_rows; in choose_tiling()
568 tile_size = sb_height / ctx->tile_rows; in choose_tiling()
569 rounding = sb_height % ctx->tile_rows; in choose_tiling()
570 for (i = 0; i < ctx->tile_rows; i++) { in choose_tiling()
573 i > ctx->tile_rows - 1 - (rounding + 1) / 2); in choose_tiling()