TWI543627B - Method for adaptively performing video decoding, adaptive complexity video decoder and adaptive audio/video playback system - Google Patents

Method for adaptively performing video decoding, adaptive complexity video decoder and adaptive audio/video playback system Download PDF

Info

Publication number
TWI543627B
TWI543627B TW100116326A TW100116326A TWI543627B TW I543627 B TWI543627 B TW I543627B TW 100116326 A TW100116326 A TW 100116326A TW 100116326 A TW100116326 A TW 100116326A TW I543627 B TWI543627 B TW I543627B
Authority
TW
Taiwan
Prior art keywords
complexity
decoding
adaptive video
video decoder
bit stream
Prior art date
Application number
TW100116326A
Other languages
Chinese (zh)
Other versions
TW201204049A (en
Inventor
謝芳易
林建良
Original Assignee
聯發科技股份有限公司
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
Priority claimed from US12/830,419 external-priority patent/US9172980B2/en
Application filed by 聯發科技股份有限公司 filed Critical 聯發科技股份有限公司
Publication of TW201204049A publication Critical patent/TW201204049A/en
Application granted granted Critical
Publication of TWI543627B publication Critical patent/TWI543627B/en

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

自適應視頻解碼方法、複雜度自適應視頻解碼器以及自適應音頻/視頻播放 系統 Adaptive video decoding method, complexity adaptive video decoder and adaptive audio/video playback system

本發明有關於一種自適應視頻解碼(adaptively performing video decoding)方法,尤其有關於一種自適應視頻解碼方法、複雜度自適應視頻解碼器(adaptive complexity video decoder)以及自適應音頻/視頻播放系統。 The present invention relates to an adaptively performing video decoding method, and more particularly to an adaptive video decoding method, an adaptive complexity video decoder, and an adaptive audio/video playing system.

當終端使用者在家使用家庭影院系統觀看視頻節目時,視頻節目的編碼資料被解碼以顯示在家庭影院系統的顯示面板上,且編碼資料的解碼結果可擴大或縮小以符合顯示面板的尺寸和解析度的要求。通常,不管對編碼資料進行解碼的算法多麼複雜,也不管視頻節目是否高解析度,家庭影院系統的解碼裝置可輕易地對編碼資料進行解碼。 When the terminal user watches the video program at home using the home theater system, the encoded data of the video program is decoded to be displayed on the display panel of the home theater system, and the decoding result of the encoded data can be expanded or reduced to conform to the size and resolution of the display panel. Degree requirements. In general, the decoding device of the home theater system can easily decode the encoded data regardless of the complexity of the algorithm for decoding the encoded data and whether the video program is high resolution.

對於終端使用者來說,擁有可在任何地方觀看同樣視頻節目的可攜式電子裝置是非常方便的,該可攜電子裝置可例如行動電話或者個人數位助理(Personal Digital Assistant,PDA)。然而,當製造商的研究與開發(Research and Development,R&D)團隊在設計這種可攜電子裝置時,可能出現一些問題。例如,在對編碼資料進行解碼的算法太複雜及/或視頻節目的解析度過高的情況下,可攜電子裝置的解碼能力有可能不足。又例如,當可攜電子裝置內的一個或多個處理電路工作在最 高可用工作頻率時,功率消耗有可能過高。因此,需要高效率且价格可取的視頻解碼器,以使用具有有限計算能力的可攜電子裝置播放具有可接受品質的視頻。 It is convenient for the end user to have a portable electronic device that can view the same video program from anywhere, such as a mobile phone or a Personal Digital Assistant (PDA). However, when the manufacturer's Research and Development (R&D) team is designing such a portable electronic device, some problems may arise. For example, in the case where the algorithm for decoding the encoded data is too complicated and/or the resolution of the video program is too high, the decoding capability of the portable electronic device may be insufficient. As another example, when one or more processing circuits within the portable electronic device operate at the most At high available operating frequencies, power consumption may be too high. Therefore, there is a need for a highly efficient and affordable video decoder to play video of acceptable quality using portable electronic devices with limited computing power.

有鑑於此,本發明提供一種自適應視頻解碼方法、複雜度自適應視頻解碼器以及自適應音頻/視頻播放系統。 In view of this, the present invention provides an adaptive video decoding method, a complexity adaptive video decoder, and an adaptive audio/video playback system.

本發明提供一種自適應視頻解碼方法,包含:基於一複雜度自適應視頻解碼器的一輸入位元流的位元流資訊,執行解碼複雜度管理,以決定是否降低該複雜度自適應視頻解碼器內多個組件中的至少一組件的解碼複雜度;以及選擇性降低該複雜度自適應視頻解碼器內多個組件中的一部分組件的解碼複雜度。 The present invention provides an adaptive video decoding method, including: performing decoding complexity management based on bit stream information of an input bit stream of a complexity adaptive video decoder to determine whether to reduce the complexity adaptive video decoding. Decoding complexity of at least one of the plurality of components within the device; and selectively reducing decoding complexity of a portion of the plurality of components within the complexity adaptive video decoder.

本發明另提供一種複雜度自適應視頻解碼器,包含:多個組件,用於執行與視頻解碼有關的多個操作;以及一解碼複雜度管理器,用於基於一輸入位元流的位元流資訊執行解碼複雜度管理,以決定是否降低該複雜度自適應視頻解碼器內至少一組件的解碼複雜度;其中,該解碼複雜度管理器選擇性降低該複雜度自適應視頻解碼器內多個組件中的一部分組件的解碼複雜度。 The present invention further provides a complexity adaptive video decoder comprising: a plurality of components for performing a plurality of operations related to video decoding; and a decoding complexity manager for using a bit based on an input bit stream The stream information performs decoding complexity management to determine whether to reduce the decoding complexity of the at least one component in the complexity adaptive video decoder; wherein the decoding complexity manager selectively reduces the complexity of the adaptive video decoder The decoding complexity of some of the components.

本發明還提供一種自適應音頻/視頻播放系統,包含: 一音頻解碼器,用於執行音頻解碼以產生音頻資訊;以及一視頻解碼器,用於執行視頻解碼,其中,該視頻解碼器包含一解碼管理器,該解碼管理器依據一輸入位元流的位元流資訊延遲該音頻資訊的音頻播放。 The invention also provides an adaptive audio/video playing system comprising: An audio decoder for performing audio decoding to generate audio information; and a video decoder for performing video decoding, wherein the video decoder includes a decoding manager, the decoding manager is configured according to an input bit stream The bit stream information delays the audio playback of the audio information.

本發明所提供之自適應視頻解碼方法、複雜度自適應視頻解碼器以及自適應音頻/視頻播放系統可自適應地降低解碼複雜度,從而減少解碼工作量和相應的功率消耗,為實現數位視頻播放系統提供了的極大靈活性。 The adaptive video decoding method, the complexity adaptive video decoder and the adaptive audio/video playing system provided by the invention can adaptively reduce the decoding complexity, thereby reducing the decoding workload and the corresponding power consumption, in order to realize digital video. The playback system offers great flexibility.

以下係依據多個圖式對本發明之較佳實施例進行詳細描述,本領域習知技藝者閱讀後應可明確了解本發明之目的。 The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.

在說明書及申請專利範圍當中使用了某些詞彙來指稱特定組件。所屬領域中具有通常知識者應可理解,硬體製造商可能會用不同名詞來稱呼同一個組件。本說明書及申請專利範圍並不以名稱之差異來作為區分組件之方式,而是以組件在功能上之差異來作為區分之準則。在通篇說明書及申請專利範圍當中所提及之「包含」為一開放式用語,故應解釋成「包含但不限定於」。「大致」係指在可接受之誤差範圍內,所屬領域中具有通常知識者能夠在一定誤差範圍內解決所述技術問題,基本達到所述技術效果。此外,「耦接」一詞在此包含任何直接及間接之電性連接手段。因此,若文中描述一第一裝置耦接於一 第二裝置,則代表該第一裝置可直接電性連接於該第二裝置,或透過其他裝置或連接手段間接地電性連接至該第二裝置。說明書後續描述為實施本發明之較佳實施方式,然該描述乃以說明本發明之一般原則為目的,並非用於限定本發明之範圍。本發明之保護範圍當視所附申請專利範圍所界定者為準。 Certain terms are used throughout the description and claims to refer to particular components. It should be understood by those of ordinary skill in the art that hardware manufacturers may refer to the same component by different nouns. This specification and the scope of the patent application do not use the difference of the names as the means for distinguishing the components, but the difference in the function of the components as the criterion for distinguishing. The term "including" as used throughout the specification and the scope of the patent application is an open term and should be interpreted as "including but not limited to". "About" means that within the acceptable error range, those skilled in the art can solve the technical problem within a certain error range, and substantially achieve the technical effect. In addition, the term "coupled" is used herein to include any direct and indirect electrical connection. Therefore, if a first device is coupled to a The second device means that the first device can be directly electrically connected to the second device, or can be electrically connected to the second device indirectly through other devices or connection means. The description of the present invention is intended to be illustrative of the preferred embodiments of the invention. The scope of the invention is defined by the scope of the appended claims.

參照第1A圖和第1B圖,第1A圖和第1B圖係依據本發明第一實施例的複雜度自適應視頻解碼器100的方塊示意圖。複雜度自適應視頻解碼器100包含快速變長解碼(Variable Length Decoding,VLD)與逆量化模組110、逆變換單元(inverse transform)120、運動補償(Motion Compensation,MC)模組130(在第1A圖中標記為「MC模組」)、計算單元140、重構訊框輸出單元150及訊框儲存單元160,其中,逆變換單元120可例如離散餘弦逆變換(Inverse Discrete Cosine Transform,IDCT)單元;運動補償模組130包含時間預測單元132以及空間預測單元134;計算單元140可例如加法器;重構訊框輸出單元150包含解區塊(de-blocking)濾波器,例如迴路濾波器(in-loop filter)152;以及訊框儲存單元160可例如訊框緩衝器。特別地,前述的解區塊濾波器(例如迴路濾波器152)係複雜度自適應解區塊濾波器。請注意,可將時間預測單元132和空間預測單元134分別稱為訊框間預測(inter prediction)單元與訊框內預測(intra prediction)單元。如第1B圖所示,複雜度自適應視頻解碼器100進一步包含縮放器170、顯示時間調整驅動器175、 顯示緩衝器180以及解碼複雜度管理器100M。其中,解碼複雜度管理器100M可採用硬體來實現,亦可採用軟體來實現。根據本發明的一種實施方式,解碼複雜度管理器100M的內部結構可配置為硬體計算器/處理機,用於計算音頻/視頻播放系統所能允許的解碼複雜度,並根據計算結果對複雜度自適應解碼器100的解碼複雜度進行調整。例如該計算器/處理機可選擇性降低複雜度自適應視頻解碼器100內多個組件中至少一部分組件的解碼複雜度。然以上僅用於說明目的,解碼複雜度管理器100M的實施方式並不以此為限。 Referring to FIGS. 1A and 1B, FIGS. 1A and 1B are block diagrams of a complexity adaptive video decoder 100 in accordance with a first embodiment of the present invention. The complexity adaptive video decoder 100 includes a variable length decoding (VLD) and inverse quantization module 110, an inverse transform unit 120, and a motion compensation (MC) module 130 (in the first 1A is labeled as "MC Module", the calculation unit 140, the reconstructed frame output unit 150, and the frame storage unit 160, wherein the inverse transform unit 120 can be, for example, Inverse Discrete Cosine Transform (IDCT). The unit; the motion compensation module 130 includes a temporal prediction unit 132 and a spatial prediction unit 134; the computing unit 140 can be, for example, an adder; the reconstructed frame output unit 150 includes a de-blocking filter, such as a loop filter ( The in-loop filter 152; and the frame storage unit 160 may be, for example, a frame buffer. In particular, the aforementioned deblocking filter (e.g., loop filter 152) is a complexity adaptive deblocking filter. Note that the temporal prediction unit 132 and the spatial prediction unit 134 may be referred to as an inter prediction unit and an intra prediction unit, respectively. As shown in FIG. 1B, the complexity adaptive video decoder 100 further includes a scaler 170, a display time adjustment driver 175, The display buffer 180 and the decoding complexity manager 100M are displayed. The decoding complexity manager 100M can be implemented by using a hardware or by using a software. According to an embodiment of the present invention, the internal structure of the decoding complexity manager 100M can be configured as a hardware calculator/processor for calculating the decoding complexity allowed by the audio/video playback system, and the complexity is calculated according to the calculation result. The decoding complexity of the degree adaptive decoder 100 is adjusted. For example, the calculator/processor can selectively reduce the decoding complexity of at least some of the components of the complex adaptive video decoder 100. However, the foregoing is for illustrative purposes only, and the implementation of the decoding complexity manager 100M is not limited thereto.

依據此實施例,快速變長解碼與逆量化模組110係用於對輸入位元流108執行快速VLD與逆量化以產生多個逆量化結果118,而逆變換單元120係用於對多個逆量化結果118執行逆變換以產生多個逆變換結果128。另外,運動補償模組130係用於依據輸入位元流108執行運動補償,並產生相應的多個預測輸出結果138,其中,時間預測單元132係用於執行時間預測,以及空間預測單元134係用於執行空間預測。如第1A圖所示,計算單元140係用於合計多個逆變換結果128和多個預測輸出結果138以產生多個補償輸出結果148,而重構訊框輸出單元150係用於產生多個重構訊框158,其中空間預測單元134依據重構訊框輸出單元150輸出的重構資料執行空間預測。另外,訊框儲存單元160係用於臨時儲存多個重構訊框158 的至少一部分,其中,時間預測單元132依據前述的多個重構訊框158的至少一部分執行時間預測。 In accordance with this embodiment, the fast variable length decoding and inverse quantization module 110 is configured to perform fast VLD and inverse quantization on the input bit stream 108 to generate a plurality of inverse quantization results 118, and the inverse transform unit 120 is used to The inverse quantization result 118 performs an inverse transform to produce a plurality of inverse transform results 128. In addition, the motion compensation module 130 is configured to perform motion compensation according to the input bit stream 108 and generate a corresponding plurality of predicted output results 138, wherein the temporal prediction unit 132 is configured to perform temporal prediction, and the spatial prediction unit 134 is Used to perform spatial prediction. As shown in FIG. 1A, the calculation unit 140 is configured to aggregate a plurality of inverse transform results 128 and a plurality of predicted output results 138 to generate a plurality of compensated output results 148, and the reconstructed frame output unit 150 is configured to generate a plurality of The reconstruction frame 158, wherein the spatial prediction unit 134 performs spatial prediction according to the reconstructed data output by the reconstructed frame output unit 150. In addition, the frame storage unit 160 is configured to temporarily store a plurality of reconstructed frames 158. At least a portion of the time prediction unit 132 performs temporal prediction in accordance with at least a portion of the plurality of reconstruction frames 158 described above.

參照第1B圖,縮放器170係用於在有需要時執行影像縮放(例如放大或縮小影像)。在執行影像縮放的情況下,多個影像訊框178包含多個重構訊框158的縮放版本。在不執行影像縮放的情況下,多個影像訊框178包含多個重構訊框158,即,縮放器170旁路多個重構訊框158。另外,顯示緩衝器180係用於臨時儲存多個影像訊框178。在顯示時間調整驅動器175的控制下,輸出臨時儲存在顯示緩衝器180中的多個影像訊框178作為多個輸出訊框188,以顯示在相應於音頻資訊的音頻播放的適當時間點上。因此,經由使用顯示時間調整驅動器175,複雜度自適應解碼器100可同步音頻/視頻播放系統(第1A圖和第1B圖中未示)的音頻和視頻播放,以消除視頻解碼的延遲(若存在)。例如,當存在繁重的視頻解碼工作量時,可能會發生視頻解碼的延遲。另外,解碼複雜度管理器100M可基於輸入位元流108和來自顯示緩衝器180的顯示緩衝器狀態執行解碼複雜度管理。例如,解碼複雜度管理器100M可選擇性降低複雜度自適應視頻解碼器100內多個組件中的一部分組件的解碼複雜度。更具體地,解碼複雜度管理器100M可依據輸入位元流108和前述的顯示緩衝器狀態,產生多個控制訊號,例如控制訊號C1、C2、C3、C5、C6和C7,以分別控制複雜度自適應視頻解碼器100內的相應組件的解碼複雜度。例 如,如第1A圖和第1B圖所示,快速變長解碼與逆量化模組110受控於控制訊號C1,逆變換單元120受控於控制訊號C2,運動補償模組130受控於控制訊號C3,重構訊框輸出單元150受控於控制訊號C5,前述的解區塊濾波器(例如迴路濾波器152)受控於控制訊號C6,以及顯示時間調整驅動器175受控於控制訊號C7。 Referring to Figure 1B, the scaler 170 is used to perform image scaling (e.g., zooming in or out of the image) as needed. In the case of performing image scaling, the plurality of video frames 178 include a scaled version of the plurality of reconstructed frames 158. In the case where image scaling is not performed, the plurality of video frames 178 include a plurality of reconstructed frames 158, that is, the scaler 170 bypasses the plurality of reconstructed frames 158. In addition, the display buffer 180 is used to temporarily store a plurality of video frames 178. Under the control of the display time adjustment driver 175, a plurality of video frames 178 temporarily stored in the display buffer 180 are output as a plurality of output frames 188 for display at appropriate points in time corresponding to audio playback of the audio information. Therefore, by using the display time adjustment driver 175, the complexity adaptive decoder 100 can synchronize the audio and video playback of the audio/video playback system (not shown in FIGS. 1A and 1B) to eliminate the delay of video decoding (if presence). For example, when there is a heavy video decoding effort, a delay in video decoding may occur. Additionally, the decoding complexity manager 100M can perform decoding complexity management based on the input bitstream 108 and the display buffer state from the display buffer 180. For example, the decoding complexity manager 100M can selectively reduce the decoding complexity of some of the various components within the complexity adaptive video decoder 100. More specifically, the decoding complexity manager 100M can generate a plurality of control signals, such as control signals C1, C2, C3, C5, C6, and C7, according to the input bit stream 108 and the aforementioned display buffer status, to separately control the complexity. The decoding complexity of the corresponding components within the adaptive video decoder 100. example For example, as shown in FIGS. 1A and 1B, the fast variable length decoding and inverse quantization module 110 is controlled by the control signal C1, the inverse transform unit 120 is controlled by the control signal C2, and the motion compensation module 130 is controlled by the control. The signal C3, the reconstructed frame output unit 150 is controlled by the control signal C5, the aforementioned deblocking filter (for example, the loop filter 152) is controlled by the control signal C6, and the display time adjustment driver 175 is controlled by the control signal C7. .

特別地,複雜度自適應視頻解碼器100的至少一部分,例如時間預測單元132、空間預測單元134、逆變換單元120、重構訊框輸出單元150和/或快速VLD與逆量化模組110,可依據多個重構訊框158的解析度進行操作,而不是僅依據輸入位元流108所代表的多個原始訊框的解析度進行操作,以降低解碼操作的複雜度。可經由對訊框降低取樣(down sampling)獲取解析度降低的訊框,例如,經由選擇特定像素以代表訊框的每個區塊,例如選擇每個2×2像素區塊的右下角像素。在一實施例中,時間預測單元132可依據多個重構訊框158的解析度進行操作,而不是依據多個原始訊框的解析度進行操作,以降低時間預測的複雜度。例如,時間預測單元132可進一步估計已省略的部分資訊中可用於執行時間預測的至少一部分資訊。另外,空間預測單元134可依據多個重構訊框158的解析度進行操作,而不是依據多個原始訊框的解析度進行操作,以降低空間預測的複雜度。例如,空間預測單元134可進一步估計已省略的部分資訊中 可用於執行空間預測的至少一部分資訊。依據此實施例,逆變換單元120可依據多個重構訊框158的解析度進行操作,而不是依據多個原始訊框的解析度進行操作,以降低逆變換的複雜度。例如,逆變換單元120可經由選擇多個預設的用於逆變換的逆變換函數FIT中的一個以省略逆變換的多個計算的一部分。另外,重構訊框輸出單元150可依據多個重構訊框158的解析度進行操作,而不是多個原始訊框的解析度進行操作,以降低產生多個重構訊框的複雜度。基於是否滿足一個或多個條件,迴路濾波器152可相應於多個複雜度級別中的一個選擇性執行迴路濾波用於解區塊,其中,解區塊操作可例如,全部解區塊、部分解區塊以及跳過(skip)解區塊。另外,快速變長解碼與逆量化模組110可依據多個重構訊框158的解析度進行操作,而不是依據多個原始訊框的解析度進行操作,以降低執行快速VLD與逆量化的複雜度。更特別地,為降低複雜度,快速變長解碼與逆量化模組110可在解碼期間使用包含主表和至少一子表(例如一個或多個子表)的查找表,其中,由於在複雜度自適應視頻解碼器100的設計階段對查找表的預設安排,使用主表的概率大於使用至少一子表的概率。 In particular, at least a portion of the complexity adaptive video decoder 100, such as temporal prediction unit 132, spatial prediction unit 134, inverse transform unit 120, reconstructed frame output unit 150, and/or fast VLD and inverse quantization module 110, The operation may be performed according to the resolution of the plurality of reconstructed frames 158 instead of merely relying on the resolution of the plurality of original frames represented by the input bit stream 108 to reduce the complexity of the decoding operation. The reduced resolution frame can be obtained via down sampling, for example, by selecting a particular pixel to represent each block of the frame, such as selecting the lower right pixel of each 2x2 pixel block. In an embodiment, the time prediction unit 132 can operate according to the resolution of the plurality of reconstructed frames 158 instead of operating according to the resolution of the plurality of original frames to reduce the complexity of the temporal prediction. For example, temporal prediction unit 132 may further estimate at least a portion of the information in the portion of the information that has been omitted that may be used to perform temporal prediction. In addition, the spatial prediction unit 134 can operate according to the resolution of the plurality of reconstructed frames 158 instead of operating according to the resolution of the plurality of original frames to reduce the complexity of the spatial prediction. For example, spatial prediction unit 134 can further estimate at least a portion of the information in the portion of the information that has been omitted that can be used to perform spatial prediction. According to this embodiment, the inverse transform unit 120 can operate according to the resolution of the plurality of reconstructed frames 158 instead of operating according to the resolution of the plurality of original frames to reduce the complexity of the inverse transform. For example, the inverse transform unit 120 may omit a portion of the plurality of calculations of the inverse transform via selecting one of a plurality of preset inverse transform functions F IT for inverse transform. In addition, the reconstructed frame output unit 150 can operate according to the resolution of the plurality of reconstructed frames 158 instead of the resolution of the plurality of original frames to reduce the complexity of generating a plurality of reconstructed frames. Loop filter 152 may selectively perform loop filtering for deblocking corresponding to one of a plurality of complexity levels based on whether one or more conditions are met, wherein the deblocking operation may, for example, be all deblocking, partial Deblock the block and skip the solution block. In addition, the fast variable length decoding and inverse quantization module 110 can operate according to the resolution of the plurality of reconstructed frames 158 instead of operating according to the resolution of multiple original frames to reduce the execution of fast VLD and inverse quantization. the complexity. More specifically, to reduce complexity, the fast variable length decoding and inverse quantization module 110 may use a lookup table containing a primary table and at least one sub-table (eg, one or more sub-tables) during decoding, where due to complexity The design phase of the adaptive video decoder 100 has a probability of using the primary table for the preset arrangement of the lookup table greater than the probability of using at least one child table.

依據此實施例的一些變形,複雜度自適應視頻解碼器100的至少一部分組件可省略該至少一部分組件需處理的部分資 訊,以降低對輸入位元流108進行解碼的複雜度。簡潔起見,有關此類變形的類似描述此處不再重複。 According to some variations of this embodiment, at least a portion of the components of the complexity adaptive video decoder 100 may omit portions of the at least some of the components to be processed. To reduce the complexity of decoding the input bit stream 108. For the sake of brevity, a similar description of such variations will not be repeated here.

第1C圖係依據第一實施例的自適應音頻/視頻播放系統50的方塊示意圖。自適應音頻/視頻播放系統50包含音頻解碼器52和複雜度自適應視頻解碼器100。音頻解碼器52係用於執行音頻解碼以產生音頻資訊58。另外,複雜度自適應視頻解碼器100可執行第一實施例中所揭示的視頻解碼。請注意,解碼複雜度管理器100M係用於在有需要時對輸入位元流108執行解碼複雜度管理,且解碼複雜度管理器100M選擇性降低複雜度自適應視頻解碼器100內的多個組件中的一部分組件的解碼複雜度。例如,解碼複雜度管理器100M降低複雜度自適應視頻解碼器100內一個或多個組件的解碼複雜度。又例如,解碼複雜度管理器100M延遲音頻資訊58的音頻播放,而不降低複雜度自適應視頻解碼器100內任何組件的解碼複雜度。因此,在視頻解碼器不能及時地解碼並輸出與音頻播放相匹配的多個訊框的情況下,解碼複雜度管理器100M可適當延遲自適應音頻/視頻播放系統50的音頻播放,以保持自適應音頻/視頻播放系統50的視頻播放和音頻播放之間的音頻/視頻播放同步。如第1C圖所示,解碼複雜度管理器100M產生至少一控制訊號C0以控制是否延遲音頻資訊58的音頻播放和/或音頻資訊58的音頻播放的延遲量。實際上,解碼複雜度管理器100M可依據輸入位元流108的位元流資訊、代表處理能力的參數及 顯示緩衝器狀態的組合或其中之一,決定延遲音頻資訊58的音頻播放。例如,依據輸入位元流108的位元流資訊、代表處理能力的參數及顯示緩衝器狀態的組合或其中之一,解碼複雜度管理器100M決定是否延遲音頻資訊58的音頻播放。又例如,依據輸入位元流108的位元流資訊、代表處理能力的參數及顯示緩衝器狀態的組合或其中之一,解碼複雜度管理器100M決定音頻資訊58的音頻播放的延遲量。簡潔起見,有關此類變形的類似描述此處不再重複。 1C is a block diagram of an adaptive audio/video playback system 50 in accordance with the first embodiment. The adaptive audio/video playback system 50 includes an audio decoder 52 and a complexity adaptive video decoder 100. Audio decoder 52 is operative to perform audio decoding to produce audio information 58. Additionally, the complexity adaptive video decoder 100 can perform the video decoding disclosed in the first embodiment. Note that the decoding complexity manager 100M is for performing decoding complexity management on the input bitstream 108 when needed, and the decoding complexity manager 100M selectively reduces multiples within the complexity adaptive video decoder 100. The decoding complexity of some of the components in the component. For example, the decoding complexity manager 100M reduces the decoding complexity of one or more components within the complexity adaptive video decoder 100. As another example, the decoding complexity manager 100M delays audio playback of the audio information 58 without reducing the complexity of decoding of any components within the adaptive video decoder 100. Therefore, in the case where the video decoder cannot decode and output a plurality of frames matching the audio playback in time, the decoding complexity manager 100M can appropriately delay the audio playback of the adaptive audio/video playback system 50 to maintain the self. Adapts to audio/video playback synchronization between video playback and audio playback of audio/video playback system 50. As shown in FIG. 1C, the decoding complexity manager 100M generates at least one control signal C0 to control whether to delay the amount of delay in audio playback of the audio information 58 and/or audio playback of the audio information 58. In fact, the decoding complexity manager 100M can depend on the bit stream information of the input bit stream 108, the parameters representing the processing capability, and A combination of display buffer states or one of them determines the audio playback of the delayed audio information 58. For example, depending on one or both of the bitstream information of the input bitstream 108, the parameter representing the processing capability, and the display buffer state, the decoding complexity manager 100M determines whether to delay the audio playback of the audio information 58. For another example, the decoding complexity manager 100M determines the amount of delay in audio playback of the audio information 58 based on either or both of the bitstream information of the input bitstream 108, the parameter representing the processing capability, and the display buffer state. For the sake of brevity, a similar description of such variations will not be repeated here.

第1D圖係依據本發明第二實施例的複雜度自適應視頻解碼器100-1的方塊示意圖。此實施例係第一實施例的變形。如第1D圖所示,將前述的解區塊濾波器(例如迴路濾波器152)安置在此實施例的重構訊框輸出單元150之外,而不是安置在重構訊框輸出單元150之內。請注意,複雜度自適應視頻解碼器100-1內的其他組件(例如快速變長解碼與逆量化模組110、逆變換單元120、運動補償模組130、計算單元140、訊框儲存單元160)的實施可與第1A圖所示的複雜度自適應視頻解碼器100內相應的組件相同。在此實施例中,第1B圖中的多個元件也可與第1D圖耦接。簡潔起見,有關此實施例的類似描述此處不再重複。 1D is a block diagram of a complexity adaptive video decoder 100-1 in accordance with a second embodiment of the present invention. This embodiment is a modification of the first embodiment. As shown in FIG. 1D, the aforementioned deblocking filter (for example, loop filter 152) is disposed outside the reconstructed frame output unit 150 of this embodiment, instead of being disposed in the reconstructed frame output unit 150. Inside. Please note that other components in the complexity adaptive video decoder 100-1 (eg, fast variable length decoding and inverse quantization module 110, inverse transform unit 120, motion compensation module 130, computing unit 140, frame storage unit 160) The implementation may be the same as the corresponding components in the complexity adaptive video decoder 100 shown in FIG. 1A. In this embodiment, the plurality of elements in FIG. 1B can also be coupled to the first DD. For the sake of brevity, a similar description of this embodiment will not be repeated here.

依據此實施例的一些變形,複雜度自適應視頻解碼器100-1的至少一部分組件可省略該至少一部分需處理的部分資 訊,以降低解碼輸入位元流108的複雜度。簡潔起見,有關此類變形的類似描述此處不再重複。 According to some variations of this embodiment, at least a portion of the components of the complexity adaptive video decoder 100-1 may omit the at least a portion of the portion of the component to be processed To reduce the complexity of decoding the input bit stream 108. For the sake of brevity, a similar description of such variations will not be repeated here.

第1E圖係依據第二實施例的自適應音頻/視頻播放系統60的方塊示意圖。自適應音頻/視頻播放系統60包含音頻解碼器62和複雜度自適應視頻解碼器100-1。音頻解碼器62係用於執行音頻解碼以產生音頻資訊68。另外,複雜度自適應視頻解碼器100-1可執行第二實施例中所揭示的視頻解碼。請注意,解碼複雜度管理器100M係用於在有需要時對輸入位元流108執行解碼複雜度管理,以及解碼複雜度管理器100M選擇性降低複雜度自適應視頻解碼器100-1內的多個組件中的一部分組件的解碼複雜度。例如,解碼複雜度管理器100M降低複雜度自適應視頻解碼器100-1內的一個或多個組件的解碼複雜度。又例如,解碼複雜度管理器100M延遲音頻資訊68的音頻播放,而不降低複雜度自適應視頻解碼器100-1內任何組件的解碼複雜度。因此,解碼複雜度管理器100M適當延遲自適應音頻/視頻播放系統60的音頻播放,以保持自適應音頻/視頻播放系統60的視頻播放和音頻播放之間的音頻/視頻播放同步,從而解決任何視頻解碼延遲問題。如第1E圖所示,解碼複雜度管理器100M產生至少一控制訊號,例如前述的至少一控制訊號C0,以控制是否延遲音頻資訊68的音頻播放和/或音頻資訊68的音頻播放的延遲量。實際上,解碼複雜度管理器100M可依據例如第1C圖中所示的實施例中所述的輸入位元 流108的位元流資訊、代表處理能力的參數及顯示緩衝器狀態的組合或其中之一,決定延遲音頻資訊68的音頻播放。例如,依據輸入位元流108的位元流資訊、代表處理能力的參數及顯示緩衝器狀態的組合或其中之一,解碼複雜度管理器100M決定是否延遲音頻資訊68的音頻播放。又例如,依據輸入位元流108的位元流資訊、代表處理能力的參數及顯示緩衝器狀態的組合或其中之一,解碼複雜度管理器100M決定音頻資訊68的音頻播放的延遲量。簡潔起見,有關此變形的類似描述此處不再重複。 Figure 1E is a block diagram of an adaptive audio/video playback system 60 in accordance with a second embodiment. The adaptive audio/video playback system 60 includes an audio decoder 62 and a complexity adaptive video decoder 100-1. Audio decoder 62 is operative to perform audio decoding to produce audio information 68. Additionally, the complexity adaptive video decoder 100-1 can perform the video decoding disclosed in the second embodiment. Note that the decoding complexity manager 100M is used to perform decoding complexity management on the input bitstream 108 when needed, and the decoding complexity manager 100M selectively reduces the complexity within the adaptive video decoder 100-1. The decoding complexity of some of the multiple components. For example, the decoding complexity manager 100M reduces the decoding complexity of one or more components within the complexity adaptive video decoder 100-1. As another example, the decoding complexity manager 100M delays audio playback of the audio information 68 without reducing the decoding complexity of any component within the complexity adaptive video decoder 100-1. Accordingly, the decoding complexity manager 100M appropriately delays the audio playback of the adaptive audio/video playback system 60 to maintain the audio/video playback synchronization between the video playback and audio playback of the adaptive audio/video playback system 60, thereby solving any Video decoding delay problem. As shown in FIG. 1E, the decoding complexity manager 100M generates at least one control signal, such as the aforementioned at least one control signal C0, to control whether to delay the audio playback of the audio information 68 and/or the delay of the audio playback of the audio information 68. . In fact, the decoding complexity manager 100M may be based on input bits as described, for example, in the embodiment shown in FIG. 1C. The combination of bit stream information of the stream 108, a parameter representing the processing capability, and a display buffer state, or one of them, determines the audio playback of the delayed audio information 68. For example, based on either or both of the bitstream information of the input bitstream 108, the parameter representing the processing capability, and the display buffer state, the decoding complexity manager 100M determines whether to delay audio playback of the audio information 68. For another example, the decoding complexity manager 100M determines the amount of delay in audio playback of the audio information 68 based on either or both of the bitstream information of the input bitstream 108, the parameter representing the processing capability, and the display buffer state. For the sake of brevity, a similar description of this variant will not be repeated here.

經由使用上述揭示的任何實施例/變形的架構,可調整各個組件的視頻解碼複雜度。例如,在解碼複雜度管理器100M的控制下,第一實施例(或其變形之一)的複雜度自適應視頻解碼器100內或第二實施例(或其變形之一)的複雜度自適應視頻解碼器100-1內的一個或多個組件可依據較低級別的視頻解碼複雜度進行操作。又例如,在解碼複雜度管理器100M的控制下,當決定不需要降低第一實施例(或其變形之一)的複雜度自適應視頻解碼器100內或第二實施例(或其變形之一)的複雜度自適應視頻解碼器100-1內任何組件的解碼複雜度時,複雜度自適應視頻解碼器100或複雜度自適應視頻解碼器100-1內的所有組件可依據最高級別的視頻解碼複雜度進行操作。參照第2圖,更多的細節進一步描述如下。 The video decoding complexity of the various components can be adjusted via the architecture using any of the embodiments/variations disclosed above. For example, under the control of the decoding complexity manager 100M, the complexity of the first embodiment (or one of its variants) within the adaptive video decoder 100 or the second embodiment (or one of its variants) is One or more components within adaptive video decoder 100-1 may operate in accordance with lower levels of video decoding complexity. For another example, under the control of the decoding complexity manager 100M, when it is decided that there is no need to reduce the complexity of the first embodiment (or one of its variants) within the adaptive video decoder 100 or the second embodiment (or its variant a) Complexity When decoding the complexity of any component within video decoder 100-1, all components within complexity adaptive video decoder 100 or complexity adaptive video decoder 100-1 may be based on the highest level Video decoding complexity operates. Referring to Figure 2, further details are further described below.

第2圖係依據本發明的一實施例的自適應視頻解碼方法910的流程圖。自適應視頻解碼方法910可適用於第1A圖和第1B圖所示的複雜度自適應視頻解碼器100或第1D圖所示的複雜度自適應視頻解碼器100-1,更特別地,適用於上述任何實施例/變形所揭示的解碼複雜度管理器100M。自適應視頻解碼方法910的描述如下。 2 is a flow diagram of an adaptive video decoding method 910 in accordance with an embodiment of the present invention. The adaptive video decoding method 910 can be applied to the complexity adaptive video decoder 100 shown in FIGS. 1A and 1B or the complexity adaptive video decoder 100-1 shown in FIG. 1D, and more particularly, The decoding complexity manager 100M disclosed in any of the embodiments/variations described above. The description of adaptive video decoding method 910 is as follows.

在步驟S912中,解碼複雜度管理器100M基於考量中的複雜度自適應視頻解碼器(例如第一實施例的複雜度自適應視頻解碼器100或第二實施例的複雜度自適應視頻解碼器100-1)的輸入位元流108執行解碼複雜度管理,以決定是否降低上述複雜度自適應視頻解碼器內多個組件中的至少一組件的解碼複雜度。例如,該多個組件可包含快速VLD與逆量化模組110、逆變換單元120、運動補償模組130、重構訊框輸出單元150、前述的解區塊濾波器(例如迴路濾波器152)以及顯示時間調整驅動器175。 In step S912, the decoding complexity manager 100M adapts the video decoder based on the complexity in the consideration (for example, the complexity adaptive video decoder 100 of the first embodiment or the complexity adaptive video decoder of the second embodiment) The input bitstream 108 of 100-1) performs decoding complexity management to determine whether to reduce the decoding complexity of at least one of the plurality of components within the complexity adaptive video decoder. For example, the plurality of components may include a fast VLD and inverse quantization module 110, an inverse transform unit 120, a motion compensation module 130, a reconstructed frame output unit 150, and the aforementioned deblocking filter (eg, loop filter 152). And display time adjustment driver 175.

在步驟S914中,解碼複雜度管理器100M選擇性降低步驟S912中所述的複雜度自適應視頻解碼器內多個組件中的一部分組件的解碼複雜度。例如,解碼複雜度管理器100M在特定時間點可選擇性地降低快速VLD與逆量化模組110、逆變換單元120、運動補償模組130、重構訊框輸出單元150、前述的解區塊濾波器(例如迴路濾波器152)及顯示時間調整驅動器 175中的至少一部分(例如一部分或全部)的解碼複雜度。又例如,解碼複雜度管理器100M在另一時間點不降低快速VLD與逆量化模組110、逆變換單元120、運動補償模組130、重構訊框輸出單元150、前述的解區塊濾波器(例如迴路濾波器152)及顯示時間調整驅動器175中任何一個的解碼複雜度。 In step S914, the decoding complexity manager 100M selectively reduces the decoding complexity of some of the plurality of components within the complexity adaptive video decoder described in step S912. For example, the decoding complexity manager 100M can selectively reduce the fast VLD and inverse quantization module 110, the inverse transform unit 120, the motion compensation module 130, the reconstructed frame output unit 150, and the aforementioned solution block at a specific time point. Filter (eg loop filter 152) and display time adjustment driver The decoding complexity of at least a portion (e.g., a portion or all) of 175. For another example, the decoding complexity manager 100M does not reduce the fast VLD and inverse quantization module 110, the inverse transform unit 120, the motion compensation module 130, the reconstructed frame output unit 150, and the aforementioned deblocking filtering at another time point. The decoding complexity of any of the devices (e.g., loop filter 152) and display time adjustment driver 175.

依據此實施例,解碼複雜度管理器100M可經由參考顯示緩衝器180的顯示緩衝器狀態、步驟S912中所述的複雜度自適應視頻解碼器的一個或多個代表處理能力的參數以及輸入位元流108的位元流資訊的組合或其中之一來執行解碼複雜度管理,其中,位元流資訊可包含位元率、解析度和/或訊框類型。位元流資訊在一些其他實例中可包含多個運動向量、多個殘差(residual)、多個IDCT係數、位元流長度或可獲得的位元流資訊,其中,多個殘差可例如直流電流(Direct Current,DC)值,可獲得的位元流資訊可基於例如比較和/或歷史統計由上述已知位元流的資訊所獲得。在一實施例中,解碼複雜度管理器100M依據多個運動向量的變化調整解碼複雜度。代表處理能力的參數可包含每個訊框所需的解碼時間的統計,例如,解碼複雜度管理器100M可使用每個訊框的平均解碼時間以判斷當前系統能力,從而適應性調整解碼複雜度。特別地,解碼複雜度管理器100M可基於前述的顯示緩衝器180的顯示緩衝器狀態、前述的至少一參數以及輸入位元流108的位元流資訊的全部執行解碼複雜度管理。 According to this embodiment, the decoding complexity manager 100M can refer to the display buffer state of the display buffer 180, the parameters of the one or more representative processing capabilities of the complexity adaptive video decoder described in step S912, and the input bits. The decoding complexity management is performed by a combination or one of the bit stream information of the meta-stream 108, wherein the bit stream information may include a bit rate, a resolution, and/or a frame type. The bitstream information may include a plurality of motion vectors, a plurality of residuals, a plurality of IDCT coefficients, a bitstream length, or available bitstream information in some other instances, wherein the plurality of residuals may be, for example The direct current (DC) value, the available bit stream information can be obtained from the information of the known bit stream based on, for example, comparison and/or historical statistics. In an embodiment, the decoding complexity manager 100M adjusts the decoding complexity based on changes in the plurality of motion vectors. The parameter representing the processing capability may include statistics of the decoding time required for each frame. For example, the decoding complexity manager 100M may use the average decoding time of each frame to determine the current system capability, thereby adaptively adjusting the decoding complexity. . In particular, the decoding complexity manager 100M may perform decoding complexity management based on the aforementioned display buffer state of the display buffer 180, the aforementioned at least one parameter, and all of the bitstream information of the input bitstream 108.

第3圖係依據本發明一實施例的解碼複雜度管理器100M可觸發的一些操作示意圖,其中,這些操作係關於如第2圖所示的自適應視頻解碼方法910的解碼複雜度管理。例如,解碼複雜度管理器100M可觸發的操作包含:顯示時間調整、丟棄訊框、解區塊濾波器複雜度調整、運動補償複雜度調整(在第3圖中標記為「MC複雜度調整」)、訊框內預測複雜度調整、逆變換複雜度調整以及VLD複雜度調整。基於前述的顯示緩衝器180的顯示緩衝器狀態、代表處理能力的參數以及輸入位元流108的位元流資訊的組合或其中之一,解碼複雜度管理器100M執行解碼複雜度管理,並選擇性地觸發這些操作中的一個或多個。 3 is a schematic diagram of some operations that may be triggered by the decoding complexity manager 100M in accordance with an embodiment of the present invention, wherein the operations are related to the decoding complexity management of the adaptive video decoding method 910 as shown in FIG. For example, the operations that the decoding complexity manager 100M can trigger include display time adjustment, discard frame, deblocking block complexity adjustment, and motion compensation complexity adjustment (marked as "MC complexity adjustment" in FIG. ), intra-frame prediction complexity adjustment, inverse transform complexity adjustment, and VLD complexity adjustment. Based on the aforementioned display buffer status of the display buffer 180, a parameter representing the processing capability, and a combination of bit stream information of the input bit stream 108, the decoding complexity manager 100M performs decoding complexity management and selects One or more of these operations are triggered sexually.

第4圖係依據本發明一實施例的解碼複雜度管理器100M可觸發的一些操作/步驟的相關品質和處理速度的示意圖,其中,這些操作係關於如第2圖所示的自適應視頻解碼方法910的解碼複雜度管理。例如,這些操作/步驟可包含:標準解碼流程、自適應雙向訊框(Bi-directional frame,B frame)(以下簡稱為“B訊框”)解區塊(即自適應執行全部或部分B訊框解區塊或跳過B訊框解區塊,其中B訊框解區塊指對多個B訊框執行解區塊操作)、B訊框簡化運動補償(在第4圖中標記為「B訊框簡化MC」)、快速B訊框解碼(例如在降低取樣域中解碼B訊框)、丟棄B訊框、自適應預測訊框(Predictive frame, P frame)(以下簡稱為“P訊框”)解區塊(例如,自適應執行全部或部分P訊框解區塊或跳過P訊框解區塊,其中P訊框解區塊指對多個P訊框執行解區塊操作)、P訊框簡化運動補償(在第4圖中標記為「P訊框簡化MC」)、快速P訊框解碼、丟棄P訊框、自適應訊框內(Intra frame,I frame)(以下簡稱為“I訊框”)解區塊(例如,自適應執行全部或部分I訊框解區塊或跳過I訊框解區塊,其中I訊框解區塊指對多個I訊框執行解區塊操作)以及快速I訊框解碼。所舉之例僅為說明之用,本發明並非以此為限。垂直軸上的「品質」標記可表示影像品質、流暢度、使用者感知度、系統資源節約度或各種品質指標的綜合評價。依據此實施例的一些變形,相應於這些操作/步驟的品質和處理速度在不同情況下可有所不同。例如,在第4圖所示的操作/步驟中,丟棄B訊框的操作/步驟可插入在標準解碼流程的操作/步驟和自適應B訊框解區塊的操作/步驟之間。又例如,在第4圖所示的操作/步驟中,自適應I訊框解區塊的操作/步驟可插入在P訊框簡化運動補償的操作/步驟和快速P訊框解碼的操作/步驟之間。又例如,在第4圖所示的操作/步驟中,丟棄P訊框的操作/步驟可鄰近快速I訊框解碼的操作/步驟,因此,成為第4圖所示的操作/步驟中最底層的一個操作/步驟。 4 is a schematic diagram showing the correlation quality and processing speed of some operations/steps that can be triggered by the decoding complexity manager 100M according to an embodiment of the present invention, wherein the operations are related to adaptive video decoding as shown in FIG. The decoding complexity management of method 910. For example, the operations/steps may include: a standard decoding process, a Bi-directional frame (B frame) (hereinafter referred to as a "B-frame") solution block (ie, adaptively executing all or part of the B-channel) Block the block or skip the B frame to solve the block, where the B frame is to solve the block operation on multiple B frames), and the B frame is simplified motion compensation (marked as "Figure 4" B frame simplifies MC"), fast B frame decoding (for example, decoding B frames in the reduced sampling domain), discarding B frames, and adaptive predictive frames (Predictive frames, P frame) (hereinafter referred to as "P-frame") solution block (for example, adaptively executing all or part of the P-frame deblocking or skipping the P-frame deblocking, where the P-frame deblocking refers to the block Multiple P-frames perform deblocking operations), P-frames simplify motion compensation (marked as "P-frame simplification MC" in Figure 4), fast P-frame decoding, discarding P-frames, adaptive frames Intra frame (I frame) (hereinafter referred to as "I frame") solution block (for example, adaptively executing all or part of the I frame deblocking or skipping the I frame deblocking block, where the I frame Deblocking refers to performing deblocking operations on multiple I-frames and fast I-frame decoding. The examples are for illustrative purposes only and the invention is not limited thereto. The "Quality" mark on the vertical axis can represent a comprehensive evaluation of image quality, fluency, user perception, system resource conservation, or various quality indicators. According to some variations of this embodiment, the quality and processing speed corresponding to these operations/steps may vary in different situations. For example, in the operation/step shown in FIG. 4, the operation/step of discarding the B frame can be inserted between the operation/step of the standard decoding process and the operation/step of the adaptive B frame demapping block. For another example, in the operation/step shown in FIG. 4, the operation/step of the adaptive I-frame deblocking can be inserted into the P-frame simplified motion compensation operation/step and the fast P-frame decoding operation/step between. For another example, in the operation/step shown in FIG. 4, the operation/step of discarding the P frame can be adjacent to the operation/step of the fast I frame decoding, and thus becomes the lowest level of the operation/step shown in FIG. An operation/step.

在此實施例中,基於第一策略-實現可得的最佳品質,當視頻解碼延遲問題不是癥結所在時,解碼複雜度管理器100M 可觸發標準解碼流程的操作/步驟。然而,當確定會發生視頻解碼的延遲時(例如發現硬體資源不足和/或解碼工作量大於預設的閾值),解碼複雜度管理器100M可觸發一個或多個操作/步驟,以防止嚴重的視頻解碼延遲,並實現當前情況下解碼器可提供的最佳品質。例如,在第4圖所示的操作/步驟中,解碼複雜度管理器100M可觸發下一適當的操作/步驟(例如自適應B訊框解區塊的操作/步驟,B訊框簡化運動補償的操作/步驟等),以釋放硬體資源和/或減少解碼工作量,其中,當降低解碼複雜度時,相應於較高品質級別的操作/步驟擁有較高的執行優先權,而相應於較低品質級別的操作/步驟會在最後執行。所舉之例僅為說明之用,本發明並非以此為限。依據此實施例的變形,解碼複雜度管理器100M可基於第二策略-實現預設的品質級別進行操作,而不是基於實現最佳品質進行操作。依據此實施例的一些其他變形,解碼複雜度管理器100M可基於實現最快處理速度或預設的處理速度的一些策略進行操作。 In this embodiment, based on the first policy - achieving the best quality available, when the video decoding delay problem is not the crux of the problem, the decoding complexity manager 100M The actions/steps that trigger the standard decoding process. However, when it is determined that a delay in video decoding will occur (eg, insufficient hardware resources are found and/or the decoding effort is greater than a predetermined threshold), the decoding complexity manager 100M may trigger one or more operations/steps to prevent serious The video decode delays and achieves the best quality that the decoder can provide in the current situation. For example, in the operation/step shown in FIG. 4, the decoding complexity manager 100M can trigger the next appropriate operation/step (for example, the operation/step of the adaptive B frame deblocking, the B frame simplifies the motion compensation). Operations/steps, etc.) to free up hardware resources and/or reduce decoding effort, wherein when decoding complexity is reduced, operations/steps corresponding to higher quality levels have higher execution priority, corresponding to Lower quality level operations/steps will be performed at the end. The examples are for illustrative purposes only and the invention is not limited thereto. According to a variation of this embodiment, the decoding complexity manager 100M can operate based on the second policy-implementing a predetermined quality level, rather than operating based on achieving optimal quality. According to some other variations of this embodiment, the decoding complexity manager 100M can operate based on some strategies that implement the fastest processing speed or preset processing speed.

第5圖係依據本發明另一實施例的解碼複雜度管理器100M可觸發的一些操作/步驟的相關品質和處理速度的示意圖,其中,這些操作係關於如第2圖所示的自適應視頻解碼方法910的解碼複雜度管理。特別地,此實施例中考量的操作/步驟包含:正常解區塊、簡單解區塊以及禁用解區塊。請注意,解碼複雜度管理器100M的控制機制可依據多個預設的閾值 (例如,第5圖所示的兩個閾值T1和T2)在這些操作/步驟之間進行切換,其中,預設的閾值T1和T2代表品質的相應級別。 5 is a schematic diagram showing the correlation quality and processing speed of some operations/steps that can be triggered by the decoding complexity manager 100M according to another embodiment of the present invention, wherein the operations are related to the adaptive video as shown in FIG. Decoding complexity management of decoding method 910. In particular, the operations/steps considered in this embodiment include: normal deblocking, simple deblocking, and disabling of the deblocking. Please note that the control mechanism of the decoding complexity manager 100M can be based on a plurality of preset thresholds. (For example, the two thresholds T1 and T2 shown in FIG. 5) are switched between these operations/steps, wherein the preset thresholds T1 and T2 represent respective levels of quality.

第6圖係依據本發明另一實施例的解碼複雜度管理器100M在不同情況下可觸發的一些操作/步驟的示意圖,這些操作係關於如第2圖所示的自適應視頻解碼方法910的解碼複雜度管理。特別地,此實施例中考量的操作/步驟包含:停止B訊框解區塊、停止P訊框解區塊、啟動自適應P訊框解區塊、啟動自適應I訊框解區塊以及停止解區塊。請注意,解碼複雜度管理器100M的控制機制可依據多個預設的閾值(例如,第6圖所示的三個閾值TI、TP和TB)在這些操作/步驟之間進行切換,其中,預設的閾值TI、TP和TB代表顯示緩衝器狀態的相應級別。在此實施例中,預設的閾值TI、TP和TB分別用於決定是否啟動/停止B訊框解區塊、P訊框解區塊以及I訊框解區塊。特別地,在顯示緩衝器180為滿或幾乎為滿的情況下,解碼複雜度管理器100M不停止I訊框解區塊、P訊框解區塊以及B訊框解區塊的任何一個。相反地,在顯示緩衝器180為空或幾乎為空的情況下,解碼複雜度管理器100M停止I訊框解區塊、P訊框解區塊以及B訊框解區塊的每一個。 Figure 6 is a schematic diagram of some operations/steps that the decoding complexity manager 100M can trigger in different situations in accordance with another embodiment of the present invention, relating to the adaptive video decoding method 910 as shown in Figure 2; Decoding complexity management. In particular, the operations/steps considered in this embodiment include: stopping the B frame to solve the block, stopping the P frame to solve the block, starting the adaptive P frame to solve the block, starting the adaptive I frame solution block, and Stop solving the block. Please note that the control mechanism of the decoding complexity manager 100M can switch between these operations/steps according to a plurality of preset thresholds (for example, three thresholds T I , T P and T B shown in FIG. 6 ). Wherein the preset thresholds T I , T P and T B represent respective levels of display buffer status. In this embodiment, the preset thresholds T I , T P and T B are respectively used to determine whether to start/stop the B frame deblock, the P frame deblock, and the I frame deblock. In particular, in the event that display buffer 180 is full or nearly full, decoding complexity manager 100M does not stop any of the I-frame deblocking, P-frame deblocking, and B-frame deblocking. Conversely, in the event that display buffer 180 is empty or nearly empty, decoding complexity manager 100M stops each of the I-frame deblocking, P-frame deblocking, and B-frame deblocking.

更具體地,在顯示緩衝器180的緩衝器狀態(更特別地,顯示緩衝器180的緩衝級別)在預設的閾值TP和TB之間的情況下,解碼複雜度管理器100M停止B訊框解區塊,並觸發啟 動自適應P訊框解區塊的操作/步驟(即具有複雜度自適應的P訊框解區塊)。另外,在顯示緩衝器180的緩衝器狀態(更特別地,顯示緩衝器180的緩衝級別)在預設的閾值TI和TP之間的情況下,解碼複雜度管理器100M停止P訊框解區塊和B訊框解區塊,並觸發啟動自適應I訊框解區塊的操作/步驟(即具有複雜度自適應的I訊框解區塊)。另外,在顯示緩衝器180的緩衝器狀態(更特別地,顯示緩衝器180的緩衝級別)在預設的閾值TI和0之間的情況下,解碼複雜度管理器100M停止I訊框解區塊、P訊框解區塊和B訊框解區塊。 More specifically, in the case where the buffer state of the display buffer 180 (more specifically, the buffer level of the display buffer 180) is between the preset thresholds T P and T B , the decoding complexity manager 100M stops B. The frame deblocks the block and triggers the operation/step of starting the adaptive P-frame to solve the block (ie, the P-frame solution block with complexity adaptation). In addition, in the case where the buffer state of the display buffer 180 (more specifically, the buffer level of the display buffer 180) is between the preset thresholds T I and T P , the decoding complexity manager 100M stops the P frame. The block and the B frame are decoded, and the operation/step of starting the adaptive I frame decoding block (ie, the I-frame solution block with complexity adaptation) is triggered. In addition, in the case where the buffer state of the display buffer 180 (more specifically, the buffer level of the display buffer 180) is between the preset thresholds T I and 0, the decoding complexity manager 100M stops the I frame solution. Block, P-frame solution block and B-frame solution block.

在此實施例中,關於複雜度自適應解區塊的控制機制,解碼複雜度管理器100M可基於巨集區塊(Macroblock,MB)为基礎的解區塊方案进行操作。例如,解碼複雜度管理器100M可依據緩衝器狀態和輸入位元流108的至少一部分(例如一部分或全部)的位元流長度,自適應啟動/停止I訊框解區塊、P訊框解區塊和/或B訊框解區塊。所舉之例僅為說明之用,本發明並非以此為限。依據此實施例的變形,關於複雜度自適應解區塊的控制機制,解碼複雜度管理器100M可基於訊框为基礎的解區塊方案进行操作。例如,解碼複雜度管理器100M可依據緩衝器狀態、輸入位元流108的至少一部分(例如一部分或全部)的位元流長度、量化步长、MB類型和/或邊緣強度來自適應地啟動/停止I訊框解區塊、P訊框解區塊和/或B訊框解 區塊,其中,量化步長即所謂的量化參數(Quantization Parameter,QP)值。 In this embodiment, with respect to the control mechanism of the complexity adaptive deblocking, the decoding complexity manager 100M can operate based on a macroblock (MB) based deblocking scheme. For example, the decoding complexity manager 100M can adaptively start/stop the I-frame deblocking, P-frame solution according to the buffer status and the bit stream length of at least a portion (eg, part or all) of the input bit stream 108. Block and / or B frame to solve the block. The examples are for illustrative purposes only and the invention is not limited thereto. According to a variation of this embodiment, with respect to the control mechanism of the complexity adaptive deblocking, the decoding complexity manager 100M can operate based on the frame-based deblocking scheme. For example, the decoding complexity manager 100M can be adaptively enabled according to the buffer status, the bit stream length of at least a portion (eg, a portion or all) of the input bit stream 108, the quantization step size, the MB type, and/or the edge strength. Stop I frame decryption block, P frame solution block and / or B frame solution A block in which the quantization step size is a so-called Quantization Parameter (QP) value.

本發明的優勢在於,上述揭示的每個實施例/變形的自適應視頻解碼方法、相關的複雜度自適應視頻解碼器及相應的自適應音頻/視頻播放系統可適用於各種數位視頻應用,其中,複雜度自適應視頻解碼器內多個組件中的至少一部分(例如一部分或全部)可以低級別的視頻解碼複雜度進行操作。由於可調整一個或多個組件的視頻解碼複雜度,解碼工作量和相應的功率消耗可自適應地減少。因此,與相關的技藝相比,本發明為實現數位視頻播放系統提供了的極大靈活性。 An advantage of the present invention is that each of the embodiments/variable adaptive video decoding methods, associated complexity adaptive video decoders, and corresponding adaptive audio/video playback systems disclosed above are applicable to a variety of digital video applications, wherein At least a portion (eg, a portion or all) of the plurality of components within the complexity adaptive video decoder may operate at a low level of video decoding complexity. Since the video decoding complexity of one or more components can be adjusted, the decoding effort and corresponding power consumption can be adaptively reduced. Thus, the present invention provides great flexibility in implementing digital video playback systems as compared to related art.

上述之實施例僅用於例舉本發明之實施態樣,以及闡釋本發明之技術特徵,並非用於限制本發明之範疇。任何習知技藝者可依據本發明之精神輕易完成之改變或均等性之安排均屬於本發明所主張之範圍,本發明之權利範圍應以申請專利範圍為準。 The embodiments described above are only intended to illustrate the embodiments of the present invention, and to illustrate the technical features of the present invention, and are not intended to limit the scope of the present invention. It is intended that the present invention be construed as being limited by the scope of the invention.

100‧‧‧複雜度自適應視頻解碼器 100‧‧‧Complexity Adaptive Video Decoder

108‧‧‧輸入位元流 108‧‧‧Input bit stream

110‧‧‧快速VLD與逆量化模組 110‧‧‧Fast VLD and inverse quantization module

118‧‧‧逆量化結果 118‧‧‧ inverse quantified results

120‧‧‧逆變換單元 120‧‧‧ inverse transformation unit

128‧‧‧逆變換結果 128‧‧‧ inverse transformation results

130‧‧‧MC模組 130‧‧‧MC module

132‧‧‧時間預測單元 132‧‧‧Time prediction unit

134‧‧‧空間預測單元 134‧‧‧ Spatial Prediction Unit

138‧‧‧預測輸出結果 138‧‧‧Predicted output

140‧‧‧計算 單元 140‧‧‧ Calculation unit

148‧‧‧補償輸出結果 148‧‧‧Compensation output

150‧‧‧重構訊框輸出單元 150‧‧‧Reconstruction frame output unit

152‧‧‧迴路濾波器 152‧‧‧ Loop Filter

158‧‧‧重構訊框 158‧‧‧Reconstruction frame

160‧‧‧訊框儲存單元 160‧‧‧ Frame storage unit

170‧‧‧縮放器 170‧‧‧Scaler

175‧‧‧顯示時間調整驅動器 175‧‧‧Display time adjustment drive

178‧‧‧影像訊框 178‧‧‧Image frame

180‧‧‧顯示緩衝器 180‧‧‧ display buffer

188‧‧‧輸出訊框 188‧‧‧Output frame

100M‧‧‧解碼複雜度管理器 100M‧‧‧Decoding Complexity Manager

50‧‧‧自適應音頻/視頻播放系統 50‧‧‧Adaptive audio/video playback system

52‧‧‧音頻解碼器 52‧‧‧Audio decoder

58‧‧‧音頻資訊 58‧‧‧Audio information

100-1‧‧‧複雜度自適應視頻解碼器 100-1‧‧‧Complexity Adaptive Video Decoder

62‧‧‧音頻解碼器 62‧‧‧Audio decoder

68‧‧‧音頻資訊 68‧‧‧Audio information

910‧‧‧自適應視頻解碼方法 910‧‧‧Adaptive video decoding method

C1-C7‧‧‧控制信號 C1-C7‧‧‧ control signal

S912-S914‧‧‧步驟 S912-S914‧‧‧Steps

第1A圖係依據本發明第一實施例的複雜度自適應視頻解碼器的方塊示意圖。 Figure 1A is a block diagram of a complexity adaptive video decoder in accordance with a first embodiment of the present invention.

第1B圖係依據本發明第一實施例的複雜度自適應視頻解碼器的方塊示意圖。 1B is a block diagram of a complexity adaptive video decoder in accordance with a first embodiment of the present invention.

第1C圖係依據第一實施例的自適應音頻/視頻播放系統的方塊示意圖。 1C is a block diagram of an adaptive audio/video playback system in accordance with the first embodiment.

第1D圖係依據本發明第二實施例的複雜度自適應視頻解碼器的方塊示意圖。 1D is a block diagram of a complexity adaptive video decoder in accordance with a second embodiment of the present invention.

第1E圖係依據第二實施例的自適應音頻/視頻播放系統的方塊示意圖。 Figure 1E is a block diagram of an adaptive audio/video playback system in accordance with a second embodiment.

第2圖係依據本發明的一實施例的自適應視頻解碼方法的流程圖。 2 is a flow chart of an adaptive video decoding method in accordance with an embodiment of the present invention.

第3圖係依據本發明一實施例的解碼複雜度管理器可觸發的一些操作示意圖。 FIG. 3 is a schematic diagram of some operations that can be triggered by the decoding complexity manager according to an embodiment of the invention.

第4圖係依據本發明一實施例的解碼複雜度管理器可觸發的一些操作/步驟的相關品質和處理速度的示意圖。 Figure 4 is a schematic illustration of the correlation quality and processing speed of some of the operations/steps that the decoding complexity manager can trigger in accordance with an embodiment of the present invention.

第5圖係依據本發明另一實施例的解碼複雜度管理器可觸發的一些操作/步驟的相關品質和處理速度的示意圖。 Figure 5 is a schematic illustration of the correlation quality and processing speed of some of the operations/steps that the decoding complexity manager can trigger in accordance with another embodiment of the present invention.

第6圖係依據本發明另一實施例的解碼複雜度管理器在不同情況下可觸發的一些操作/步驟的示意圖。 Figure 6 is a schematic illustration of some of the operations/steps that the decoding complexity manager can trigger in different situations in accordance with another embodiment of the present invention.

100‧‧‧複雜度自適應視頻解碼器 100‧‧‧Complexity Adaptive Video Decoder

108‧‧‧輸入位元流 108‧‧‧Input bit stream

110‧‧‧快速VLD與逆量化模組 110‧‧‧Fast VLD and inverse quantization module

118‧‧‧逆量化結果 118‧‧‧ inverse quantified results

120‧‧‧逆變換單元 120‧‧‧ inverse transformation unit

128‧‧‧逆變換結果 128‧‧‧ inverse transformation results

130‧‧‧MC模組 130‧‧‧MC module

132‧‧‧時間預測單元 132‧‧‧Time prediction unit

134‧‧‧空間預測單元 134‧‧‧ Spatial Prediction Unit

138‧‧‧預測輸出結果 138‧‧‧Predicted output

140‧‧‧計算單元 140‧‧‧Computation unit

148‧‧‧補償輸出結果 148‧‧‧Compensation output

150‧‧‧重構訊框輸出單元 150‧‧‧Reconstruction frame output unit

152‧‧‧迴路濾波器 152‧‧‧ Loop Filter

158‧‧‧重構訊框 158‧‧‧Reconstruction frame

C1、C2、C3、C5、C6‧‧‧控制信號 C1, C2, C3, C5, C6‧‧‧ control signals

160‧‧‧訊框儲存單元 160‧‧‧ Frame storage unit

Claims (27)

一種自適應視頻解碼方法,包含:基於一複雜度自適應視頻解碼器的一輸入位元流的位元流資訊,執行不同之解碼複雜度管理,以決定是否降低該複雜度自適應視頻解碼器內多個組件的解碼複雜度;以及選擇性降低該複雜度自適應視頻解碼器內該多個組件中的解碼複雜度;其中,該多個組件包含:一快速變長解碼與逆量化模組,用於對該輸入位元流執行快速變長解碼與逆量化,以產生多個逆量化結果;以及一運動補償模組,用於依據該輸入位元流執行運動補償並產生相應的多個預測輸出結果,其中該運動補償模組包含一時間預測單元以及一空間預測單元,該時間預測單元用於執行時間預測以產生該多個預測輸出結果的至少一部分;以及該空間預測單元用於執行空間預測以產生該多個預測輸出結果的至少一部分。 An adaptive video decoding method includes: performing different decoding complexity management based on bit stream information of an input bit stream of a complexity adaptive video decoder to determine whether to reduce the complexity adaptive video decoder Decoding complexity of multiple components; and selectively reducing decoding complexity in the plurality of components in the adaptive video decoder; wherein the plurality of components include: a fast variable length decoding and inverse quantization module And performing fast variable length decoding and inverse quantization on the input bit stream to generate a plurality of inverse quantization results; and a motion compensation module configured to perform motion compensation according to the input bit stream and generate corresponding multiples Predicting an output result, wherein the motion compensation module includes a temporal prediction unit and a spatial prediction unit, the temporal prediction unit is configured to perform temporal prediction to generate at least a portion of the plurality of predicted output results; and the spatial prediction unit is configured to perform Spatial prediction to generate at least a portion of the plurality of predicted output results. 如申請專利範圍第1項所述之自適應視頻解碼方法,其中,該多個組件包含:一逆變換單元,用於對該多個逆量化結果執行逆變換,以產生多個逆變換結果;一計算單元,用於合計該多個逆變換結果和該多個預測 輸出結果以產生多個補償輸出結果;一重構訊框輸出單元,用於依據該多個補償輸出結果產生多個重構訊框,其中,該空間預測單元依據該多個重構訊框的一當前重構訊框執行空間預測;以及一訊框儲存單元,用於臨時儲存該多個重構訊框的至少一部分,其中,該時間預測單元依據該多個重構訊框的該至少一部分執行時間預測。 The adaptive video decoding method of claim 1, wherein the plurality of components comprise: an inverse transform unit, configured to perform inverse transform on the plurality of inverse quantization results to generate a plurality of inverse transform results; a computing unit, configured to aggregate the plurality of inverse transform results and the plurality of predictions Outputting a result to generate a plurality of compensated output results; a reconstructed frame output unit, configured to generate a plurality of reconstructed frames according to the plurality of compensated output results, wherein the spatial prediction unit is configured according to the plurality of reconstructed frames a current reconstructed frame performs spatial prediction; and a frame storage unit configured to temporarily store at least a portion of the plurality of reconstructed frames, wherein the temporal prediction unit is based on the at least a portion of the plurality of reconstructed frames Perform time predictions. 如申請專利範圍第1項所述之自適應視頻解碼方法,其中,該多個組件包含:一顯示緩衝器,用於臨時儲存多個影像訊框;其中,該執行解碼複雜度管理的步驟包含:基於該顯示緩衝器的一顯示緩衝器狀態,執行解碼複雜度管理。 The adaptive video decoding method of claim 1, wherein the plurality of components comprise: a display buffer for temporarily storing a plurality of video frames; wherein the step of performing decoding complexity management comprises : Performing decoding complexity management based on a display buffer state of the display buffer. 如申請專利範圍第1項所述之自適應視頻解碼方法,其中,該執行解碼複雜度管理的步驟包含:產生至少一控制訊號,以控制該複雜度自適應視頻解碼器內該多個組件中的該部分組件的解碼複雜度。 The adaptive video decoding method of claim 1, wherein the step of performing decoding complexity management comprises: generating at least one control signal to control the plurality of components in the complexity adaptive video decoder The decoding complexity of this part of the component. 如申請專利範圍第1項所述之自適應視頻解碼方法,其中,該多個組件包含:一顯示時間調整驅動器,其中,在該顯示時間調整驅動器的控制下,輸出臨時儲存在一顯示緩衝器中的多個影像訊 框作為多個輸出訊框,該多個輸出訊框用於分別在相應音頻資訊的音頻播放的多個時間點上進行顯示。 The adaptive video decoding method of claim 1, wherein the plurality of components comprise: a display time adjustment driver, wherein the output is temporarily stored in a display buffer under the control of the display time adjustment driver Multiple video messages The frame serves as a plurality of output frames for respectively displaying at a plurality of time points of audio playback of the corresponding audio information. 如申請專利範圍第2項所述之自適應視頻解碼方法,其中,該時間預測單元依據該多個重構訊框的一解析度進行操作,以降低執行時間預測的複雜度。 The adaptive video decoding method of claim 2, wherein the time prediction unit operates according to a resolution of the plurality of reconstructed frames to reduce the complexity of performing time prediction. 如申請專利範圍第2項所述之自適應視頻解碼方法,其中,該空間預測單元依據該多個重構訊框的一解析度進行操作,以降低執行空間預測的複雜度;以及該空間預測單元進一步估計已省略的部分資訊中可用於執行空間預測的至少一部分。 The adaptive video decoding method according to claim 2, wherein the spatial prediction unit operates according to a resolution of the plurality of reconstructed frames to reduce complexity of performing spatial prediction; and the spatial prediction The unit further estimates that at least a portion of the partially excluded information can be used to perform spatial prediction. 如申請專利範圍第2項所述之自適應視頻解碼方法,其中,該逆變換單元依據該多個重構訊框的一解析度進行操作,以降低執行該逆變換的複雜度;以及該逆變換單元省略該逆變換的多個計算的一部分。 The adaptive video decoding method of claim 2, wherein the inverse transform unit operates according to a resolution of the plurality of reconstructed frames to reduce complexity of performing the inverse transform; and the inverse The transform unit omits a part of the plurality of calculations of the inverse transform. 如申請專利範圍第2項所述之自適應視頻解碼方法,其中,該重構訊框輸出單元依據該多個重構訊框的一解析度進行操作,以降低產生該多個重構訊框的複雜度。 The adaptive video decoding method of claim 2, wherein the reconstructed frame output unit operates according to a resolution of the plurality of reconstructed frames to reduce generation of the plurality of reconstructed frames The complexity. 如申請專利範圍第2項所述之自適應視頻解碼方法,其中,該快速變長解碼與逆量化模組依據該多個重構訊框的一 解析度進行操作以降低執行快速變長解碼與逆量化的複雜度;以及該快速變長解碼與逆量化模組在解碼期間使用包含一主表和至少一子表的一查找表,且該主表的一使用概率大於該至少一子表的一使用概率。 The adaptive video decoding method according to claim 2, wherein the fast variable length decoding and inverse quantization module are based on one of the plurality of reconstructed frames The resolution operates to reduce the complexity of performing fast variable length decoding and inverse quantization; and the fast variable length decoding and inverse quantization module uses a lookup table including a primary table and at least one child table during decoding, and the primary A usage probability of the table is greater than a usage probability of the at least one sub-table. 如申請專利範圍第1項所述之自適應視頻解碼方法,其中,該執行解碼複雜度管理的步驟包含:基於代表該複雜度自適應視頻解碼器的處理能力的至少一參數,執行解碼複雜度管理。 The adaptive video decoding method of claim 1, wherein the performing the decoding complexity management comprises: performing decoding complexity based on at least one parameter representing a processing capability of the complexity adaptive video decoder management. 如申請專利範圍第1項所述之自適應視頻解碼方法,其中,該輸入位元流的該位元流資訊包含一位元率、一解析度以及一訊框類型的一組合或其中之一。 The adaptive video decoding method of claim 1, wherein the bit stream information of the input bit stream comprises a combination of one bit rate, one resolution, and one frame type or one of . 如申請專利範圍第1項所述之自適應視頻解碼方法,其中,該輸入位元流的該位元流資訊包含多個運動向量、多個殘差以及位元流長度的一組合或其中之一。 The adaptive video decoding method of claim 1, wherein the bit stream information of the input bit stream comprises a plurality of motion vectors, a plurality of residuals, and a combination of bit stream lengths or One. 一種複雜度自適應視頻解碼器,包含:多個組件,用於執行與視頻解碼相關的多個操作;以及一解碼複雜度管理器,用於基於一輸入位元流的位元流資訊執行不同之解碼複雜度管理,以決定是否降低該複雜度自適應視頻解碼器內該多個組件的解碼複雜度;其中,該解碼複雜度管理器選擇性降低該複雜度自適應 視頻解碼器內該多個組件的解碼複雜度;其中,該多個組件包含:一快速變長解碼與逆量化模組,用於對該輸入位元流執行快速變長解碼與逆量化,以產生多個逆量化結果;以及一運動補償模組,用於依據該輸入位元流執行運動補償並產生相應的多個預測輸出結果,其中該運動補償模組包含一時間預測單元以及一空間預測單元,該時間預測單元用於執行時間預測以產生該多個預測輸出結果的至少一部分;以及該空間預測單元用於執行空間預測以產生該多個預測輸出結果的至少一部分。 A complexity adaptive video decoder comprising: a plurality of components for performing a plurality of operations related to video decoding; and a decoding complexity manager for performing differently based on bitstream information of an input bitstream Decoding complexity management to determine whether to reduce the decoding complexity of the plurality of components in the complexity adaptive video decoder; wherein the decoding complexity manager selectively reduces the complexity adaptation Decoding complexity of the plurality of components in the video decoder; wherein the plurality of components comprise: a fast variable length decoding and inverse quantization module, configured to perform fast variable length decoding and inverse quantization on the input bit stream, Generating a plurality of inverse quantization results; and a motion compensation module for performing motion compensation according to the input bit stream and generating a corresponding plurality of predicted output results, wherein the motion compensation module includes a temporal prediction unit and a spatial prediction a unit, the temporal prediction unit configured to perform temporal prediction to generate at least a portion of the plurality of predicted output results; and the spatial prediction unit to perform spatial prediction to generate at least a portion of the plurality of predicted output results. 如申請專利範圍第14項所述之複雜度自適應視頻解碼器,其中,該多個組件包含:一逆變換單元,用於對該多個逆量化結果執行逆變換以產生多個逆變換結果;一計算單元,用於合計該多個逆變換結果和該多個預測輸出結果以產生多個補償輸出結果;一重構訊框輸出單元,用於依據該多個補償輸出結果產生多個重構訊框,其中,該空間預測單元依據該多個重構訊框的一當前重構訊框執行空間預測;以及一訊框儲存單元,用於臨時儲存該多個重構訊框的至少一部分,其中,該時間預測單元依據該多個重構訊框的該至 少一部分執行時間預測。 The complexity adaptive video decoder of claim 14, wherein the plurality of components comprise: an inverse transform unit, configured to perform inverse transform on the plurality of inverse quantization results to generate a plurality of inverse transform results a calculating unit, configured to aggregate the plurality of inverse transform results and the plurality of predicted output results to generate a plurality of compensated output results; a reconstructed frame output unit, configured to generate multiple weights according to the plurality of compensated output results a frame, wherein the spatial prediction unit performs spatial prediction according to a current reconstructed frame of the plurality of reconstructed frames; and a frame storage unit configured to temporarily store at least a portion of the plurality of reconstructed frames The time prediction unit according to the plurality of reconstructed frames A small portion of the execution time prediction. 如申請專利範圍第14項所述之複雜度自適應視頻解碼器,其中,該多個組件包含:一顯示緩衝器,用於臨時儲存多個影像訊框;其中,該解碼複雜度管理器基於該顯示緩衝器的一顯示緩衝器狀態,執行解碼複雜度管理。 The complexity adaptive video decoder of claim 14, wherein the plurality of components comprise: a display buffer for temporarily storing a plurality of video frames; wherein the decoding complexity manager is based on A display buffer state of the display buffer performs decoding complexity management. 如申請專利範圍第14項所述之複雜度自適應視頻解碼器,其中,該解碼複雜度管理器依據該輸入位元流的該位元流資訊產生至少一控制訊號,以控制該複雜度自適應視頻解碼器內該多個組件中的該部分組件的解碼複雜度,該多個組件分別受控於該至少一控制訊號。 The complexity adaptive video decoder according to claim 14, wherein the decoding complexity manager generates at least one control signal according to the bit stream information of the input bit stream to control the complexity. Adapting to the decoding complexity of the portion of the plurality of components within the video decoder, the plurality of components being separately controlled by the at least one control signal. 如申請專利範圍第14項所述之複雜度自適應視頻解碼器,其中,該多個組件包含:一顯示時間調整驅動器,其中,在該顯示時間調整驅動器的控制下,取回臨時儲存在一顯示緩衝器中的多個影像訊框作為多個輸出訊框,該多個輸出訊框用於分別在相應音頻資訊的音頻播放的多個時間點上進行顯示。 The complexity adaptive video decoder according to claim 14, wherein the plurality of components comprise: a display time adjustment driver, wherein the retrieval is temporarily stored in a control under the control of the display time adjustment driver A plurality of image frames in the display buffer are used as a plurality of output frames, and the plurality of output frames are respectively displayed at a plurality of time points of audio playback of the corresponding audio information. 如申請專利範圍第15項所述之複雜度自適應視頻解碼器,其中,該時間預測單元依據該多個重構訊框的一解析度進行操作,以降低執行時間預測的複雜度。 The complexity adaptive video decoder according to claim 15, wherein the time prediction unit operates according to a resolution of the plurality of reconstructed frames to reduce the complexity of performing time prediction. 如申請專利範圍第15項所述之複雜度自適應視頻解碼器,其中,該空間預測單元依據該多個重構訊框的一解析度進行操作,以降低執行空間預測的複雜度;以及該空間預測單元進一步估計已省略的部分資訊中可用於執行空間預測的至少一部分。 The complexity adaptive video decoder according to claim 15, wherein the spatial prediction unit operates according to a resolution of the plurality of reconstructed frames to reduce the complexity of performing spatial prediction; The spatial prediction unit further estimates that at least a portion of the partially excluded information is available for performing spatial prediction. 如申請專利範圍第15項所述之複雜度自適應視頻解碼器,其中,該逆變換單元依據該多個重構訊框的一解析度進行操作,以降低執行該逆變換的複雜度;以及該逆變換單元省略該逆變換的多個計算的一部分。 The complexity adaptive video decoder according to claim 15, wherein the inverse transform unit operates according to a resolution of the plurality of reconstructed frames to reduce the complexity of performing the inverse transform; The inverse transform unit omits a part of the plurality of calculations of the inverse transform. 如申請專利範圍第15項所述之複雜度自適應視頻解碼器,其中,該重構訊框輸出單元依據該多個重構訊框的一解析度進行操作,以降低產生該多個重構訊框的複雜度。 The complexity adaptive video decoder according to claim 15, wherein the reconstructed frame output unit operates according to a resolution of the plurality of reconstructed frames to reduce the plurality of reconstructions. The complexity of the frame. 如申請專利範圍第15項所述之複雜度自適應視頻解碼器,其中,該快速變長解碼與逆量化模組依據該多個重構訊框的一解析度進行操作,以降低執行快速變長解碼與逆量化的複雜度;以及該快速變長解碼與逆量化模組在解碼期間使用包含一主表和至少一子表的一查找表,且該主表的一使用概率大於該至少一子表的一使用概率。 The complexity adaptive video decoder according to claim 15, wherein the fast variable length decoding and the inverse quantization module operate according to a resolution of the plurality of reconstructed frames to reduce the fast change of execution. The complexity of long decoding and inverse quantization; and the fast variable length decoding and inverse quantization module uses a lookup table including a primary table and at least one child table during decoding, and a usage probability of the primary table is greater than the at least one A probability of use of a child table. 如申請專利範圍第14項所述之複雜度自適應視頻解碼 器,其中,該解碼複雜度管理器基於代表該複雜度自適應視頻解碼器的處理能力的至少一參數,執行解碼複雜度管理。 Complexity adaptive video decoding as described in claim 14 And the decoding complexity manager performs decoding complexity management based on at least one parameter representing a processing capability of the complexity adaptive video decoder. 如申請專利範圍第14項所述之複雜度自適應視頻解碼器,其中,該輸入位元流的該位元流資訊包含一位元率、一解析度以及一訊框類型的一組合或其中之一。 The complexity adaptive video decoder of claim 14, wherein the bit stream information of the input bit stream comprises a combination of a bit rate, a resolution, and a frame type or one. 如申請專利範圍第14項所述之複雜度自適應視頻解碼器,其中,該輸入位元流的該位元流資訊包含多個運動向量、多個殘差以及位元流長度的一組合或其中之一。 The complexity adaptive video decoder of claim 14, wherein the bit stream information of the input bit stream comprises a plurality of motion vectors, a plurality of residuals, and a combination of bit stream lengths or one of them. 如申請專利範圍第14項所述之複雜度自適應視頻解碼器,其中,該解碼複雜度管理器延遲音頻資訊的音頻播放。 The complexity adaptive video decoder of claim 14, wherein the decoding complexity manager delays audio playback of the audio information.
TW100116326A 2010-07-05 2011-05-10 Method for adaptively performing video decoding, adaptive complexity video decoder and adaptive audio/video playback system TWI543627B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US12/830,419 US9172980B2 (en) 2010-03-25 2010-07-05 Method for adaptively performing video decoding, and associated adaptive complexity video decoder and adaptive audio/video playback system

Publications (2)

Publication Number Publication Date
TW201204049A TW201204049A (en) 2012-01-16
TWI543627B true TWI543627B (en) 2016-07-21

Family

ID=45429092

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100116326A TWI543627B (en) 2010-07-05 2011-05-10 Method for adaptively performing video decoding, adaptive complexity video decoder and adaptive audio/video playback system

Country Status (2)

Country Link
CN (1) CN102316319B (en)
TW (1) TWI543627B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104093072B (en) 2014-06-30 2017-06-16 京东方科技集团股份有限公司 A kind of video information Play System and method
CN106550269A (en) * 2015-09-17 2017-03-29 联发科技股份有限公司 Adaptive video coding/decoding method, decoder and audio/video playback system
US10574988B2 (en) * 2015-11-19 2020-02-25 Qualcomm Incorporated System and methods for reducing slice boundary visual artifacts in display stream compression (DSC)
US10244248B2 (en) * 2016-02-25 2019-03-26 Mediatek Inc. Residual processing circuit using single-path pipeline or multi-path pipeline and associated residual processing method
CN105847821A (en) * 2016-04-01 2016-08-10 乐视控股(北京)有限公司 Video decoding method and device
NZ772208A (en) * 2018-07-02 2022-11-25 Huawei Tech Co Ltd Apparatus and method for filtering in video coding

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1551185A1 (en) * 2004-01-05 2005-07-06 Thomson Licensing S.A. Encoding method, decoding method, and encoding apparatus for a digital picture sequence
US8265144B2 (en) * 2007-06-30 2012-09-11 Microsoft Corporation Innovations in video decoder implementations
CN100571396C (en) * 2008-04-25 2009-12-16 清华大学 Be used for the method for video coding under the decoding complex degree restriction
CN101729883B (en) * 2008-10-14 2013-03-20 上海炜寅信息科技有限公司 Method for adaptively adjusting video decoding complexity

Also Published As

Publication number Publication date
CN102316319B (en) 2016-08-10
TW201204049A (en) 2012-01-16
CN102316319A (en) 2012-01-11

Similar Documents

Publication Publication Date Title
TWI543627B (en) Method for adaptively performing video decoding, adaptive complexity video decoder and adaptive audio/video playback system
JP4643453B2 (en) Information processing apparatus and moving picture decoding method for information processing apparatus
JP5893002B2 (en) Rate control in video coding.
US20080084491A1 (en) Scaling video processing complexity based on power savings factor
US9635374B2 (en) Systems and methods for coding video data using switchable encoders and decoders
US9930361B2 (en) Apparatus for dynamically adjusting video decoding complexity, and associated method
JP2006254230A (en) Information processing apparatus and program
US9172980B2 (en) Method for adaptively performing video decoding, and associated adaptive complexity video decoder and adaptive audio/video playback system
JP4649347B2 (en) Information processing apparatus and moving picture decoding method for information processing apparatus
JP2006254231A (en) Information processing apparatus and program used for the apparatus
JP2007180767A (en) Information processor
US20130315296A1 (en) Systems and methods for adaptive selection of video encoding resources
JP2007124580A (en) Moving picture encoding program, program storage medium and encoder
US9591319B2 (en) Video encoder
JP5174062B2 (en) Intra prediction apparatus, encoder, decoder, and program
JP5066232B2 (en) Information processing apparatus and image processing method
US10063873B2 (en) Method for adaptively performing video decoding, and associated adaptive complexity video decoder and adaptive audio/video playback system
JP2006101321A (en) Information processing apparatus and program used for the processing apparatus
JP2006101405A (en) Information processing apparatus and program used for the processing apparatus
JP2006101406A (en) Information processing apparatus and program used for the processing apparatus
CN106550269A (en) Adaptive video coding/decoding method, decoder and audio/video playback system
JP2009182891A (en) Information processor and program
JP2010050833A (en) Video coding device
Ramachandra et al. H. 264 main profile video decoding implementation techniques on OMAP3430IVA
JP2011239255A (en) Video encoding method, video encoder, and video encoding program

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees