mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 08:29:36 +00:00
vidix rage128 ecp_div patch by (Magnus Damm <damm at opensource dot se>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9545 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
72707c69ef
commit
69d80fa641
@ -1417,6 +1417,14 @@ static int radeon_vid_init_video( vidix_playback_t *config )
|
|||||||
besr.v_inc = (src_h << 20) / dest_h;
|
besr.v_inc = (src_h << 20) / dest_h;
|
||||||
if(radeon_is_interlace()) besr.v_inc *= 2;
|
if(radeon_is_interlace()) besr.v_inc *= 2;
|
||||||
h_inc = (src_w << 12) / dest_w;
|
h_inc = (src_w << 12) / dest_w;
|
||||||
|
|
||||||
|
{
|
||||||
|
unsigned int ecp_div;
|
||||||
|
ecp_div = (INPLL(VCLK_ECP_CNTL) >> 8) & 3;
|
||||||
|
h_inc <<= ecp_div;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
step_by = 1;
|
step_by = 1;
|
||||||
while(h_inc >= (2 << 12)) {
|
while(h_inc >= (2 << 12)) {
|
||||||
step_by++;
|
step_by++;
|
||||||
|
Loading…
Reference in New Issue
Block a user