Add tile-height and tile-width key & val API
Change-Id: I6130f22728a7790f9ffbd35bf06f2e3188f9c616
diff --git a/av1/av1_cx_iface.c b/av1/av1_cx_iface.c
index 6053053..ace6930 100644
--- a/av1/av1_cx_iface.c
+++ b/av1/av1_cx_iface.c
@@ -3932,6 +3932,14 @@
} else if (arg_match_helper(&arg, &g_av1_codec_arg_defs.kf_max_pyr_height,
argv, err_string)) {
extra_cfg.kf_max_pyr_height = arg_parse_int_helper(&arg, err_string);
+ } else if (arg_match_helper(&arg, &g_av1_codec_arg_defs.tile_width, argv,
+ err_string)) {
+ ctx->cfg.tile_width_count = arg_parse_list_helper(
+ &arg, ctx->cfg.tile_widths, MAX_TILE_WIDTHS, err_string);
+ } else if (arg_match_helper(&arg, &g_av1_codec_arg_defs.tile_height, argv,
+ err_string)) {
+ ctx->cfg.tile_height_count = arg_parse_list_helper(
+ &arg, ctx->cfg.tile_heights, MAX_TILE_HEIGHTS, err_string);
} else {
match = 0;
snprintf(err_string, ARG_ERR_MSG_MAX_LEN, "Cannot find aom option %s",