I have a patch which functionally does what I want, but I can't figure out how to fix one aspect which affects CPU usage.
The patch reads a qt movie in uyvy mode, then does the conversion to RGBA on a slab. Problem is that I have a shared context where I want to take the same movie and display it as a thumbnail within a larger pwindow.
I have it working, but I can't figure out how to do the thumbnail as a portion of the larger pwindow AND do the uyvy to RGBA conversion on the slab. Something about how I'm patching it up only works if I do the conversion using jit.uyvy2argb which hogs way more CPU than I want to use.
The patch will make it all self-explanatory I think: