Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add VAProfileAVSxxx and VAProfileAVS2xxx #346

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions test/test_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 4 additions & 0 deletions test/test_va_api_createbuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
}
},
{
Expand All @@ -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)),
}
},
{
Expand Down
Loading