rename encoders to vaapi{codec}enc

Trying to comply with GStreamer's element names, this patch renames the
encoders using the name format vaapi{codec}enc.

In this way, the plugin documentation is linked correctly.

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-02-03 19:07:40 +01:00
parent db6125be74
commit 77ddde41d9
8 changed files with 35 additions and 35 deletions

View file

@ -15,11 +15,11 @@
<xi:include href="xml/element-vaapidecodebin.xml"/>
<xi:include href="xml/element-vaapipostproc.xml"/>
<xi:include href="xml/element-vaapisink.xml"/>
<xi:include href="xml/element-vaapiencode_h264.xml"/>
<xi:include href="xml/element-vaapiencode_h265.xml"/>
<xi:include href="xml/element-vaapiencode_jpeg.xml"/>
<xi:include href="xml/element-vaapiencode_mpeg2.xml"/>
<xi:include href="xml/element-vaapiencode_vp8.xml"/>
<xi:include href="xml/element-vaapih264enc.xml"/>
<xi:include href="xml/element-vaapih265enc.xml"/>
<xi:include href="xml/element-vaapijpegenc.xml"/>
<xi:include href="xml/element-vaapimpeg2enc.xml"/>
<xi:include href="xml/element-vaapivp8enc.xml"/>
</chapter>
<chapter>

View file

@ -60,8 +60,8 @@ gst_vaapisink_get_type
</SECTION>
<SECTION>
<FILE>element-vaapiencode_h264</FILE>
<TITLE>vaapiencode_h264</TITLE>
<FILE>element-vaapih264enc</FILE>
<TITLE>vaapih264enc</TITLE>
<SUBSECTION Standard>
GST_IS_VAAPIENCODE_H264
GST_IS_VAAPIENCODE_H264_CLASS
@ -75,8 +75,8 @@ gst_vaapiencode_h264_get_type
</SECTION>
<SECTION>
<FILE>element-vaapiencode_h265</FILE>
<TITLE>vaapiencode_h265</TITLE>
<FILE>element-vaapih265enc</FILE>
<TITLE>vaapih265enc</TITLE>
<SUBSECTION Standard>
GST_IS_VAAPIENCODE_H265
GST_IS_VAAPIENCODE_H265_CLASS
@ -90,8 +90,8 @@ gst_vaapiencode_h265_get_type
</SECTION>
<SECTION>
<FILE>element-vaapiencode_jpeg</FILE>
<TITLE>vaapiencode_jpeg</TITLE>
<FILE>element-vaapijpegenc</FILE>
<TITLE>vaapijpegenc</TITLE>
<SUBSECTION Standard>
GST_IS_VAAPIENCODE_JPEG
GST_IS_VAAPIENCODE_JPEG_CLASS
@ -105,8 +105,8 @@ gst_vaapiencode_jpeg_get_type
</SECTION>
<SECTION>
<FILE>element-vaapiencode_mpeg2</FILE>
<TITLE>vaapiencode_mpeg2</TITLE>
<FILE>element-vaapimpeg2enc</FILE>
<TITLE>vaapimpeg2enc</TITLE>
<SUBSECTION Standard>
GST_IS_VAAPIENCODE_MPEG2
GST_IS_VAAPIENCODE_MPEG2_CLASS
@ -120,8 +120,8 @@ gst_vaapiencode_mpeg2_get_type
</SECTION>
<SECTION>
<FILE>element-vaapiencode_vp8</FILE>
<TITLE>vaapiencode_vp8</TITLE>
<FILE>element-vaapivp8enc</FILE>
<TITLE>vaapivp8enc</TITLE>
<SUBSECTION Standard>
GST_IS_VAAPIENCODE_VP8
GST_IS_VAAPIENCODE_VP8_CLASS

View file

