Skip to content

Commit

Permalink
vainfo: Print VAConfigAttribEncMaxTileRows and VAConfigAttribEncMaxTi…
Browse files Browse the repository at this point in the history
…leCols

Requires: intel/libva#757
Signed-off-by: Sil Vilerino <[email protected]>
  • Loading branch information
sivileri committed Sep 27, 2023
1 parent 81eed6e commit 196a751
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vainfo/vainfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,16 @@ static int show_config_attributes(VADisplay va_dpy, VAProfile profile, VAEntrypo
printf("%-*sl1=%d\n", 45, "", (attrib_list[VAConfigAttribEncMaxRefFrames].value >> 16) & 0xffff);
}

if (attrib_list[VAConfigAttribEncMaxTileRows].value & (~VA_ATTRIB_NOT_SUPPORTED)) {
printf(" %-39s: %d\n", vaConfigAttribTypeStr(attrib_list[VAConfigAttribEncMaxTileRows].type),
attrib_list[VAConfigAttribEncMaxTileRows].value);
}

if (attrib_list[VAConfigAttribEncMaxTileCols].value & (~VA_ATTRIB_NOT_SUPPORTED)) {
printf(" %-39s: %d\n", vaConfigAttribTypeStr(attrib_list[VAConfigAttribEncMaxTileCols].type),
attrib_list[VAConfigAttribEncMaxTileCols].value);
}

if (attrib_list[VAConfigAttribEncMaxSlices].value & (~VA_ATTRIB_NOT_SUPPORTED)) {
printf(" %-39s: %d\n", vaConfigAttribTypeStr(attrib_list[VAConfigAttribEncMaxSlices].type),
attrib_list[VAConfigAttribEncMaxSlices].value);
Expand Down

0 comments on commit 196a751

Please sign in to comment.