projects
/
platform
/
upstream
/
libva-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5751bb9
)
i965_drv_video: fix subpicture scale factor for Y axis.
author
Gwenole Beauchesne
<gwenole.beauchesne@intel.com>
Tue, 28 Jun 2011 04:19:51 +0000
(21:19 -0700)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 29 Jun 2011 01:54:14 +0000
(09:54 +0800)
i965_render.c
patch
|
blob
|
history
diff --git
a/i965_render.c
b/i965_render.c
index
1742fe5
..
d387cb9
100644
(file)
--- a/
i965_render.c
+++ b/
i965_render.c
@@
-891,7
+891,7
@@
i965_subpic_render_upload_vertex(VADriverContextP ctx,
VARectangle dst_rect;
dst_rect.x = output_rect->x + sx * (float)obj_subpic->dst_rect.x;
- dst_rect.y = output_rect->y + s
x
* (float)obj_subpic->dst_rect.y;
+ dst_rect.y = output_rect->y + s
y
* (float)obj_subpic->dst_rect.y;
dst_rect.width = sx * (float)obj_subpic->dst_rect.width;
dst_rect.height = sy * (float)obj_subpic->dst_rect.height;