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>
Wed, 31 Jul 2013 15:31:51 +0000 (23:31 +0800)
commite913dedc9b0ab0bc03ba39c9a9e714fff774f85d
treea123dbcc0d80b2bc7e7fd22599ccf422f54695e2
parente82fd677df216455a039d2fdcc60e9699967d0a4
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]