Signed-off-by: Xiang, Haihao <[email protected]>
---
src/gen75_vpp_vebox.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gen75_vpp_vebox.c b/src/gen75_vpp_vebox.c
index d88a454..020c7fd 100644
--- a/src/gen75_vpp_vebox.c
+++ b/src/gen75_vpp_vebox.c
@@ -1030,8 +1030,8 @@ void hsw_veb_surface_state(VADriverContextP ctx, struct
intel_vebox_context *pro
is_output); // surface indentification.
OUT_VEB_BATCH(batch,
- (obj_surf->height - 1) << 18 | // height . w3
- (obj_surf->width -1 ) << 4 | // width
+ (obj_surf->orig_height - 1) << 18 | // height . w3
+ (obj_surf->orig_width - 1) << 4 | // width
0); // reserve
OUT_VEB_BATCH(batch,
@@ -2372,8 +2372,8 @@ void skl_veb_surface_state(VADriverContextP ctx, struct
intel_vebox_context *pro
is_output); // surface indentification.
OUT_VEB_BATCH(batch,
- (obj_surf->height - 1) << 18 | // height . w3
- (obj_surf->width -1 ) << 4 | // width
+ (obj_surf->orig_height - 1) << 18 | // height . w3
+ (obj_surf->orig_width - 1) << 4 | // width
0); // reserve
OUT_VEB_BATCH(batch,
--
1.9.1
_______________________________________________
Libva mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libva