plugins: add h264 encoder element.
authorWind Yuan <feng.yuan@intel.com>
Mon, 29 Jul 2013 08:02:56 +0000 (16:02 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sun, 24 Nov 2013 15:52:05 +0000 (16:52 +0100)
commitf1c33feef98cc98edf780dcbecb7ebb13f7b2aca
tree0cc49ee7a6019176275932d1db9bf8bd1c5707e8
parent06ea8ba92b1151a1e603d965dc0e78361cc576c0
plugins: add h264 encoder element.

Add GstVaapiEncodeH264 element object. The actual plug-in element
is called "vaapiencode_h264".

Valid properties:
- rate-control: rate control mode (default: none)
- bitrate: desired bitrate in kbps (default: auto-calculated)
- key-period: maximal distance between two key frames (default: 30)
- num-slices: number of slices per frame (default: 1)
- max-bframes: number of B-frames between I and P (default: 0)
- min-qp: minimal quantizer (default: 1)
- init-qp: initial quantizer (default: 26)

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/Makefile.am
gst/vaapi/gstvaapi.c
gst/vaapi/gstvaapiencode_h264.c [new file with mode: 0644]
gst/vaapi/gstvaapiencode_h264.h [new file with mode: 0644]