USPatent applicationPatented

Video processing apparatus and video processing circuits thereof

Granted 23 Oct 2018 · 4 office actions

Life of the application

17 dated events
⤢ drag to zoom20142016201820202022202420262028203020322034ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A video processing apparatus and a video processing circuit of the video processing apparatus are provided. The video processing circuit includes a video processor, a first memory controller, a second memory controller and a distributor. The video processor includes at least one sub-processing-tasks processor which is configured to execute one or more sub-processing tasks respectively. The first memory controller controls a first memory. The second memory controller controls a second memory. The distributor stores the data outputted by the video processor to the first memory and the second memory through the first memory controller and the second memory controller respectively.

Description

10 parts
›CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefits of U.S. provisional application Ser. No. 61/971,533, filed on Mar. 28, 2014 and Taiwan application serial no. 103137411, filed on Oct. 29, 2014. The entirety of each of the above-mentioned patent applications is hereby incorporated by reference herein and made a part of this specification.

BACKGROUND
›Technical Field

The invention relates to a video processing apparatus, and particularly relates to a video processing apparatus capable of effectively distribute a plurality of memory bandwidths and a video processing circuit thereof.

›Related Art

Along with quick development of technology, since a current video processing system is required to process and decode high-definition video data, for example, a transmission bandwidth of 5 Gbytes/s is required to decode a video stream with high-definition image quality (for example, HD, UHD, 4K2K, etc.), the video processing system having a video decoder (or an encoder, a decoder) and/or a video processor generally requires a higher memory bandwidth to load the high-definition video data.

Generally, when the video processor writes a reconstructed video frame into a memory, and reads other video frames from the memory to conduct some modifications (for example, edge enhancement, noise reduction, image scaling, etc.), a problem of memory bandwidth congestion is probably encountered due to frequent accessing of the same memory, which may influence a performance of the video decoder.

›SUMMARY

The invention is directed to a video processing apparatus and a video processing circuit thereof, and based on a plurality of memories in the video processing circuit and allocation of bandwidths required for operations, a problem of memory bandwidth congestion is effectively resolved.

An embodiment of the invention provides a video processing circuit including a video processor, a first memory controller, a second memory controller and a distributor. The video processor includes at least one sub-processing-tasks processor configured to execute one or more sub-processing tasks respectively. The first memory controller controls a first memory. The second memory controller controls a second memory. The distributor is coupled to the video processor, the first memory controller and the second memory controller, and stores data outputted by the video processor to the first memory and the second memory through the first memory controller and the second memory controller respectively.

An embodiment of the invention provides a video processing apparatus including a first memory, a second memory and a video processing circuit. The video processing circuit is coupled to the first memory and the second memory. The video processing circuit includes a video processor, a first memory controller, a second memory controller and a distributor. The video processor includes at least one sub-processing-tasks processor configured to execute one or more sub-processing tasks respectively. The first memory controller controls the first memory. The second memory controller controls the second memory. The distributor is coupled to the video processor, the first memory controller and the second memory controller, and stores data outputted by the video processor to the first memory and the second memory through the first memory controller and the second memory controller respectively.

According to the above descriptions, the invention provides a video processing circuit and a video processing apparatus using the same, and based on a plurality of memory controllers configured in the video processing circuit and based on allocation of the memory bandwidth required for video data operation, the problem of memory bandwidth congestion is effectively resolved.

In order to make the aforementioned and other features and advantages of the invention comprehensible, several exemplary embodiments accompanied with figures are described in detail below.

›BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

FIG. 1 is a circuit block schematic diagram of a video processing apparatus according to an embodiment of the invention.

FIG. 2 is a schematic diagram of data flows of the video processing apparatus and a video processing circuit of FIG. 1 according to an embodiment of the invention.

FIG. 3 is a schematic diagram of data flows of the video processing apparatus and the video processing circuit of FIG. 1 according to another embodiment of the invention.

FIG. 4 is a circuit block schematic diagram of a video processing apparatus according to another embodiment of the invention.

FIG. 5 is a schematic diagram of data flows of the video processing apparatus and a video processing circuit of FIG. 4 according to an embodiment of the invention.

