自杀小队小丑女谁演的:directshow 笔记

来源:百度文库 编辑:九乡新闻网 时间:2024/03/29 03:27:23

1.环境,  DirectX 9.0, , VC 6.0,  或者后来的windows sdk

2.基本概念

3. 不能编译问题, 某些版本不能MFC

Filter Graph:

Source Filters、Transform Filters和Rendering Filters

user defined filter

 

VC6+ Directshow的com不能在vista上使用,原因com注册失败. 在XP上成功

.(错,vista,UNC机制) -> import 编译不成功.

 

 

Contract filter:

1)     load graph

2)     why cannot compile,   a) extern ? b) compare with windows sdk?

 

2010-3-12,采用 Render Filter, 运动播放成功。时钟调节。 使用了static lib,不能用vc7编译。 这是vc7.0, vc6.0 static lib兼容性不好的缘故。

声音render,视频render不再同一个线程,故video render sleep 后,声音未停。

 

我们一般戴的手表、手机、电脑里的时钟,误差在5ppm以内,一般能做到年误差30s。

1ppm的误差意味着每天误差0.09s,一年31.5s

 

-------------------

Design

1. how to communate
server: Very 1 minute (24*60 samples) UDP broadcast
client: send sample count, time to server in every 10 seconds

2. how to adjust time.
    pDest->SetTime(&TimeStart, &TimeEnd);


3. Edge process.边缘融合法
  color a+ color a =linial relationship?

By this weekend:
1. DS filter, syn, image process
   - direct to boost?


1. how to communate
server: Very 1 minute (24*60 samples) UDP broadcast
client: send sample count, time to server in every 10 seconds

2. how to adjust time.
    pDest->SetTime(&TimeStart, &TimeEnd);


3. Edge process.边缘融合法
  color a+ color a =linial relationship?

By this weekend:
1. DS filter, syn, image process
   - direct to boost?