> Hello, > > > I want to encode my opengl rendering result into h264 with libva. I > found the bottleneck is actually preparing the yuv image from the rgb > rendering result.
It depends on the implementation of the underlying driver. for intel-driver, you can use a RGB surface as input, the driver will convert RGB to YUV internally. > NVIDIA, for example, provides a way to directly encode an opengl > texture map into video. I wonder if similar function exists with > libva? I know it has some interoperability with egl, but I'm not sure > if it is just for displaying decoded result? > > > Thank you, > > > Shi > _______________________________________________ > Libva mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/libva _______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
