• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ GST_ELEMENT_DETAILS函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中GST_ELEMENT_DETAILS函数的典型用法代码示例。如果您正苦于以下问题:C++ GST_ELEMENT_DETAILS函数的具体用法?C++ GST_ELEMENT_DETAILS怎么用?C++ GST_ELEMENT_DETAILS使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了GST_ELEMENT_DETAILS函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: GST_DEBUG_CATEGORY_STATIC

#ifdef HAVE_CONFIG_H
#  include "config.h"
#endif

#include <string.h>

#include "pnmsrc.h"

GST_DEBUG_CATEGORY_STATIC (pnmsrc_debug);
#define GST_CAT_DEFAULT pnmsrc_debug

/* elementfactory information */
static const GstElementDetails gst_pnm_src_details =
GST_ELEMENT_DETAILS ("PNM packet receiver",
    "Source/Network",
    "Receive data over the network via PNM",
    "Wim Taymans <[email protected]>");

/* PNMSrc signals and args */
enum
{
  /* FILL ME */
  LAST_SIGNAL
};

#define DEFAULT_LOCATION	NULL

enum
{
  PROP_0,
  PROP_LOCATION,
开发者ID:prajnashi,项目名称:gst-plugins-ugly,代码行数:31,代码来源:pnmsrc.c


示例2: GST_BOILERPLATE

#define A2DP_SBC_RTP_PAYLOAD_TYPE 1
#define TEMPLATE_MAX_BITPOOL_STR "64"

#define DEFAULT_AUTOCONNECT TRUE

enum {
	PROP_0,
	PROP_DEVICE,
	PROP_AUTOCONNECT
};

GST_BOILERPLATE(GstA2dpSink, gst_a2dp_sink, GstBin, GST_TYPE_BIN);

static const GstElementDetails gst_a2dp_sink_details =
	GST_ELEMENT_DETAILS("Bluetooth A2DP sink",
				"Sink/Audio",
				"Plays audio to an A2DP device",
				"Marcel Holtmann <[email protected]>");

static GstStaticPadTemplate gst_a2dp_sink_factory =
	GST_STATIC_PAD_TEMPLATE("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
			GST_STATIC_CAPS("audio/x-sbc, "
				"rate = (int) { 16000, 32000, 44100, 48000 }, "
				"channels = (int) [ 1, 2 ], "
				"mode = (string) { \"mono\", \"dual\", \"stereo\", \"joint\" }, "
				"blocks = (int) { 4, 8, 12, 16 }, "
				"subbands = (int) { 4, 8 }, "
				"allocation = (string) { \"snr\", \"loudness\" }, "
				"bitpool = (int) [ 2, "
				TEMPLATE_MAX_BITPOOL_STR " ]; "
				"audio/mpeg"
				));
开发者ID:0omega,项目名称:platform_external_bluez,代码行数:32,代码来源:gsta2dpsink.c


示例3: gst_auto_audio_src_change_state

static GstStateChangeReturn
gst_auto_audio_src_change_state (GstElement * element,
    GstStateChange transition);
static void gst_auto_audio_src_dispose (GstAutoAudioSrc * src);
static void gst_auto_audio_src_clear_kid (GstAutoAudioSrc * src);
static void gst_auto_audio_src_set_property (GObject * object, guint prop_id,
    const GValue * value, GParamSpec * pspec);
static void gst_auto_audio_src_get_property (GObject * object, guint prop_id,
    GValue * value, GParamSpec * pspec);

GST_BOILERPLATE (GstAutoAudioSrc, gst_auto_audio_src, GstBin, GST_TYPE_BIN);

static const GstElementDetails gst_auto_audio_src_details =
GST_ELEMENT_DETAILS ("Auto audio source",
    "Source/Audio",
    "Wrapper audio source for automatically detected audio source",
    "Ronald Bultje <[email protected]>\n"
    "Jan Schmidt <[email protected]>\n"
    "Stefan Kost <[email protected]>");

static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
    GST_PAD_SRC,
    GST_PAD_ALWAYS,
    GST_STATIC_CAPS_ANY);

static void
gst_auto_audio_src_base_init (gpointer klass)
{
  GstElementClass *eklass = GST_ELEMENT_CLASS (klass);

  gst_element_class_add_pad_template (eklass,
      gst_static_pad_template_get (&src_template));
开发者ID:JJCG,项目名称:gst-plugins-good,代码行数:32,代码来源:gstautoaudiosrc.c


示例4: gst_auto_video_src_change_state

gst_auto_video_src_change_state (GstElement * element,
    GstStateChange transition);
static void gst_auto_video_src_dispose (GstAutoVideoSrc * src);
static void gst_auto_video_src_clear_kid (GstAutoVideoSrc * src);

static void gst_auto_video_src_set_property (GObject * object, guint prop_id,
    const GValue * value, GParamSpec * pspec);
static void gst_auto_video_src_get_property (GObject * object, guint prop_id,
    GValue * value, GParamSpec * pspec);

GST_BOILERPLATE (GstAutoVideoSrc, gst_auto_video_src, GstBin, GST_TYPE_BIN);

static const GstElementDetails gst_auto_video_src_details =
GST_ELEMENT_DETAILS ("Auto video source",
    "Source/Video",
    "Wrapper video source for automatically detected video source",
    "Jan Schmidt <[email protected]>\n"
    "Stefan Kost <[email protected]>");

static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
    GST_PAD_SRC,
    GST_PAD_ALWAYS,
    GST_STATIC_CAPS_ANY);

static void
gst_auto_video_src_base_init (gpointer klass)
{
  GstElementClass *eklass = GST_ELEMENT_CLASS (klass);

  gst_element_class_add_pad_template (eklass,
      gst_static_pad_template_get (&src_template));
开发者ID:zsx,项目名称:ossbuild,代码行数:31,代码来源:gstautovideosrc.c


示例5: gst_break_my_data_set_property

{
    GstBaseTransformClass parent_class;
};

static void gst_break_my_data_set_property (GObject * object,
        guint prop_id, const GValue * value, GParamSpec * pspec);
static void gst_break_my_data_get_property (GObject * object,
        guint prop_id, GValue * value, GParamSpec * pspec);

static GstFlowReturn gst_break_my_data_transform_ip (GstBaseTransform * trans,
        GstBuffer * buf);
static gboolean gst_break_my_data_stop (GstBaseTransform * trans);
static gboolean gst_break_my_data_start (GstBaseTransform * trans);

static const GstElementDetails details = GST_ELEMENT_DETAILS ("Break my data",
        "Testing",
        "randomly change data in the stream",
        "Benjamin Otte <[email protected]>");

GstStaticPadTemplate bmd_src_template = GST_STATIC_PAD_TEMPLATE ("src",
                                        GST_PAD_SRC,
                                        GST_PAD_ALWAYS,
                                        GST_STATIC_CAPS_ANY);

GstStaticPadTemplate bmd_sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
        GST_PAD_SINK,
        GST_PAD_ALWAYS,
        GST_STATIC_CAPS_ANY);


#define DEBUG_INIT(bla) \
  GST_DEBUG_CATEGORY_INIT (gst_break_my_data_debug, "breakmydata", 0, \
开发者ID:prajnashi,项目名称:gst-plugins-good,代码行数:32,代码来源:breakmydata.c


示例6: GST_ELEMENT_DETAILS

#define MIN_EVENT_STRING         "0"
#define MAX_EVENT_STRING         "16"
#define MIN_VOLUME               0
#define MAX_VOLUME               36

#define MIN_INTER_DIGIT_INTERVAL 50     /* ms */
#define MIN_PULSE_DURATION       70     /* ms */

#define DEFAULT_PACKET_REDUNDANCY 1
#define MIN_PACKET_REDUNDANCY 1
#define MAX_PACKET_REDUNDANCY 5

/* elementfactory information */
static const GstElementDetails gst_rtp_dtmf_src_details =
GST_ELEMENT_DETAILS ("RTP DTMF packet generator",
    "Source/Network",
    "Generates RTP DTMF packets",
    "Zeeshan Ali <[email protected]>");

GST_DEBUG_CATEGORY_STATIC (gst_rtp_dtmf_src_debug);
#define GST_CAT_DEFAULT gst_rtp_dtmf_src_debug

/* signals and args */
enum
{
  /* FILL ME */
  LAST_SIGNAL
};

enum
{
  PROP_0,
开发者ID:bilboed,项目名称:gst-plugins-bad,代码行数:32,代码来源:gstrtpdtmfsrc.c


示例7: GST_STATIC_CAPS

                            GST_PAD_ALWAYS,
                            GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV("AYUV") ";" \
                                             GST_VIDEO_CAPS_YUV("YV12") ";" \
                                             GST_VIDEO_CAPS_YUV("I420") ";" \
                                             GST_VIDEO_CAPS_RGBA        ";" \
                                             GST_VIDEO_CAPS_BGRA        ";" \
                                             GST_VIDEO_CAPS_RGB         ";" \
                                             GST_VIDEO_CAPS_BGR));

