Dimensions are normally specified as width x height, and this will match the same option to libaom-av1. Remove the indirection through the private context at the same time.
Showing the changes to libavcodec/vaapi_encode.h (1 of 3 files). Show all
Unified · Split
| @@ -307,8 +307,8 @@ typedef struct VAAPIEncodeContext { · 306 unmodified lines | ||
| 307 | 307 | int slice_size; |
| 308 | 308 | |
| 309 | 309 | // Tile encoding. |
| 310 | − int tile_rows; | |
| 311 | 310 | int tile_cols; |
| 311 | + int tile_rows; | |
| 312 | 312 | // Tile width of the i-th column. |
| 313 | 313 | int col_width[MAX_TILE_COLS]; |
| 314 | 314 | // Tile height of i-th row. |