mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
vdpau: s/IS_VDPAU/IS_VDP
This commit is contained in:
parent
64100e4737
commit
cee2394a0d
7 changed files with 13 additions and 13 deletions
|
@ -152,7 +152,7 @@ gst_vdp_device_set_property (GObject * object, guint prop_id,
|
||||||
{
|
{
|
||||||
GstVdpDevice *device;
|
GstVdpDevice *device;
|
||||||
|
|
||||||
g_return_if_fail (GST_IS_VDPAU_DEVICE (object));
|
g_return_if_fail (GST_IS_VDP_DEVICE (object));
|
||||||
|
|
||||||
device = (GstVdpDevice *) object;
|
device = (GstVdpDevice *) object;
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ gst_vdp_device_get_property (GObject * object, guint prop_id, GValue * value,
|
||||||
{
|
{
|
||||||
GstVdpDevice *device;
|
GstVdpDevice *device;
|
||||||
|
|
||||||
g_return_if_fail (GST_IS_VDPAU_DEVICE (object));
|
g_return_if_fail (GST_IS_VDP_DEVICE (object));
|
||||||
|
|
||||||
device = (GstVdpDevice *) object;
|
device = (GstVdpDevice *) object;
|
||||||
|
|
||||||
|
|
|
@ -31,8 +31,8 @@ G_BEGIN_DECLS
|
||||||
#define GST_TYPE_VDP_DEVICE (gst_vdp_device_get_type ())
|
#define GST_TYPE_VDP_DEVICE (gst_vdp_device_get_type ())
|
||||||
#define GST_VDP_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_VDP_DEVICE, GstVdpDevice))
|
#define GST_VDP_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_VDP_DEVICE, GstVdpDevice))
|
||||||
#define GST_VDP_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_VDP_DEVICE, GstVdpDeviceClass))
|
#define GST_VDP_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_VDP_DEVICE, GstVdpDeviceClass))
|
||||||
#define GST_IS_VDPAU_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VDP_DEVICE))
|
#define GST_IS_VDP_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VDP_DEVICE))
|
||||||
#define GST_IS_VDPAU_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_VDP_DEVICE))
|
#define GST_IS_VDP_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_VDP_DEVICE))
|
||||||
#define GST_VDP_DEVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VDP_DEVICE, GstVdpDeviceClass))
|
#define GST_VDP_DEVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VDP_DEVICE, GstVdpDeviceClass))
|
||||||
|
|
||||||
typedef struct _GstVdpDeviceClass GstVdpDeviceClass;
|
typedef struct _GstVdpDeviceClass GstVdpDeviceClass;
|
||||||
|
|
|
@ -32,8 +32,8 @@ G_BEGIN_DECLS
|
||||||
#define GST_TYPE_VDP_MPEG_DEC (gst_vdp_mpeg_dec_get_type())
|
#define GST_TYPE_VDP_MPEG_DEC (gst_vdp_mpeg_dec_get_type())
|
||||||
#define GST_VDP_MPEG_DEC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VDP_MPEG_DEC,GstVdpMpegDec))
|
#define GST_VDP_MPEG_DEC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VDP_MPEG_DEC,GstVdpMpegDec))
|
||||||
#define GST_VDP_MPEG_DEC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VDP_MPEG_DEC,GstVdpMpegDecClass))
|
#define GST_VDP_MPEG_DEC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VDP_MPEG_DEC,GstVdpMpegDecClass))
|
||||||
#define GST_IS_VDPAU_MPEG_DEC(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VDP_MPEG_DEC))
|
#define GST_IS_VDP_MPEG_DEC(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VDP_MPEG_DEC))
|
||||||
#define GST_IS_VDPAU_MPEG_DEC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VDP_MPEG_DEC))
|
#define GST_IS_VDP_MPEG_DEC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VDP_MPEG_DEC))
|
||||||
|
|
||||||
typedef struct _GstVdpMpegDec GstVdpMpegDec;
|
typedef struct _GstVdpMpegDec GstVdpMpegDec;
|
||||||
typedef struct _GstVdpMpegDecClass GstVdpMpegDecClass;
|
typedef struct _GstVdpMpegDecClass GstVdpMpegDecClass;
|
||||||
|
|
|
@ -29,8 +29,8 @@ void
|
||||||
gst_vdp_video_buffer_add_reference (GstVdpVideoBuffer * buffer,
|
gst_vdp_video_buffer_add_reference (GstVdpVideoBuffer * buffer,
|
||||||
GstVdpVideoBuffer * buf)
|
GstVdpVideoBuffer * buf)
|
||||||
{
|
{
|
||||||
g_assert (GST_IS_VDPAU_VIDEO_BUFFER (buffer));
|
g_assert (GST_IS_VDP_VIDEO_BUFFER (buffer));
|
||||||
g_assert (GST_IS_VDPAU_VIDEO_BUFFER (buf));
|
g_assert (GST_IS_VDP_VIDEO_BUFFER (buf));
|
||||||
|
|
||||||
gst_buffer_ref (GST_BUFFER (buf));
|
gst_buffer_ref (GST_BUFFER (buf));
|
||||||
buffer->refs = g_slist_prepend (buffer->refs, buf);
|
buffer->refs = g_slist_prepend (buffer->refs, buf);
|
||||||
|
|
|
@ -32,7 +32,7 @@ typedef struct _GstVdpVideoBuffer GstVdpVideoBuffer;
|
||||||
|
|
||||||
#define GST_TYPE_VDP_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_VDP_VIDEO_BUFFER))
|
#define GST_IS_VDP_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))
|
#define GST_VDP_VIDEO_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_VDP_VIDEO_BUFFER, GstVdpVideoBuffer))
|
||||||
|
|
||||||
struct _GstVdpVideoBuffer {
|
struct _GstVdpVideoBuffer {
|
||||||
|
|
|
@ -31,8 +31,8 @@ G_BEGIN_DECLS
|
||||||
#define GST_VDP_VIDEO_YUV(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VDP_VIDEO_YUV,GstVdpVideoYUV))
|
#define GST_VDP_VIDEO_YUV(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VDP_VIDEO_YUV,GstVdpVideoYUV))
|
||||||
#define GST_VDP_VIDEO_YUV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VDP_VIDEO_YUV,GstVdpVideoYUVClass))
|
#define GST_VDP_VIDEO_YUV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VDP_VIDEO_YUV,GstVdpVideoYUVClass))
|
||||||
#define GST_VDP_VIDEO_YUV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VDP_VIDEO_YUV, GstVdpVideoYUVClass))
|
#define GST_VDP_VIDEO_YUV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VDP_VIDEO_YUV, GstVdpVideoYUVClass))
|
||||||
#define GST_IS_VDPAU_VIDEO_YUV(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VDP_VIDEO_YUV))
|
#define GST_IS_VDP_VIDEO_YUV(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VDP_VIDEO_YUV))
|
||||||
#define GST_IS_VDPAU_VIDEO_YUV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VDP_VIDEO_YUV))
|
#define GST_IS_VDP_VIDEO_YUV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VDP_VIDEO_YUV))
|
||||||
|
|
||||||
typedef struct _GstVdpVideoYUV GstVdpVideoYUV;
|
typedef struct _GstVdpVideoYUV GstVdpVideoYUV;
|
||||||
typedef struct _GstVdpVideoYUVClass GstVdpVideoYUVClass;
|
typedef struct _GstVdpVideoYUVClass GstVdpVideoYUVClass;
|
||||||
|
|
|
@ -31,8 +31,8 @@ G_BEGIN_DECLS
|
||||||
#define GST_VDP_YUV_VIDEO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VDP_YUV_VIDEO,GstVdpYUVVideo))
|
#define GST_VDP_YUV_VIDEO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VDP_YUV_VIDEO,GstVdpYUVVideo))
|
||||||
#define GST_VDP_YUV_VIDEO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VDP_YUV_VIDEO,GstVdpYUVVideoClass))
|
#define GST_VDP_YUV_VIDEO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VDP_YUV_VIDEO,GstVdpYUVVideoClass))
|
||||||
#define GST_VDP_YUV_VIDEO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VDP_YUV_VIDEO, GstVdpYUVVideoClass))
|
#define GST_VDP_YUV_VIDEO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VDP_YUV_VIDEO, GstVdpYUVVideoClass))
|
||||||
#define GST_IS_VDPAU_YUV_VIDEO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VDP_YUV_VIDEO))
|
#define GST_IS_VDP_YUV_VIDEO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VDP_YUV_VIDEO))
|
||||||
#define GST_IS_VDPAU_YUV_VIDEO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VDP_YUV_VIDEO))
|
#define GST_IS_VDP_YUV_VIDEO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VDP_YUV_VIDEO))
|
||||||
|
|
||||||
typedef struct _GstVdpYUVVideo GstVdpYUVVideo;
|
typedef struct _GstVdpYUVVideo GstVdpYUVVideo;
|
||||||
typedef struct _GstVdpYUVVideoClass GstVdpYUVVideoClass;
|
typedef struct _GstVdpYUVVideoClass GstVdpYUVVideoClass;
|
||||||
|
|
Loading…
Reference in a new issue