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, 9 Aug 2013 09:29:08 +0000 (17:29 +0800)
commitbba4bd29cd30a75145198d3476277f2fda7e8ec1
treeeed9db92117b9fd69ebea71fb3dda8ec84fc3d54
parentfb9ac0175b3846bc687ccea3dc5fef5efe9257a2
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]