@end table
@item tiles
-Set the number of tiles to encode the input video with, as rows x columns.
+Set the number of tiles to encode the input video with, as columns x rows.
Larger numbers allow greater parallelism in both encoding and decoding, but
may decrease coding efficiency.
int level;
int sei;
- int trows;
- int tcols;
-
// Derived settings.
int fixed_qp_idr;
int fixed_qp_p;
if (priv->qp > 0)
ctx->explicit_qp = priv->qp;
- if (priv->trows && priv->tcols) {
- ctx->tile_rows = priv->trows;
- ctx->tile_cols = priv->tcols;
- }
-
return ff_vaapi_encode_init(avctx);
}
{ .i64 = SEI_MASTERING_DISPLAY | SEI_CONTENT_LIGHT_LEVEL },
INT_MIN, INT_MAX, FLAGS, "sei" },
- { "tiles", "Tile rows x cols",
- OFFSET(trows), AV_OPT_TYPE_IMAGE_SIZE, { .str = NULL }, 0, 0, FLAGS },
+ { "tiles", "Tile columns x rows",
+ OFFSET(common.tile_cols), AV_OPT_TYPE_IMAGE_SIZE,
+ { .str = NULL }, 0, 0, FLAGS },
{ NULL },
};