FIG. 6 is a circuit block schematic diagram of a video processing apparatus according to still another embodiment of the invention.

›DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS · 1 of 4

Reference will now be made in detail to the present preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.

FIG. 1 is a circuit block schematic diagram of a video processing apparatus 10 according to an embodiment of the invention. Referring to FIG. 1 , the video processing apparatus 10 includes a video processing circuit 100 , at least one first memory 122 and at least one second memory 132 . The video processing circuit 100 includes a video processor 110 , a first memory controller 120 , a second memory controller 130 and a distributor 140 , where the distributor 140 is coupled between the first memory controller 120 , the second memory controller 130 and the video processor 110 . In the present embodiment, the video processor 110 includes at least one sub-processing-tasks processor (for example, the sub-processing-tasks processors 112 and 114 shown in FIG. 1 ). The at least one sub-processing-tasks processor are configured to execute one or more sub-processing tasks (for example, a decoding task, a post processing task or other video processing tasks) respectively. Based on principles of simplicity and clarity, in the video processor 110 of FIG. 1 , only two sub-processing-tasks processors 112 and 114 are illustrated, though the number of the sub-processing-tasks processors in the video processor 110 is not limited thereto.

In FIG. 1 , The first memory controller 120 and the second memory controller 130 respectively control the corresponding first memory 122 and the second memory 132 . The distributor 140 stores data outputted by the video processor 110 to the first memory 122 and the second memory 132 through the first memory controller 120 and the second memory controller 130 . Each of the at least one sub-processing-tasks processor in the video processor 110 can access at least one of the first memory 122 and the second memory 132 through the distributor and at least one of the first memory controller 120 and the second memory controller 130 . For example, the sub-processing-tasks processor 112 in the video processor 110 can access data of the first memory 122 through the distributor 140 and the first memory controller 120 , and/or access data of the second memory 132 through the distributor 140 and the second memory controller 130 . Deduced by analogy, the sub-processing-tasks processor 114 in the video processor 110 can also access data of at least one of the first memory 122 and the second memory 132 through the distributor 140 .

It should be noticed that the distributor 140 can store video data to the corresponding memory according to different distribution rules. For example, in some embodiments, the distributor 140 can store at least a part of the video data outputted by the video processor 110 to the first memory 122 through the first memory controller 120 , and copy the same data to the second memory 132 through the second memory controller 130 . Therefore, since the first memory 122 an the second memory 132 stores the same video data, when the video processor 110 is about to read (retrieve) the video data, the distributor 140 can dynamically adjust a transmission bandwidth of the first memory 122 and a transmission bandwidth of the second memory 132 according to a bandwidth usage state of the memories. For example, the bandwidth of the first memory 122 is 70%, the bandwidth of the second memory 132 is 30%, such that the distributor 140 obtains 70% of the video data from the first memory 122 and obtains the remained 30% of the video data from the second memory 132 , and transmits the video data to the video processor 110 . However, the bandwidth distribution method is not limited thereto.

In another embodiment, the distributor 140 can divide the video dada (for example, a video frame) outputted by the video processor 110 into two parts, where the first part of the video data outputted by the video processor 110 is stored to the first memory 122 , and the second part of the video data outputted by the video processor 110 is stored to the second memory 132 , so as to mitigate memory bandwidth congestion. In detail, the distribution method of the video data outputted by the video processor 110 can be determined according to the type of the video data.

For example, it is assumed that when the sub-processing task processed by the video processor 110 is a video decoding task, the sub-processing-tasks processor 112 in the video processor 110 can be a video decoding processor, which is used for executing a decoding task to reconstruct at least one video frame (video data) from encoded video data. The first part of the video data may include brightness data (Y) of the video frame, and the second part of the video data may include chrominance data (C) of the video frame. Taking a color format YUV of 4:2:0 as an example, the first memory 122 may have ⅔ of the total bandwidth, and the second memory 132 may have ⅓ of the total bandwidth. Through the distributor 140 , the first memory controller 120 and the second memory controller 130 , the video decoding processor (i.e. the sub-processing-tasks processor 112 ) can store the brightness data (Y) of the video data into the first memory 122 , and store the chrominance data (C) into the second memory 132 . Through the distributor 140 , the first memory controller 120 and the second memory controller 130 , the video decoding processor (i.e. the sub-processing-tasks processor 112 ) can retrieve the brightness data (Y) from the first memory 122 , and retrieve the chrominance data (C) from the second memory 132 .

