dear all ,
I wish i post my question on right positon .
I ues one mpeg decoder (maybe ffmpeg) to decoder mpeg video stream file. The decoder's output is yuv buffer frame data ..Now i want to display this frame .
First i create one yuv pixmap use API ::QTNewGWorld(&gw , kYUVSPixelFormat , &r ,nil,nil ,0 ) ; And dump the buffer data to this pixmap .then use API ::CopyBits() to show
it in one port . But it's not ok .nothing will be display in the port ..While . maybe i can convert the yuv data to rgb data .then use pixmap the pixel format is kRGB.... it will be ok .
But . it is so slow ..
And , i consider that i 'll take some idea in QT component . Any suggest will be thanks!!!
--Ann