[mythtv] Mythtv and XvMC deinterlacing patch
Daniel Thor Kristjansson
danielk at cat.nyu.edu
Tue Jul 13 10:55:27 EDT 2004
I've attached a small patch that should fix this. I can't test it myself
at the moment but just added two lines that should turn on poor man's
XvMC deinterlacing for unlabeled 1080i content.
-- Daniel
On Mon, 12 Jul 2004, John Roberts wrote:
]Daniel,
]
]I've been reading your patches at: http://www.mrl.nyu.edu/~danielk/mythtv/ -
]thanks for the great support on the hdtv side of mythtv!
]
]I have recently installed a pcHDTV card and things seem to be working well
](I have NOT installed your patches - yet). The big issue I have right now
](and I was wondering if your patches may resolve them) is when I watch 1080i
]content. With 720p the picture looks great - but with 1080i I see interlace
]issues.
]
]When I run the frontend with --verbose playback - I can see interfaced: -1
]which makes me think it doesn't think it needs to perform any de-interlacing
]on the incoming content.
]
]Any thoughts on this? Do you think any of your patches may solve any of
]this?
]
]My P4/HT 2.6G proc is just not fast enough to run without XvMC - so I can do
]any of the software de-interlacing...
]
]Any help would be great!!!!
]
]Details if you care:
]- P4/HT 2.6G 800FSB
]- MythTV 0.15.1
]- pcHDTV card
]- PVR-250 card
]- Linux 2.6.7 (under Gentoo)
]- Samsung DLP
]
]Thanks for the help,
]
]-John
]
-------------- next part --------------
Index: libs/libmythtv/NuppelVideoPlayer.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/NuppelVideoPlayer.cpp,v
retrieving revision 1.350
diff -u -r1.350 NuppelVideoPlayer.cpp
--- libs/libmythtv/NuppelVideoPlayer.cpp 3 Jul 2004 16:48:49 -0000 1.350
+++ libs/libmythtv/NuppelVideoPlayer.cpp 13 Jul 2004 14:50:20 -0000
@@ -453,6 +453,8 @@
scan = kScan_Progressive;
else if (video_height <= 640) // HACK, 320x240 looks bad...
scan = kScan_Progressive;
+ else if (video_height >= 1080) // ATSC 1080i
+ scan = kScan_Interlaced;
if (kScan_Detect != newScan)
scan = newScan;
More information about the mythtv-dev
mailing list