Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libva
Commits
baeeaf9e
Commit
baeeaf9e
authored
Jul 13, 2010
by
Gwenole Beauchesne
Committed by
Xiang, Haihao
Jul 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rendering of subpictures.
parent
a02d3c7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
i965_drv_video/i965_render.c
i965_drv_video/i965_render.c
+2
-6
No files found.
i965_drv_video/i965_render.c
View file @
baeeaf9e
...
@@ -813,12 +813,8 @@ i965_subpic_render_upload_vertex(VADriverContextP ctx,
...
@@ -813,12 +813,8 @@ i965_subpic_render_upload_vertex(VADriverContextP ctx,
struct
object_surface
*
obj_surface
=
SURFACE
(
surface
);
struct
object_surface
*
obj_surface
=
SURFACE
(
surface
);
struct
object_subpic
*
obj_subpic
=
SUBPIC
(
obj_surface
->
subpic
);
struct
object_subpic
*
obj_subpic
=
SUBPIC
(
obj_surface
->
subpic
);
const
float
psx
=
(
float
)
obj_surface
->
width
/
(
float
)
obj_subpic
->
width
;
const
float
sx
=
(
float
)
output_rect
->
width
/
(
float
)
obj_surface
->
orig_width
;
const
float
psy
=
(
float
)
obj_surface
->
height
/
(
float
)
obj_subpic
->
height
;
const
float
sy
=
(
float
)
output_rect
->
height
/
(
float
)
obj_surface
->
orig_height
;
const
float
ssx
=
(
float
)
output_rect
->
width
/
(
float
)
obj_surface
->
width
;
const
float
ssy
=
(
float
)
output_rect
->
height
/
(
float
)
obj_surface
->
height
;
const
float
sx
=
psx
*
ssx
;
const
float
sy
=
psy
*
ssy
;
float
*
vb
,
tx1
,
tx2
,
ty1
,
ty2
,
x1
,
x2
,
y1
,
y2
;
float
*
vb
,
tx1
,
tx2
,
ty1
,
ty2
,
x1
,
x2
,
y1
,
y2
;
int
i
=
0
;
int
i
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment