| With the swift development of network, grows day by day based on the network video application. The telemedicine technology exchanges with the aid of the video networking is separated by two place patient's medical clinical material and the expert opinion, by acoustic image, graph or other form transmission medical information. Therefore video image's real-time processing and the transmission have the important meaning regarding the telemedicine service's construction. But the video code speed and the video receiving and broadcast performance is subject matter, in view of the above request, this article launches the following research:Uses the TCP/IP agreement of IP network, by the embedded multimedia processor DM642 construct hardware platform, used the client/server pattern creation video transmission system.In video processing server end,analyzed the MPEG-4 standard to open source code XVID the structure, and realized in the video processing algorithm using the multi-thread pipelining structure, has completed server's program optimization. has 8 concurrent operation unit characteristic in view of DM642, selects the software pipelining or the linear assembly way, to video code massive round-robin algorithm optimization; Simultaneously, unifies in DM642 the memory system multistage buffer characteristics, the service data packs the processing technology, the EDMA technology to the video processing data gain way optimization; And, uses the internal integration function, TI Corporation IMG storehouse function and so on to carry out in the efficiency from the code to optimize. The experimental result showed that according to above method, may achieve each second 30 above CIF imagery processing speed, satisfies the video data real-time processing request, has laid the foundation for video image's live transmission and the demonstration.In system's client side, to guarantee that the video image real-time play backing, proposed a double-end double cushion structure, the union multithreading's application, realizes the video image real-time decoding and the broadcast. The experimental result indicated that uses this structure, may achieve each second 30 video frequency class the broadcast frame rate, had guaranteed the video frequency broadcast's continuity, and satisfies the practical application the request.In summary, uses the multimedia processor DM642's characteristics, through to the video image real-time processing system's software architecture, the code carries out the speed optimization, may the very good processing real-time video data, apply in the telemedicine system, has the important application value. |