GST_DEBUG_CATEGORY_STATIC (clutter_gst_video_sink_debug);
#define GST_CAT_DEFAULT clutter_gst_video_sink_debug

static GstElementDetails clutter_gst_video_sink_details =
  GST_ELEMENT_DETAILS ("Clutter video sink",
      "Sink/Video",
      "Sends video data from a GStreamer pipeline to a Clutter texture",
      "Jonathan Matthew <[email protected]>, "
      "Matthew Allum <[email protected], "
      "Chris Lord <[email protected]>");

enum
{
  PROP_0,
  PROP_TEXTURE,
};

typedef enum
{
  CLUTTER_GST_NOFORMAT,
  CLUTTER_GST_RGB32,
  CLUTTER_GST_RGB24,
  CLUTTER_GST_AYUV,
开发者ID:3dfxmadscientist,项目名称:gnome-apps,代码行数:32,代码来源:clutter-gst-video-sink.c


示例8: gst_auto_audio_sink_change_state

static GstStateChangeReturn
gst_auto_audio_sink_change_state (GstElement * element,
    GstStateChange transition);
static void gst_auto_audio_sink_dispose (GstAutoAudioSink * sink);
static void gst_auto_audio_sink_clear_kid (GstAutoAudioSink * sink);
static void gst_auto_audio_sink_set_property (GObject * object, guint prop_id,
    const GValue * value, GParamSpec * pspec);
static void gst_auto_audio_sink_get_property (GObject * object, guint prop_id,
    GValue * value, GParamSpec * pspec);

GST_BOILERPLATE (GstAutoAudioSink, gst_auto_audio_sink, GstBin, GST_TYPE_BIN);

static const GstElementDetails gst_auto_audio_sink_details =
GST_ELEMENT_DETAILS ("Auto audio sink",
    "Sink/Audio",
    "Wrapper audio sink for automatically detected audio sink",
    "Jan Schmidt <[email protected]>");

static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
    GST_PAD_SINK,
    GST_PAD_ALWAYS,
    GST_STATIC_CAPS_ANY);

static void
gst_auto_audio_sink_base_init (gpointer klass)
{
  GstElementClass *eklass = GST_ELEMENT_CLASS (klass);

  gst_element_class_add_pad_template (eklass,
      gst_static_pad_template_get (&sink_template));
开发者ID:zsx,项目名称:ossbuild,代码行数:30,代码来源:gstautoaudiosink.c


示例9: GST_DEBUG_CATEGORY_STATIC

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "gstmillcolor.h"

#include <gst/gst.h>
#include <gst/video/video.h>

#include <string.h>

GST_DEBUG_CATEGORY_STATIC (mill_color_debug);
#define GST_CAT_DEFAULT mill_color_debug

/* elementfactory information */
static const GstElementDetails gst_mill_color_details = GST_ELEMENT_DETAILS ("MillColor filter", "Filter/Effect/Video", "Applies a look from the Mill Colour iPhone app to a video", "Nick Ludlam <[email protected]>");

static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS (GST_VIDEO_CAPS_RGBA ";" GST_VIDEO_CAPS_BGRA));

static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("AYUV")));

GST_BOILERPLATE (GstMillColor, gst_mill_color, GstBaseTransform, GST_TYPE_BASE_TRANSFORM);

static GstCaps *gst_mill_color_transform_caps (GstBaseTransform * btrans, GstPadDirection direction, GstCaps * caps);
static gboolean gst_mill_color_set_caps (GstBaseTransform * btrans, GstCaps * incaps, GstCaps * outcaps);
static GstFlowReturn gst_mill_color_transform_ip (GstBaseTransform * btrans, GstBuffer * inbuf);

static void gst_mill_color_base_init (gpointer g_class) {
  GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);

  gst_element_class_set_details (element_class, &gst_mill_color_details);
开发者ID:nickludlam,项目名称:gst-plugin-millcolor,代码行数:31,代码来源:millcolor.c


示例10: GST_ELEMENT_DETAILS

 * Decodes images in smoke format.
 */

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>

