2015-03-29, 19:08
Hi all
I have question about capture = xbmc.RenderCapture() - what data is returned in
pixels = capture.getImage();
?
capture.getImageFormat() always says 'BGRA' and sometimes there are BGRA bytes (so i see 0x00 0x00 0xff 0xff for pure red color), but if I turn on hardware acceleration i've got strange bytes without any sense (i little know about RGB, YUV etc)
I had this issue on odroid-c1 box (ubuntu or openelec inside), on windows-machine with turned on acceleration all is ok
If I turn off hardware acceleration i'll get nice 0x00 0x00 0xff 0xff bytes - but performance is very bad
Sorry for my simple english and please help me )
I have question about capture = xbmc.RenderCapture() - what data is returned in
pixels = capture.getImage();
?
capture.getImageFormat() always says 'BGRA' and sometimes there are BGRA bytes (so i see 0x00 0x00 0xff 0xff for pure red color), but if I turn on hardware acceleration i've got strange bytes without any sense (i little know about RGB, YUV etc)
I had this issue on odroid-c1 box (ubuntu or openelec inside), on windows-machine with turned on acceleration all is ok
If I turn off hardware acceleration i'll get nice 0x00 0x00 0xff 0xff bytes - but performance is very bad
Sorry for my simple english and please help me )