@ -60,22 +60,22 @@ plugin_init (GstPlugin * plugin)
gst_element_register (plugin, "vaapisink",
GST_RANK_PRIMARY, GST_TYPE_VAAPISINK);
#if USE_ENCODERS
gst_element_register (plugin, "vaapiencode_h264",
gst_element_register (plugin, "vaapih264enc",
GST_RANK_PRIMARY, GST_TYPE_VAAPIENCODE_H264);
gst_element_register (plugin, "vaapiencode_mpeg2",
gst_element_register (plugin, "vaapimpeg2enc",
GST_RANK_PRIMARY, GST_TYPE_VAAPIENCODE_MPEG2);
#endif
#if USE_JPEG_ENCODER
gst_element_register (plugin, "vaapiencode_jpeg",
gst_element_register (plugin, "vaapijpegenc",
GST_RANK_PRIMARY, GST_TYPE_VAAPIENCODE_JPEG);
#endif
#if USE_VP8_ENCODER
gst_element_register (plugin, "vaapiencode_vp8",
gst_element_register (plugin, "vaapivp8enc",
GST_RANK_PRIMARY, GST_TYPE_VAAPIENCODE_VP8);
#endif
#if USE_H265_ENCODER
gst_element_register (plugin, "vaapiencode_h265",
gst_element_register (plugin, "vaapih265enc",
GST_RANK_PRIMARY, GST_TYPE_VAAPIENCODE_H265);
#endif

View file

@ -22,7 +22,7 @@
*/
/**
* SECTION:element-vaapiencode_h264
* SECTION:element-vaapih264enc
* @short_description: A VA-API based H.264 video encoder
*
* Encodes raw video streams into H.264 bitstreams.
@ -30,7 +30,7 @@
* <refsect2>
* <title>Example launch line</title>
* |[
* gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapiencode_h264 ! mp4mux ! filesink location=test.mp4
* gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapih264enc ! mp4mux ! filesink location=test.mp4
* ]|
* </refsect2>
*/
@ -43,7 +43,7 @@
#include "gstvaapipluginutil.h"
#include "gstvaapivideomemory.h"
#define GST_PLUGIN_NAME "vaapiencode_h264"
#define GST_PLUGIN_NAME "vaapih264enc"
#define GST_PLUGIN_DESC "A VA-API based H.264 video encoder"
GST_DEBUG_CATEGORY_STATIC (gst_vaapi_h264_encode_debug);

View file

@ -21,7 +21,7 @@
*/
/**
* SECTION:element-vaapiencode_h265
* SECTION:element-vaapih265enc
* @short_description: A VA-API based HEVC video encoder
*
* Encodes raw video streams into HEVC bitstreams.
@ -29,7 +29,7 @@
* <refsect2>
* <title>Example launch line</title>
* |[
* gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapiencode_h265 ! matroskamux ! filesink location=test.mkv
* gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapih265enc ! matroskamux ! filesink location=test.mkv
* ]|
* </refsect2>
*/
@ -42,7 +42,7 @@
#include "gstvaapipluginutil.h"
#include "gstvaapivideomemory.h"
#define GST_PLUGIN_NAME "vaapiencode_h265"
#define GST_PLUGIN_NAME "vaapih265enc"
#define GST_PLUGIN_DESC "A VA-API based H.265 video encoder"
GST_DEBUG_CATEGORY_STATIC (gst_vaapi_h265_encode_debug);

View file

@ -21,7 +21,7 @@
*/
/**
* SECTION:element-vaapiencode_jpeg
* SECTION:element-vaapijpegenc
* @short_description: A VA-API based JPEG image encoder
*
* Encodes raw images into JPEG images.
@ -29,7 +29,7 @@
* <refsect2>
* <title>Example launch line</title>
* |[
* gst-launch-1.0 -ev videotestsrc num-buffers=1 ! timeoverlay ! vaapiencode_jpeg ! filesink location=test.jpg
* gst-launch-1.0 -ev videotestsrc num-buffers=1 ! timeoverlay ! vaapijpegenc ! filesink location=test.jpg
* ]|
* </refsect2>
*/
@ -41,7 +41,7 @@
#include "gstvaapipluginutil.h"
#include "gstvaapivideomemory.h"
#define GST_PLUGIN_NAME "vaapiencode_jpeg"
#define GST_PLUGIN_NAME "vaapijpegenc"
#define GST_PLUGIN_DESC "A VA-API based JPEG video encoder"
GST_DEBUG_CATEGORY_STATIC (gst_vaapi_jpeg_encode_debug);

View file

@ -22,7 +22,7 @@
*/
/**
* SECTION:element-vaapiencode_mpeg2
* SECTION:element-vaapimpeg2enc
* @short_description: A VA-API based MPEG2 video encoder
*
* Encodes raw video streams into MPEG2 bitstreams.
@ -30,7 +30,7 @@
* <refsect2>
* <title>Example launch line</title>
* |[
* gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapiencode_mpeg2 ! matroskamux ! filesink location=test.mkv
* gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapimpeg2enc ! matroskamux ! filesink location=test.mkv
* ]|
* </refsect2>
*/
@ -42,7 +42,7 @@
#include "gstvaapipluginutil.h"
#include "gstvaapivideomemory.h"
#define GST_PLUGIN_NAME "vaapiencode_mpeg2"
#define GST_PLUGIN_NAME "vaapimpeg2enc"
#define GST_PLUGIN_DESC "A VA-API based MPEG-2 video encoder"
GST_DEBUG_CATEGORY_STATIC (gst_vaapi_mpeg2_encode_debug);

View file

@ -21,7 +21,7 @@
*/
/**
* SECTION:element-vaapiencode_vp8
* SECTION:element-vaapivp8enc
* @short_description: A VA-API based VP8 video encoder
*
* Encodes raw video streams into VP8 bitstreams.
@ -29,7 +29,7 @@
* <refsect2>
* <title>Example launch line</title>
* |[
* gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapiencode_vp8 ! matroskamux ! filesink location=test.mkv
* gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapivp8enc ! matroskamux ! filesink location=test.mkv
* ]|
* </refsect2>
*/
@ -41,7 +41,7 @@
#include "gstvaapipluginutil.h"
#include "gstvaapivideomemory.h"
#define GST_PLUGIN_NAME "vaapiencode_vp8"
#define GST_PLUGIN_NAME "vaapivp8enc"
#define GST_PLUGIN_DESC "A VA-API based VP8 video encoder"
GST_DEBUG_CATEGORY_STATIC (gst_vaapi_vp8_encode_debug);