Implement rawvideosrc in debug utils to test raw encoder/decoder performance
Submitted by Sreerenj Balachandran
Just noticed the encoder pipeline is doing extra memcopy.
gst-launch-1.0 filesrc location=sample.yuv ! videoparse format=nv12 width=1280 height=720 framerate=30 ! vaapih264enc ! filesink location=sample.264
vaapiencode (precisely gst_vaapi_plugin_base_get_input_buffer() ) is not receiving buffers from the pre-allocated pool, so it end up with an extra copy and attach vaapivideometa.
It would be good to investigate it since it may significantly affect the performance.