config: Remove unsupported motion compensation entry point
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
+2
-3
@@ -46,7 +46,7 @@ VAStatus SunxiCedrusCreateConfig(VADriverContextP context, VAProfile profile,
|
|||||||
switch (profile) {
|
switch (profile) {
|
||||||
case VAProfileMPEG2Simple:
|
case VAProfileMPEG2Simple:
|
||||||
case VAProfileMPEG2Main:
|
case VAProfileMPEG2Main:
|
||||||
if (entrypoint != VAEntrypointVLD && entrypoint != VAEntrypointMoComp)
|
if (entrypoint != VAEntrypointVLD)
|
||||||
return VA_STATUS_ERROR_UNSUPPORTED_ENTRYPOINT;
|
return VA_STATUS_ERROR_UNSUPPORTED_ENTRYPOINT;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -136,8 +136,7 @@ VAStatus SunxiCedrusQueryConfigEntrypoints(VADriverContextP context,
|
|||||||
case VAProfileMPEG2Simple:
|
case VAProfileMPEG2Simple:
|
||||||
case VAProfileMPEG2Main:
|
case VAProfileMPEG2Main:
|
||||||
entrypoints[0] = VAEntrypointVLD;
|
entrypoints[0] = VAEntrypointVLD;
|
||||||
entrypoints[1] = VAEntrypointMoComp;
|
*entrypoints_count = 1;
|
||||||
*entrypoints_count = 2;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user