H.264 audio and video decoding SOC chip HI3510 principle and application
Since entering the network era, huge information flow has brought rich human culture, and also brought the troubles of storage information. In particular, the huge data of video information has spawned the demand for video compression technology. Video compression technology is one of the most popular technologies in multimedia era, and is widely used in the fields transmitted and stored in TV, movies, visual calls, video conferencing, remote monitoring.
H.264 video compression principle
From the viewpoint of information, the image is used as a source of sources, and the data describing the source is the sum of the amount of information (source entropy) and information redundancy. Information redundancy has many species, such as spatial redundancy, time redundancy, structural redundancy, knowledge redundancy, visual redundancy, etc., data compression is substantially reduced to these redundancy. It can be seen that redundancy reduction can reduce the amount of data without reducing the amount of information. From mathematics, the image can be seen as a multidimensional function, and the compression describes the amount of data of this function to reduce its relevance.
According to the composition element of image information, H.264 uses intra prediction, inter prediction, motion estimance, and motion compensation, integer transformation, and the like to improve the compression ratio of the image. The intra prediction is that H.264 may be the same properties as the adjacent pixels in the image, using the correlation of adjacent pixels, adopting the new intra prediction mode, by the pixels of the current pixel block (the encoded reconstruction) Pixel) performs prediction, only the difference between the actual value and the predicted value, thereby expressing the pixel block information encoded within the frame with fewer specific numbers; and inter prediction passing through multi-frame reference and smaller motion prediction area The method is accurately predicted on the next frame, thereby reducing the amount of data transmitted, achieving the time domain dependency of the image. H.264 transforms the residual result of the motion estimate and intra prediction from the time domain to the frequency domain, using an integer transformation similar to 44 discrete cosine transform (DCT), rather than using MPEG-2 and MPEG-4 88 DCT floating point number transformation. With an integer-based spatial transformation has a good effect, the calculation is fast (only the addition and shift operation), the adaptation problem does not appear in the anti-transformation process, and combined with the quantization process, it is ensured that in the 16-bit computing system, The calculation results have the maximum accuracy and will not overflow. 44 The transform block also 88 can reduce the block effect and bell effect.
Hi3510 working principle
Hi3510 is a video compression chip based on H.264 BP algorithm, which is introduced by Haisi. The chip uses the multi-core high integration of the ARM + DSP + hardware acceleration engine, with powerful video processing functions. Real-time coding performance of DVD image quality can be adaptively adapt to various network environments, ensuring clarity and real-time, low-rate H.264 encoding technology greatly reduces network storage, and adds DES / 3DES. The decryption hardware engine ensures network security. The Hi3510 is used in a 0.13μm process, the LFBGA400 package, the size of 19 × 19mm, the pin spacing is 0.8mm, the interior integration includes digital video interface, USB, ETH, I2S, I2C, GPIO, SPI, UART, SDRAM, DDR and other interfaces To meet the development of various application scenarios, it can greatly reduce the BOM cost of the equipment.
The HI3510 works: The video input unit receives the digital video information output by the VADC via the ITU-R BT.601 / 656 interface, and writes the received original image into the outer memory (SDR SDRAM or DDR SDRAM) via the AHB bus. Video codec read images from outside, perform motion estimation (inter prediction), intra prediction, DCT transformation, quantization, entropy coding (CAVLC + Exp-golomb), IDCT transformation, inversion, motion compensation, etc. Operation, it will eventually write to the outside of the naked code stream (the reference frame of the next frame) in accordance with the H.264 protocol; the video output unit reads the image from the outside and passed the ITU-R BT. The .601 / 656 interface is sent to the VDAC to display, the demand for the application is different, and the image content read from the outside is different. When the input image is required, the video output unit reads the original from the outside. Image, when you need to view the encoder of the video encoder, the video output unit reads the encoded reconstructed frame from the outside; ARM is the encapsulation of the codeward output by the video encoder, and then send the network port to achieve Video on demand service.
Be
As shown in Figure 1, the chip is composed of an ARM + DSP + video encoding accelerator + graphics engine scaler integrated peripheral interface, and internal integration includes digital watermarks, DES / 3DES algorithms, making single-chip adaptation All work, reduce development difficulty with other chips, and exempt manufacturers repeatedly develop the contents of the standard part of the algorithm, which greatly reduces the entry threshold for equipment manufacturers. With the development kits of Haisi's different application forms, various products such as PMP, Visual Phone, Network Monitoring, PVR, Visual Intercom are available.
Figure 1: Hi3510 H.264 audio video codec SOC logic block diagram.
Implementation of Hi3510 codec scheme
As the codec chip as a SOC architecture, the HI3510 is fully considered to compatibility and the convenience of use when designing. Support for almost all companies produced series of AD / DA chips. The HI3510 can be operated as a separate encoder or as an independent decoder, or simultaneously codec work, fully considering the various applications of the codec market. The HI3510 is a typical multi-applied single-chip solution that greatly reduces the BOM composition and cost of the device. As shown in FIG. 2, the chip is used as a result of simultaneous decoding.
Figure 2: Hi3510 is a typical multi-applied single-chip solution.
Application of I3510 codec
The Linux operating system comes with the HI3510 (also supports open operating systems such as VxWorks, WinCe) and ARM processors, allowing the chip to achieve many rich application capabilities development in addition to codec function. As shown in Figure 2, the digital, compression, and storage of the composite video signal can be realized as long as an ordinary AD is attached. The HI3510 development package provides a top-level API interface, you can call all chip functions and develop your own personalization. Figure 3 is an application design of the encoding scheme of the chip.
Figure 3: Application design of Hi3510 chip coding scheme.
The decoder application is the same as the encoder in the architecture (convenient plan can be consistent, you can implement a hardware to meet the needs, just need software upgrade). The decoder only needs to match the DA chip (if the LCD number screen can save this chip), you can achieve the effect of decoding the data stream stream, and implements the menu operation of the user's human machine interaction through the GUI or OSD, implementing a similar function such as PMP. Applications. Figure 4 is an application design of a decoding scheme for a chip.
Figure 4: Application design of the Hi3510 chip decoding scheme.
Summary
H.264 The application of the standard, providing technical support for the network transmission of the video, in particular low-bandwidth (such as wireless transmission mode). Today, in today's market, the market requires designers to launch the product faster, and in order to maintain the competitiveness of the product, maintain enough advantages in product prices, product application features, especially in the field of multimedia markets. Haisi's SOC chip is based on the standard algorithm, giving the designer's largest flexibility to design the right product, which greatly reduces the investment cost of the manufacturer and shortens the time of the manufacturer's introduction, and prepares for the market. . Technology area
Open up the mobile phone border interaction, New Tiandi, New Tidi Technology Edge Touch Pressure Sensor
Application of Air Quality VOC Detection Sensor in New Wind System
Global Semiconductor OSD Sales Prospect 2017 Global sales growth is the highest
Preciseley carrying MEMS debut OFC 2018 will force in Lidar MEMS 5G
Herlian Electronics will appear in the 2018 Xiamen Industry Expo
Our other product: