[go: up one dir, main page]

CN102752600A - Realizing method for reducing time delay of image transmission system - Google Patents

Realizing method for reducing time delay of image transmission system Download PDF

Info

Publication number
CN102752600A
CN102752600A CN2012102438026A CN201210243802A CN102752600A CN 102752600 A CN102752600 A CN 102752600A CN 2012102438026 A CN2012102438026 A CN 2012102438026A CN 201210243802 A CN201210243802 A CN 201210243802A CN 102752600 A CN102752600 A CN 102752600A
Authority
CN
China
Prior art keywords
image
data
strip data
strip
coding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012102438026A
Other languages
Chinese (zh)
Other versions
CN102752600B (en
Inventor
张宝薇
王婷
国辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Space Star Technology Co Ltd
Original Assignee
Space Star Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Space Star Technology Co Ltd filed Critical Space Star Technology Co Ltd
Priority to CN201210243802.6A priority Critical patent/CN102752600B/en
Publication of CN102752600A publication Critical patent/CN102752600A/en
Application granted granted Critical
Publication of CN102752600B publication Critical patent/CN102752600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本发明公开了一种降低图像传输系统时延的实现方法,图像发送端接收输入的图像数据并划分为条带数据后输出到编码单元;编码单元图像采用并行的方式进行条带数据的接收,条带数据的编码和编码后条带数据的输出;图像发送端将编码后条带数据添加条带头后发送到图像接收端;图像接收端根据条带头提取出编码后条带数据,并将编码后条带数据输出到解码单元;所述解码单元采用并行的方式进行编码后条带数据的接收,编码后条带数据的解码和条带数据的输出;图像接收端根据条带头将解码后恢复出的条带数据组织成图像数据后输出。本发明通过对由图像分割出的条带数据的流水处理,降低了图像传输系统的时延和图像传输系统的实现资源。

Figure 201210243802

The invention discloses an implementation method for reducing the time delay of an image transmission system. The image sending end receives the input image data and divides it into strip data and then outputs it to the coding unit; the coding unit image adopts a parallel mode to receive the strip data, Encoding of strip data and output of encoded strip data; the image sending end adds the encoded strip data to the image receiving end after adding a slice header; the image receiving end extracts the encoded strip data according to the slice header, and encodes The rear strip data is output to the decoding unit; the decoding unit adopts a parallel mode to receive the encoded strip data, decode the encoded strip data and output the strip data; the image receiving end recovers the decoded strip data according to the strip header The obtained strip data is organized into image data and then output. The present invention reduces the time delay of the image transmission system and the implementation resources of the image transmission system through the pipeline processing of the strip data separated from the image.

Figure 201210243802

Description

一种降低图像传输系统时延的实现方法A Realization Method of Reducing Time Delay of Image Transmission System

技术领域 technical field

本发明属于图像传输数据链领域,涉及一种降低图像传输系统时延的实现方法。The invention belongs to the field of image transmission data chains, and relates to a realization method for reducing the time delay of an image transmission system.

背景技术 Background technique

图像传输系统是一种集图像的采集、处理和传输为一体的技术,随着多媒体技术和无线传输技术的广泛发展,图像传输系统以其直观方便、信息丰富的特点而广泛应用于工程的许多领域,也因此成为一个研究热点。而时延在航天工程应用尤其是图像传输系统中,是一个重要的衡量系统好坏的指标,系统的端到端时延通常要求较低。时延越低,则用户可以越可以再更短的时间内观看到解码图像,从而以此为依据,做出指挥判断。反之,若时延过高,则实时性就比较差,对于紧急情况尤其是用于精确制导控制的图像传输系统就失去了意义。所以,研究降低系统时延的方法是很有必要。Image transmission system is a technology that integrates image acquisition, processing and transmission. With the extensive development of multimedia technology and wireless transmission technology, image transmission system is widely used in many projects because of its intuitive convenience and rich information. Therefore, it has become a research hotspot. In aerospace engineering applications, especially in image transmission systems, delay is an important index to measure the quality of the system, and the end-to-end delay of the system is usually lower. The lower the delay, the shorter the time the user can watch the decoded image, and use this as a basis to make command judgments. Conversely, if the delay is too high, the real-time performance will be relatively poor, and it will be meaningless for emergency situations, especially for image transmission systems used for precise guidance and control. Therefore, it is necessary to study methods to reduce system delay.

在图像传输系统中,时延主要包括几大部分:图像输入输出的传输时延、图像编解码处理时延、缓存时延和信道编解码处理时延。可以看出,时延的产生主要是在图像编解码端产生。所以,系统时延的降低重点在于减少图像编解码的时延。In the image transmission system, the delay mainly includes several parts: transmission delay of image input and output, image encoding and decoding processing delay, buffer delay and channel encoding and decoding processing delay. It can be seen that the delay is mainly generated at the image codec end. Therefore, the reduction of system delay focuses on reducing the delay of image codec.

目前已公开发表的关于减少图像编解码端时延的方法主要分为两类,第一类是研究图像编码中使用的码率控制算法,通过尽量使每帧编码数据接近于目标码率、减少编码端缓冲数据的方法达到降低缓存时延的目的,但是这种策略只能实现一定时间内编码数据的平稳,不能完全精确到每帧都恰好达到目标码率,而且算法通常比较复杂、计算量大;第二类是研究图像编解码的快速算法,从而减少图像编解码的处理时延,但是速度的提升不可避免的会带来一定质量的损耗。The currently published methods for reducing the time delay at the image encoding and decoding end are mainly divided into two categories. The first category is to study the rate control algorithm used in image encoding. By trying to make the encoded data of each frame close to the target rate, reduce The method of buffering data at the encoding end achieves the purpose of reducing the buffering delay, but this strategy can only achieve the stability of the encoded data within a certain period of time, and cannot be completely accurate enough that each frame just reaches the target bit rate, and the algorithm is usually more complicated and requires a lot of calculation. The second category is to study the fast algorithm of image encoding and decoding, so as to reduce the processing delay of image encoding and decoding, but the improvement of speed will inevitably bring a certain loss of quality.

发明内容Contents of the invention

本发明的技术解决问题是:克服现有技术的不足,提供了一种降低图像传输系统时延的实现方法,通过对由图像分割出的条带数据的流水处理,降低了图像传输系统的时延和实现资源。The problem solved by the technology of the present invention is to overcome the deficiencies of the prior art and provide a method for reducing the time delay of the image transmission system. Delay and implementation resources.

本发明的技术解决方案是:Technical solution of the present invention is:

一种降低图像传输系统时延的实现方法,所述图像传输系统包括图像发送端和图像接收端,其中,图像发送端包括编码单元;图像接收端包括解码单元,图像发送端和图像接收端根据以下步骤进行图像数据的传输:An implementation method for reducing the time delay of an image transmission system, the image transmission system includes an image sending end and an image receiving end, wherein the image sending end includes a coding unit; the image receiving end includes a decoding unit, and the image sending end and the image receiving end are based on The following steps carry out image data transmission:

图像发送端接收输入的图像数据并划分为条带数据后输出到编码单元;The image sending end receives the input image data and divides it into strip data and outputs it to the coding unit;

编码单元图像采用并行处理的方式进行条带数据的接收,条带数据的编码和编码后条带数据的输出;The encoding unit image adopts parallel processing to receive the strip data, encode the strip data and output the encoded strip data;

图像发送端将编码后条带数据添加条带头后发送到图像接收端;The image sending end adds the encoded strip data to the image receiving end after adding a strip header;

图像接收端根据条带头提取出编码后条带数据,并将编码后条带数据输出到解码单元;The image receiving end extracts the encoded strip data according to the slice header, and outputs the encoded strip data to the decoding unit;

所述解码单元采用并行处理的方式进行编码后条带数据的接收,编码后条带数据的解码和条带数据的输出;The decoding unit adopts parallel processing to receive the encoded strip data, decode the encoded strip data and output the strip data;

图像接收端根据条带头将解码后恢复出的条带数据组织成图像数据后输出。The image receiving end organizes the decoded and restored slice data into image data according to the slice header, and then outputs it.

进一步的,所述编码单元采用至少两个与条带数据大小相同的缓存区对输入的条带数据进行缓存和编码。Further, the encoding unit uses at least two buffer areas with the same size as the stripe data to buffer and encode the input stripe data.

进一步的,所述编码单元的并行处理方式为:对当前时刻的条带数据进行编码的同时,对前一时刻的编码完成的编码后条带数据进行输出,并对下一时刻到达的条带数据进行接收。Further, the parallel processing method of the encoding unit is: while encoding the slice data at the current moment, output the encoded slice data at the previous moment, and output the encoded slice data at the next moment data is received.

进一步的,所述条带头包括条带标志头、条带号,图像接收端根据条带标志头确定一个完整的编码后条带数据,并根据条带后将解码后恢复出的条带数据组织成图像数据。Further, the slice header includes a slice flag header and a slice number, and the image receiving end determines a complete coded slice data according to the slice flag header, and organizes the decoded and restored slice data according to the slice into image data.

进一步的,所述解码单元采用至少两个与编码后条带数据大小相同的缓存区对输入的编码后条带数据进行缓存和编码。Further, the decoding unit uses at least two buffer areas with the same size as the encoded strip data to buffer and encode the input encoded strip data.

进一步的,所述解码单元的并行处理方式为:对当前时刻的编码后条带数据进行解码的同时,对前一时刻解码后产生的条带数据进行输出,并对下一时刻到达的编码后条带数据进行接收。Further, the parallel processing method of the decoding unit is: while decoding the encoded slice data at the current moment, output the decoded slice data at the previous moment, and output the encoded slice data arriving at the next moment Stripe data is received.

本发明与现有技术相比具有如下优点:Compared with the prior art, the present invention has the following advantages:

本发明将图像发送端将图像数据划分为多个条带,以条带数据为单元,通过并行处理方法,使多部分的处理时间重叠,从而达到降低系统时延的目的。该方法适用于按块(即本发明所述的条带为块的集合)进行图像处理的视频压缩算法,如:H.264算法、MPEG4算法,易于工程化实现,且图像质量没有损耗。In the invention, the image sending end divides the image data into a plurality of strips, takes the strip data as a unit, and uses a parallel processing method to overlap the processing time of multiple parts, so as to achieve the purpose of reducing system delay. The method is applicable to video compression algorithms for image processing by blocks (that is, the strips described in the present invention are sets of blocks), such as H.264 algorithm and MPEG4 algorithm, and is easy to implement in engineering without loss of image quality.

现有图像传输系统图像编码端处理方式都是接收到一整帧图像以后再启动压缩编码处理。而本发明以条带数据为单元进行图像输入与压缩,输入一个条带数据以后就开始进行压缩,在单帧图像内就开启了图像输入与编码的并行处理,实现了图像输入时延与图像压缩编码时延的重叠,有效降低了编码端引起的系统时延。The processing mode of the image encoding end of the existing image transmission system is to start the compression encoding process after receiving a whole frame of image. However, the present invention uses strip data as a unit to perform image input and compression. After inputting a strip data, the compression starts, and the parallel processing of image input and encoding is started in a single frame image, and the image input delay and image compression are realized. The overlapping of compressed encoding delay effectively reduces the system delay caused by the encoding end.

现有图像传输系统图像接收端都是接收到一整帧图像的码流数据以后再启动解码解压缩处理,而本发明码流结构以编码后条带数据为单元进行组织,所以图像接收端在接收到一个编码后条带数据以后就可以启动解码解压缩,实现了码流输入缓冲时延与图像解码解压缩时延的重叠,有效降低了解码端引起的系统时延。The image receiving end of the existing image transmission system starts the decoding and decompression process after receiving the code stream data of a whole frame of image, while the code stream structure of the present invention organizes the coded strip data as a unit, so the image receiving end After receiving an encoded strip data, decoding and decompression can be started, which realizes the overlap of code stream input buffer delay and image decoding and decompression delay, effectively reducing the system delay caused by the decoding end.

由于本发明是以条带数据为基本单元进行处理,所以其耗用的内存大多是以条带为基本单元进行分配。如对于本发明,其图像编码端的原始图像输入缓冲区至少可分配2个条带大小,而对于现有技术,其原始图像输入缓冲区至少需分配2个整帧图像大小,同理于图像解码端。因此,本发明具有耗用内存资源少,节省内存空间的特点。Since the present invention processes strip data as a basic unit, most of the consumed memory is allocated using strips as a basic unit. For example, for the present invention, the original image input buffer at the image encoding end can be allocated at least 2 slice sizes, while for the prior art, the original image input buffer needs to be allocated at least 2 full frame image sizes, which is similar to image decoding end. Therefore, the present invention has the characteristics of consuming less memory resources and saving memory space.

本发明对输入图像的复杂度没有特定要求,无论是动态大的复杂图像还是动态小的简单图像均可以达到降低图像传输系统时延的目的,具有广泛的适应性。而且算法实现简单、实时性高,易于工程实现。The invention has no specific requirements on the complexity of the input image, and can achieve the purpose of reducing the time delay of the image transmission system no matter it is a complex image with large dynamics or a simple image with small dynamics, and has wide adaptability. Moreover, the algorithm is simple to realize, has high real-time performance, and is easy to implement in engineering.

附图说明 Description of drawings

图1为本发明流程图Fig. 1 is a flowchart of the present invention

图2为发送端并行处理示意图;FIG. 2 is a schematic diagram of parallel processing at the sending end;

图3为接收端并行处理示意图;Fig. 3 is a schematic diagram of parallel processing at the receiving end;

图4为本发明图像发送端流程示意图;Fig. 4 is a schematic diagram of the process flow of the image sending end of the present invention;

图5为本发明图像接收端流程示意图。Fig. 5 is a schematic flow diagram of the image receiving end of the present invention.

具体实施方式 Detailed ways

如图1所示流程图,本发明包括下列步骤:Flow chart shown in Figure 1, the present invention comprises the following steps:

(1)经过A/D采样数字化后的原始数字图像首先送入作为图像发送端图像采集单元的FPGA所构建的FIFO中进行缓冲,FPGA收集到一个条带数据后向作为图像发送端编码单元的DSP发送一个中断信号,DSP接收到此中断信号后触发EDMA后台操作快速接收FPGA发送过来一个条带的图像数据。(1) The original digital image digitized by A/D sampling is first sent to the FIFO built by the FPGA as the image acquisition unit of the image sending end for buffering, and the FPGA collects a strip of data and sends it to the encoding unit of the image sending end The DSP sends an interrupt signal, and after receiving the interrupt signal, the DSP triggers the EDMA background operation to quickly receive a strip of image data sent by the FPGA.

(2)编码单元DSP接收到一个条带数据后就立即启动图像编码操作,对接收到的该条带数据进行编码,并且使用EDMA对编码后条带码流数据进行输出。编码单元并行处理的方式如图2所示,一帧图像数据平分为n个条带数据,其中:Smk表示一个条带数据的输入时间,m为图像帧号,k为条带号,条带号范围为(1,n);Cmk表示一个条带的编码时间;Tmk表示一个条带的码流数据传输时间。(2) The encoding unit DSP immediately starts the image encoding operation after receiving a slice of data, encodes the received slice of data, and uses EDMA to output the coded stream data of the slice. The parallel processing method of the encoding unit is shown in Figure 2. One frame of image data is equally divided into n strip data, where: S mk represents the input time of one strip data, m is the image frame number, k is the strip number, and the strip The band number range is (1, n); C mk represents the encoding time of one slice; T mk represents the code stream data transmission time of one slice.

图2中,由于实际各条带数据的复杂度不同,所以每个条带的编码时间和码流数据长度是不一致的,而传输速率是一定的,因此各个条带的码流数据传输时间也并不一样,并且这个传输还涉及到码率控制、数据缓存的过程,所以用图2无法精确表示出其实际工作过程。图2只是简单描述了发送端按条带并行处理的一个过程。图像发送端的所有工作,由于输入一个条带就开始编码并传输,相当于图像发送端的所有工作都提前了n-1个条带的时间,从而达到了降低图像发送端时延的目的。In Figure 2, due to the fact that the complexity of the data in each strip is different, the encoding time of each strip and the length of the code stream data are inconsistent, but the transmission rate is constant, so the transmission time of the code stream data in each strip is also It is not the same, and this transmission also involves the process of rate control and data buffering, so the actual working process cannot be accurately represented by Figure 2. Figure 2 simply describes a process of parallel processing by the sender according to stripes. All the work at the image sending end begins encoding and transmission after inputting a slice, which means that all the work at the image sending end is advanced by n-1 slices, thereby achieving the purpose of reducing the delay at the image sending end.

(3)编码单元以条带数据为单元进行编码,每生成一个条带的码流数据,就对其重新进行封装,在条带码流数据前添加条带头信息。如表1所示,其中条带标志头和条带号用来识别区分一个完整条带码流数据,条带编码方式和与条带量化值为图像接收端的解码单元所使用。(3) The encoding unit encodes the data in slices, repackages the stream data of a slice every time it is generated, and adds slice header information before the code stream data of the slices. As shown in Table 1, the slice header and the slice number are used to identify and distinguish a complete slice code stream data, and the slice encoding mode and slice quantization value are used by the decoding unit at the image receiving end.

表1Table 1

  说明 illustrate   条带标志头 Stripe Logo Header   条带号 stripe number   条带编码方式 strip coding method   条带量化值 strip quantization value   长度 length   32bit 32bit   6bit 6bit   1bit 1bit   1bit到7bit之间 Between 1bit and 7bit

(4)作为图像接收端解码单元的DSP通过EDMA在后台进行码流的接收搬移操作。每收到一定量的码流数据,EDMA就触发完成中断通知DSP的CPU,CPU对接收到的码流数据进行后续处理。同时,EDMA继续对码流数据进行接收,并且使用EDMA对条带恢复数据进行输出。(4) The DSP, which is the decoding unit of the image receiving end, performs the receiving and moving operation of the code stream in the background through EDMA. Every time a certain amount of code stream data is received, EDMA triggers an interrupt to notify the CPU of the DSP, and the CPU performs subsequent processing on the received code stream data. At the same time, the EDMA continues to receive the code stream data, and uses the EDMA to output the strip recovery data.

(5)解码单元DSP边接收码流数据边对一个完整的条带码流数据进行搜索。搜索原则为:搜索条带头中的条带标志头,一旦搜索到一个条带标志头,则继续搜索下一个条带标志头,待搜索到两个条带标志头以后,则意味着接收到一个完整的条带码流数据,提取出实际条带码流数据并根据条带头信息进行解码处理,对解码生成的条带恢复数据进行输出,解码单元并行处理的方式如图3所示。其中:Tmk表示一个条带的码流数据输入时间,m为图像帧号,k为条带号,条带号范围为(1,n);Dmk表示一个条带码流数据的解码时间;Rmk表示一个条带恢复数据的输出时间。(5) The decoding unit DSP searches for a complete strip code stream data while receiving the code stream data. The search principle is: search for the slice flag header in the slice header, once a slice flag header is found, continue to search for the next slice flag header, after two slice flag headers are found, it means that a slice flag header has been received For the complete strip code stream data, the actual strip code stream data is extracted and decoded according to the slice header information, and the strip recovery data generated by decoding is output. The parallel processing method of the decoding unit is shown in Figure 3. Among them: T mk represents the input time of the code stream data of a strip, m is the image frame number, k is the strip number, and the range of the strip number is (1, n); D mk represents the decoding time of a code stream data of a strip ; R mk represents the output time of a strip recovery data.

与步骤(2)的分析同理,实际中,各条带码流数据长度不同,所以传输时间与解码时间也不相同,因此用图3无法精确表示出其实际工作过程。图3只是简单描述了图像接收端按条带并行处理的过程。说明图像接收端的所有工作,由于码流数据是以条带码流数据为单元进行组织,所以可以接收到一个完整的条带码流数据后就开始进行解码操作,从而达到了降低图像接收端时延的目的。Similar to the analysis of step (2), in reality, the data lengths of each strip code stream are different, so the transmission time and decoding time are also different, so the actual working process cannot be accurately represented by Figure 3. Figure 3 simply describes the process of parallel processing by the image receiving end by slices. Explain all the work of the image receiving end. Since the code stream data is organized in units of the strip code stream data, the decoding operation can be started after receiving a complete strip code stream data, thereby reducing the time spent on the image receiving end. extended purpose.

(6)对恢复出的条带数据,根据条带号将其存放到图像接收端解码图像缓冲区,并根据条带号判断该条带是否为最后一个条带,如果是,则整帧解码图像恢复完成,可用于后续显示等处理。这是由于图像发送端是按照条带号依次按顺序对原始条带数据进行编码和传输的,所以图像接收端接收解码恢复的条带数据也是顺序的。因此,待恢复出条带号为最后一个条带的条带数据时,也意味着恢复出一整帧解码图像。(6) For the recovered strip data, store it in the decoding image buffer of the image receiving end according to the strip number, and judge whether the strip is the last strip according to the strip number, if so, decode the whole frame The image recovery is completed and can be used for subsequent processing such as display. This is because the image sending end encodes and transmits the original slice data sequentially according to the slice numbers, so the image receiving end receives and decodes the restored slice data sequentially. Therefore, when the slice data whose slice number is the last slice is to be recovered, it also means that a whole frame of decoded images is recovered.

实施例:Example:

本实施例的实验条件为:The experimental conditions of this embodiment are:

(1)输入为720x576x8bit大小的数字视频图像,帧率为25f/s;(1) The input is a digital video image with a size of 720x576x8bit, and the frame rate is 25f/s;

(2)编码输出码率为2Mbps;(2) The coding output code rate is 2Mbps;

(3)条带数据分辨率即条带数据大小为720x16x8bit。(3) The stripe data resolution means the stripe data size is 720x16x8bit.

结合上面所述的试验条件,根据图4和图5的流程示意图。Combined with the above-mentioned test conditions, according to the schematic flow chart of Figure 4 and Figure 5 .

图像发送端image sender

(1)FPGA对接收到的数字图像数据进行缓存,当缓存数据达到720x16x8bit大小以后,给DSP一个中断信号触发EDMA对输入图像数据进行搬移。EDMA搬移速率很高,其引起的搬移时延可忽略不计。根据帧率,FPGA接收缓存一个条带数据的时间为:(1) FPGA caches the received digital image data, and when the cache data reaches 720x16x8bit size, an interrupt signal is given to DSP to trigger EDMA to move the input image data. The EDMA transfer rate is very high, and the transfer delay caused by it is negligible. According to the frame rate, the time for the FPGA to receive and buffer a strip of data is:

Figure BSA00000749179500061
Figure BSA00000749179500061

(2)DSP接收到一个完整的条带数据以后通知编码主任务,启动编码处理,而编码生成的条带码流数据就存放到码流发送缓冲区中待发送。所以在DSP后台EDMA搬移其他条带数据的时候,DSP可对该条带数据进行编码处理;而在进行条带数据接收与编码的同时,通过DSP后台EDMA另一通道将已生成并组织好的码流数据进行输出;从而实现了条带数据输入、编码与输出的并行处理。较之现有技术缓冲一帧图像再开始编码的方法,节省的时间可粗略计算为:(2) DSP notifies the encoding main task after receiving a complete strip data, and starts encoding processing, and the strip code stream data generated by encoding is stored in the code stream sending buffer to be sent. Therefore, when the DSP background EDMA moves other strip data, the DSP can encode the strip data; while receiving and encoding the strip data, another channel of the DSP background EDMA will generate and organize the strip data. The code stream data is output; thus the parallel processing of strip data input, encoding and output is realized. Compared with the prior art method of buffering one frame of image and then starting encoding, the time saved can be roughly calculated as:

Figure BSA00000749179500071
Figure BSA00000749179500071

(3)对码流数据以条带为单元的码流结构进行组织,按照表1添加条带头部关键信息,其中条带标志头为0x00000001,条带号范围为1~36,条带编码方式为0(I帧)或者1(P帧),条带量化值范围为(0,51)。经过码流组织后,按照2Mbps的速率将其输出给图像接收端。(3) Organize the code stream data in the code stream structure with stripes as the unit, and add the key information of the stripe header according to Table 1, where the stripe header is 0x00000001, the stripe number ranges from 1 to 36, and the stripe code The mode is 0 (I frame) or 1 (P frame), and the slice quantization value range is (0, 51). After stream organization, output it to the image receiving end at a rate of 2Mbps.

根据以上分析可以看出,在该实验条件下,本发明较现有技术粗略计算可减少

Figure BSA00000749179500072
的时间,有效降低了图像发送端的时延。According to the above analysis, it can be seen that under the experimental conditions, the present invention can reduce
Figure BSA00000749179500072
time, effectively reducing the delay of the image sending end.

图像接收端image receiver

(1)图像接收端DSP使用EDMA接收图像发送端按照2M速率发送过来的连续串行码流数据,每接收120个字的数据以后,通过完成中断告知DSP的CPU。DSP对该码流数据进行搜索,搜索到两个0x00000001条带标志头则为检索到包含一个完整条带码流数据的数据流,然后对其进行解码处理。(1) The DSP at the image receiving end uses EDMA to receive the continuous serial code stream data sent by the image sending end at a rate of 2M. After receiving 120 words of data, it informs the CPU of the DSP through a completion interrupt. The DSP searches the code stream data, and if two 0x00000001 strip flag headers are found, it means that a data stream containing a complete strip code stream data is retrieved, and then decodes it.

(2)根据条带头中的条带编码方式和条带量化值参数对条带码流数据进行解码处理,恢复出一个条带解码数据。在对由编码后条带数据组成的条带码流数据进行上述处理的同时,EDMA仍然在后台对码流数据进行接收;同时,使用EDMA另一通道在后台对已生成的条带恢复数据进行输出。所以实现了码流数据接收、编码后条带数据的解码与条带数据输出的并行处理。假设一帧图像的码流数据长度为:2000000/25=80000比特,其中一个条带码流数据的大小为:80000/36=2222比特,较之现有技术接收到一整帧图像码流数据再开始解码处理的方法,节省的时间可粗略计算为:(2) Perform decoding processing on the slice code stream data according to the slice encoding method and the slice quantization value parameter in the slice header, and recover a slice decoded data. While performing the above processing on the strip code stream data composed of encoded strip data, EDMA still receives the code stream data in the background; at the same time, use another channel of EDMA to process the generated strip recovery data in the background output. Therefore, the parallel processing of code stream data reception, coded strip data decoding and strip data output is realized. Assume that the code stream data length of a frame of image is: 2000000/25=80000 bits, and the size of one strip code stream data is: 80000/36=2222 bits, compared with the prior art receiving a whole frame of image code stream data The method of starting the decoding process again, the time saved can be roughly calculated as:

Figure BSA00000749179500073
Figure BSA00000749179500073

(3)将恢复出的条带数据根据条带号存放到解码图像缓冲区的对应位置,如果条带号为36,则表示已经恢复出该帧图像的最后一个条带数据,即获取到一个完整的解码图像,可对其进行显示处理了。(3) Store the recovered strip data in the corresponding position of the decoded image buffer according to the strip number. If the strip number is 36, it means that the last strip data of the frame image has been recovered, that is, a The complete decoded image can be displayed and processed.

根据以上分析可以看出,在该实验条件下,本发明较现有技术粗略计算可减少38.89ms的时间,有效降低了图像接收端的时延。According to the above analysis, it can be seen that under the experimental conditions, the present invention can reduce the time of 38.89 ms by rough calculation compared with the prior art, effectively reducing the time delay of the image receiving end.

本发明未详细阐述的部分属于本领域公知技术。The parts not described in detail in the present invention belong to the well-known technology in the art.

Claims (6)

1. implementation method that reduces the image delivering system time delay, said image delivering system comprises image transmitting terminal and image receiving terminal, wherein, the image transmitting terminal comprises coding unit; The image receiving terminal comprises decoding unit,
It is characterized in that image transmitting terminal and image receiving terminal carry out image data transmission according to following steps:
The image transmitting terminal outputs to coding unit after receiving the view data of input and being divided into strip data;
The coding unit image adopts the mode of parallel processing to carry out the reception of strip data, the output of the coding of strip data and coding back strip data;
The image transmitting terminal sends to the image receiving terminal after coding back strip data is added slice header;
The image receiving terminal extracts coding back strip data according to slice header, and the back strip data of will encoding outputs to decoding unit;
The reception of strip data after said decoding unit adopts the mode of parallel processing to encode, the decoding of coding back strip data and the output of strip data;
After being organized into view data, the strip data that the image receiving terminal will recover after will decoding according to slice header exports.
2. a kind of implementation method that reduces the image delivering system time delay as claimed in claim 1 is characterized in that: said coding unit adopts at least two buffer areas identical with the strip data size that the strip data of input is carried out buffer memory and coding.
3. according to claim 1 or claim 2 a kind of implementation method that reduces the image delivering system time delay; It is characterized in that: the parallel processing mode of said coding unit is: when the strip data of current time is encoded; Strip data is exported behind the coding that the coding of previous moment is accomplished, and the strip data that next arrives is constantly received.
4. a kind of implementation method that reduces the image delivering system time delay as claimed in claim 1; It is characterized in that: said slice header comprises band sign head, bar reel number; The image receiving terminal is confirmed strip data behind the complete coding according to band sign head, and is organized into view data according to the strip data that will recover after will decoding behind the band.
5. a kind of implementation method that reduces the image delivering system time delay as claimed in claim 1 is characterized in that: strip data was carried out buffer memory and coding after said decoding unit adopted at least two buffer areas identical with coding back strip data size to the coding of input.
6. like claim 1 or 5 described a kind of implementation methods that reduce the image delivering system time delay; It is characterized in that: the parallel processing mode of said decoding unit is: when strip data is decoded behind the coding of current time; Strip data to previous moment decoding back produces is exported, and strip data behind next coding that arrives is constantly received.
CN201210243802.6A 2012-07-13 2012-07-13 Realizing method for reducing time delay of image transmission system Active CN102752600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210243802.6A CN102752600B (en) 2012-07-13 2012-07-13 Realizing method for reducing time delay of image transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210243802.6A CN102752600B (en) 2012-07-13 2012-07-13 Realizing method for reducing time delay of image transmission system

Publications (2)

Publication Number Publication Date
CN102752600A true CN102752600A (en) 2012-10-24
CN102752600B CN102752600B (en) 2015-02-11

Family

ID=47032474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210243802.6A Active CN102752600B (en) 2012-07-13 2012-07-13 Realizing method for reducing time delay of image transmission system

Country Status (1)

Country Link
CN (1) CN102752600B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241325A (en) * 2017-06-05 2017-10-10 威创集团股份有限公司 A kind of ultralow delay transport method and device of IP videos
CN107888945A (en) * 2017-11-22 2018-04-06 豪威科技(上海)有限公司 A kind of image transfer method and system
CN110933436A (en) * 2019-12-17 2020-03-27 展讯通信(上海)有限公司 Image encoding method, image encoding device, computer device, and storage medium
CN111212285A (en) * 2018-11-21 2020-05-29 珠海格力电器股份有限公司 Hardware video coding system and control method of hardware video coding system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064848A (en) * 2006-04-27 2007-10-31 索尼株式会社 Image data processing apparatus and method
CN101841717A (en) * 2010-05-07 2010-09-22 华为技术有限公司 Method for realizing decoding, software decoder and decoding device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064848A (en) * 2006-04-27 2007-10-31 索尼株式会社 Image data processing apparatus and method
CN101841717A (en) * 2010-05-07 2010-09-22 华为技术有限公司 Method for realizing decoding, software decoder and decoding device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241325A (en) * 2017-06-05 2017-10-10 威创集团股份有限公司 A kind of ultralow delay transport method and device of IP videos
CN107888945A (en) * 2017-11-22 2018-04-06 豪威科技(上海)有限公司 A kind of image transfer method and system
CN111212285A (en) * 2018-11-21 2020-05-29 珠海格力电器股份有限公司 Hardware video coding system and control method of hardware video coding system
CN110933436A (en) * 2019-12-17 2020-03-27 展讯通信(上海)有限公司 Image encoding method, image encoding device, computer device, and storage medium

Also Published As

Publication number Publication date
CN102752600B (en) 2015-02-11

Similar Documents

Publication Publication Date Title
CN102752600A (en) Realizing method for reducing time delay of image transmission system
US10003356B2 (en) Devices and methods of source-encoding and decoding of data
WO2022257970A1 (en) Point cloud geometric information encoding processing method, decoding processing method, and related device
CN102638579A (en) Data processing method and system based on data transmission of mobile equipment
CN101017574A (en) Huffman decoding method suitable for JPEG code stream
CN111556322A (en) A Fast Image Compression and Transmission System Based on FPGA
CN102438145A (en) Lossless picture compression method based on Huffman coding
CN104023216B (en) Face video compression method
CN101751440A (en) Data compression/decompression method and device thereof
CN106488243A (en) A kind of many description screen content method for video coding
CN103618903B (en) The high-speed low-power-consumption radio sensing network video compress method of sampling
WO2022257969A1 (en) Point cloud coding method, decoding method, and related device
CN104811664A (en) Mine video image compression and transmission method and apparatus
CN105163122B (en) A kind of compression of images and decompression method based on image block similarity
CN106656195A (en) Data compression decompression method and data compression decompression system
CN105791819B (en) The decompression method and device of a kind of frame compression method of image, image
CN107360380B (en) A dual-rate compression camera device and its host computer decoding device
CN104050968B (en) Embedded type audio acquisition terminal AAC audio coding method
CN101534125B (en) Ultra-long data variable length encoding synthetic system
CN101651827B (en) Code rate control method of screen coding
CN101466037A (en) Method for implementing video decoder combining software and hardware
CN102685810B (en) Method and system for dynamic caching of user information
CN105376580B (en) A kind of method for compressing image
CN106658153A (en) Data processing method and equipment
CN105119845B (en) A non-first-in-first-out packet energy-efficient data stream transmission method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant