========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : VTAudioFilter
========================================================================
AppWizard has created this VTAudioFilter DLL for you. This DLL not only
demonstrates the basics of using the Microsoft Foundation classes but
is also a starting point for writing your DLL.
This file contains a summary of what you will find in each of the files that
make up your VTAudioFilter DLL.
VTAudioFilter.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
VTAudioFilter.h
This is the main header file for the DLL. It declares the
CVTAudioFilterApp class.
VTAudioFilter.cpp
This is the main DLL source file. It contains the class CVTAudioFilterApp.
VTAudioFilter.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
VTAudioFilter.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\VTAudioFilter.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
VTAudioFilter.def
This file contains information about the DLL that must be
provided to run with Microsoft Windows. It defines parameters
such as the name and description of the DLL. It also exports
functions from the DLL.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named VTAudioFilter.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
/////////////////////////////////////////////////////////////////////////////
static int consecutive_empty = 0;
static int vlt_min_fullness_x = 0;
const int window_size = 10;//15; // 20;
static int slide_window_min_full[window_size];
static int window_pos = -1;
static int max_fullness;
static int min_fullness;
static int cnt_fullness;
int stat_interval_in_ms = 1000;
int frame_size_in_ms = 30;
int stat_interval_in_frm= (stat_interval_in_ms+frame_size_in_ms/2)/frame_size_in_ms;
static double aver_vlt_min_fullness = 0;
int cnt = 0;
int i;
if ( cnt_fullness % stat_interval_in_frm ==0) {
if ( window_pos < 0) {
// initialize
for ( i =0 ; i< window_size; i++) {
slide_window_min_full[i]=0;
}
window_pos = 0;
}
slide_window_min_full[window_pos] = min_fullness < 200? min_fullness:0;
window_pos = ( window_pos + 1) % window_size;
vlt_min_fullness_x = 0xffff;
for ( i =0 ; i< window_size; i++) {
if ( vlt_min_fullness_x > slide_window_min_full[i] )
vlt_min_fullness_x = slide_window_min_full[i];
}
aver_vlt_min_fullness = 15.0/16 * (aver_vlt_min_fullness-vlt_min_fullness_x) + vlt_min_fullness_x;
cnt = 0;
//while ( vlt_min_fullness_x > k/2 + max_Rx_delay_in_frame )
/*
while ( vlt_min_fullness_x >= max( (max_fullness+2)/3, 4) )
{
//降低缓冲区
if ( cnt == 0)
printf("\n max_Rx_delay=%4d, discard ", max_Rx_delay_in_frame);
fullness = fecRedDec->fetch_packet(out_pkt);
cnt ++;
vlt_min_fullness_x -= 1;
printf(" %2d",fullness);
// write to slide_window
slide_window_min_full[window_pos] = vlt_min_fullness_x;
window_pos = ( window_pos + 1) % window_size;
}
*/
if ( cnt ) {
if ( vlt_min_fullness_x < 0)
vlt_min_fullness_x = 0;
printf("\n");
}
//
max_fullness = 0;
min_fullness = 0xffff;
//printf("\n");
}
if ( max_fullness < nBuffSize)
max_fullness = nBuffSize;
if ( min_fullness > nBuffSize) {
min_fullness = nBuffSize;
}
char msg[80];
char* p = msg;
const char char_data = '.';
const char char_empty = ' ';
//if ( max_fullness > 60)
// return fullness;
i = 1;
for (; i <= vlt_min_fullness_x; i ++)
*p ++ =char_data;
*p ++ = '#';//'|';// '/'; //'#';
for (; i <= min_fullness; i ++)
*p ++ = char_data;
*p ++ = '[';
for (; i <= nBuffSize; i ++)
*p ++ = char_data;
for ( ; i <= max_fullness; i ++)
*p ++ = char_empty;
*p ++ = ']';
while ( p < msg-20) {
*p ++ = ' ';
}
*p ++= 0x0;
if ( nBuffSize ) {
if ( consecutive_empty) {
TRACE("\n consecutive_empty = %2d\n", consecutive_empty);
consecutive_empty = 0;
}
//printf ("\r%02d:%02d.%02d ", mm,ss,ms/10);
TRACE("\r%7.3f ", m_dwReadLastSeqNumber * frame_size_in_ms/1000.);
/*
TRACE (" %2.0f %2d %2d %2d,%2d %2d %s",
m_FEClostInfo.nLostNUM*100/m_FEClostInfo.nTotalPacket, m_delayInfo.nMaxDelay,
nBuffSize,min_fullness,max_fullness,
vlt_min_fullness_x,
//aver_vlt_min_fullness,
msg
);
*/
TRACE("%s\n",msg);
if (nBuffSize <=0) {
TRACE("\n");
}
}
else {
consecutive_empty ++;
}
cnt_fullness ++;
没有合适的资源?快使用搜索试试~ 我知道了~
视音频代码.zip
共699个文件
h:255个
cpp:154个
scc:54个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 146 浏览量
2022-04-18
21:05:02
上传
评论
收藏 10.16MB ZIP 举报
温馨提示
VC源码
资源推荐
资源详情
资源评论
收起资源包目录
视音频代码.zip (699个子文件)
VTAudio.aps 31KB
STVMAGTestClient.aps 23KB
STVMAGTestServer.aps 21KB
VideoTestServer.aps 21KB
testdll.aps 20KB
STAMGR.APS 18KB
VTAudioFilter.aps 18KB
STVMGR.APS 18KB
STAVMGR.APS 18KB
WMV9Codec.aps 17KB
VTVideo.aps 17KB
convert_yuy2.asm 16KB
colorspace_rgb_mmx.asm 12KB
memcpy.asm 12KB
colorspace_yuyv_mmx.asm 9KB
convert_a.asm 7KB
cpuid.asm 6KB
colorspace_yuv_mmx.asm 6KB
TimgFilterGradualDenoiseProcess.asm 4KB
TimgFilterChromaProcess.asm 2KB
TimgFilterLumaProcess.asm 1KB
aec509.h.bak 507B
postprocess_template.c 116KB
postprocess_template.c 116KB
swscale_template.c 100KB
swscale_template.c 100KB
swscale.c 87KB
swscale.c 87KB
rgb2rgb_template.c 71KB
rgb2rgb_template.c 71KB
layer3.c 37KB
postprocess.c 26KB
postprocess.c 26KB
yuv2rgb_template.c 24KB
yuv2rgb_template.c 24KB
dct64_3dnow.c 24KB
yuv2rgb.c 23KB
yuv2rgb.c 23KB
rgb2rgb.c 20KB
rgb2rgb.c 20KB
dct64_k7.c 20KB
dct64_MMX.c 20KB
vf_spp.c 18KB
cpudetect.c 15KB
dct36_3dnow.c 14KB
sr1.c 13KB
aclib_template.c 11KB
layer2.c 10KB
dct64.c 10KB
vf_noise.c 8KB
dct36.c 8KB
decode_MMX.c 7KB
decod386.c 7KB
tabinit_MMX.c 5KB
mem_align.c 4KB
layer1.c 4KB
dct12.c 4KB
aclib.c 3KB
tabinit.c 3KB
dct36_k7.c 1KB
mplayer.c 264B
testdll.clw 1KB
swscale.cpp 87KB
DSCapture.cpp 46KB
convert_yv12.cpp 45KB
TWMVCodec.cpp 27KB
AudioSource.cpp 25KB
postprocess.cpp 25KB
yuv2rgb.cpp 23KB
TCaptureEffect.cpp 23KB
Tconvert.cpp 22KB
rgb2rgb.cpp 21KB
VideoTestClientDlg.cpp 21KB
colorspace.cpp 21KB
rtprtcpmodule.cpp 20KB
AudioManager.cpp 19KB
TimgFilterDenoise3d.cpp 19KB
STVMAGTestClientDlg.cpp 19KB
crossbar.cpp 18KB
ImgImageWriter.cpp 18KB
ffImgfmt.cpp 17KB
AudioProcesser.cpp 17KB
VideoRender.cpp 16KB
NetManager.cpp 16KB
VideoManagerS.cpp 15KB
VideoManagerS.cpp 15KB
TffPict.cpp 15KB
VTAudio.cpp 14KB
VTVideo.cpp 14KB
VideoRenderDec.cpp 14KB
image.cpp 13KB
ImgTextWriter.cpp 13KB
H323SilenceFilter.cpp 13KB
VTAudioFilter.cpp 13KB
msjexhnd.cpp 11KB
msjexhnd.cpp 11KB
STAVMGR.cpp 11KB
rtpsession.cpp 11KB
VideoManagerR.cpp 10KB
ServerThread.cpp 10KB
共 699 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
programyg
- 粉丝: 161
- 资源: 21万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 数电实验三:74LS151逻辑功能测试、74LS153逻辑功能测试、74LS153全加器、三输入多数表决电路
- jsp基于WEB的考务管理系统的设计与实现(源代码+lw).zip
- jsp基于WEB操作系统课程教学网站的设计与实现(源代码+lw).zip
- 数据库课程实践在IDEA上使用java语言采用JDBC技术连接Mysql数据库,实现购物系统.zip
- JSP基于SSH2的网络在线问答系统.zip
- JSP基于Iptables图形管理工具的设计与实现(源代码+lw).zip
- 数电实验二:74LS138功能测试、74LS138构成同相脉冲分配器、CC4511功能测试、CC4511与共阴极数码管组成的译码
- JSP基于Caché的实验室资源管理系统的设计(源代码+lw).zip
- JSP基于BS结构下的邮件系统设计开发(源代码+lw).zip
- 知识蒸馏-基于Pytorch实现的知识蒸馏+自监督学习算法训练-附项目源码+优质项目实战.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功