Implement rawvideosrc in debug utils to test raw encoder/decoder performance
@sree
Submitted by Sreerenj Balachandran Link to original bug (#781039)
Description
Just noticed the encoder pipeline is doing extra memcopy.
sample pipeline:
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.