summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_encode_h265.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2020-07-28 23:50:20 +0100
committerMark Thompson <sw@jkqxz.net>2020-08-01 17:18:30 +0100
commite80fe329435d08f13a4b506c1af06359a31267f9 (patch)
tree3a447c142cac1e88b5c586f8a5fb21510bc2c76e /libavcodec/vaapi_encode_h265.c
parent11a2d05b3fa977ea9437725531a4875b735c977e (diff)
downloadffmpeg-e80fe329435d08f13a4b506c1af06359a31267f9.tar.gz
vaapi_encode_h265: Remove confusing and redundant tile options
The tile_rows/cols options currently do a confusingly different thing to the options of the same name on other encoders like libvpx and libaom. There is no backward-compatibility reason to implement the log2 behaviour as there was for libaom, so just get rid of them entirely.
Diffstat (limited to 'libavcodec/vaapi_encode_h265.c')
-rw-r--r--libavcodec/vaapi_encode_h265.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c
index f6008778df..511218f659 100644
--- a/libavcodec/vaapi_encode_h265.c
+++ b/libavcodec/vaapi_encode_h265.c
@@ -1291,10 +1291,6 @@ static const AVOption vaapi_encode_h265_options[] = {
{ "tiles", "Tile rows x cols",
OFFSET(trows), AV_OPT_TYPE_IMAGE_SIZE, { .str = NULL }, 0, 0, FLAGS },
- { "tile_rows", "Number of rows for tile encoding",
- OFFSET(trows), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, FLAGS },
- { "tile_cols", "Number of cols for tile encoding",
- OFFSET(tcols), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, FLAGS },
{ NULL },
};