- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中javax.media.format.YUVFormat.<init>()
方法的一些代码示例,展示了YUVFormat.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YUVFormat.<init>()
方法的具体详情如下:
包路径:javax.media.format.YUVFormat
类名称:YUVFormat
方法名:<init>
暂无
代码示例来源:origin: stackoverflow.com
CaptureDeviceManager.getDeviceList(new YUVFormat());
代码示例来源:origin: jitsi/libjitsi
/**
* Initializes a new <tt>JNIEncoder</tt> instance.
*/
public JNIEncoder()
{
inputFormats
= new Format[]
{
new YUVFormat(
/* size */ null,
/* maxDataLength */ Format.NOT_SPECIFIED,
Format.byteArray,
/* frameRate */ Format.NOT_SPECIFIED,
YUVFormat.YUV_420,
/* strideY */ Format.NOT_SPECIFIED,
/* strideUV */ Format.NOT_SPECIFIED,
/* offsetY */ Format.NOT_SPECIFIED,
/* offsetU */ Format.NOT_SPECIFIED,
/* offsetV */ Format.NOT_SPECIFIED)
};
inputFormat = null;
outputFormat = null;
}
代码示例来源:origin: jitsi/libjitsi
/**
* Initializes a new <tt>JNIEncoder</tt> instance.
*/
public JNIEncoder()
{
inputFormats
= new Format[]
{
new YUVFormat(
/* size */ null,
/* maxDataLength */ Format.NOT_SPECIFIED,
Format.byteArray,
/* frameRate */ Format.NOT_SPECIFIED,
YUVFormat.YUV_420,
/* strideY */ Format.NOT_SPECIFIED,
/* strideUV */ Format.NOT_SPECIFIED,
/* offsetY */ Format.NOT_SPECIFIED,
/* offsetU */ Format.NOT_SPECIFIED,
/* offsetV */ Format.NOT_SPECIFIED)
};
inputFormat = null;
outputFormat = null;
}
代码示例来源:origin: jitsi/libjitsi
/**
* Initializes a new <tt>VPXEncoder</tt> instance.
*/
public VPXEncoder()
{
super("VP8 Encoder", VideoFormat.class, SUPPORTED_OUTPUT_FORMATS);
inputFormats
= new VideoFormat[]
{
new YUVFormat(
/* size */ null,
/* maxDataLength */ Format.NOT_SPECIFIED,
Format.byteArray,
/* frameRate */ Format.NOT_SPECIFIED,
YUVFormat.YUV_420,
/* strideY */ Format.NOT_SPECIFIED,
/* strideUV */ Format.NOT_SPECIFIED,
/* offsetY */ Format.NOT_SPECIFIED,
/* offsetU */ Format.NOT_SPECIFIED,
/* offsetV */ Format.NOT_SPECIFIED)
};
inputFormat = null;
outputFormat = null;
}
代码示例来源:origin: jitsi/libjitsi
/**
* Initializes a new <tt>SwScale</tt> instance which can optionally attempt
* to keep the width and height of YUV 420 output even and to preserve the
* aspect ratio of the video frames provided to the instance as input to be
* processed.
*
* @param fixOddYuv420Size <tt>true</tt> to have the new instance keep the
* width and height of YUV 420 output even; otherwise, <tt>false</tt>
* @param preserveAspectRatio <tt>true</tt> to have the new instance
* preserve the aspect ratio of the video frames provided to it as input to
* be processed; otherwise, <tt>false</tt>
*/
public SwScale(boolean fixOddYuv420Size, boolean preserveAspectRatio)
{
this.fixOddYuv420Size = fixOddYuv420Size;
this.preserveAspectRatio = preserveAspectRatio;
inputFormats
= new Format[]
{
new AVFrameFormat(),
new RGBFormat(),
new YUVFormat(YUVFormat.YUV_420)
};
addControl(frameProcessingControl);
}
代码示例来源:origin: jitsi/libjitsi
return new YUVFormat(YUVFormat.YUV_420);
new YUVFormat(
new Dimension(width, height),
代码示例来源:origin: jitsi/libjitsi
= new YUVFormat(
new Dimension(width, height),
代码示例来源:origin: stackoverflow.com
VideoFormat[] desiredFormats = new VideoFormat[] {new H263Format(), new JPEGFormat(), new RGBFormat(), new YUVFormat()};
for (VideoFormat checkFormat : desiredFormats) {
代码示例来源:origin: jitsi/libjitsi
? new YUVFormat(
代码示例来源:origin: jitsi/libjitsi
= new YUVFormat(
size,
代码示例来源:origin: jitsi/libjitsi
new YUVFormat(
size,
maxDataLength,
我想为使用 YUV420 的动态创建的 CaptureDevice 创建一个 jmf/fmj YUVFormat 实例。我对 strideY、strideUV、offsetY、offsetU 和 of
本文整理了Java中javax.media.format.YUVFormat.()方法的一些代码示例,展示了YUVFormat.()的具体用法。这些代码示例主要来源于Github/Stackoverf
我是一名优秀的程序员,十分优秀!