The present disclosure relates to a video processing circuit and related method thereof, and more particularly, to a processing circuit and related method for merging video output streams with a graphical stream for transmission.
In a typical digital TV chip application, auxiliary graphics, e.g. on screen display (OSD) information, are usually overlaid on video output streams as user interfaces or user menus. Generally, the graphics and the video output streams are mixed into a single mixed data by a conventional mixer, and the mixed data is then transmitted to a display panel for further display. Please refer to
In order to enhance video quality, a post-processing chip is necessary for the typical digital TV chip application. Please refer to
Due to the video output stream SOUT being mixed with the auxiliary graphic data D1 to generate the mixed data DMIX, both the video output stream SOUT and the graphic data D1 are post-processed by the video post-processing unit 224 by the same scheme for enhancing the video quality thereof. Thus the quality around edges of the graphic data D1 area may be poor as the video enhancement is applied to the mixed data DMIX including contents of the graphic data D1 which replace an overlapped portion within the contents originally carried by the video output stream SOUT and are far different from remaining contents corresponding to the video output stream SOUT.
Please refer to
Presently, most video processing circuits often add a post-processing chip to enhance the video quality. However, if the video output stream SOUT and the graphic data D1 are mixed during the operation of the video processing chip, both the video output stream SOUT and the graphic data D1 are post-processed by the video post-processing chip, resulting in a poor quality around the graphic data D1 area as the mixing process occurs prior to the post-processing process. If the video output stream SOUT and the graphic data D1 are mixed during the operation of the video post-processing chip (i.e., the post-processing process occurs prior to the mixing process), only the video output stream SOUT is post-processed by the video post-processing chip for enhancing the video quality. The disadvantage of this case is that extra I/O pins are needed to transmit the graphic data D1, which is not economical for cost.
It is one of the objectives of the claimed disclosure to provide a video processing circuit and related method for merging video output streams with a graphical stream for transmission, thereby reducing the number of pins assigned for transmitting the main video data (e.g., display data) and the auxiliary video data (e.g., OSD data).
According to an embodiment of the present disclosure, a video processing circuit is disclosed. The video processing circuit includes a video generating unit, a graphic generating unit, and a communication interface circuit. The video generating unit generates a video output stream according to a video input stream. The graphic generating unit provides a graphical stream. The communication interface circuit is coupled to the video generating unit and the graphic generating unit. The communication interface circuit has a first mode provided for mixing the video output stream and the graphical stream to transmit a mixed video output stream through a channel and a second mode provided for merging the video output stream and the graphical stream to transmit a first merged signal through the channel, wherein the mixed video output stream is generated by combining contents of the video output stream and the graphical stream and the first merged signal is generated by putting the video output stream and the graphical stream in the channel.
In one embodiment, the communication interface circuit merges the video output stream and the graphical stream by increasing a working frequency of the communication interface circuit to increase a bandwidth of the channel, by using positions for transmitting a portion of video control signals in the video output stream to transmit the graphical stream, and by compressing the video output stream.
In one embodiment, the video processing circuit further includes a first signal receiver, a video post-processing unit, a decoding unit, a mixer, and a second signal transmitter. The first signal receiver is coupled to the communication interface circuit for receiving the first merged signal and extracting the video output stream and the graphical stream from the first merged signal. The a video post-processing unit is coupled to the first signal receiver for receiving and post-processing the video output stream extracted from the first merged signal to generate a processed video output stream. The decoding unit is coupled to the first signal receiver for decoding the graphical stream to generate a decoded graphical stream. The mixer is coupled to the video post-processing unit and the decoding unit for mixing the processed video output stream with the decoded graphical stream to generate a second merged signal. The second signal transmitter is coupled to the mixer for outputting the second merged signal.
In one embodiment, the video generating unit, the graphic generating unit, and the communication interface circuit are disposed in a video processing chip; and the first signal receiver, the video post-processing unit, the decoding unit mixer, and the second signal transmitter are disposed in a post-processing chip coupled to the video processing chip.
In one embodiment, the graphic generating unit is an on-screen display (OSD) encoder for generating the graphical stream.
In one embodiment, the graphic generating unit is an external storage device of the video processing chip for storing and providing the graphical stream.
In one embodiment, the communication interface circuit is a low voltage differential signal (LVDS) interface circuit.
In one embodiment, the graphical stream comprises an on-screen display (OSD) data.
It is an objective of the claimed disclosure to provide a method for merging video output streams with a graphical stream for transmission.
According to an embodiment of the present disclosure, a method for merging video output streams with a graphical stream for transmission is disclosed. The method includes generating a video output stream according to a video input stream, providing a graphical stream, and providing a first mode for mixing the video output stream and the graphical stream to transmit a mixed video output stream through a channel and providing a second mode for merging the video output stream and the graphical stream to transmit a first merged signal to a post-processing chip through the channel, wherein the mixed video output stream is generated by combining contents of the video output stream and the graphical stream and the first merged signal is generated by putting the video output stream and the graphical stream in the channel.
The method further includes receiving the first merged signal and extracting the video output stream and the graphical stream from the first merged signal, receiving and post-processing the video output stream extracted from the first merged signal to generate a processed video output stream, decoding the graphical stream to generate a decoded graphical stream, mixing the processed video output stream with the decoded graphical stream to generate a second merged signal, and outputting the second merged signal.
In one embodiment, the first merged signal is a low voltage differential signal (LVDS).
In one embodiment, the video output stream and the graphical stream are merged by increasing a working frequency of the communication interface circuit to increase a bandwidth of the channel, by using positions for transmitting a portion of video control signals in the video output stream to transmit the graphical stream, and by compressing the video output stream.
These and other objectives of the present disclosure will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, electronic equipment manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
Please refer to
Please continue referring to
As shown in 4A, the communication interface circuit 416 is in the first mode, whereof the first mode is provided for mixing the video output stream SOUT and the graphical stream PD1 to transmit the mixed video output stream SMOUT through the channel LVDS. Under this situation, the video processing chip 410 is directly coupled to a video output device 530.
As shown in 4B, the communication interface circuit 416 is in the second mode, whereof the second mode provided for merging the video output stream SOUT and the graphical stream PD1 to transmit a first merged signal SM1 through the channel LVDS. After the signal merging, the first merged signal SM1 is transmitted to the first signal receiver 422. The first signal receiver 422 receives the first merged signal SM1 and extracts the video output stream SOUT and the graphical stream PD1 from the first merged signal SM1. The video post-processing unit 424 is coupled to the first signal receiver 422 for receiving and post-processing the video output stream SOUT extracted from the first merged signal SM1 to generate a processed video output stream SPOUT. The decoding unit 426 is coupled to the first signal receiver 422 for decoding the graphical stream to generate a decoded graphical stream PD2. At this time, the mixer 428 receives and mixes the processed video output stream SPOUT with the decoded graphical stream PD2 to generate a second merged signal SM2. Finally, the second signal transmitter outputs the second merged signal SM2 to the video output device 430 through a low voltage differential signal (LVDS) interface for display.
In one embodiment, the video processing circuit 400 is installed in a digital television (TV). It should be noted that although the video processing circuit 400 of this embodiment is installed in the digital TV as mentioned above, those skilled in the art will readily appreciate that the video processing circuit 400 can be applied to other products requiring similar video processing. Please note that, the video output device 430 can be a recorder or a flat panel display (FPD), such as a DVD recorder or a plasma panel.
In this embodiment, the second signal transmitter 429is a low voltage differential signal (LVDS) transmitter, and the first signal receiver 422 is an LVDS receiver. Thus, the first merged signal SM1 and the second merged signal SM2 are transmitted through an LVDS interface, but this for illustrative purpose only and is not meant to be a limitation of the present disclosure. The first merged signal SM1 and the second merged signal SM2 can be transmitted through other interfaces, e.g. a transistor-transistor logic (TTL) interface, which is well-known to the one skilled in the art and is not described in detail herein.
Please note that, the graphic generating unit 414 can be an on-screen display (OSD) encoder disposed in the video processing chip 410 or an external storage device of the video processing chip 410, or other elements. Detail descriptions are disclosed in the following embodiments.
Please refer to
Please note that, the graphic generating unit 414 can be an internal element disposed in the video processing chip or an external element positioned outside the video processing chip. The graphical stream PD1 can be an OSD data, a table, an index, a program code, or other data, but this for illustrative purpose only and is not meant to be a limitation of the present disclosure. It will be obvious to those skilled in the art that various modifications may be made without departing from the spirit of the present disclosure.
In the following embodiments, methods and operations about the communication interface circuit 416 merging the video output stream SOUT and the graphical stream PD1 in the second mode are disclosed.
Please refer to
Please refer to
Please refer to
Please note that, in the above-mentioned embodiment, the communication interface circuit 416 compresses the video output stream SOUT by transferring the video output stream SOUT from a first color depth format (R/G/B) to a second color depth format (Y/C). This embodiment is presented merely for describing features of the present disclosure, and in no way should be considered to be limitations of the scope of the present disclosure. For example, in other alternative designs, the communication interface circuit 416 can be configured to compress the video output stream SOUT by replacing actual color values of the video output stream SOUT with color indexes of the video output stream SOUT, or transferring the video output stream SOUT into a packet format. Due to the operation of compressing the video output stream SOUT being well-known to those skilled in the art, it is not described in detail herein for brevity.
Please refer to
Please note that, although the above embodiments bring up three schemes as examples to introduce the spirit of the present disclosure, this is not meant to be limitations of the implementation of the present disclosure. Other embodiments obeying the spirit of the present invention are possible. For example, any combination of the abovementioned schemes shown in
Please refer to
Step 1102: Generate a video output stream SOUT according to a video input stream SIN;
Step 1104: Provide a graphical stream PD1;
Step 1106: Determine whether the communication interface circuit 416 is in the first mode or second mode. If the communication interface circuit 416 is in the first mode, process goes to step 1108; otherwise, process goes to step 1112.
Step 1108: The video output stream SOUT and the graphical stream PD1 are mixed to transmit the mixed video output stream SMOUT through the channel LVDS.
Step 1110: Receive and display video images according to the mixed video output stream SMOUT.
Step 1112: Receive and merge the video output stream SOUT and the graphical stream PD1 to transmit a first merged signal SM1 through the channel LVDS;
Step 1114: Receive the first merged signal SM1 and extract the video output stream SOUT and the graphical stream PD1 from the first merged signal SM1;
Step 1116: Receive and post-process the video output stream SOUT extracted from the first merged signal SM1 to generate a processed video output stream SPOUT;
Step 1118: Decode the graphical stream PD1 to generate a decoded graphical stream PD2;
Step 1120: Mix the processed video output stream SPOUT with the decoded graphical stream PD2 to generate a second merged signal SM2;
Step 1122: Output the second merged signal SM2; and
Step 1124: Receive and display video images according to the second merged signal SM2.
Please refer to
Please note that, in Step 1112, the video output stream SOUT and the graphical stream PD1 are merged by increasing a working frequency of the communication interface circuit 416 to increase a bandwidth of the channel, by using positions for transmitting a portion of video control signals in the video output stream SOUT to transmit the graphical stream PD1, by compressing the video output stream, or any combination of the abovementioned operations. The detail description has already been disclosed in the above-mentioned embodiments (
Please refer to
Step 1202: Generate a video output stream SOUT according to a video input stream SIN;
Step 1204: Store and provide a graphical stream PD1;
Step 1206: Determine whether the communication interface circuit 416 is in the first mode or second mode. If the communication interface circuit 416 is in the first mode, process goes to step 1208; otherwise, process goes to step 1212.
Step 1208: The video output stream SOUT and the graphical stream PD1 are mixed to transmit the mixed video output stream SMOUT through the channel LVDS.
Step 1210: Receive and displayvideo images according to the mixed video output stream SMOUT.
Step 1212: Receive and merge the video output stream SOUT and the graphical stream PD1 to transmit a first merged signal SM1;
Step 1214: Receive the first merged signal SM1 and extract the video output stream SOUT and the graphical stream PD1 from the first merged signal SM1;
Step 1216: Receive and post-process the video output stream SOUT extracted from the first merged signal SM1 to generate a processed video output stream SPOUT;
Step 1218: Decode the graphical stream PD1 to generate a decoded graphical stream PD2;
Step 1219: Store the decoded graphical stream PD2;
Step 1220: Mix the processed video output stream SPOUT with the decoded graphical stream PD2 to generate a second merged signal SM2;
Step 1222: Output the second merged signal SM2; and
Step 1224: Receive and display video images according to the second merged signal SM2.
Please refer to
The abovementioned embodiments are presented merely for describing features of the present disclosure, and in no way should be considered to be limitations of the scope of the present disclosure. In the above embodiments, the first merged signal SM1 and the second merged signal SM2 are transmitted through an LVDS interface, but this is for illustrative purpose only and is not meant as a limitation of the present disclosure. The first merged signal SM1 and the second merged signal SM2 can be transmitted through other interfaces, e.g. a transistor-transistor logic (TTL) interface. In addition, the communication interface circuit 416 can be operated in the first mode or the second mode. The first mode is provided for mixing the video output stream SOUT and the graphical stream PD1 to transmit the mixed video output stream SMOUT through the channel LVDS, and the video processing chip 410 is directly coupled to a video output device 530. The second mode is provided for merging the video output stream SOUT and the graphical stream PD1 to transmit a first merged signal SM1 through the channel LVDS, and the video processing chip 410 is coupled to a post-processing chip 420 and then coupled to the video output device 430. Please note that, the graphic generating unit 414 can be an on-screen display (OSD) encoder disposed in the video processing chip 410, an external storage device of the video processing chip 410, or other elements, and is not limited to them only. In addition, the graphical stream PD1 can be an OSD data, a table, an index, a program code, or other data, but this for example only and is not meant as a limitation of the present disclosure. Please note that again, in above embodiments, the video output stream SOUT and the graphical stream PD1 are merged by increasing a working frequency of the communication interface circuit 416 to increase a bandwidth of the channel, by using positions for transmitting a portion of video control signals in the video output stream SOUT to transmit the graphical stream PD1, by compressing the video output stream, or any combination of the abovementioned operations. In addition, the operation of compressing the video output stream SOUT can be performed by transferring the video output stream SOUT from a first color depth format to a second color depth format, replacing actual color values of the video output stream with color indexes of the video output stream, or transferring the video output stream into a packet format. This is only a preferred embodiment for describing the present disclosure and is not meant to be a limitation of the present disclosure.
In summary, the present disclosure provides a processing system and related method for merging video output streams with a graphical stream for transmission. In the second mode, due to the video output stream SOUT and the graphical stream PD1 being merged by the communication interface circuit 416 for transmission, no extra I/O pins are needed to transmit the graphical stream PD1, which is economical for cost. In addition, only the video output stream SOUT extracted from the first merged signal SM1 is post-processed by the video post-processing unit 424, therefore, not only the video quality of the video output stream SOUT is enhanced but also the quality around the graphical stream PD1 area maintains good. Furthermore, the graphical stream PD1 in various types can be transmitted through the video processing circuit of the present disclosure.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the disclosure. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.