Miracast概述(一)

一、Miracast结构体

二、miracast涉及:wifi P2P(TDLS和Infrastructure是可选的)、DHCP、RTSP、RTP、UIBC、HDCP、A/V解码、A/V播放、Remote I2C R/W

三、WFD Source、WFD Sink

简单来说WFD Source就是提供AV stream、接收uibc数据的一端

WFD Sink分为两种,一种是Primary Sink(可以接受Audio和Video流,Video是必须要支持的,Audio是可选的),一种是Secondary Sink(只接收Audio流),我们做的是Primary Sink,可以接收Audio和Video流。

四、WFD Session

1、目前我们使用的是wifi P2P,拓扑结构如下:

如果chip支持concurrent,则可能连接miracast的同时还连接AP,如图所示:

2、wifi P2P具体参考wifi P2P协议,我们是直接使用的wpa_supplicant来实现P2P的连接

3、Sink端Audio/Video支持的格式(我们只是R1,所以下面的表格是R1 device支持的)

Audio/Video
AudioFormat typeSampling rate (ksps) Bits per sampleSupported number of channelsMandatory/Optional
LPCM48ksps16bits per sample2 channelsM
LPCM44.1ksps16bits per sample2 channelsO
AAC-LC48ksps16bits per sample2 channelsO
AAC-LC48ksps16bits per sample4 channelsO
AAC-LC48ksps16bits per sample6 channelsO
AAC-LC48ksps16bits per sample8 channelsO
AC-348ksps16bits per sample2 channelsO
AC-348ksps16bits per sample4 channelsO
AC-348ksps16bits per sample6 channelsO
      
Video(H.264)ProfilesMandatory/OptionalTools  
CBPMI and P Slices  
In-Loop Deblocking Filter  
CAVLC Entropy Coding  
4:2:0 Chroma Format  
8 Bit Sample Depth  
RHPOI and P Slices  
Multiple Reference Frames  
In-Loop Deblocking Filter  
CAVLC Entropy Coding  
Interlaced Coding (PicAFF, MBAFF)  
4:2:0 Chroma Format  
Monochrome Video Format (4:0:0)  
8 Bit Sample Depth  
8x8 vs. 4x4 Transform Adaptivity  
Quantization Scaling Matrices  
Separate Cb and Cr QP control  
ResolutionFrames/Fields per second,
(i) interlaced or
(p) progressive
DescriptionRequired minimum H.264 Level 
640x480p60Standard Definition, CEA format.3.1 
720x480p60Standard Definition, CEA format.3.1 
720x480i60Standard Definition, CEA format.3.1 
720x576p50Standard Definition, CEA format.3.1 
720x576i50Standard Definition, CEA format.3.1 
1280x720p30High Definition, CEA format.3.1 
1280x720p60High Definition, CEA format.3.2 
1920x1080p30High Definition, CEA format.4 
1920x1080p60High Definition, CEA format.4.2 
1920x1080i60High Definition, CEA format.4 
1280x720p25High Definition, CEA format.3.1 
1280x720p50High Definition, CEA format.3.2 
1920x1080p25High Definition, CEA format.3.2 
1920x1080p50High Definition, CEA format.4.2 
1920x1080i50High Definition, CEA format.3.2 
1280x720p24High Definition, CEA format.3.1 
1920x1080p24High Definition, CEA format.3.2 
800x600p30SVGA; VESA format.3.1 
800x600p60SVGA; VESA format.3.2 
1024x768p30XGA; VESA format.3.1 
1024x768p60XGA; VESA format.3.2 
1152x864p30XGA+; VESA format.3.2 
1152x864p60XGA+; VESA format.4 
1280x768p30WXGA; VESA format.3.2 
1280x768p60WXGA; VESA format.4 
1280x800p30WXGA; VESA format.3.2 
1280x800p60WXGA; VESA format.4 
1360x768p30WXGA; VESA format.3.2 
1360x768p60WXGA; VESA format.4 
1366x768p30WXGA; VESA format.3.2 
1366x768p60WXGA; VESA format.4.2 
1280x1024p30SXGA (17” and 19” LCD); VESA format.3.2 
1280x1024p60SXGA (17” and 19” LCD); VESA format.4.2 
1400x1050p30SXGA+ (14” and 15” PC); VESA format.3.2 
1400x1050p60SXGA+ (14” and 15” PC); VESA format.4.2 
1440x900p30WXGA+ (19” LCD); VESA format.3.2 
1440x900p60WXGA+ (19” LCD); VESA format.4.2 
1600x900p30VESA format.3.2 
1600x900p60VESA format.4.2 
1600x1200p30UXGA (20” LCD); VESA format.4 
1600x1200p60UXGA (20” LCD); VESA format.4.2 
1680x1024p30WSXGA (19” LCD); VESA format.3.2 
1680x1024p60WSXGA (19” LCD); VESA format.4.2 
1680x1050p30SXGA (22” LCD); VESA format.3.2 
1680x1050p60SXGA (22” LCD); VESA format.4.2 
1920x1200p30WUXGA; VESA format.4.2 
800x480p30Handheld devices3.1 
800x480p60Handheld devices3.1 
854x480p30Handheld devices3.1 
854x480p60Handheld devices3.1 
864x480p30Handheld devices3.1 
864x480p60Handheld devices3.1 
640x360p30Handheld devices3.1 
640x360p60Handheld devices3.1 
960x540p30Handheld devices3.1 
960x540p60Handheld devices3.1 
848x480p30Handheld devices3.1 
848x480p60Handheld devices3.1 
  • 2
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值