For another example, the first part of the video data outputted by the video processor 110 may include a part of line data (for example, odd lines) of the video frame, and the second part of the video data includes another part of the line data (for example, even lines), though the invention is not limited thereto. Through the distributor 140 , the first memory controller 120 and the second memory controller 130 , the video decoding processor (i.e. the sub-processing-tasks processor 112 ) can store the even line data of the video data (for example, the video frame) into the first memory 122 , and stores the odd line data into the second memory 132 . Through the distributor 140 , the first memory controller 120 and the second memory controller 130 , the video decoding processor (i.e. the sub-processing-tasks processor 112 ) can retrieve the even line data from the first memory 122 , and retrieve the odd line data from the second memory 132 .

›DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS · 2 of 4

In some other embodiments, when the sub-processing task processed by the video processor 110 is a decoding task, the sub-processing-tasks processor 112 in the video processor 110 can be a video decoding processor, which is used for executing a decoding task to reconstruct at least one video frame from encoded video data. In other embodiments, the sub-processing-tasks processor 112 in the video processor 110 can be a video encoder or a video codec. When the sub-processing task processed by the video processor 110 is a post processing task, the sub-processing-tasks processor 114 in the video processor 110 can be a post processing processor, which is used for executing a post processing task to the video frame reconstructed by the video decoding processor.

For example, FIG. 2 is a schematic diagram of data flows of the video processing apparatus 10 and the video processing circuit 100 of FIG. 1 according to an embodiment of the invention. The distributor 140 can read a reference frame F 1 from the first memory 122 (through the first memory controller 120 ), and provides the reference frame F 1 to the sub-processing-tasks processor 112 (for example, the video decoding processor). The sub-processing-tasks processor 112 (for example, the video decoding processor) can execute the decoding task according to the reference frame F 1 to obtain a reconstruction frame F 2 . The distributor 140 can store the reconstruction frame F 2 (the video data) outputted by the sub-processing-tasks processor 112 (for example, the video decoding processor) to the first memory 122 (through the first memory controller 120 ). The sub-processing-tasks processor 114 (for example, the post processing processor) can retrieve the reconstruction frame F 2 (the video data) from the first memory 122 through the distributor 140 and the first memory controller 120 . The sub-processing-tasks processor 114 can perform some modifications (for example, edge enhancement, temporal noise reduction, picture scaling, etc.) to the reconstruction frame F 2 . The distributor 140 can store a modification result (a video frame F 3 ) outputted by the sub-processing-tasks processor 114 into the second memory 132 (through the second memory controller 130 ).

In very few applications, the operation of retrieving the reconstruction frame F 2 (the video data) from the first memory 122 by the sub-processing-tasks processor 114 may increase a bandwidth loading of the first memory 122 , or may even cause a bandwidth congestion. The bandwidth congestion probably influences a performance of the sub-processing-tasks processor 112 (for example, the video decoding processor).

FIG. 3 is a schematic diagram of data flows of the video processing apparatus 10 and the video processing circuit 100 of FIG. 1 according to another embodiment of the invention. The embodiment of FIG. 3 can be deduced according to the description of FIG. 2 . In the embodiment of FIG. 3 , in order to reduce the bandwidth loading of the first memory 122 , except that the distributor 140 can store the reconstruction frame F 2 (the video frame) generated by the sub-processing-tasks processor 112 (for example, the video decoding processor) into the first memory 122 through the first memory controller 120 , the distributor 140 can also copy the same reconstruction frame F 2 (the video frame) to the second memory 132 through the second memory controller 130 . The sub-processing-tasks processor 112 can access the video frame (for example, to retrieve the reconstruction frame F 2 ) in the first memory 122 through the distributor 140 and the first memory controller 120 . The sub-processing-tasks processor 114 can access the video frame in the second memory 132 through the distributor 140 and the second memory controller 130 . Since the first memory 122 and the second memory 132 store the same reconstruction frame F 2 , when the sub-processing-tasks processor 114 (for example, the post processing processor) is about to read the reconstruction frame F 2 , the distributor 140 can retrieve the reconstruction frame F 2 from the second memory 132 for the sub-processing-tasks processor 114 through the second memory controller 130 without retrieving the reconstruction frame F 2 from the first memory 122 . Therefore, compared to the embodiment of FIG. 2 , the embodiment of FIG. 3 can reduce the bandwidth loading of the first memory 122 , and the performance of the sub-processing-tasks processor 112 (for example, the video decoding process) is improved.

