search for: maefloresta

Displaying 1 result from an estimated 1 matches for "maefloresta".

2012 Apr 18
2
png2theora.c + QImage
Hello there, I have been working on an alternative version of the png2theora example: The basic idea is to change the input of the program, using a QImage [1] variable instead of a png array. This is my base file: http://www.maefloresta.com/tmp/example.cpp The point where I am stuck starts at this comment: // LOOK HERE (line 313) And here is the issue: QImage supports RGB images, so my first task is to transform the content of the QImage variable from RGB to YUV. Here is the code I already use to do the trick with a ffmpeg API...