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:
@@ -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:
|
||||
|
||||
@@ -361,6 +361,9 @@ VAStatus RequestQuerySurfaceAttributes(VADriverContextP context,
|
||||
int memory_types;
|
||||
unsigned int i = 0;
|
||||
|
||||
request_log("QuerySurfaceAttributes: config=%u attrs=%p count=%p\n",
|
||||
config, attributes, attributes_count);
|
||||
|
||||
attributes_list = malloc(attributes_list_size);
|
||||
memset(attributes_list, 0, attributes_list_size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user