In other embodiments, the distributor 140 can store the first part of the video frame outputted by the video decoding processor (the sub-processing-tasks processor 112 ) into the first memory 122 , and store the second part of the video frame outputted by the video decoding processor (the sub-processing-tasks processor 112 ) into the second memory 132 . The first part includes brightness data of the video frame, and the second part includes chrominance data of the video frame. Alternatively, the first part includes a part of the line data (for example, the even line data) of the video frame, and the second part includes the other part of the line data (for example, the odd line data) of the video frame.

FIG. 4 is a circuit block schematic diagram of a video processing apparatus 40 according to another embodiment of the invention. The video processing apparatus 40 of FIG. 4 includes a video processing circuit 400 , the first memory 122 and the second memory 132 . The video processing apparatus 40 , the video processing circuit 400 , the first memory 122 and the second memory 132 shown in FIG. 4 can be deduced by referring to related descriptions of the video processing apparatus 10 , the video processing circuit 100 , the first memory 122 and the second memory 132 shown in FIG. 1 to FIG. 3 . Referring to FIG. 4 , the video processing circuit 400 of FIG. 4 includes the video processor 110 , the first memory controller 120 , the second memory controller 130 , the distributor 140 and a compression and decompression device 170 . The video processor 110 , the first memory controller 120 , the second memory controller 130 and the distributor of FIG. 4 can be deduced according to related descriptions of FIG. 1 to FIG. 3 .

›DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS · 3 of 4

The compression and decompression device 170 is coupled between one of the sub-processing-tasks processors (for example, 112 or 114 ) and the distributor 140 . The compression and decompression device 170 can compress a video frame outputted by the sub-processing-tasks processor (for example, 112 or 114 ) to obtain at least one compressed frame. The distributor 140 can store the compressed frame outputted by the compression and decompression device 170 to the first memory 122 through the first memory controller 120 . Moreover, the compression and decompression device 170 can retrieve the compressed frame from the first memory 122 through the distributor 140 and the first memory controller 120 , and decompress the same to obtain a corresponding decompressed frame to the sub-processing-tasks processor (for example, 112 or 114 ) of the video processor 110 .

For example, if the sub-processing-tasks processor 112 is the video decoding processor, the compression and decompression device 170 compresses the video frame outputted by the video decoding processor (i.e. the sub-processing-tasks processor 112 ) to obtain at least one compressed frame, and the distributor 140 stores the compressed frame outputted by the compression and decompression device 170 to the first memory 122 through the first memory controller 120 . Moreover, the compression and decompression device 170 retrieves the compressed frame from the first memory 122 through the distributor 140 and the first memory controller 120 , and decompress the same to obtain a corresponding decompressed frame to the video decoding processor (i.e. the sub-processing-tasks processor 112 ).

In another embodiment, the distributor 140 can store the compressed frame outputted by the compression and decompression device 170 to the second memory 132 through the second memory controller 130 . Moreover, the compression and decompression device 170 can retrieve the compressed frame from the second memory 132 through the distributor 140 and the second memory controller 130 , and decompress the same to obtain a corresponding decompressed frame to the sub-processing-tasks processor (for example, 112 or 114 ) of the video processor 110 .

