201214278 六、發明說明: 【發明所屬之技術領域】 本發明有關於不同編解碼資源(coding _urce)之控制架構,且特 別有關於餘執行編解碼資源管理的方法以及侧處理電路。 【先前技術】 依據相關賊,當料,電子裝置執行隱鱗糊如,資料 編碼及/或資料解碼)時’典型地,習知電子裝置僅利用—種編解碼資源 獲取編解猶果(例如,編赌細雜碼結果)。舉例_,習知電 子裝置僅湘-種特定硬體資源(例如編躺解),而非處理程式 模組之處理器獲取編碼/解碼結果。於另—範例中,習知電子裝置僅利 用處理程规_如編補_碼_之處理^,而非狀 源,來獲取編碼/解碼結果。 ’典魏,f知電子裝置枝辆_硬蹄源或 式模組之處理n獲取編碼/_結祕在f知電子打的 _η Phase财的。細,用戶使㈣知電子裝置時可能發生一此 問題。舉例而言,利用硬體資源並不織— 处果,性_彳編碼/解碼 、,..果㈣吏砂不同之情况τ以不_性_彳編碼/解碼結果。作 爲結果’由於在設計陳已經決定了應t使用哪種編解 硬體資源,或執行程式模Μ之處理器)獲取編解碼 :編° ’ 解碼結果),並且純改㈣紗定,習知電找·_證^^^ 4 201214278 需要對實施不同編解碼資源的控制體系之方法 最佳整體性能。從而 進行改良。 【發明内容】 有鑑於此,特提供以下技術方案: 、本發明實施例提供-種方法,用於執行編解碼資源管理,其中方 法應用於處理電路。方純含:_ 〃 、 程式措㈣.1 Μ卿碼㈣,從賴模組及 更具體而▲ % 乂驗’讀糊特賴組執行特定編解碼操作。 基於特定編解碼操作之至少一特性、Λ 旯0 3 组紗心“〜郷預叹叹置及/或用戶設置從硬體模 組及私式模組中選擇特定模組。 1錢m提供—種處理電路,包含至少—硬體模組及資源 :。虽需要時,至少一硬體模組執行至少一編解碼操作。此外, Γ原管理器執行編解碼資源管理,其中關於特定編解碼操作,該資源 官理辦該硬體模組及程式模組中選擇特賴組。此外,處理電路利 用=特定模_1行該特定編解碼操作。更具體而言,資源管理器基於 特疋編解碼知作之至少—特性、預設設置及/或用戶設置從硬體模組及 辁式模組中選擇特定模組。 本發明的蝙解碼資源管理方法以及相關處理電路基於特定編解碼 操作的至少一個特性動態決定使用哪種編解碼資源獲取編解碼結果, 從而優化裝置的性能。 201214278 【實施方式】 在說明書及後續的申請專利範圍當中使用了某些詞彙來指稱特定 的元件。所屬領域中具有通常知識者應可理解,製造商可能會用不同 的名詞來稱呼同樣的元件。本說明書及後續的申請專利範圍並不以名 稱的差異來作為區分元件的方式,而是以元件在功能上的差異來作為 區分的基準。在通篇說明書及後續的請求項當中所提及的「包含」係 為一開放式的用語,故應解釋成「包含但不限定於」。另外,「耦接 一詞在此係包含任何直接及間接的電氣連接手段。因此,若文中描述 一第-裝置祕於-第二裝置’則代表第—裝置可直接電氣連接於第 二裝置,或透過其他裝置或連接手段間接地電氣連接至第二裝置。 請參考第ΙΑ ®,其展示依據本發明第—實施例之耦接於儲存裝 置(例如記憶體10)的處理電路1〇〇之示意圖,其中記憶體1〇儲存至少 一個程式模組15(例如至少-個編碼程式卜舉例而言,記憶體1〇可係 唯讀記髓(read only memGry,瞧爲RQM),例如冑可擦除可程式化 R〇M(electrically erasable programmable ROM * EEPR〇M) > 上述至少-個編解碼程式可包含編碼程式及/或解碼程式。處理電路 卿包合資源管理||(res()urce manager)(例如處理器_、至少一個硬 體模組(例如硬體模組12〇)以及緩衝器13〇,其中硬體模組12〇可包含 編竭器及/或解碼器’例如編碼器丨施及解碼器膽。在本實施例中, 上述資源管理器係處理器11〇,用於控制處理電路觸之操作。但其 僅用作朗之目的’麵是本發__。依據本實關之變形,I - 6 201214278 器,用來控制本實施例中的處 述資源管理器可係獨立元件,而非處理 理電路的操作。 管理在源管理_如處理器哪行編解碼資源 ^ —個硬軸峨如硬麵組12G)執行至 解骑中緩衝器130用於緩衝資料(例如一個或多個編 Γ此外,_定編_作,資源管理器(例如, =斷之處黯_可簡硬_ 12_賴組15中選擇特 3的且特=,處Γ路100利用特定模組,亦即,被資源管理器所 選取的特榻組’執行做贿賴作。 :注意’處理電路觸可以從處理電路100之外的上述儲存裝置 ㈦如’汜憶體10)獲取程式模組15。但其僅 、 ^發明糊。娜》綠_,如如00可《包含= =5的記憶體。舉例而言,本變形中存儲程式模組15的: 了係 ROM(例如 EEPROM)。 心 =1B _依據本發明實施例之第u圖中的處理電請中竿此 意圖。在本實施例中,上述至少—個程式模组15包含^ 、^解馬(酿姻mg)程式模組15〇及多個編解碼程式模組⑸、 2、·.··.·、等等,其中多個編解碼程式模組15卜152、 ^ 包含至少-個編碼程式及/或至少一個解碼程式 多^ m……、等中的至少-_如,編解:::: 、、,......、料之部分或全部)中之每—者可以包含編碼程式 7 201214278 及解碼程式。更具體而言,如第1B圖所示,編解碼程式模組⑸包 含編碼程式⑸E及解碼程式151D,而編解碼程式模組152包含' 程式152E及解碼程式152D,等等。於實踐中,處理器則可以 並執行非編解碼程式模組15〇,以控制處理電路卿的操作。各需要 時’處理器m可以絲並執行—個或多個編解碼程式模組田⑸、 152、......、等,以執行一個或多個編解碼操作。 基於上述架構,處理卿可以動態選擇程式模組以更罝體而 言,多個編解碼程式模組⑸、152、、等中之一者)或硬體模組 120,以便战佳性能執行編解碼操作。第2 _進—步綱實施細節。 第2圖是依據本發明一實施例用於執行編解碼資源管理的方法 910之流侧。第2圖巾所科方法⑽可用於第u圖中所示的處理 電路100。該方法詳述如下: 於步驟912巾,關於特定編解碼操作(例如上述的編解碼操 上述資源管理_如’本實施财之處理器⑽谈硬體模組及程 式模組15中選擇特定模組。更具體而言,基於特定編解碼操作的至少 y個特性,資鮮理器祕從硬雜組12Q及鋪驗Μ中選擇特定 模組。舉綱δ,敎鱗碼麟可魏舰解碼演算雄純⑺出吗 algorithm)^ ^ SHA)=貝。fi摘要演算法职挪啡询咖aIg〇rithm,簡稱爲 聰)、·.·.··、轉)之—或_演算法之操作。於另-範财,特定· 編解碼操作可__龍飾7_她_&_如 8 201214278 间級加畨標準(Advanced Encryption Standard,簡稱爲 標準(DataEncryption Standard,簡稱爲 DES)、. 1箅幻貝;:加被 演算法之操作。 ··寺之一或類似 914中,處理電路·利用特定模組(亦即於步驟 貝源官理辑選擇的特定模組)執行特定編解碼操 一處理電路1〇。_執= ;0(更具體而言,執行多個編解碼程式模組⑸、 ...·.·、权一之處理器轉執行狀編解碼操作。於另 f硬體馳12G被财模社情况下,歧魏⑽硬體模 組120執行特定編解碼操作。 更體模 依據本實施例,上述至少—特性可包含至少_個 =⑽利用硬趙模組120及程式模組15分別執行估;作: ,$繼f,€物嶋峨模組⑶ 杈肀實施,其中流程920詳述如下: J 100 120 - 作。舉例而言,估計操作可類似於特 於另一_中’在估計操作中僅利用部分步糊所涉及之資Γ 於步驟924中,上述資源管理器 決定是否將硬體模幻2〇(或程式模組15)選爲特定而= 201214278 上述資源管理器可比較分別對應於硬體模組12〇及程式模組ι5的估+ · 結果(例如,利用硬體模組120的估計時間及利用程式模組丨5的估^ 時間)’並據此從硬體模組120及程式模組15中選擇特定模組。當^ 定選擇硬體模組120作爲特定模組時,進入步驟926七否則,進入+ 驟 926-2。 ’’ 於步驟926-1中,處理電路100利用硬體模組12〇執行特定編解 碼操作。 於步驟926-2中,處理電路〗〇〇利用程式模組15執行特定編解碼 操作。 基於上述流程920,處理電路1〇〇可達到獲取(或計算)特定編解碼 操作的編碼/解碼結果的最佳性能。其僅用作說明的目的,並非是本發 明的限制。依據本實施例之變形,流程920並非必需的。更具體而言, 上述至少一個特性可包含特定編解碼操作的分類,其中處理電路100 可儲存表示特定編解碼操作分類的分類資訊。舉例而言,本變形中的 處理電路1〇〇可以將分類資訊儲存入緩衝器丨3〇或處理電路觸的某 些暫存器(未繪示)中,而上述資源管理器可以依此從硬體模組12〇及 程式模組15中選擇特定模組。依據本實施例的其他變形,基於預設設 置(default setting)及/或用戶設置,資源管理器能够從硬體模組120及 程式模組15中選擇特定模組。於實踐中’預設設置及/或用戶設置可 以負載代表上述特定編解碼操作的至少一個特性的資訊。 201214278 依據-實關(例如上㈣形之―),基洲於不同㈣編解碼操 作的預設設置及/朗戶設置,資源管理^可以決定是雜需要單命令 (singlecommand)完成特定編解碼操作。當決定僅需單命令完成特定編 解碼操作時,資源管理器選擇硬體模組12G作爲特定模組;否則,資 源管理器選擇程式模組15(更具體而言,編解碼程式模組⑸、 152 ' ......、等之一)作爲特定模組。 舉例而β ’在特定編解碼操作是上述散列編解碼演算法(例如 SHA、MD5、......、等)之似演算法之操作之情况下,當特定編 解碼操作觀於處理中的整個資料時,意即僅需單指令來完成特定編 解碼操作,由實驗結果可以推出’ _硬麵組⑽可以比利用程式 模組15獲得較佳的性能。相反地,在特定編解碼操作是上述散列轉 碼演算法(例如SHA、MD5、,·....、等)之-或類似演算法之操作之情 况下,當特定編解碼操作逐漸(piecebypiece)用於處理中的資料時,音 «要多個齡來完祕定編解碼操作,由實驗結果可以推出,_ 私式模組I5可比仙硬體模組12G獲得較佳的性能。 AES於D另εΓ㈣,在貌地刪加密標準(例如 、等)之—或_演算法之操作之情况下,當特定編 被辑理巾的卿物彳如,對⑽錢 BlockChaming,? ^ 而早指令祕完絲定轉顯作,讨驗結果可則㈣, 模組120可以比利用程式模組15獲 ' 付雜的性此。相反地,在特定編 201214278 解碼=是上述對稱型加密標準(例如aes、㈣、· ·.、等)之一或 輕主角算法之心作之情况下’當特定編解碼操作逐漸用於處理中的資 只㈠對應於電子代碼塊(Electronic Code Block,簡稱爲ECB) 模式㈣定編解碼操作),意««健令麟完成特定編解 石‘,、、呆作’由貫驗結果可以推出,利用程式模組15可以比利用硬體模組 120獲得較佳的性能。 —依據本實施例之變形,基於上述不同麵的編解碼操作的預 又又置及/或用戶⑵置’資源管理器能够決定用於完成特定編解碼操作 的命令的數量是否達咖設值(例如,大於i的自紐卜當決定用於 完成蚊崎碼操作的命令缝量朗預設值時,㈣管理器選擇程 式模組15(更具體而言,編解碼程式模組⑸、152、…·、等之一)作 爲特定模組;否則,資源管職選擇硬體模組12G作爲特定模組。爲 簡潔起見,此處不再詳述。 第4圖是依據本發明第二實施例耦接於儲存裝置(例如上述記憶體 10)的處理電路2GG的示意圖。第—實施例及第二實施例的區別如下。 如第4圖所示,上述處理器110被處理器21〇取代,而上述資源 管理器由獨立元件實施,亦即,資源管理器2〇〇R,而非處理器控 制處理電路200之操作。具體來說,資源管理器2〇〇R執行第2圖中 所示的步驟912。更具體而言,關於上述特定編解碼操作,資源管理 器200R從硬體模組120及程式模組15中選擇上述特定模組。從而, 處理電路200利用由資源管理器200R選擇的特定模組執行特定編解 12 201214278201214278 VI. Description of the Invention: [Technical Field] The present invention relates to a control architecture of different codec resources (coding _urce), and particularly relates to a method for performing codec resource management and a side processing circuit. [Prior Art] According to the relevant thief, when the electronic device performs cryptography, data encoding and/or data decoding, 'typically, the conventional electronic device only uses the encoding and decoding resources to obtain the compiled fruit (for example) , gambling fine code results). For example, the conventional electronic device only has a specific hardware resource (such as a lay-up solution), and the processor of the non-processing program module obtains the encoding/decoding result. In another example, the conventional electronic device uses only the processing metrics, such as the processing of the _code_, rather than the source, to obtain the encoding/decoding result. 'Dian Wei, f know the electronic device branch _ hard hoof source or module processing n to obtain the code / _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Fine, the user may (4) know this problem when the electronic device is known. For example, the use of hardware resources is not woven - the result, the sex _ 彳 encoding / decoding, .. fruit (four) 不同 sand different cases τ to not _ sex _ 彳 encoding / decoding results. As a result, 'because the design Chen has decided which compiler hardware resources should be used, or the processor that executes the program module to get the codec: edit the 'decoding result', and purely change (four) yarn, the conventional Electric search _ certificate ^^^ 4 201214278 The best overall performance of the method of implementing the control system for different codec resources. Thereby improving. SUMMARY OF THE INVENTION In view of the above, the following technical solutions are provided: The embodiment of the present invention provides a method for performing codec resource management, where a method is applied to a processing circuit. Fang Chunhan: _ 〃, program measures (four).1 Μ 码 ( (4), from the Lai module and more specifically ▲ % ’ 读 reading the paste group to perform specific codec operations. Based on at least one characteristic of a specific codec operation, Λ 旯 0 3 sets of yarn hearts "~ 郷 pre-sigh and / or user settings to select a specific module from the hardware module and the private module. 1 money m provides - The processing circuit includes at least a hardware module and a resource: at least one hardware module performs at least one codec operation, if necessary. In addition, the recovery manager performs codec resource management, wherein the specific codec operation is performed. The resource manager selects the special module in the hardware module and the program module. In addition, the processing circuit utilizes the specific codec operation of the specific mode_1. More specifically, the resource manager is based on the special code. Decoding at least the characteristics, preset settings, and/or user settings select a particular module from the hardware module and the UI module. The bat decoding resource management method and related processing circuit of the present invention are based on a specific codec operation. At least one characteristic dynamically determines which codec resource is used to obtain the codec result, thereby optimizing the performance of the device. 201214278 [Embodiment] In the specification and the subsequent patent application scope, a certain These terms are used to refer to specific components. Those of ordinary skill in the art should understand that manufacturers may refer to the same components by different nouns. The scope of this specification and subsequent patent applications is not differentiated by name differences. The way of the component, but the difference in the function of the component as the basis for differentiation. The "include" mentioned in the entire specification and subsequent claims is an open term, so it should be interpreted as "including But not limited to." In addition, the term "coupled" is used herein to include any direct and indirect electrical connection means. Therefore, if a "device-disclosure-second device" is described herein, it means that the first device can be directly electrically connected to the second device. Or indirectly electrically connected to the second device through other devices or connection means. Please refer to the third page, which shows the processing circuit 1 coupled to the storage device (for example, the memory 10) according to the first embodiment of the present invention. A schematic diagram, wherein the memory 1 〇 stores at least one program module 15 (for example, at least one coding program, for example, the memory 1 〇 can be read only memGry, 瞧 is RQM), for example, 胄 erasable In addition to the programmable eramable programmable ROM * EEPR〇M > The above at least one codec program may include an encoding program and/or a decoding program. The processing circuit includes resource management||(res()urce Manager) (eg, processor_, at least one hardware module (eg, hardware module 12A), and buffer 13", wherein the hardware module 12A may include a buffer and/or a decoder, such as an encoder丨 解码 解码 解码 解码In this embodiment, the resource manager is used to control the operation of the processing circuit. However, it is only used for the purpose of Lang's purpose. The surface is the local __. According to the deformation of the real control, I - 6 201214278, used to control the description of the resource manager in this embodiment can be a separate component, rather than the operation of the processing circuit. Management in the source management _ such as processor line codec resources ^ a hard axis 峨For example, the hard surface group 12G) is executed until the unhooking buffer 130 is used to buffer data (for example, one or more compilations, in addition, the resource manager (for example, = broken place 黯 _ can be simple _ 12_Lai group 15 selects special 3 and special =, the road 100 uses a specific module, that is, the special group selected by the resource manager 'executes the bribe. The program module 15 is obtained from the above-mentioned storage device (7) other than the processing circuit 100, such as the 'memory body 10'. However, it is only invented. Na" green_, such as 00 can contain "===5 memory. For example, in the present variation, the program module 15 is: ROM (for example, EEPROM). Heart=1B _ according to the present invention In the embodiment, the at least one program module 15 includes a ^, a solution, a program module, and a plurality of programs. Decoding program modules (5), 2, . . . . . . . , etc., wherein a plurality of codec modules 15 152, ^ include at least one encoding program and/or at least one decoding program. At least -_ such as, for example, ::::, , , ..., part or all of the material) can include the encoding program 7 201214278 and the decoding program. More specifically, as shown in Fig. 1B, the codec module (5) includes an encoding program (5) E and a decoding program 151D, and the codec module 152 includes a program 152E and a decoding program 152D, and the like. In practice, the processor can execute the non-codec module 15 to control the operation of the processing circuit. The processor m can perform one or more codec module fields (5), 152, ..., etc., as needed, to perform one or more codec operations. Based on the above architecture, the processing module can dynamically select the program module to be more compact, one of the plurality of codec modules (5), 152, and the like) or the hardware module 120, so that the performance can be compiled. Decoding operation. The second _in-step implementation details. 2 is a flow side of a method 910 for performing codec resource management in accordance with an embodiment of the present invention. The method (10) of the second figure can be applied to the processing circuit 100 shown in Fig. u. The method is described in detail as follows: In step 912, regarding a specific codec operation (for example, the above-mentioned codec operation, the resource management method, such as the processor of the implementation processor (10), the specific module is selected in the hardware module and the program module 15. More specifically, based on at least y characteristics of a particular codec operation, the genius is selected from the hard group 12Q and the shop Μ 特定 。 。 。 。 δ δ δ δ δ δ δ δ 解码 解码 解码 解码The calculation is pure (7) out of the algorithm) ^ ^ SHA) = Bay. The fi-syntax algorithm is the operation of the aiG〇rithm, abbreviated as Cong), ······, and _ algorithm. In the other - Fancai, the specific · codec operation can be __ dragon decoration 7_ her _ & _ such as 8 201214278 inter-level standard (Advanced Encryption Standard, referred to as the standard (DataEncryption Standard, DES for short), .箅幻贝;: Adding the operation of the algorithm. ·· One of the temples or similar 914, the processing circuit · using a specific module (that is, the specific module selected in the step of the source) to perform a specific codec operation A processing circuit 1 _ _ _ = 0 (more specifically, the implementation of a plurality of codec module (5), ....., the right processor to the execution of the codec operation. In the case of the Chic 12G, the Wei Wei (10) hardware module 120 performs a specific codec operation. More modal According to the embodiment, the at least one characteristic may include at least _ = (10) using the hard camera module 120 and The program module 15 performs an evaluation separately; as follows: $f, and then the object module (3) is implemented, wherein the process 920 is detailed as follows: J 100 120 - For example, the estimation operation can be similar to Another _zhong's use of only a portion of the step involved in the estimation operation is referred to in step 924, The source manager determines whether to select the hardware model 2 (or the program module 15) as specific = 201214278 The above resource manager can compare the evaluations corresponding to the hardware module 12 and the program module ι5 respectively. (For example, using the estimated time of the hardware module 120 and the estimated time of the program module 丨5) and selecting a specific module from the hardware module 120 and the program module 15 accordingly. When the body module 120 is a specific module, the process proceeds to step 926. Otherwise, the process proceeds to +step 926-2. In step 926-1, the processing circuit 100 performs a specific codec operation by using the hardware module 12〇. In 926-2, the processing circuit executes a specific codec operation using the program module 15. Based on the above process 920, the processing circuit 1 can achieve the best acquisition (or calculation) of the encoding/decoding result of the specific codec operation. The present invention is for illustrative purposes only and is not a limitation of the present invention. According to a variation of this embodiment, the flow 920 is not required. More specifically, the at least one characteristic may include a classification of a specific codec operation, wherein the processing Circuit 100 can The classification information indicating the classification of the specific codec operation is stored. For example, the processing circuit 1 in the present variation may store the classification information into the buffer 丨3〇 or some temporary registers of the processing circuit (not shown). In the above, the resource manager can select a specific module from the hardware module 12 and the program module 15. According to other variants of the embodiment, based on a default setting and/or a user setting, The resource manager can select a specific module from the hardware module 120 and the program module 15. In practice, the preset settings and/or user settings may load information representative of at least one characteristic of the particular codec operation described above. 201214278 According to the actual - (such as the upper (four) shape -), Jizhou in the different (four) codec operation preset settings and / Lang household settings, resource management ^ can be determined to be a single command (singlecommand) to complete a specific codec operation . When it is decided that only a single command is required to complete a specific codec operation, the resource manager selects the hardware module 12G as a specific module; otherwise, the resource manager selects the program module 15 (more specifically, the codec module (5), 152 '..., etc.) as a specific module. For example, β 'in the case where a specific codec operation is an operation of a similar algorithm of the above-described hash codec algorithm (for example, SHA, MD5, ..., etc.), when a specific codec operation is processed In the whole data, it means that only a single instruction is needed to complete a specific codec operation. From the experimental results, the '_hard surface group (10) can obtain better performance than the program module 15. Conversely, where a particular codec operation is an operation of the above-described hash transcoding algorithm (eg, SHA, MD5, . . . , etc.) or a similar algorithm, when a particular codec operation is gradually ( Piecebypiece) When used for processing data, the sound «multiple ages to complete the codec operation, the experimental results can be introduced, _ private module I5 can achieve better performance than the fairy hardware module 12G. AES in D another ε Γ (four), in the case of the deletion of the encryption standard (for example, etc.) - or _ algorithm operation, when the specific editing of the quilt is like, for (10) money BlockChaming, ? ^ The early instruction is completed, and the result of the test can be (4), and the module 120 can be more complicated than the program module 15. Conversely, in the case of a specific edit 201214278 decoding = one of the above symmetric encryption standards (such as aes, (four), · ·, etc.) or the light protagonist algorithm, when a specific codec operation is gradually used in processing The capital only (1) corresponds to the electronic code block (Electronic Code Block (ECB) mode (4) fixed codec operation), meaning ««jian Linglin completes the specific compilation stone', and stays 'by the results of the test can be launched The program module 15 can achieve better performance than the hardware module 120. - According to a variant of the embodiment, the pre-and/or user-based (2) setting of the codec operation based on the different faces described above can determine whether the number of commands for completing a particular codec operation is up to the value of the coffee ( For example, when the self-ibu when greater than i decides to use the command margin for the mosquito code operation, (4) the manager selects the program module 15 (more specifically, the codec module (5), 152, (·, etc.) as a specific module; otherwise, the resource management selects the hardware module 12G as a specific module. For the sake of brevity, it will not be described in detail here. FIG. 4 is a second embodiment according to the present invention. A schematic diagram of a processing circuit 2GG coupled to a storage device (for example, the above-described memory 10). The difference between the first embodiment and the second embodiment is as follows. As shown in FIG. 4, the processor 110 is replaced by a processor 21 And the resource manager is implemented by a separate component, that is, the resource manager 2〇〇R, rather than the processor controls the operation of the processing circuit 200. Specifically, the resource manager 2〇〇R executes the image in FIG. Step 912 is shown. More specifically, off In the specific codec operation described above, the resource manager 200R selects the specific module from the hardware module 120 and the program module 15. Thus, the processing circuit 200 performs a specific composition 12 using a specific module selected by the resource manager 200R. 201214278
碼操作。舉例而古,A 。在程式模組15被選爲特 路利用執行程式模組15(更具特疋f、、且之隋况下’處理電 152、......、等$ 一、 . D,編解碼程式模組151、 中’在硬體模組120被選爲特定模解,操作。於另一範例 體模組12G_軸雜。輪心::利用硬 請注意⑥’處理電路獅可以從處理電路· (例如,記憶體10)獲取的上it儲存裝置 本發明的限制。其僅用作說明之目的,並非是 〜依^尿本實施例之變形,處 式模組15的記憶體。舉例而言,本變形 ^包含存儲程 可係ROM(例如EEPR〇M)。 ·耘式模,、且15的記憶體 本發明的-個優點爲,當電子裝置(例 (Pe麵a丨digital assi_,簡稱爲 ,*、個人數位助理 只 意 =付、等)需要執行資料編解碼(例如,‘編===存媒 ¥n’j 彳文哪了 , 口 m> 配置有以上所揭示的實施例/變形中的處理電路 ^ =:!!,定使用哪種編解碼資源(例如二= 〇.、· ·.、.的^能被優化。對比於先前技術,只要電子裝置 £·意Code operation. For example, ancient, A. The program module 15 is selected as the special use execution program module 15 (more special f, and under the condition of 'processing power 152, ..., etc. $ one, . D, codec The program module 151, the middle 'in the hardware module 120 is selected as a specific mode, operation. In another example body module 12G_ axis miscellaneous. Wheel center:: use hard note 6' processing circuit lion can be processed from Circuits (e.g., memory 10) The upper it storage device is limited by the present invention. It is for illustrative purposes only, and is not a memory of the module of the present embodiment. In other words, the present invention includes a memory-programmable ROM (for example, EEPR〇M). The memory of the modulo, and the memory of the present invention has an advantage of being an electronic device (for example, (Pe face a 丨 digital assi_) , abbreviated as *, personal digital assistant only means = pay, etc.) need to perform data encoding and decoding (for example, 'edit === storage media nn'j 彳文,口m>; configuration has the implementation disclosed above The processing circuit in the example/deformation ^ =:!!, which encoding and decoding resource is used (for example, the two = 〇., · ·., . can be optimized. Compared to the previous technique As long as the electronic devices £ · Italy
,a 硬I 子裝置之最佳整體性能的問題將不復存在 、、且之處理器)獲取編解碼結果(例如編碼/解碼結果),不能得到電 13 201214278 内。 【圖式簡單說明】, the problem of the best overall performance of a hard I sub-device will no longer exist, and the processor) obtains the codec result (such as the encoding/decoding result), and cannot get the power within 13 201214278. [Simple description of the map]
體的^ Γ依據本發·_物_存裝置,例如記憶 體的處理電路之示意圖。 U 第1B圖係依據本發明實施例的第iA圖中的處理電 模組之示意圖。 呆二程式 程圖 第2圖係依據本發明實施例用於執行編解碼資源管理的方法之流 第3圖係依據本發明實施例的第2圖所示方法實施細節之示音圖。 第4圖係依據本發明第二實施例的耦接於儲存裝置,如' 憶體的處理電路之示意圖。 上述5己 151D、152D .解石馬程式; 910 :方法; 【主要元件符號說明】 10 :記憶體; 100、200 :處理電路; 120 :硬體模組; 120D .解碼器; 150 :非編解碼程式模組; 151E、152E :編碼程式; 200R :資源管理器; 15 :程式模組; 110、210 :處理器; 120E :編碼器; 130 :緩衝器; 15卜152 :編解碼程式模組; 912〜914、922、924、926-1、926-2 :步驟; 920 :流程。The body of the body is based on a schematic diagram of the processing circuit of the memory, such as a memory. U Figure 1B is a schematic diagram of a processing electrical module in Figure iA of the embodiment of the present invention. FIG. 2 is a flow diagram of a method for performing codec resource management according to an embodiment of the present invention. FIG. 3 is a diagram showing details of a method implementation according to the second embodiment of the present invention. Figure 4 is a schematic diagram of a processing circuit coupled to a storage device, such as a memory cell, in accordance with a second embodiment of the present invention. The above 5 151D, 152D. calculus horse program; 910: method; [main component symbol description] 10: memory; 100, 200: processing circuit; 120: hardware module; 120D. decoder; 150: non-linear Decoding program module; 151E, 152E: encoding program; 200R: resource manager; 15: program module; 110, 210: processor; 120E: encoder; 130: buffer; 15 152: codec module 912~914, 922, 924, 926-1, 926-2: steps; 920: flow.