Backup/dshow/Core/IBasicVideo.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace dshow.Core
{
using System;
using System.Runtime.InteropServices;
// IBasicVideo interface
//
// The interface enables applications to set video properties
// such as the bit rate, and destination and source rectangles
//
[ComImport,
Guid("56A868B5-0AD4-11CE-B03A-0020AF0BA770"),
InterfaceType(ComInterfaceType.InterfaceIsDual)]
public interface IBasicVideo
{
// Retrieves the average time between successive frames
// in 100-nanosecond units
[PreserveSig]
int get_AvgTimePerFrame(
out double pAvgTimePerFrame);
// Retrieves an approximate bit rate for the video stream
[PreserveSig]
int get_BitRate(
out int pBitRate);
// Retrieves an approximate bit error rate for the video stream
[PreserveSig]
int get_BitErrorRate(
out int pBitRate);
// Retrieves the current video width
[PreserveSig]
int get_VideoWidth(
out int pVideoWidth);
// Retrieves the current video height
[PreserveSig]
int get_VideoHeight(
out int pVideoHeight);
// Sets the x-axis coordinate for the source video rectangle
[PreserveSig]
int put_SourceLeft(
int SourceLeft);
// Retrieves the x-axis coordinate for the source video rectangle
[PreserveSig]
int get_SourceLeft(
out int pSourceLeft);
// Sets the width of the source video rectangle
[PreserveSig]
int put_SourceWidth(
int SourceWidth);
// Retrieves the width of the source video rectangle
[PreserveSig]
int get_SourceWidth(
out int pSourceWidth);
// Sets the y-axis coordinate for the source video rectangle
后面还有 123 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。