diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-06-27 09:39:02 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-06-28 19:15:57 +0800 |
commit | 989ec9e8a69f909cb64f17e4465982613b4b054d (patch) | |
tree | e788ad721cfe1020e581654aec98153bb393ba04 /src/i830_video.h | |
parent | 550082070a3fdb951e3cf08974dc56276c0a739c (diff) |
xvmc: Don't copy on xvmc surface in PutImage
As xvmc rendering result has already been in fb, we shouldn't
do extra copy on it. Although special care is required for i915
xvmc surface pitch alignment, which must be at least 1KB aligned.
So video display function should take it into acount instead of
always setting Y pitch to be double of U/V pitch.
Diffstat (limited to 'src/i830_video.h')
-rw-r--r-- | src/i830_video.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_video.h b/src/i830_video.h index 52e6b4f8..91f767f9 100644 --- a/src/i830_video.h +++ b/src/i830_video.h @@ -78,7 +78,7 @@ typedef struct { void I915DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, RegionPtr dstRegion, short width, - short height, int video_pitch, + short height, int video_pitch, int video_pitch2, int x1, int y1, int x2, int y2, short src_w, short src_h, short drw_w, short drw_h, |