FIG. 5 is a schematic diagram of data flows of the video processing apparatus 40 and the video processing circuit 400 of FIG. 4 according to an embodiment of the invention. The embodiment of FIG. 5 can be deduced according to related descriptions of the sub-processing-tasks processor 112 , the sub-processing-tasks processor 114 , the first memory controller 120 , the second memory controller 130 and the distributor 140 shown in FIG. 3 , and details thereof are not repeated. In the embodiment of FIG. 5 , in order to save a storage space of the first memory 122 , the compression and decompression device 170 compresses the video frame (the reconstruction frame F 2 ) outputted by the sub-processing-tasks processor 112 (for example, the video decoding processor) to obtain a compressed frame F 2 ′. The distributor 140 stores the compressed frame F 2 ′ outputted by the compression and decompression device 170 to the first memory 122 through the first memory controller 120 . The compression and decompression device 170 can retrieve the compressed frame F 2 ′ from the first memory 122 through the distributor 140 and the first memory controller 120 , and decompress the same to obtain a corresponding decompressed frame to the sub-processing-tasks processor 112 (for example, the video decoding processor).

FIG. 6 is a circuit block schematic diagram of a video processing apparatus 60 according to still another embodiment of the invention. The video processing apparatus 60 of FIG. 6 includes a video processing circuit 600 , the first memory 122 and the second memory 132 . The video processing apparatus 60 , the video processing circuit 600 , the first memory 122 and the second memory 132 shown in FIG. 6 can be deduced by referring to related descriptions of the video processing apparatus 10 , the video processing circuit 100 , the first memory 122 and the second memory 132 shown in FIG. 1 to FIG. 3 . The video processing circuit 600 of FIG. 6 includes the video processor 110 , the first memory controller 120 , the second memory controller 130 , the distributor 140 , a compressor 150 and a decompressor 160 . The video processor 110 , the first memory controller 120 , the second memory controller 130 and the distributor of FIG. 6 can be deduced according to related descriptions of FIG. 4 .

The compressor 150 is coupled between one of the at least one sub-processing-tasks processor and the distributor 140 . The decompressor 160 is coupled between another one of the at least one sub-processing-tasks processor and the distributor 140 . For example, the compressor 150 is coupled between the sub-processing-tasks processor 112 (for example, the video decoding processor) and the distributor 140 , and the decompressor 160 is coupled between the sub-processing-tasks processor 114 (for example, the post processing processor) and the distributor 140 . The compressor 150 compresses a video frame outputted by the sub-processing-tasks processor 112 to obtain at least one compressed frame, and the distributor 140 stores the compressed frame outputted by the compressor 150 to the second memory 132 through the second memory controller 130 . Moreover, the decompressor 160 retrieves the compressed frame from the second memory 132 through the distributor 140 and the second memory controller 130 , and decompress the same to obtain a corresponding decompressed frame to the sub-processing-tasks processor 114 .

For example, if the sub-processing-tasks processor 112 is the video decoding processor, the compressor 150 compresses the video frame outputted by the video decoding processor (i.e. the sub-processing-tasks processor 112 ) to obtain at least one compressed frame. The distributor 140 stores the compressed frame outputted by the compressor 150 to the second memory 122 . The decompressor 160 retrieves the compressed frame from the second memory 132 through the distributor 140 and the second memory controller 130 , and decompress the same to obtain a corresponding decompressed frame to the post processing processor (i.e. the sub-processing-tasks processor 114 ).

›DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS · 4 of 4

In summary, the invention provides a video processing circuit and a video processing apparatus using the same. The video processing circuit in the video processing apparatus can store the video data generated by the video processor into a plurality of memories. The distributor is used to allocate a memory bandwidth, such that the bandwidth of each memory is adequate to deal with video streams with high resolution, so as to effectively resolve the problem of memory bandwidth congestion.

It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.

Claims as granted

16 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

3 codes
IPC · International Patent Classification
Section H — Electricity
  • H04N19/88
  • H04N19/85
  • H04N19/423

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 2015Jul 2015Jan 2016Jul 2016Jan 2017Jul 2017Jan 2018Jul 2018Jan 2019USPTOApplicantNon-final rejectionFinal rejectionNon-final rejectionFinal rejectionNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
3.8 y
1,399 days filing → grant
Office actions
4
non-final + final
Responses
2
2 RCE
Examiner
Mohammad J Rahman
art unit 2487 · TC 2400
Citations: 38 back · 0 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom2016201820202022202420262028203020322034Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock