mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 22:28:22 +00:00
s/GST_TYPE_VDPAU/GST_TYPE_VDP/g
This commit is contained in:
parent
824cf29cdc
commit
02884b0356
7 changed files with 20 additions and 20 deletions
|
@ -13,11 +13,11 @@ static gboolean
|
|||
vdpau_init (GstPlugin * vdpau_plugin)
|
||||
{
|
||||
gst_element_register (vdpau_plugin, "vdpaumpegdec",
|
||||
GST_RANK_NONE, GST_TYPE_VDPAU_MPEG_DECODER);
|
||||
GST_RANK_NONE, GST_TYPE_VDP_MPEG_DECODER);
|
||||
gst_element_register (vdpau_plugin, "vdpauvideoyuv",
|
||||
GST_RANK_PRIMARY, GST_TYPE_VDPAU_VIDEO_YUV);
|
||||
GST_RANK_PRIMARY, GST_TYPE_VDP_VIDEO_YUV);
|
||||
gst_element_register (vdpau_plugin, "vdpauyuvvideo",
|
||||
GST_RANK_PRIMARY, GST_TYPE_VDPAU_YUV_VIDEO);
|
||||
GST_RANK_PRIMARY, GST_TYPE_VDP_YUV_VIDEO);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -28,12 +28,12 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_TYPE_VDPAU_DECODER (gst_vdp_decoder_get_type())
|
||||
#define GST_VDP_DECODER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VDPAU_DECODER,GstVdpDecoder))
|
||||
#define GST_VDP_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VDPAU_DECODER,GstVdpDecoderClass))
|
||||
#define GST_VDP_DECODER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VDPAU_DECODER, GstVdpDecoderClass))
|
||||
#define GST_IS_VDPAU_DECODER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VDPAU_DECODER))
|
||||
#define GST_IS_VDPAU_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VDPAU_DECODER))
|
||||
#define GST_TYPE_VDP_DECODER (gst_vdp_decoder_get_type())
|
||||
#define GST_VDP_DECODER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VDP_DECODER,GstVdpDecoder))
|
||||
#define GST_VDP_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VDP_DECODER,GstVdpDecoderClass))
|
||||
#define GST_VDP_DECODER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VDP_DECODER, GstVdpDecoderClass))
|
||||
#define GST_IS_VDPAU_DECODER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VDP_DECODER))
|
||||
#define GST_IS_VDPAU_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VDP_DECODER))
|
||||
|
||||
typedef struct _GstVdpDecoder GstVdpDecoder;
|
||||
typedef struct _GstVdpDecoderClass GstVdpDecoderClass;
|
||||
|
|
|
@ -209,7 +209,7 @@ gst_vdp_device_new (const gchar * display_name)
|
|||
{
|
||||
GstVdpDevice *device;
|
||||
|
||||
device = g_object_new (GST_TYPE_VDPAU_DEVICE, "display", display_name, NULL);
|
||||
device = g_object_new (GST_TYPE_VDP_DEVICE, "display", display_name, NULL);
|
||||
|
||||
return device;
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
GST_DEBUG_CATEGORY_INIT (gst_vdp_mpeg_decoder_debug, "vdpaumpegdec", 0, "VDPAU powered mpeg decoder");
|
||||
|
||||
GST_BOILERPLATE_FULL (GstVdpMpegDecoder, gst_vdp_mpeg_decoder,
|
||||
GstVdpDecoder, GST_TYPE_VDPAU_DECODER, DEBUG_INIT);
|
||||
GstVdpDecoder, GST_TYPE_VDP_DECODER, DEBUG_INIT);
|
||||
|
||||
static void gst_vdp_mpeg_decoder_init_info (VdpPictureInfoMPEG1Or2 * vdp_info);
|
||||
static void gst_vdp_mpeg_decoder_finalize (GObject * object);
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_TYPE_VDPAU_MPEG_DECODER (gst_vdp_mpeg_decoder_get_type())
|
||||
#define GST_VDP_MPEG_DECODER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VDPAU_MPEG_DECODER,GstVdpMpegDecoder))
|
||||
#define GST_VDP_MPEG_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VDPAU_MPEG_DECODER,GstVdpMpegDecoderClass))
|
||||
#define GST_IS_VDPAU_MPEG_DECODER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VDPAU_MPEG_DECODER))
|
||||
#define GST_IS_VDPAU_MPEG_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VDPAU_MPEG_DECODER))
|
||||
#define GST_TYPE_VDP_MPEG_DECODER (gst_vdp_mpeg_decoder_get_type())
|
||||
#define GST_VDP_MPEG_DECODER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VDP_MPEG_DECODER,GstVdpMpegDecoder))
|
||||
#define GST_VDP_MPEG_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VDP_MPEG_DECODER,GstVdpMpegDecoderClass))
|
||||
#define GST_IS_VDPAU_MPEG_DECODER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VDP_MPEG_DECODER))
|
||||
#define GST_IS_VDPAU_MPEG_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VDP_MPEG_DECODER))
|
||||
|
||||
typedef struct _GstVdpMpegDecoder GstVdpMpegDecoder;
|
||||
typedef struct _GstVdpMpegDecoderClass GstVdpMpegDecoderClass;
|
||||
|
|
|
@ -53,7 +53,7 @@ gst_vdp_video_buffer_new (GstVdpDevice * device, VdpChromaType chroma_type,
|
|||
}
|
||||
|
||||
buffer =
|
||||
(GstVdpVideoBuffer *) gst_mini_object_new (GST_TYPE_VDPAU_VIDEO_BUFFER);
|
||||
(GstVdpVideoBuffer *) gst_mini_object_new (GST_TYPE_VDP_VIDEO_BUFFER);
|
||||
|
||||
buffer->device = g_object_ref (device);
|
||||
buffer->surface = surface;
|
||||
|
|
|
@ -30,10 +30,10 @@
|
|||
|
||||
typedef struct _GstVdpVideoBuffer GstVdpVideoBuffer;
|
||||
|
||||
#define GST_TYPE_VDPAU_VIDEO_BUFFER (gst_vdp_video_buffer_get_type())
|
||||
#define GST_TYPE_VDP_VIDEO_BUFFER (gst_vdp_video_buffer_get_type())
|
||||
|
||||
#define GST_IS_VDPAU_VIDEO_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VDPAU_VIDEO_BUFFER))
|
||||
#define GST_VDP_VIDEO_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_VDPAU_VIDEO_BUFFER, GstVdpVideoBuffer))
|
||||
#define GST_IS_VDPAU_VIDEO_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VDP_VIDEO_BUFFER))
|
||||
#define GST_VDP_VIDEO_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_VDP_VIDEO_BUFFER, GstVdpVideoBuffer))
|
||||
|
||||
struct _GstVdpVideoBuffer {
|
||||
GstBuffer buffer;
|
||||
|
|
Loading…
Reference in a new issue