Location:
Search - speed frame
Search list
Description: 用c语言编写串口程序
在当今,流行的编程软件种类繁多,它们编程方便、易于维护,但是在与硬
件直接打交道和编制系统软件时却束手无策,于是C语言就有了用武之地。C语言
作为汇编语言与高级语言之间的一种过渡语言,兼有汇编语言的高效和高级语言
的方便。
在通讯中,为了保证行运安全可靠,标准的串行口必须具有许多握手信号和
状态信息。这是因为通讯的各个计算机CPU速度不一样(这会导致“错帧”)以
及发送机发送数据速度比接收机接收速度快(这会导致“过冲”)。为解决这个
问题,我们采用一个简单的握手信号,即发送机每次仅发送半个字节(低4位)
的数据,而另外半个字节(高4位)则用来传送信息。我们可以对信息位(高4位)
进行如下简单的编码:
0H:发送的是新的半个字节数据
1H:重新发送上次传送错误的数据
2H:文件名结束
3H:文件结束
这样,每当发送机发送一个字节以后,就等待接受机发回送信号,这回送信号就
是发送机发送过来的那个字节。发送机接收到回送信号后,把它与刚发送的字节
相比较,如果相同,就发送新的半个字节,否则就重新发送。新数据与旧数据通
过信息位来区分。下面就是用C语言编写控制串行口的程序。
-Serial procedures in the preparation of today's popular programming software, and a large variety of their programming and easy to maintain, but to deal directly with the hardware and system software when compiled a loss, so there will be a C language battlefield. C language as the compilation and Advanced Language a transition between languages, both assembly language and the efficient high-level language convenience. In telecommunications, in order to ensure safe and reliable transport firms, the standard serial I must have shook hands with many signals and state information. This is because the various computer communications CPU speed is not the same (this would lead to "the wrong frame") and transmitter to send data faster than fast receiver to receive (this would lead t
Platform: |
Size: 6431 |
Author: 王平 |
Hits:
Description: h.263的编解码程序。不过编码时只能编码I帧和P帧。解码时在Debug环境下会报错,在Release环境下能通过解码,但是以最快速度播放的。希望大家多多交流,对程序进行一下修改!-the H.263 codec procedures. But only when the coding frame coding I and P frames. Decoding the Debug environment will generate errors in the Release environment through the decoder, but with the fastest speed of the players. We want more, the procedures for amending what!
Platform: |
Size: 960533 |
Author: 杨宁 |
Hits:
Description: 由一台 PC (线程)向另一台 PC (线程)发送数据包,界面应显示出双方帧个数变化,帧序号,发送和接受速度,暂停或重传提示等,界面中必须动态显示数据帧的发送情况和接受情况,包括 在相应窗口详细 显示相应的 ACK 和 其他收发数据帧后发出的消息 ,以表明模拟协议的正确运作过程。
• 接收方及发送方应具有按序收发帧的能力;
• 接受方应有固定大小的滑动窗口,并对收到信息缓存。当发送方速度过快或帧丢失(超时),接受方应发送消息,要求暂停或重传(停 -- 等协议);
• 发送方发送速度应可以调节,并可以暂停或重发;
• 发送方重传时可仅重传需要的(丢失的)幀;
• 以上几个功能应可视,要求简单界面。
-from a PC (threads) to another PC (threads) to send data packets, interface demonstrates that the two sides should frame changes in the number, frame number, send and receive speed, suspension or Retransmission suggested. Dynamic interface must display the data frame transmission and acceptance of, included in the corresponding window shows detailed corresponding ACK and other data transceiver frame issued after the news, simulation of the agreement to show the correct process.
Platform: |
Size: 470769 |
Author: 刘凯 |
Hits:
Description: 含有七个函数,读写Jpeg,GIFBMP。可自动识别JPGGIFBMP;可保存JPG;可控制JPG的读写速度、质量;可读取动画GIF的任意帧;标准参数调用,可用于其他程序语言;占极少的内存!(修正了1.0版中的BUG)-containing seven functions, read and write Jpeg, GIFBMP. Automatic identification JPGGIFBMP; Kept JPG; JPG control the read and write speed, quality; GIF animation can be read arbitrary frame; standard parameters call, to be used in other programming languages; for minimal memory! (Amended version 1.0 of Bug)
Platform: |
Size: 171071 |
Author: 王子秋 |
Hits:
Description: 制作动画的类,很不错的
// construction
CAniDialog(UINT nDlgID, CWnd* pParent)
CAniDialog(CPoint pt, UINT nDlgID, CWnd* pParent)
// operation
// access frame number
UINT GetFrameNum() const
void SetFrameNum(UINT nFrames)
// access animation speed
UINT GetAniSpeed() const
void SetAniSpeed(UINT nMillSec)
// access the reference point
CPoint GetRefPt() const
void SetRefPt(CPoint pt)
// access animation styles
WORD GetOpenStyle() const
WORD GetCloseStyle() const
void SetAniStyles(WORD wOpenStyle, WORD wCloseStyle)
WORD GetDispStyle() const
void SetDispStyle(WORD wDispStyle)
// temporarily enable/disable animation
void EnableAni(BOOL bEnable = TRUE)
// check object status
BOOL IsAniValid() const -animation category, very good / / construction CAniDialog (UINT nDlgID, CWnd * pParent) CAniDialog (redemption pt, UINT nDlgID, CWnd * pParent) / / operation / / access frame number UINT GetFrameNum () const void SetFrameNum (UINT nFrames) / / animation speed access UINT GetAniSpeed () const void SetAniSpeed (UINT nMillSec) / / access the reference point redemption GetRefPt () const void SetRefPt (redemption pt) / / access animation styles WORD GetOpenStyle () const WORD GetCloseStyle () const void SetAniStyles (WORD wOpenStyle, WORD wCloseStyle) WORD GetDispStyle () const void SetDispStyle (WORD wDispStyle) / / temporarily enable / disable animation void EnableAni (BOOL bEnable = TRUE) / / check object status BOOL IsAniValid () const
Platform: |
Size: 21319 |
Author: 曾新 |
Hits:
Description: 在通讯中,为了保证行运安全可靠,标准的串行口必须具有许多握手信号和
状态信息。这是因为通兜母鞲黾扑慊鶦PU速度不一样(这会导致“错帧”)以
及发送机发送数据速度比接收机接收速度快(这会导致“过冲”)。为解决这个
问题,我们采用一个简单的握手信号,即发送机每次仅发送半个字节(低4位)
的数据,而另外半个字节(高4位)则用来传送信息。我们可以对信息位(高4位)
进行如下简单的编码:
0H:发送的是新的半个字节数据
1H:重新发送上次传送错误的数据
2H:文件名结束
3H:文件结束
这样,每当发送机发送一个字节以后,就等待接受机发回送信号,这回送信号就
是发送机发送过来的那个字节。发送机接收到回送信号后,把它与刚发送的字节
相比较,如果相同,就发送新的半个字节,否则就重新发送。新数据与旧数据通
过信息位来区分。下面就是用C语言编写控制串行口的程序。-in communications, in order to ensure safe and reliable transport firms, the standard serial I must have shook hands with many signals and state information. This is because the conduct of the mother-pocket walls flutter contented tenancy PU the same speed (which would lead to "the wrong frame") and transmitter to send data faster than fast receiver to receive (this would lead to "overshoot"). To address this problem, we have adopted a simple handshake signal that the transmitter to send only half of each byte (low 4), while the other half megabyte (four high) is used to transmit messages. The information we can place (four high), a simple code : OH : Send the new half-byte data 1H : last re-sending the wrong data transmission 2H : Name 3H end : the end of this document
Platform: |
Size: 4948 |
Author: 飞机 |
Hits:
Description: 2D的贝塞尔曲线几种画法(2D_curve).
用到QueryPerformanceCounter及QueryPerformanceFrequency的帧速计数.-2D Bezier curves of several paintings (2D_curve). Use QueryPerfor manceCounter frame and QueryPerformanceFrequency speed counts.
Platform: |
Size: 63814 |
Author: 金哥 |
Hits:
Description: %电影动画:
%1.首先调用moviein函数对内存初始化.创建一个足够大的矩阵来容纳一系列指定的图形(帧)
%2.调用getframe函数生成每一帧.该函数返回一个矢量,利用这个矢量创建一个电影动画矩阵
%3.调用movie函数按照指定速度进行指定次数的播放
%例子2:演示如何实现快速傅立叶变换(exp(j*2*pi/n))的可视化过程- Movie animation: 1. First transfers the moviein function to the
memory initialization Founds graph which an enough big matrix holds a
series of assigns (frame) % 2. Transfers the getframe function to
produce each This function returns to a vector, uses this vector to
found a movie animation matrix % 3. Transfers the movie function
according to assign the speed to carry on assigns the number of times
the broadcast
Example 2: How demonstrates realizes fast Fourier transforms
(exp (j*2*pi/n)) the visible process
Platform: |
Size: 867 |
Author: 龚力 |
Hits:
Description: 1,用经线和纬线画出一个三维球体,经线用不同的颜色表示,用帧交换技术实现球体的转动
2,在球体外部画1-3个小球,实现大球转动的同时,小球绕大球转及速度交互可调
3,考虑设计通用程序,实现小球的个数大小旋转的轨迹-one with warp and weft, paint a three-dimensional sphere, warp with different colors, Frame switching technology used to achieve the rotating ball two, ball in the external painting 1-3 small ball, and make major rotation of the ball, Small ball big balls turn around and adjustable speed interactive 3, the design of common procedures, the number of small balls the size of the rotating track
Platform: |
Size: 2425 |
Author: 朱友勇 |
Hits:
Description: 在当今,流行的编程软件种类繁多,它们编程方便、易于维护,但是在与硬件直接打交道和编制系统软件时却束手无策,于是C语言就有了用武之地。C语言作为汇编语言与高级语言之间的一种过渡语言,兼有汇编语言的高效和高级语言的方便。 在通讯中,为了保证行运安全可靠,标准的串行口必须具有许多握手信号和状态信息。这是因为通讯的各个计算机CPU速度不一样(这会导致“错帧”)以及发送机发送数据速度比接收机接收速度快(这会导致“过冲”)。为解决这个问题,我们采用一个简单的握手信号,即发送机每次仅发送半个字节(低4位)的数据,而另外半个字节(高4位)则用来传送信息。我们可以对信息位(高4位)进行如下简单的编码:-today, the popularity of the wide variety of software programming, is easy to maintain, but to deal directly with the hardware and system software when compiled a loss, so there will be a C language battlefield. C language as the compilation and Advanced Language a transition between languages, both assembly language and the efficient high-level language convenience. In telecommunications, in order to ensure safe and reliable transport firms, the standard serial I must have shook hands with many signals and state information. This is because the various computer communications CPU speed is not the same (this would lead to "the wrong frame") and transmitter to send data faster than fast receiver to receive (this would lead to "overshoot"). To address this pr
Platform: |
Size: 2441 |
Author: 朱亮 |
Hits:
Description: This application allows any 2 persons on the LAN/Intranet (possibly Internet too) to have video conference. There are several video conference applications existing today. Each has its own performance enhancement techniques. The major problem in video conference is that the size of video frames is too big for transmission. Hence the performance is based on the codec used for encoding and decoding the frame. I am using Fast h263 Encoder library which gives better compression rate at high speed. This application can also be used on the Internet with little modification.
Platform: |
Size: 13675442 |
Author: jasonaviq |
Hits:
Description: 在当今,流行的编程软件种类繁多,它们编程方便、易于维护,但是在与硬件直接打交道和编制系统软件时却束手无策,于是C语言就有了用武之地。C语言作为汇编语言与高级语言之间的一种过渡语言,兼有汇编语言的高效和高级语言的方便。 在通讯中,为了保证行运安全可靠,标准的串行口必须具有许多握手信号和状态信息。这是因为通讯的各个计算机CPU速度不一样(这会导致“错帧”)以及发送机发送数据速度比接收机接收速度快(这会导致“过冲”)。为解决这个问题,我们采用一个简单的握手信号,即发送机每次仅发送半个字节(低4位)的数据,而另外半个字节(高4位)则用来传送信息。我们可以对信息位(高4位)进行如下简单的编码:-today, the popularity of the wide variety of software programming, is easy to maintain, but to deal directly with the hardware and system software when compiled a loss, so there will be a C language battlefield. C language as the compilation and Advanced Language a transition between languages, both assembly language and the efficient high-level language convenience. In telecommunications, in order to ensure safe and reliable transport firms, the standard serial I must have shook hands with many signals and state information. This is because the various computer communications CPU speed is not the same (this would lead to "the wrong frame") and transmitter to send data faster than fast receiver to receive (this would lead to "overshoot"). To address this pr
Platform: |
Size: 2048 |
Author: 朱亮 |
Hits:
Description: 用c语言编写串口程序
在当今,流行的编程软件种类繁多,它们编程方便、易于维护,但是在与硬
件直接打交道和编制系统软件时却束手无策,于是C语言就有了用武之地。C语言
作为汇编语言与高级语言之间的一种过渡语言,兼有汇编语言的高效和高级语言
的方便。
在通讯中,为了保证行运安全可靠,标准的串行口必须具有许多握手信号和
状态信息。这是因为通讯的各个计算机CPU速度不一样(这会导致“错帧”)以
及发送机发送数据速度比接收机接收速度快(这会导致“过冲”)。为解决这个
问题,我们采用一个简单的握手信号,即发送机每次仅发送半个字节(低4位)
的数据,而另外半个字节(高4位)则用来传送信息。我们可以对信息位(高4位)
进行如下简单的编码:
0H:发送的是新的半个字节数据
1H:重新发送上次传送错误的数据
2H:文件名结束
3H:文件结束
这样,每当发送机发送一个字节以后,就等待接受机发回送信号,这回送信号就
是发送机发送过来的那个字节。发送机接收到回送信号后,把它与刚发送的字节
相比较,如果相同,就发送新的半个字节,否则就重新发送。新数据与旧数据通
过信息位来区分。下面就是用C语言编写控制串行口的程序。
-Serial procedures in the preparation of today's popular programming software, and a large variety of their programming and easy to maintain, but to deal directly with the hardware and system software when compiled a loss, so there will be a C language battlefield. C language as the compilation and Advanced Language a transition between languages, both assembly language and the efficient high-level language convenience. In telecommunications, in order to ensure safe and reliable transport firms, the standard serial I must have shook hands with many signals and state information. This is because the various computer communications CPU speed is not the same (this would lead to "the wrong frame") and transmitter to send data faster than fast receiver to receive (this would lead t
Platform: |
Size: 6144 |
Author: 王平 |
Hits:
Description: h.263的编解码程序。不过编码时只能编码I帧和P帧。解码时在Debug环境下会报错,在Release环境下能通过解码,但是以最快速度播放的。希望大家多多交流,对程序进行一下修改!-the H.263 codec procedures. But only when the coding frame coding I and P frames. Decoding the Debug environment will generate errors in the Release environment through the decoder, but with the fastest speed of the players. We want more, the procedures for amending what!
Platform: |
Size: 1388544 |
Author: 杨宁 |
Hits:
Description: 读入一个视频序列中的任意两帧,对这两帧图像进行运动估计(全搜速方法),并且利用得到的运动矢量进行插值重建处于这两帧中间位置的图像。-Reading into a video sequence of arbitrary 2, the two-frame image motion estimation (full-speed search method), and the utilization of the motion vector for interpolation frame reconstruction in the middle of these two images.
Platform: |
Size: 3072 |
Author: 吴珅 |
Hits:
Description: This source code is the design of intra prediction of H.264. The aim of the source code is to increase the coding speed of intra prediction in H.264. The results shown that the gradient method can really reduce the coding time.
Platform: |
Size: 5069824 |
Author: AnChao |
Hits:
Description: linux环境下 AT91RM9200 SPI 驱动程序- High speed frame transmit/receive using the AT91RM9200 s SPIs by pinning
down a range of virtual pages from user-space to be able to DMA directly into/out of them, one page (4096 bytes) at a time.
Platform: |
Size: 6144 |
Author: 小球 |
Hits:
Description: 介 绍了在估算的两相旋转坐标系下的永磁同步电机模型,推导出了反电动势方程的扩展形式。针
对凸极永磁同步电机提出了在电动机低速时,利用凸极跟踪法和在高速时利用反电动势相结合来获得转子
转速和转子位置的方法。仿真结果表明两者相结合的估算方法的有效性。-t:A modelo fp ermanentm agnets ynchronousm otor(P MSM)i nt hee stimationt wop haser otating
reference frame is introduced and an extended back electromotive force (EMF) equation is deduced. A
sensorless control strategy for a salient-pole PMSM using saliency tracking at low speed and back EMF at
high speed is presented to obtain the rotor speed and position. The simulation results illustrate the validity of
the approach.
Ke yw or ds p ermanentm agnets ynchronous motor(PMSM) speed sensorless back EMF high frequency
signal
Platform: |
Size: 235520 |
Author: fmx |
Hits:
Description: 高速率视频编码的帧内的论文改进方法,是一些比较珍贵的资料哦-High-speed frame rate of the video encoding method of improving the paper
Platform: |
Size: 845824 |
Author: 覃杨微 |
Hits:
Description: 使用了极速框架JFinal,自动生成代码的企业综合管理系统。-Using the speed frame JFinal, automatically generate code for enterprise integrated management system.
Platform: |
Size: 19196928 |
Author: laozhang |
Hits: