diff --git a/test/test_data.h b/test/test_data.h index a04be83..c50473d 100644 --- a/test/test_data.h +++ b/test/test_data.h @@ -66,6 +66,10 @@ static const Profiles g_vaProfiles = { #if VA_CHECK_VERSION(1,18,0) VAProfileH264High10, #endif + VAProfileAVSJizhun, + VAProfileAVSGuangdian, + VAProfileAVS2Main, + VAProfileAVS2Main10, }; static const Profiles g_vaNoneProfiles = { @@ -120,6 +124,14 @@ static const Profiles g_vaAV1Profiles = { #endif }; +static const Profiles g_vaAVSProfiles = { + VAProfileAVSJizhun, VAProfileAVSGuangdian, +}; + +static const Profiles g_vaAVS2Profiles = { + VAProfileAVS2Main, VAProfileAVS2Main10, +}; + static const Entrypoints g_vaEntrypoints = { VAEntrypointVLD, VAEntrypointIZZ, diff --git a/test/test_va_api_createbuffer.cpp b/test/test_va_api_createbuffer.cpp index 532ddaf..f1ffb61 100644 --- a/test/test_va_api_createbuffer.cpp +++ b/test/test_va_api_createbuffer.cpp @@ -84,6 +84,8 @@ static const BufferSpecsMap decodeBufferSpecs = { make_tuple(g_vaVP8Profiles, sizeof(VAPictureParameterBufferVP8)), make_tuple(g_vaHEVCProfiles, sizeof(VAPictureParameterBufferHEVC)), make_tuple(g_vaVP9Profiles, sizeof(VADecPictureParameterBufferVP9)), + make_tuple(g_vaAVSProfiles, sizeof(VAPictureParameterBufferAVS)), + make_tuple(g_vaAVS2Profiles, sizeof(VAPictureParameterBufferAVS2)), } }, { @@ -107,6 +109,8 @@ static const BufferSpecsMap decodeBufferSpecs = { make_tuple(g_vaVP8Profiles, sizeof(VASliceParameterBufferVP8)), make_tuple(g_vaHEVCProfiles, sizeof(VASliceParameterBufferHEVC)), make_tuple(g_vaVP9Profiles, sizeof(VASliceParameterBufferVP9)), + make_tuple(g_vaAVSProfiles, sizeof(VASliceParameterBufferAVS)), + make_tuple(g_vaAVS2Profiles, sizeof(VASliceParameterBufferAVS2)), } }, {