I am using gst-omapfb plugin built from openembedded which contains X-overlay patch on normal omapfb plugin as my video sink. My normal pipeline is as followed.
$gst-launch-0.10 filesrc location=1.mp4 ! myparser ! mydecoder ! omapfbsink.
Src pad of my decoder is set as following caps .
"width", G_TYPE_INT, mpeg4dec->info.width,
"height", G_TYPE_INT, mpeg4dec->info.height,
"framerate", GST_TYPE_FRACTION, mpeg4dec->fps_nu, mpeg4dec->fps_de,
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('I', '4', '2', '0'),
"pixel-aspect-ratio", GST_TYPE_FRACTION,1,1,i NULL);
Omapfbsink will accept I420 format and convert it to UYVY format and copy it to frame buffer. In these all process it is using memcpy which copy data from buffer pushed from my decoder to buffer allocated locally. Here in omapfbsink memcpy is time consuming. Instead of using memcpy I would like to use some other method. But I am getting how can I replace memcpy.
If anyone can guide me to replace memcpy, I will be pleasure for me.