/*#define DEBUG_ENABLED*/
#include "gstsmokedec.h"
#include <gst/video/video.h>

/* elementfactory information */
static const GstElementDetails gst_smokedec_details =
GST_ELEMENT_DETAILS ("Smoke video decoder",
    "Codec/Decoder/Video",
    "Decode video from Smoke format",
    "Wim Taymans <[email protected]>");

GST_DEBUG_CATEGORY_STATIC (smokedec_debug);
#define GST_CAT_DEFAULT smokedec_debug

/* SmokeDec signals and args */
enum
{
  LAST_SIGNAL
};

enum
{
  PROP_0
};
开发者ID:JJCG,项目名称:gst-plugins-good,代码行数:32,代码来源:gstsmokedec.c


示例11: GST_DEBUG_CATEGORY_STATIC

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#include <gst/gst.h>
#include <CoreAudio/CoreAudio.h>
#include <CoreAudio/AudioHardware.h>
#include "gstosxaudiosrc.h"
#include "gstosxaudioelement.h"

GST_DEBUG_CATEGORY_STATIC (osx_audiosrc_debug);
#define GST_CAT_DEFAULT osx_audiosrc_debug

static GstElementDetails gst_osx_audio_src_details =
    GST_ELEMENT_DETAILS ("Audio Source (OSX)",
                         "Source/Audio",
                         "Input from a sound card in OS X",
                         "Zaheer Abbas Merali <zaheerabbas at merali dot org>");

/* Filter signals and args */
enum
{
    /* FILL ME */
    LAST_SIGNAL
};

enum
{
    ARG_0,
    ARG_DEVICE
};
开发者ID:prajnashi,项目名称:gst-plugins-good,代码行数:31,代码来源:gstosxaudiosrc.c


示例12: GST_ELEMENT_DETAILS

 * Boston, MA 02111-1307, USA.
 */

#ifdef HAVE_CONFIG_H
#  include "config.h"
#endif

#include <string.h>
#include <stdlib.h>
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtpilbcdepay.h"

/* elementfactory information */
static const GstElementDetails gst_rtp_ilbc_depay_details =
GST_ELEMENT_DETAILS ("RTP iLBC depayloader",
    "Codec/Depayloader/Network",
    "Extracts iLBC audio from RTP packets (RFC 3952)",
    "Philippe Kalaf <[email protected]>");

/* RtpiLBCDepay signals and args */
enum
{
  /* FILL ME */
  LAST_SIGNAL
};

#define DEFAULT_MODE GST_ILBC_MODE_30

enum
{
  PROP_0,
  PROP_MODE
开发者ID:prajnashi,项目名称:gst-plugins-good,代码行数:32,代码来源:gstrtpilbcdepay.c


示例13: GST_ELEMENT_DETAILS

enum
{
	PROP_0,
	PROP_LEVEL
};


/* default values */
#define DEFAULT_LEVEL OMX_VIDEO_H263Level10
#define DEFAULT_BITRATE 368000
#define DEFAULT_CONTROLRATE GOO_TI_VIDEO_ENCODER_CR_VARIABLE

static const GstElementDetails details =
        GST_ELEMENT_DETAILS (
                "OpenMAX H263 encoder",
                "Codedc/Encoder/Video",
                "Encodes H263 streams with OpenMAX",
                "Texas Instrument"
                );

static GstStaticPadTemplate src_factory =
GST_STATIC_PAD_TEMPLATE ("src",
		GST_PAD_SRC,
		GST_PAD_ALWAYS,
                GST_STATIC_CAPS ("video/x-h263, "
				"width = (int) [16, 4096], "
				"height = (int) [16, 4096], "
				"framerate = (GstFraction) [1/1, 60/1]"));


static void
gst_goo_ench263_set_property (GObject* object, guint prop_id,
开发者ID:ceyusa,项目名称:gst-goo,代码行数:32,代码来源:gstgooench263.c


示例14: GST_ELEMENT_DETAILS

 *
 *	Copyright Jeroen Vreeken ([email protected]), 2005
 *
 *	This software is free software; you can redistribute it and/or
 *	modify it under the terms of the GNU General Public License as
 *	published by the Free Software Foundation; either version 2 of
 *	the License, or (at your option) any later version.
 */

#include "gstiq.h"
#include <string.h>
#include <math.h>

static GstElementDetails manchestermod_details = GST_ELEMENT_DETAILS(
	"Manchester modulator plugin",
	"Filter/Effect/Audio",
	"Manchester modulator",
	"Jeroen Vreeken ([email protected])"
);

static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE(
	"sink",
	GST_PAD_SINK,
	GST_PAD_ALWAYS,
	GST_STATIC_CAPS(
		"application/x-raw-float, "
		"endianness = (int) BYTE_ORDER, "
		"depth = (int) 32, "
		"width = (int) 32, "
		"rate = (int) [ 1, MAX ], "
		"channels = (int) 1"
	)
开发者ID:DanAnkers,项目名称:libgstiq,代码行数:32,代码来源:manchestermod.c


示例15: GST_ELEMENT_DETAILS

    "video/x-h263, " \
    "width = (int) [16, 1280], " \
    "height = (int) [16, 720]; " \
    \
    "video/x-h264, " \
    "width = (int) [16, 1280], " \
    "height = (int) [16, 720]; " \
    \
    "image/jpeg, " \
    "width = (int) [16, 1920], " \
    "height = (int) [16, 1080]; "

/* get the element details */
static GstElementDetails mfw_gst_vpuenc_details =
GST_ELEMENT_DETAILS("Freescale: Hardware (VPU) Encoder",
		    "Codec/Encoder/Video",
		    "Encodes Raw YUV Data to MPEG4 SP,or H.264 BP, or H.263 Format",
		    "Multimedia Team <[email protected]>");

static GstStaticPadTemplate mfw_gst_vpuenc_src_factory =
GST_STATIC_PAD_TEMPLATE("src",
			GST_PAD_SRC,
			GST_PAD_ALWAYS,
			GST_STATIC_CAPS(MFW_GST_VPUENC_VIDEO_CAPS));

/* defines the source pad  properties of VPU Encoder element */
static GstStaticPadTemplate mfw_gst_vpuenc_sink_factory =
GST_STATIC_PAD_TEMPLATE("sink",
			GST_PAD_SINK,
			GST_PAD_ALWAYS,
			GST_STATIC_CAPS("video/x-raw-yuv, "
					"format = (fourcc) {I420}, "
开发者ID:jmartinc,项目名称:gst-plugins-fsl-vpu,代码行数:32,代码来源:mfw_gst_vpu_encoder.c


示例16: GST_GOO_ENCPCM_GET_PRIVATE

};

#define GST_GOO_ENCPCM_GET_PRIVATE(obj) \
	(G_TYPE_INSTANCE_GET_PRIVATE ((obj), GST_TYPE_GOO_ENCPCM, GstGooEncPcmPrivate))

struct _GstGooEncPcmPrivate
{
	guint incount;
	guint outcount;

};

static const GstElementDetails details =
	GST_ELEMENT_DETAILS ("OpenMAX PCM encoder",
			     "Codec/Decoder/Audio",
			     "Encodes Pulse-Code Modulation streams with OpenMAX",
			     "Texas Instruments"
		);

static GstStaticPadTemplate sink_template =
	GST_STATIC_PAD_TEMPLATE ("sink",
				 GST_PAD_SINK,
				 GST_PAD_ALWAYS,
				 GST_STATIC_CAPS ("audio/x-raw-int, "
						  "width = (int) 16, "
						  "depth = (int) 16, "
						  "signed = (boolean) TRUE, "
						  "endianness = (int) BYTE_ORDER, "
						  "rate = (int) [ 8000, 48000 ], "
						  "channels = (int) 1")
		);
开发者ID:mrchapp,项目名称:gst-goo,代码行数:31,代码来源:gstgooencpcm.c


示例17: GST_ELEMENT_DETAILS

/* args */
enum
{
	PROP_0,
	PROP_LEVEL
};

/* default values */
#define DEFAULT_BITRATE 128000
#define DEFAULT_CONTROLRATE GOO_TI_VIDEO_ENCODER720P_CR_VARIABLE
#define DEFAULT_LEVEL OMX_VIDEO_MPEG4Level1

static const GstElementDetails details =
	GST_ELEMENT_DETAILS (
		"OpenMAX MPEG4 Ittiam encoder",
		"Codedc/Encoder/Video",
		"Encodes MPEG4 720p streams with OpenMAX",
		"Texas Instruments"
		);

static GstStaticPadTemplate src_factory =
GST_STATIC_PAD_TEMPLATE ("src",
		GST_PAD_SRC,
		GST_PAD_ALWAYS,
		GST_STATIC_CAPS ("video/mpeg, "
				"mpegversion = (int) 4, "
				"systemstream = (boolean) FALSE,"
				"width = (int) [16, 4096], "
				"height = (int) [16, 4096], "
				"framerate = (GstFraction) [1/1, 120/1]"));

开发者ID:mrchapp,项目名称:gst-goo,代码行数:30,代码来源:gstgooencmpeg4720p.c


示例18: GST_DEBUG_CATEGORY_STATIC

#include <glib/gstdio.h>
#include <stdlib.h>
#include <unistd.h>

#include "gstwildmidi.h"

#ifndef WILDMIDI_CFG
#define WILDMIDI_CFG "/etc/timidity.cfg"
#endif

GST_DEBUG_CATEGORY_STATIC (gst_wildmidi_debug);
#define GST_CAT_DEFAULT gst_wildmidi_debug

static const GstElementDetails gst_wildmidi_details =
GST_ELEMENT_DETAILS ("WildMidi",
    "Codec/Decoder/Audio",
    "Midi Synthesizer Element",
    "Wouter Paesen <[email protected]>");

enum
{
  /* FILL ME */
  LAST_SIGNAL
};

enum
{
  ARG_0,
  ARG_LINEAR_VOLUME,
  ARG_HIGH_QUALITY,
  /* FILL ME */
};
开发者ID:zsx,项目名称:ossbuild,代码行数:32,代码来源:gstwildmidi.c


示例19: gst_revtv_get_type

  GstVideoFilterClass parent_class;
};

enum
{
  ARG_0,
  ARG_DELAY,
  ARG_LINESPACE,
  ARG_GAIN
};

GType gst_revtv_get_type (void);

static const GstElementDetails gst_revtv_details =
GST_ELEMENT_DETAILS ("RevTV effect",
    "Filter/Effect/Video",
    "A video waveform monitor for each line of video processed",
    "Wim Taymans <[email protected]>");

static GstStaticPadTemplate gst_revtv_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
    GST_PAD_SRC,
    GST_PAD_ALWAYS,
    GST_STATIC_CAPS (GST_VIDEO_CAPS_BGRx)
    );

static GstStaticPadTemplate gst_revtv_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
    GST_PAD_SINK,
    GST_PAD_ALWAYS,
    GST_STATIC_CAPS (GST_VIDEO_CAPS_BGRx)
    );
开发者ID:prajnashi,项目名称:gst-plugins-good,代码行数:32,代码来源:gstrev.c


示例20: GST_DEBUG_CATEGORY_STATIC

enum {
	PROP_0,
	PROP_MIN_FRAMES
};

GST_DEBUG_CATEGORY_STATIC(gst_rtp_sbc_pay_debug);
#define GST_CAT_DEFAULT gst_rtp_sbc_pay_debug

GST_BOILERPLATE(GstRtpSBCPay, gst_rtp_sbc_pay, GstBaseRTPPayload,
		GST_TYPE_BASE_RTP_PAYLOAD);

static const GstElementDetails gst_rtp_sbc_pay_details =
	GST_ELEMENT_DETAILS("RTP packet payloader",
				"Codec/Payloader/Network",
				"Payload SBC audio as RTP packets",
				"Thiago Sousa Santos "
				"<[email protected]>");

static GstStaticPadTemplate gst_rtp_sbc_pay_sink_factory =
	GST_STATIC_PAD_TEMPLATE("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
		GST_STATIC_CAPS("audio/x-sbc, "
				"rate = (int) { 16000, 32000, 44100, 48000 }, "
				"channels = (int) [ 1, 2 ], "
				"mode = (string) { \"mono\", \"dual\", \"stereo\", \"joint\" }, "
				"blocks = (int) { 4, 8, 12, 16 }, "
				"subbands = (int) { 4, 8 }, "
				"allocation = (string) { \"snr\", \"loudness\" }, "
				"bitpool = (int) [ 2, 64 ]")
	);
开发者ID:Bisheg,项目名称:bluez,代码行数:29,代码来源:gstrtpsbcpay.c



注:本文中的GST_ELEMENT_DETAILS函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ GST_ELEMENT_ERROR函数代码示例发布时间:2022-05-30
下一篇:
C++ GST_ELEMENT_CLASS函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap