WIP: more entry-point tracing (CreateConfig, GetConfigAttributes, QuerySurfaceAttributes, QueryConfigEntrypoints)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-25 22:25:36 +00:00
parent 2737ff921d
commit 07fd527114
2 changed files with 11 additions and 0 deletions
+8
View File
@@ -53,6 +53,9 @@ VAStatus RequestCreateConfig(VADriverContextP context, VAProfile profile,
VAConfigID id;
int i, index;
request_log("CreateConfig: profile=%d entrypoint=%d attrs=%d\n",
profile, entrypoint, attributes_count);
switch (profile) {
case VAProfileMPEG2Simple:
case VAProfileMPEG2Main:
@@ -162,6 +165,8 @@ VAStatus RequestQueryConfigEntrypoints(VADriverContextP context,
VAEntrypoint *entrypoints,
int *entrypoints_count)
{
request_log("QueryConfigEntrypoints: profile=%d\n", profile);
switch (profile) {
case VAProfileMPEG2Simple:
case VAProfileMPEG2Main:
@@ -221,6 +226,9 @@ VAStatus RequestGetConfigAttributes(VADriverContextP context, VAProfile profile,
{
unsigned int i;
request_log("GetConfigAttributes: profile=%d entrypoint=%d count=%d\n",
profile, entrypoint, attributes_count);
for (i = 0; i < attributes_count; i++) {
switch (attributes[i].type) {
case VAConfigAttribRTFormat: