Revert "libs: encoders: remove unused cast macros"

This reverts commit fd7d38f7d2.
This commit is contained in:
Víctor Manuel Jáquez Leal 2017-08-28 19:09:07 +02:00
parent fd7d38f7d2
commit 9c2246740b
6 changed files with 18 additions and 0 deletions

View file

@ -29,6 +29,9 @@
G_BEGIN_DECLS
#define GST_VAAPI_ENCODER_H264(encoder) \
((GstVaapiEncoderH264 *) (encoder))
typedef struct _GstVaapiEncoderH264 GstVaapiEncoderH264;
/**

View file

@ -28,6 +28,9 @@
G_BEGIN_DECLS
#define GST_VAAPI_ENCODER_H265(encoder) \
((GstVaapiEncoderH265 *) (encoder))
typedef struct _GstVaapiEncoderH265 GstVaapiEncoderH265;
/**

View file

@ -27,6 +27,9 @@
G_BEGIN_DECLS
#define GST_VAAPI_ENCODER_JPEG(encoder) \
((GstVaapiEncoderJpeg *) (encoder))
typedef struct _GstVaapiEncoderJpeg GstVaapiEncoderJpeg;
/**

View file

@ -28,6 +28,9 @@
G_BEGIN_DECLS
#define GST_VAAPI_ENCODER_MPEG2(encoder) \
((GstVaapiEncoderMpeg2 *) (encoder))
typedef struct _GstVaapiEncoderMpeg2 GstVaapiEncoderMpeg2;
/**

View file

@ -27,6 +27,9 @@
G_BEGIN_DECLS
#define GST_VAAPI_ENCODER_VP8(encoder) \
((GstVaapiEncoderVP8 *) (encoder))
typedef struct _GstVaapiEncoderVP8 GstVaapiEncoderVP8;
/**

View file

@ -27,6 +27,9 @@
G_BEGIN_DECLS
#define GST_VAAPI_ENCODER_VP9(encoder) \
((GstVaapiEncoderVP9 *) (encoder))
typedef struct _GstVaapiEncoderVP9 GstVaapiEncoderVP9;
/**