hi All ,
I want to encoder a AVI file to MPEG file . So befor encode every frame i need convert the RGB data to YUV data for every frame .Now i find convert RGB to YUV is much slow . I try do it by two way .
(1) .. use QuickTime playback ( Carbon API : MoviesTask () ) , Get the movie GWorld , then get the Pixmap RGB Data .
(2) .. use QuickTime API GetMoviePict . get the PicHandle , convert the PicHandle to GWorld ,then get the Pixmap RGB Data ..
Is there any method for relizing RGB to YUV in QT quickly ?? Thanks for your help !