encode: vaapiencode plugin implementation based on GstVideoEncoder
authorWind Yuan <feng.yuan@intel.com>
Mon, 29 Jul 2013 05:44:48 +0000 (13:44 +0800)
committerWind Yuan <feng.yuan@intel.com>
Fri, 2 Aug 2013 07:06:20 +0000 (15:06 +0800)
commit860c36c8c3d75e3820c7db66a2039442a2abff3f
tree5878789279890908932f246bde714d35f5050b32
parentef11c729f1e3b8dc160484880206c65fff686fec
encode: vaapiencode plugin implementation based on GstVideoEncoder

 vaapiencode based on GstVideoEncoder and wrapped vaapiencoder
 set_format get src caps through gst_vaapi_encoder_set_format.
 gst_vaapiencode_buffer_loop seperate thread to pop encoded buffer
 from GstVaapiEncoder and push data down.
 Implement functions:
   gst_vaapiencode_open
   gst_vaapiencode_close
   gst_vaapiencode_set_format
   gst_vaapiencode_handle_frame
   gst_vaapiencode_buffer_loop
gst/vaapi/gstvaapiencode.c [new file with mode: 0644]
gst/vaapi/gstvaapiencode.h [new file with mode: 0644]