diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-12 17:40:53 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-12 17:40:53 +0000 |
commit | 694c3dc03f157eb62442fb2f24118f2ae4432ec7 (patch) | |
tree | bb97f3f9bd760f87c4b48f42ae61ccc07ffd33c4 /libvo/x11_common.h | |
parent | 8c2821f32d62e6a2a6f6df99b366d1a2ba40fdd3 (diff) | |
download | mpv-694c3dc03f157eb62442fb2f24118f2ae4432ec7.tar.bz2 mpv-694c3dc03f157eb62442fb2f24118f2ae4432ec7.tar.xz |
Add a calc_src_dst_rects that calculates from window size, panscan etc.
which part of the video source must be scaled onto which part of the window.
Direct3D and (future) VDPAU need this, for XvMC it makes it easier to add
cropping support and Xv is changed to keep the diff to XvMC small.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28546 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.h')
0 files changed, 0 insertions, 0 deletions