本文整理汇总了Java中uk.co.caprica.vlcj.player.direct.format.RV32BufferFormat类的典型用法代码示例。如果您正苦于以下问题:Java RV32BufferFormat类的具体用法?Java RV32BufferFormat怎么用?Java RV32BufferFormat使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RV32BufferFormat类属于uk.co.caprica.vlcj.player.direct.format包,在下文中一共展示了RV32BufferFormat类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getBufferFormat
import uk.co.caprica.vlcj.player.direct.format.RV32BufferFormat; //导入依赖的package包/类
@Override
public BufferFormat getBufferFormat(int sourceWidth, int sourceHeight) {
videoSize = new Dimension(sourceWidth, sourceHeight);
// As soon as we're here, we might as well stop. We know what we wanted.
semaphore.release();
return new RV32BufferFormat(352, 288);
}
开发者ID:UiL-OTS-labs-backoffice,项目名称:UiL-OTS-Video-Coding-System,代码行数:8,代码来源:VLCMediaPlayer.java
示例2: getBufferFormat
import uk.co.caprica.vlcj.player.direct.format.RV32BufferFormat; //导入依赖的package包/类
@Override
public BufferFormat getBufferFormat(int sourceWidth, int sourceHeight) {
int width = (int)(videopane.getFitWidth()*getDpiMultiplier());
int height = (int)(videopane.getFitHeight()*getDpiMultiplier());
logger.trace("getBufferFormat: Media(" + width + " x " + height + ") " + "dpi: " + getDpiMultiplier() );
return new RV32BufferFormat(width, height);
}
开发者ID:Vidada-Project,项目名称:vidada-desktop,代码行数:10,代码来源:MediaPlayerVLC.java
示例3: getBufferFormat
import uk.co.caprica.vlcj.player.direct.format.RV32BufferFormat; //导入依赖的package包/类
@Override
public BufferFormat getBufferFormat(int sourceWidth, int sourceHeight) {
Rectangle2D visualBounds = Screen.getPrimary().getVisualBounds();
Platform.runLater(() -> videoSourceRatioProperty.set((float) sourceHeight / (float) sourceWidth));
return new RV32BufferFormat((int) visualBounds.getWidth(), (int) visualBounds.getHeight());
}
开发者ID:hohonuuli,项目名称:vars,代码行数:7,代码来源:VideoStage.java
注:本文中的uk.co.caprica.vlcj.player.direct.format.RV32BufferFormat类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论