mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 22:48:49 +00:00
libs: encoder: delete 3 useless init macro
This commit is contained in:
parent
80992191a3
commit
8ce90bca1e
1 changed files with 0 additions and 20 deletions
|
@ -371,26 +371,6 @@ struct _GstVaapiEncoderClass
|
||||||
gpointer * state);
|
gpointer * state);
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GST_VAAPI_ENCODER_CLASS_HOOK(codec, func) \
|
|
||||||
.func = G_PASTE (G_PASTE (G_PASTE (gst_vaapi_encoder_,codec),_), func)
|
|
||||||
|
|
||||||
#define GST_VAAPI_ENCODER_CLASS_INIT_BASE(CODEC) \
|
|
||||||
.parent_class = { \
|
|
||||||
.size = sizeof (G_PASTE (GstVaapiEncoder, CODEC)), \
|
|
||||||
.finalize = (GDestroyNotify) gst_vaapi_encoder_finalize \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define GST_VAAPI_ENCODER_CLASS_INIT(CODEC, codec) \
|
|
||||||
GST_VAAPI_ENCODER_CLASS_INIT_BASE (CODEC), \
|
|
||||||
.class_data = &g_class_data, \
|
|
||||||
GST_VAAPI_ENCODER_CLASS_HOOK (codec, init), \
|
|
||||||
GST_VAAPI_ENCODER_CLASS_HOOK (codec, finalize), \
|
|
||||||
GST_VAAPI_ENCODER_CLASS_HOOK (codec, reconfigure), \
|
|
||||||
GST_VAAPI_ENCODER_CLASS_HOOK (codec, get_default_properties), \
|
|
||||||
GST_VAAPI_ENCODER_CLASS_HOOK (codec, reordering), \
|
|
||||||
GST_VAAPI_ENCODER_CLASS_HOOK (codec, encode), \
|
|
||||||
GST_VAAPI_ENCODER_CLASS_HOOK (codec, flush)
|
|
||||||
|
|
||||||
G_GNUC_INTERNAL
|
G_GNUC_INTERNAL
|
||||||
GstVaapiSurfaceProxy *
|
GstVaapiSurfaceProxy *
|
||||||
gst_vaapi_encoder_create_surface (GstVaapiEncoder *
|
gst_vaapi_encoder_create_surface (GstVaapiEncoder *
|
||||||
|
|
Loading…
Reference in a new issue