Posts: 761
Joined: Dec 2003
Reputation:
0
Butcher
Retired Developer
Posts: 761
need some info off frodo for this, but i think hardware conversion may be possible...
however, it's only worth doing if xbmc/mplayer can be set up so that mplayer is decoding one frame while the converter is converting a different frame (and a different frame is being displayed. so you have to run with 3 frames in the pipeline. atm i think we run with two - one in decode and one on the screen.
if this is possible i'll have a good think about optimizing the yv12 to yuy2 converter.
Posts: 508
Joined: Sep 2003
Reputation:
0
that should b possible
frodo
XBMC Project Founder (Retired), now head programmer of
MediaPortal
Posts: 5,008
Joined: Sep 2003
Reputation:
30
pike
Team Kodi Admin
Posts: 5,008
butcher = mr.optimizer
* pike likes butcher
Posts: 10,520
Joined: Sep 2003
Reputation:
10
Gamester17
Team-XBMC Forum Moderator
Posts: 10,520
2004-03-02, 17:17
for those who haven't followed all posts know that a such optimization could take down video playback from 90% to 10% cpu usage
Posts: 45
Joined: Nov 2003
Reputation:
0
it's sad that i'm excited by this.
Posts: 761
Joined: Dec 2003
Reputation:
0
Butcher
Retired Developer
Posts: 761
the conversion is working, i still need to resolve a few bugs with getting the data out of mplayer, but expect to see this in cvs tomorrow.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
great news! good work, butcher.
seeing as you seem to be the most knowledgeable with regards to directx and the like, do you have any idea why we can't get hardware overlays to work full res in 1080i mode? currently the surface is hacked to 540 pixels high, which i assume is simply being displayed in both fields of the interlaced image, instead of it showing only the odd lines then even of a 1080 high surface.
i don't know enough to determine whether this is a hardware restriction, or we're just setting up the display incorrectly, but it'd be nice to not have the 1080i hacks in there if at all possible.
cheers,
jonathan
Posts: 508
Joined: Sep 2003
Reputation:
0
excellent work butcher!
jcmarshall, wasnt there a limitation how big an overlay texture could be?
frodo
XBMC Project Founder (Retired), now head programmer of
MediaPortal
Posts: 761
Joined: Dec 2003
Reputation:
0
Butcher
Retired Developer
Posts: 761
btw don't expect to see the cpu drop entirely. decoding a large mpeg movie is still going to be expensive, mpeg isn't cheap to decode. it does mean we're not burning all the cpu memory bandwidth doing yv12->yuy2 conversion though.
Posts: 508
Joined: Sep 2003
Reputation:
0
cant wait to see this working, at the moment converting yv12->yuy2 is the major bottleneck in xbmc
offcourse when thats solved, we gotta see whats the next bottleneck and if that can be solved also
frodo
XBMC Project Founder (Retired), now head programmer of
MediaPortal
Posts: 508
Joined: Sep 2003
Reputation:
0
i would love to work on that
however my directx knowledge is very basic. dont even wanna compare it with butchers :d
think i gonna buy myself a good book on directx8 or 9 first
frodo
XBMC Project Founder (Retired), now head programmer of
MediaPortal
Posts: 508
Joined: Sep 2003
Reputation:
0
thx, but my birthday is @ the end of this year.
think i pay a visit to amazon.com..
frodo
XBMC Project Founder (Retired), now head programmer of
MediaPortal