[mythtv] bugfix patch for XvMC deinterlacing

Anthony Spinoza spinozacue at yahoo.com
Tue Jul 20 23:34:20 EDT 2004


> I think I may have fixed the lack of XvMC poor-man's
> deinterlacing for
> 1080i content. SetVideoParams was never being called
> with kScan_Detect.
> 
> This patch should fix it for MPEG files. Please let
> me know if it works
> for you as I don't have HDTV 1080i content to test
> with.
> 
> -- Daniel

I just gave this a whirl, the picture looks great. I
have an Infocus X1 and scale to 1024x768 letter boxed
for wide screen content before it hits the VGA cable.
Before this patch 1080i content looked horrible when
moving. I can run the output at 1080i... but nothing
else but the one station I get at 1080i likes that.
Kudos to a nice patch.

Here is verbose all of what I thought was relevant.

2004-07-20 23:23:34 detectInterlace(Detect Scan,
Detect Scan, 29.97, 1088) ->Interlaced Scan
2004-07-20 23:23:34 Interlaced: Interlaced Scan 
video_height: 1088  fps: 29.97
2004-07-20 23:23:34 53      QUERY_RECORDER
1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2004-07-20 23:23:34 Read(): reqd=128000, rcvd=128000,
rept=128000, error=0
2004-07-20 23:23:34 Estimated bitrate = 384000
2004-07-20 23:23:34 39      QUERY_RECORDER
1[]:[]GET_FRAMES_WRITTEN
2004-07-20 23:23:34 53      QUERY_RECORDER
1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2004-07-20 23:23:34 52      QUERY_RECORDER
1[]:[]FILL_POSITION_MAP[]:[]0[]:...
2004-07-20 23:23:34 Read(): reqd=256000, rcvd=256000,
rept=256000, error=0
2004-07-20 23:23:34 Partial position map found
2004-07-20 23:23:34 Commercial Detection initialized:
width = 1920, height = 1088, fps = 29.97, method = 1
2004-07-20 23:23:34 Killing AudioOutputDSP
2004-07-20 23:23:34 Opening OSS audio device
'/dev/dsp'.
2004-07-20 23:23:34 Audio fragment size: 4096
2004-07-20 23:23:34 kickoffOutputAudioLoop: pid =
18912
2004-07-20 23:23:34 Ending reconfigure
2004-07-20 23:23:34 Over/underscan. V: 0, H: 0, XOff:
0, YOff: 0
Using XvMC version: 1.0
2004-07-20 23:23:34 XvMCSurfaceTypes::find(w 1920, h
1, c 1, i 2, m 0,sw 0, sh 145, disp, p<= 145,
10880 <=p, port, surfNum)
2004-07-20 23:23:34 Trying XvMC port 145
2004-07-20 23:23:34 Found a suitable XvMC surface 0
2004-07-20 23:23:34 Using XV port 145
2004-07-20 23:23:34 Image size. dispxoff 0, dispyoff:
96, dispwoff: 1024, disphoff: 576
2004-07-20 23:23:34 Image size. imgx 0, imgy: 0, imgw:
1920, imgh: 1088

-vito


	
		
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/


More information about the mythtv-dev mailing list