Encoding method, apparatus and device, and decoding method
Abstract
Problem to be solved.To provide encoding technology.
Solution.An encoding method includes the steps of: selecting a second encoding mode for encoding an input signal frame according to an analysis on signal characteristic of the input signal frame; obtaining coding demand values for a preset first encoding mode and the second encoding mode which are used to encode the input signal frame; determining, from the encoding modes based on the coding demand values, an encoding mode for encoding the input signal frame; and multiplexing information on the determined encoding mode and encoded data encoded according to the determined encoding mode. Thus, compatibility and prioritization in terms of the encoding modes can be achieved.

Term
5.7 yearsto projected expiry
Projected expiry 11 June 2032, counted from filing; an application has no term until it is granted.
- Priority
- Filed
- Published
- Today
- Projected expiry
14 claims: 4 independent, 10 dependent
- 1入力信号フレームを符号化するための第2の符号化モードを、前記入力信号フレームの信号特性についての解析に従って選択し、 前記入力信号フレームを符号化するために使用される、予め設定された第1の符号化モードと、前記第2の符号化モードとのための、入力信号フレームを符号化するために必要とされるビット数及び/又はバイト数を含む符号化要求値を取得し、 上記の符号化モードから、前記符号化要求値に基づいて、前記入力信号フレームを符号化するための符号化モードを決定し、 前記決定された符号化モードの情報と、前記決定された符号化モードに従って符号化された符号化データとを多重化すること を含むことによって特徴付けられる、音声符号化方法。
- 2前記入力信号フレームを符号化するための前記第2の符号化モードは、前記入力信号フレームの前記特性についての前記解析に基づいて、信号解析ポリシーに従って選択され、前記信号解析ポリシーは、 前記入力信号フレームの信号特性を解析し、前記入力信号フレームの前記信号特性に対応する符号化モードを選択すること、又は、 予め設定された特性に一致しない信号特性を有する前記入力信号フレームのために、予測符号化モードを使用すること を含むことを特徴とする、請求項1に記載の方法。
- 3前記入力信号フレームの信号特性を解析し、前記入力信号フレームの前記信号特性に対応する符号化モードを選択することは、 前記入力信号フレームの前記信号特性を、異なる信号特性の判定の優先順位に従って解析し、 予め設定された条件に最初に一致した前記信号特性に対応する前記符号化モードを選択すること を含むことを特徴とする、請求項2に記載の方法。
- 4前記入力信号フレームの前記特性についての前記解析に従って、入力信号フレームを符号化するための前記第2の符号化モードを選択した後に、前記方法は、 前記第2の符号化モードが予測モードであるかどうかを識別し、 前記第2の符号化モードが前記予想モードではない場合、前記入力信号フレームを前記第2の符号化モードを使用して符号化し、前記決定された符号化モードの前記情報と、前記決定された符号化モードを使用して符号化された前記符号化データとを多重化すること を更に含むことを特徴とする、請求項1〜請求項3のいずれか1項に記載の方法。
- 5前記入力信号フレームの前記特性についての前記解析に従って、入力信号フレームを符号化するための前記第2の符号化モードを選択した後に、前記方法は、 前記第2の符号化モードが、予測モード、又は前記第1の符号化モードとは異なる他の符号化モードである少なくとも1つの符号化モードを含む決定モードセットの中の符号化モードの1つであるかどうかを識別し、 前記第2の符号化モードが、前記決定モードセットの符号化モードの中にない場合、前記入力信号フレームを前記第2の符号化モードを使用して符号化し、前記決定された符号化モードの前記情報と、前記決定された符号化モードを使用して符号化された前記符号化データとを多重化すること を更に含むことを特徴とする、請求項1〜請求項3のいずれか1項に記載の方法。
- 6前記入力信号フレームを符号化するための前記符号化モードは、前記符号化要求値に基づいて、モード選択ポリシーに従って決定され、前記モード選択ポリシーは、 前記取得された符号化要求値から、最小の符号化要求値を判定すること、又は、 取得された前記符号化要求値から、閾値に最も近い符号化要求値を判定すること、又は、 符号化を実行するための、前記第1の符号化モードと、その他の符号化モードのうちの少なくとも1つとのうちの1つを、優先して採用すること を含むことを特徴とする、請求項1〜請求項5のいずれか1項に記載の方法。
- 7前記第1の符号化モードは、ダイナミックレンジ符号化モードであることを特徴とする、請求項1〜請求項6の何れか1項に記載の方法。
- 8符号化されて送信された、多重化された信号を逆多重化し、フレーム信号を符号化するための符号化モードの情報と、前記符号化モードに従って符号化された符号化データとを取得し、 前記符号化モードの前記情報に基づいて、逆多重化された前記符号化データを復号化して、前記フレーム信号を取得し、 入力信号フレームを符号化するために使用される、第1の符号化モードと、他の符号化モードのうちの少なくとも1つとのための、入力信号フレームを符号化するために必要とされるビット数及び/又はバイト数を含む符号化要求値を取得するステップに従って、前記符号化モードが、符号化の最後に取得され、 前記入力信号フレームを符号化するための符号化モードを、上記の符号化モードから、前記符号化要求値に基づいて、モード選択ポリシーに従って決定する ことを含む復号化方法。
- 9入力信号フレームの信号特性を解析し、前記入力信号フレームを符号化するための第2の符号化モードを選択するように構成された、信号解析ユニットと、 前記入力信号フレームを符号化するために使用される、予め設定された第1の符号化モードと、第2の符号化モードとのための、入力信号フレームを符号化するために必要とされるビット数及び/又はバイト数を含む符号化要求値を評価するように構成された、符号化要求評価ユニットと、 上記の符号化モードから、前記符号化要求値に基づいて、前記入力信号フレームを符号化するための符号化モードを決定するように構成された、モード決定ユニットと、 前記決定された符号化モードを使用して、前記入力信号フレームを符号化するように構成された、符号化ユニットと を備えることを特徴とする、音声符号化装置。
- 10前記第2の符号化モードが予測モードであるか否かを識別するように構成された予測モード識別ユニットを更に含み、 前記予測モード識別ユニットが、前記第2の符号化モードが前記予測モードでないと識別した場合、識別された結果が、前記符号化ユニットへ送信され、前記符号化ユニットが、第2の符号化モードを用いて、前記入力フレーム信号を符号化する、 請求項9記載の音声符号化装置。
- 11前記信号解析ユニットは、前記入力信号フレームの前記信号特性を解析し、前記入¥力信号フレームを符号化するための前記第2の符号化モードを信号解析ポリシーに従って選択し、前記信号解析ポリシーは、 前記入力信号フレームの信号特性を解析し、前記入力信号フレームの前記信号特性に対応する符号化モードを選択すること、又は、 予め設定された特性に一致しない信号特性を有する前記入力信号フレームのために、予測符号化モードを使用すること を含むことを特徴とする、請求項9又は請求項10に記載の音声符号化装置。
- 12前記モード決定ユニットは、上記の符号化モードから、前記符号化要求値に基づいて、モード選択ポリシーに従って、前記入力信号フレームを符号化するための符号化モードを決定するように構成され、前記モード選択ポリシーは、 取得された前記符号化要求値から、最小の符号化要求値を判定すること、又は、 取得された前記符号化要求値から、閾値に最も近い符号化要求値を判定すること、又は、 符号化を実行するための、前記第1の符号化モードと、その他の符号化モードのうちの少なくとも1つとのうちの1つを、優先して採用すること を含むことを特徴とする、請求項11に記載の音声符号化装置。
- 13前記第1の符号化モードは、ダイナミックレンジ符号化モードであることを特徴とする、請求項9〜請求項12の何れか1項に記載の音声符号化装置。
- 14入力信号フレームを受信するように構成された、信号受信装置と、 前記入力信号フレームの信号特性を解析し、前記入力信号フレームを符号化するための第2の符号化モードを選択し、前記入力信号フレームを符号化するために使用される、予め設定された第1の符号化モードと、前記第2の符号化モードとのための、入力信号フレームを符号化するために必要とされるビット数及び/又はバイト数を含む符号化要求値を取得し、上記の符号化モードから、前記符号化要求値に基づいて、前記入力信号フレームを符号化するための符号化モードを決定するように構成された、符号化モード決定装置と、 前記決定された符号化モードを使用して、前記入力信号フレームを符号化するように構成された、符号化装置と、 前記決定された符号化モードの情報と、前記決定された符号化モードに従って符号化された符号化データとを多重化するように構成された、多重化及び出力装置と を備えることによって特徴付けられる、音声符号化システム。
Independent claims14
89 paragraphs, as filed
The present invention relates to the fields of signal coding and decoding, and more specifically to signal compression techniques, in particular to coding methods, coding devices, coding devices, and decoding methods.
Lossless compression technology saves bandwidth and produces a lossless restored signal, which can effectively improve coding efficiency. However, due to the inherent entropy between the signals, the compression efficiency for different signals varies significantly with different compression solutions, and high complexity is required in real-time transmission. Therefore, it is generally difficult to maximize the trade-off between coding efficiency and complexity, and adaptation to various signals.
<p num="0003"> Existing lossless compression techniques are primarily applicable to speech storage in order to obtain higher compression ratios. However, such applications result in higher complexity. In another technique, each sample of the signal is compressed and encoded in order to obtain a larger compression ratio. However, if each sample of a different input signal is compressed in the same compression mode, the signal characteristics are ignored and a compression mode unsuitable for the input signal is used to compress and encode the input signal. Probability is high. Therefore, the compression efficiency is significantly deteriorated. In worse situations, the signal may not even be able to be compressed and coded.</p>
<p num="0004"> The present invention relates to a coding method, a coding device, a decoding method, and a decoding device. By introducing a comprehensive coding / decoding method for various input signals, the compression efficiency for various input signals can be improved with lower complexity.</p><p num="0005"> For this purpose, a voice coding method according to an embodiment of the present invention is provided. The method is A second coding mode for coding the input signal frame is selected according to the analysis of the signal characteristics of the input signal frame. Acquires the coding request values for the preset first coding mode and the second coding mode used to encode the input signal frame. From the above coding modes, the coding mode for coding the input signal frame is determined based on the coding request value. It includes multiplexing the determined coding mode information with the coding data encoded according to the determined coding mode.</p><p num="0006"> Therefore, devices, methods, and devices according to various embodiments of the present invention are introduced to accommodate different coding modes. By using comprehensive coding methods, comprehensive coding equipment, and comprehensive coding equipment, between different coding modes based on input signal frames and different coding policies. Effective switching is performed as the signal is compressed and encoded. Therefore, various requirements for complexity and compression efficiency can be met. As a result, compression efficiency is effectively improved with less complexity.</p><p num="0007"> In order to provide a better understanding of the technical solutions in the embodiments or prior arts of the present invention, a brief introduction of the accompanying drawings used in the description of the embodiments or prior arts is provided below. Obviously, the accompanying drawings in the following description merely illustrate some embodiments of the present invention. It will also be readily appreciated by those skilled in the art that other drawings can be made based on the attached drawings without any creative work.</p>
<figref num="1">It is a block diagram of the coding apparatus according to one Embodiment of this invention.</figref><figref num="2">It is a block diagram of the coding apparatus according to one Embodiment of this invention.</figref><figref num="3">It is a flowchart of the coding method by one Embodiment of this invention.</figref><figref num="4">It is a flowchart of the coding method by one Embodiment of this invention.</figref><figref num="5">It is a determination process for a signal analysis policy according to an embodiment of the coding method of the present invention.</figref><figref num="6">It is a flowchart of the coding method by one Embodiment of this invention.</figref><figref num="7">It is a flowchart of the coding method by one Embodiment of this invention.</figref><figref num="8">It is a flowchart of the decoding method by one Embodiment of this invention.</figref><figref num="9">It is a figure of the coding system by one Embodiment of this invention.</figref>
Technical solutions for embodiments of the present invention will be more easily understood by reference to the following detailed description, along with the accompanying drawings of embodiments of the present invention. Obviously, the embodiments described herein are not exhaustive and are only part of the embodiments of the present invention. It will be readily appreciated by those skilled in the art that, based on embodiments of the invention, any other embodiment intended without creative work will be construed as falling within the scope of the invention.
<First Embodiment of Encoding Device> FIG. 1 is a block diagram of a coding device according to an embodiment of the present invention. As shown in FIG. 1, the coding apparatus may include a coding request evaluation unit 11, a mode determination unit 12, and a coding unit 13. The coding request evaluation unit 11 evaluates the coding request value for the first coding mode used for coding the input signal frame and at least one of the other coding modes. It is configured to do. The mode determination unit 12 selects the coding mode used for coding the input signal frame from the above coding mode based on the coding request value acquired by the coding request evaluation unit 11. It is configured to make decisions according to policy. The coding unit 13 is configured to encode the input signal frame using the coding mode determined by the mode determining unit 12.
According to this embodiment, a coding device is introduced to support various coding modes. Input signal frames and various by determining the coding requirement value for the first coding mode and at least one of the other coding modes using a comprehensive coding device. Effective switching between various coding modes, based on the coding policy, is performed as the signal is compressed and coded. Therefore, various requirements for complexity and compression efficiency can be met. As a result, compression efficiency is effectively improved with less complexity.
<Second Embodiment of Encoding Device> FIG. 2 is a block diagram of a coding device according to an embodiment of the present invention. As shown in FIG. 2, the coding apparatus may include a coding request evaluation unit 11, a mode determination unit 12, and a coding unit 13. The coding request evaluation unit 11 evaluates the coding request value for the first coding mode used for coding the input signal frame and at least one of the other coding modes. It is configured to do. The mode determination unit 12 selects the coding mode used for coding the input signal frame from the above coding mode based on the coding request value acquired by the coding request evaluation unit 11. It is configured to make decisions according to policy. The coding unit 13 is configured to encode the input signal frame using the coding mode determined by the mode determining unit 12.
The input signal frame enters the coding request evaluation unit 11 frame by frame. The coding request evaluation unit 11 receives the input signal frame and evaluates the coding request value for at least two coding modes used to encode the input signal frame. The first coding mode may be a dynamic range coding mode. At least one of the other coding modes includes a coding mode that is different from the dynamic range coding mode. When the other coding mode is one type, the other coding mode may be a prediction encoding mode. At least one of the other coding modes is, but is not limited to, a predictive coding mode, a consistent encoding mode, a run-length encoding mode, or a pulse code. Coded mode (pulse encoding) mode) may be included. The coding request value includes the number of bits required by the various coding modes to encode the input signal frame and / or the number of bytes required to encode the input signal frame. The coding request value is obtained by performing coding using various coding modes or by performing evaluation in combination with the characteristics of the coding mode based on the parameter information of the input signal frame. May be done. Therefore, if the coding request value is obtained by coding the input signal frame using various coding modes, the coding unit 13 may be arranged in the coding request evaluation unit 11. , Or it may be in one logical entity together with the coding request evaluation unit 11, or it may be an independent logical entity. When the coding request value is evaluated based on the parameter information of the input signal frame, the coding unit 13 receives the output of the mode determining unit 12 and executes the coding according to the determined mode.
The coding device according to this embodiment may further include a signal analysis unit 14. Before the input signal frame enters the coding request evaluation unit 11, the signal analysis unit 14 sets the second coding mode from the other coding modes other than the first coding mode, and the signal characteristics of the input signal frame. Based on, the second coding mode is configured to be selected according to the signal analysis policy, where the second coding mode is as at least one of the other coding modes input to the coding request evaluation unit 11. Play a role. Upon receiving the output of the signal analysis unit 14, the coding request evaluation unit 11 has a first coding mode and a second coding mode used to encode the input signal frame. Get the coding request value separately.
The coding request evaluation unit 11 outputs the coding request value required by various coding modes to code the input signal frame. The mode determination unit 12 determines the mode for encoding the input signal frame according to the mode selection policy. The mode selection policy determines the minimum coding request value from the acquired coding request value, or determines the coding request value closest to the threshold from the acquired coding request value, or , Preferentially adopting one of a first coding mode and at least one of the other coding modes for performing coding, and corresponding to the coding mode. It involves generating a coding mode identifier and a corresponding parameter required for coding and transmitting the coding mode identifier and the parameter to the coding unit 13.
The coding unit 13 encodes the input signal frame using the coding mode determined by the mode determining unit 12. Alternatively, as described above, the coding request evaluation unit 11 may encode the input signal frame based on various coding modes in the process of acquiring the coding request value, or the coded input. The signal frame may be reused by the coding unit 13. The encoded signal includes a encoded input signal frame, a coding mode identifier, and the parameters required by the coding. In other embodiments, the encoded signal may further include other signals or information.
According to this embodiment, a coding device is introduced to support various coding modes. Input signal frames and various by determining the coding requirement value for the first coding mode and at least one of the other coding modes using a comprehensive coding device. Effective switching between various coding modes, based on the coding policy, is performed as the signal is compressed and coded. Therefore, various requirements for complexity and compression efficiency can be met. As a result, compression efficiency is effectively improved with less complexity.
<Third Embodiment of the coding device> The coding device includes a signal analysis unit 14, a coding request evaluation unit 11, a mode determination unit 12, and a coding unit 13. The signal analysis unit 14 is configured to analyze the signal characteristics of the input signal frame and select a second coding mode for coding the input signal frame. The coding request evaluation unit 11 is configured to evaluate the coding request values for the first coding mode and the second coding mode used for coding the input signal frame. To. The mode determination unit 13 is configured to determine the coding mode for coding the input signal frame from those coding modes based on the coding request value. The coding unit 13 is configured to encode the input signal frame using the determined coding mode.
The signal analysis unit 14 is configured to analyze the input signal frame and select a second coding mode from various coding modes for coding the input signal frame. The various signal characteristics of the input signal frame may correspond to different coding modes. The signal characteristics are not limited to the following, but are a constant signal, a special constant signal, a pulse signal, or a multi-valued signal having at least two values. Signal) is included. The signal analysis unit may select the second coding mode according to the signal analysis policy. The signal analysis policy includes analyzing various signal characteristics of the input signal frame and selecting a coding mode corresponding to the characteristics of the input signal frame. Take the G711 coded stream signal as an example. If it is determined that the input signal frame is a constant signal, the constant coding mode is selected as the second coding mode. If the input signal frame does not match a certain characteristic, but the pulse information of the input signal frame satisfies a preset condition, the pulse coding mode may be selected as the second coding mode. The signal analysis policy may further include using a predictive coding mode for input signal frames whose signal characteristics do not match any preset characteristics. If the analysis shows that none of the characteristics match, for example, the input signal frame is neither normal constant nor special constant, the input signal frame does not match the preset number of pulses, and the input signal If the frame is also not a multi-valued signal, the predictive coding mode is selected as the second coding mode after analysis. The coding request evaluation unit and the mode determination unit in the present embodiment are used in the evaluation of the coding request value for the first coding mode and the second coding mode, and the first coding mode. The determination regarding the selection of the coding mode between the and the second coding mode is different from that in the first embodiment of the coding apparatus. The coding unit in this embodiment is the same as that in the first embodiment of the coding device.
Another difference from the first embodiment of the coding device is that the coding device of the present embodiment identifies whether the second coding mode output from the signal analysis unit 14 is the prediction mode. This means that the prediction mode identification unit 15 for this purpose is further included.
When the prediction mode identification unit 15 identifies that the second coding mode is not the prediction mode, the identified result is transmitted to the coding unit 13. The coding unit 13 encodes the input signal frame using the second coding mode. When the prediction mode identification unit 15 identifies that the second coding mode is the prediction mode, the identified result is transmitted to the coding request evaluation unit 11.
The mode selection policy and the signal analysis policy in the first and second embodiments of the coding device may be stored in the coding device via the storage unit 16 or may be read out. The storage unit may be a logical entity within the coding device, or it may be separated from the coding device so that the data information can be read from the outside.
According to this embodiment, a coding device is introduced to support various coding modes. By using a comprehensive coding device, a second coding mode for coding the frame signal is selected based on an analysis of the signal characteristics. If the selected second coding mode is not the predictive mode, the signal is immediately encoded and output. If the selected second coding mode is the prediction mode, the coding request for the first and second coding modes used to encode the input signal frame. The optimal coding mode is selected based on the value. In this way, effective switching between different coding modes based on the input signal frame and different coding policies is performed as the signal is compressed and coded. Therefore, various requirements for complexity and compression efficiency can be met. As a result, compression efficiency is effectively improved with less complexity.
<First Embodiment of Coding Method> FIG. 3 is a flowchart of a coding method according to an embodiment of the present invention. The method includes the following steps:
Step 201: The signal characteristics of the input signal frame are analyzed and a second coding mode for coding the input signal frame is selected.
The encoded input signal frame has various signal characteristics. An analysis is performed on the characteristics of the input signal frame. Based on the analysis result, a second coding mode is selected from various coding modes for coding the input signal frame. The input signal frame may be a PCM signal, or G.I. It may resemble a signal coded point by point according to the 711 standard, or it may be another signal.
Step 202: The coding request values for the preset first coding mode and the second coding mode used to encode the input signal frame are acquired.
The first coding mode for coding the input signal frame is preset. The first coding mode may be a dynamic range coding mode. The coding request values for the first coding mode used to encode the input signal frame and the second coding mode acquired in step 201 are evaluated. The coding request value is the number of bits or bytes required to encode the input signal frame.
Step 203: A coding mode for coding the input signal frame is selected from those coding modes based on various coding request values.
Calculated coding request values under various coding modes are compared according to specific policies. The coding mode for coding the input signal frame is selected from the comparison.
Step 204: The determined coding mode information and the coding data encoded according to the determined coding mode are encoded and multiplexed.
In addition, some coding parameters for coding are also multiplexed to allow the decoder to successfully decode.
According to this embodiment, a coding method is introduced to support various coding modes. By using a comprehensive coding method, a second coding mode for coding the frame signal is selected based on an analysis of the signal characteristics. The optimum coding mode is selected based on the coding required values for the first and second coding modes used to encode the input signal frame. In this way, effective switching between different coding modes based on the input signal frame and different coding policies is performed as the signal is compressed and coded. Therefore, various requirements for complexity and compression efficiency can be met. As a result, compression efficiency is effectively improved with less complexity.
<Second Embodiment of Coding Method> FIG. 4 is a flowchart of a coding method according to an embodiment of the present invention. The method includes the following steps:
Step 401: Analysis of the input signal frame is performed based on the signal characteristics.
The input signal frame has various signal characteristics. In the present embodiment, first, the signal characteristics of the input signal frame are analyzed. The signal characteristics of the input signal frame include whether the entire input signal frame is a constant signal. If the signal is a constant signal, it is further determined whether the constant is a special constant. The signal characteristics of the input signal frame may also include whether the entire input signal frame has two or more values, or the number of pulses in the input signal frame. The signal characteristics of the input signal frame are not limited to the above types. The signal characteristics of the input signal frame include all signal characteristics that can reflect the signal characteristics.
Step 402: The coding mode for coding the input signal frame is selected based on the analysis result of the input signal frame according to the signal analysis policy. Such a coding mode is called a second coding mode. Different signal characteristics correspond to different coding modes. By analyzing the input signal frame, the coding mode for the input signal frame may be determined according to a preset signal analysis policy. The signal analysis policy may include analyzing various signal characteristics to select a second coding mode in preference to making the selection based on the analysis results. For example, it is first determined whether the signal is a constant signal. Next, it is determined whether the signal is a multi-valued signal. Finally, it is determined whether the signal is a pulse signal. The determination process may be as follows. Based on the analysis result acquired in step 401, it is first determined whether or not the input signal frame is a constant signal. If the entire input signal frame is a constant signal, the corresponding constant coding mode is selected as the second coding mode. Alternatively, it is further determined whether the frame signal is a special constant frame signal. When the frame signal is a special constant frame signal, a special constant encoding mode is selected. Otherwise, the normal constant encoding mode is usually selected. If the signal is not a constant signal, it is determined whether the signal is a multi-valued signal. Multi-valued encoding when the entire input signal frame contains two values mode) is selected as the second coding mode. The rest may be inferred by analogy until the determination of signal characteristics is complete. The above order for determination may be adjusted according to the actual situation. The signal analysis policy includes the priority of determining various signal characteristics and the determination of which signal characteristics need to be analyzed. Corresponding coding modes include, but are not limited to, constant coding modes, pulse coding modes, multivalued coding modes, or run length coding modes. For signals whose signal characteristics do not match the preset characteristics, the predictive coding mode is used as the second coding mode. FIG. 5 shows a determination process based on the signal analysis policy.
Step 402 may be executed in parallel with step 401. After the analysis of one signal characteristic, it may be determined based on the signal analysis policy whether the coding mode corresponding to the signal characteristic may be selected as the second coding mode. Step 402 may be performed to select a second coding mode according to the signal analysis policy based on the completion of step 401. The above steps may allow the coding mode to be effectively selected based on the signal characteristics in order to further guarantee the compression efficiency.
Step 403: It is identified whether the second coding mode is the prediction mode. If the second coding mode is not the prediction mode, the method proceeds to step 407. If the second coding mode is the predictive mode, subsequent steps are performed.
Step 404: A coding request value for a preset first coding mode used to encode the input signal frame is obtained.
Step 404 may be performed in at least two ways. The first method is to encode the input signal frame frame by frame using the first coding mode to calculate the coding requirement value required for coding. The second method evaluates the coding requirement value required to encode the input signal frame frame by frame using the first coding mode, and evaluates the coding requirement value. Is to get.
The first coding mode may be a dynamic range coding mode. The coding request value for the dynamic range coding mode may include the number of bits or bytes required for coding. The number of bits or bytes is used to represent the characteristic information of complexity for encoding an input signal frame. This embodiment is described by an example of the number of bits. The number of bits required to encode each sample point is calculated based on the minimum and maximum sample point values of the encoded signal. For example, the number of bits required to encode each sample point of the coded signal x based on the acquired maximum sample point value max (x) and minimum sample point value min (x). "Code_bits" means code_bits = log<sub>2</sub>It may be obtained by the equation [(max (x) min (x) + 1], or the determination may be performed prior to step 404 to obtain the dynamic range of the encoded signal. The dynamic range is compared to a predetermined threshold. Step 404 is performed if the dynamic range of the encoded signal is less than or equal to a preset threshold, or if the dynamic range is less than the threshold. There is, or exceeds the threshold, or is less than the threshold 1 and exceeds the threshold 2, or the number of bits for the second coding mode is greater than the threshold.
Step 405: The coding request value for the second coding mode used to encode the input signal frame is obtained. This step may be performed prior to step 404, after step 404, and / or in parallel with step 404. Similar to the method in step 404, the coding request value for the second coding mode used to encode the input signal frame is the input signal frame using the second coding mode. Is obtained according to the method for calculating the number of bits or bytes required to encode. Alternatively, the determination may be performed prior to step 405. If the number of bits for the second coding mode is greater than the threshold, step 406 is performed.
Step 406: The coding request values obtained in step 404 and step 405 are compared. The coding mode for coding the input signal frame is selected from the first coding mode and the second coding mode according to the mode selection policy.
The mode selection policy includes determining the minimum coding request value from the acquired coding request value. According to this mode selection policy, if the coding required value required for the first mode is less than the coding required value required for the second mode, the input signal frame is encoded. The first mode for is selected. If the coding required value required for the first mode is greater than or equal to the coding required value required for the second mode, the second coding mode encodes the input signal frame. Selected to be. The mode selection policy further includes determining the coding request value closest to the threshold value from the acquired coding request value. According to this mode selection policy, the coding request values for these two modes are compared with preset thresholds. A coding mode corresponding to a coding request value having a smaller absolute value of the difference between the coding request value and the threshold value is selected to encode the input signal frame. Alternatively, a coding mode corresponding to a coding request value less than the threshold is selected to encode the input signal frame. The mode selection policy further preferentially adopts one of the first coding mode and at least one of the other coding modes used to perform the coding. Including. In various environments, it may be necessary to perform coding in a preset coding mode. Therefore, the mode used first still exists. Of course, the mode policy for selecting the coding mode for the input signal frame from the first coding mode and the second coding mode is not limited to the above type. The mode selection policy includes all solutions that can be devised by those skilled in the art.
Step 407: The determined coding mode information and the coding data encoded according to the determined coding mode are encoded and multiplexed.
When the method of calculating the coding request value via coding is used in step 404 and step 405, the information of the first coding mode and the coding result in step 404 are obtained in step 407. It is multiplexed and encoded, along with the parameters required for one coding mode. The multiplexed data is then output to the decoder. Alternatively, the information in the second coding mode and the coding result in step 405 are multiplexed and coded together with the parameters required for the second coding mode. The multiplexed data is then output to the decoder. If the coding request value is obtained by the evaluation method used in steps 404 and 405, then in step 407 the input signal frame is coded frame by frame using the coding mode determined in step 406. And the coded data is acquired. For the identification result as an input in step 403, the input signal frame is encoded and multiplexed based on the identification result.
The encoded input signal frame, the coding mode identifier, and the parameters required for coding are multiplexed. The parameters required for coding include the number of sample points, the minimum value of the sample points, and the number of bits for coding each sample point. The parameters may also include prediction coefficients, prediction orders, entropy coding parameters, etc., which are determined by the selected coding mode. The selected coding mode is used to compress and encode the input signal frame.
If it is determined that the coded signal uses a second coding mode, a coding mode identifier corresponding to the second coding mode is generated and transmitted. The input signal frame is encoded using the second coding mode via the second coding module.
If it is determined that the coded signal uses the first coding mode, the input signal frame is coded by the dynamic range coding module (when taking the dynamic range coding module as an example). The frame header information of the encoded signal, the sample point value information of the encoded signal, and the encoding mode identifier corresponding to the dynamic range encoding mode are transmitted. The frame header information is the minimum value of the sample points of the coded signal and the number of bits for encoding each sample point. The information on the sample point value of the encoded signal is the sample point value of the encoded signal. The frame header information of the encoded signal is encoded based on the encoding mode identifier corresponding to the dynamic range encoding mode. The information at the sample points of the coded signal is coded bit by bit based on the number of bits required to encode each sample point.
Alternatively, step 403 may include the following steps.
Step 403: It is identified whether the second coding mode is one of the coding modes in the determination mode set.
The determination mode set is preset. The determination mode set may include at least one coding mode. At least one coding mode may be a prediction mode or another mode different from the first coding mode. If the second coding mode is selected in step 402, the second coding mode is determined first. If the second coding mode is not in the determination mode set, step 407 is performed to encode the input signal frame using the second coding mode, with information on the second coding mode and The coded data encoded using the second encoding mode is multiplexed, otherwise subsequent steps are performed.
According to this embodiment, a coding method is introduced to support various coding modes. By using a comprehensive coding method, a second coding mode for coding the frame signal is selected based on an analysis of the signal characteristics. If the selected second coding mode does not belong to the determination mode set, the signal is immediately encoded and output. For the first and second coding modes, which are used to encode the input signal frame when the selected second coding mode is in the decision mode set, The optimum coding mode is selected based on the coding request value. In this way, effective switching between different coding modes based on the input signal frame and different coding policies is performed as the signal is compressed and coded. Therefore, various requirements for complexity and compression efficiency can be met. As a result, compression efficiency is effectively improved with less complexity.
<Third Embodiment of the coding method> FIG. 6 is a flowchart according to an embodiment of the present invention. The flowchart includes the following steps.
Step 601: The coding request values for the first coding mode and one of the other coding modes used to encode the input signal frame are obtained.
The first coding mode may be a dynamic range coding mode. At least one of the other coding modes is another coding mode that is different from the dynamic range coding mode. This mode may be a predictive mode if at least one of the other coding modes includes only one mode. Of course, other coding modes are not excluded.
Step 602: A coding mode for coding the input signal frame is selected from those coding modes according to the mode selection policy based on the coding request value.
Step 603: The determined coding mode information and the coding data encoded according to the determined coding mode are multiplexed.
In this embodiment, the coding requirement values for the various coding modes are directly evaluated. A coding mode for coding the input signal frame is selected from those coding modes, which reduces the complexity of the implementation.
According to this embodiment, a coding method is introduced to support various coding modes. By using a comprehensive coding method to determine the coding requirements for the first and second coding modes, the input signal frame and various coding policies Based, effective switching between the various coding modes is performed as the signal is compressed and coded. Therefore, various requirements for complexity and compression efficiency can be met. As a result, compression efficiency is effectively improved with less complexity.
<Fourth Embodiment of Encoding Method> FIG. 7 is a flowchart according to an embodiment of the present invention. The flowchart includes the following steps.
Step 801: The coding request value for the first coding mode used to encode the input signal frame is obtained.
Step 801 may be performed in at least two ways. The first method is to encode the input signal frame frame by frame using the first coding mode to calculate the coding requirement value required for coding. The second method evaluates the coding request value for the first coding mode, which is used to encode the input signal frame frame by frame, and obtains an evaluation for the coding request value. It is to be.
The first coding mode may be a dynamic range coding mode. The coding request value for the dynamic range coding mode may include the number of bits or bytes required for coding. The number of bits or bytes is used to represent the characteristic information of complexity for encoding an input signal frame. This embodiment is described by an example of the number of bits. The number of bits required to encode each sample point is calculated based on the minimum and maximum sample point values of the encoded signal. For example, the number of bits required to encode each sample point of the coded signal x based on the acquired maximum sample point value max (x) and minimum sample point value min (x). "Code_bits" means code_bits = log<sub>2</sub>It may be acquired by the formula [(max (x) min (x) + 1].
Step 802: The coding request value for at least one of the other coding modes used to encode the input signal frame is obtained.
The coding request value for a coding mode different from the dynamic range coding mode used to encode the input signal frame is obtained. Similar to the method in step 801 the coding request value for the second coding mode used to encode the input signal frame is the number of bits required by the other coding modes or Obtained according to the method for calculating the number of bytes. The coding request value may include the number of bits or bytes required for coding. Take the predictive coding mode as an example. When at least one of the other coding modes is a predictive coding mode, the process of obtaining the coding required value for the predictive coding mode may include the following steps.
The number of bits for encoding the predictive coding mode of the encoded signal is the number of bits required to encode the residual signal of the encoded signal and the frame edge of the encoded signal. It is the total with the number of bits of information. Entropy coding is performed on the residual signal to obtain the number of bits required to encode the residual signal. In this embodiment, the residual signal is acquired based on the predicted order and the predicted coefficient. Next, entropy coding is performed on the residual signal based on the entropy coding parameters. Alternatively, the characteristics of entropy coding may be utilized to simplify the calculation of the number of bits required to encode the residual signal. Take rice coding as an example. The input value is m. The rice parameter is s. The number of bits required by this value is k + 1 + s, where k = m >> (s-1). Therefore, it is not necessary to perform full entropy coding on the predicted residual signal. The required number of bits can be evaluated according to the characteristics. As a result, the complexity of the solution is reduced. The frame edge information includes a frame length parameter, a prediction parameter, and an entropy coding parameter. The frame length parameter is used to identify the number of sample points contained within the current frame. Prediction parameters indicate the information required for linear prediction, such as prediction order and prediction coefficients. Regarding the entropy coding parameters, take rice coding as an example. In rice coding, the corresponding parameters may change as the signal changes in order to optimize the coding efficiency. Those parameters need to be encoded at the end of coding and sent to the decoder. In addition to the method of obtaining the coding requirement value by coding the input signal frame frame by frame using the predictive coding mode, the coding requirement value may be evaluated according to the characteristics of the input signal frame.
The above is based on the predictive coding mode, for example only. In this step, the coding request values for various coding modes may be obtained. The acquisition method can be applied to a coding method different from the coding mode itself. In this step, the coding request value may be acquired regardless of the coding mode.
An analysis may be performed on the input signal frame before performing this step. Depending on the signal characteristics of the input signal frame, one or more coding modes may be selected from various coding modes to serve as at least one of the other coding modes. This makes it possible to reduce the complexity in calculating the coding requirement value.
In this embodiment, the order in which steps 801 and 802 are executed may be exchanged, or steps 801 and 802 may be executed in parallel.
Step 803: The coding request values for at least two coding modes obtained in step 801 and step 802 are compared. The coding mode for coding the input signal frame is selected from the above coding modes according to the mode selection policy.
For the comparison step, the various coding request values obtained in step 802 may first be compared according to the mode selection policy, and the various coding request values obtained in step 801 and the mode selection. Further comparisons are made according to the policy. Alternatively, the various coding request values obtained in step 801 and step 802 are directly compared together. The difference between the two methods is that in a two-step comparison, a different mode selection policy may be adopted at each step of the comparison, whereas in a one-step comparison, only one mode selection policy is adopted. That's what it means.
The mode selection policy includes determining the minimum coding request value from the acquired coding request value. According to this mode selection policy, if the coding request value required for the first mode is less than the coding request value required for the second mode, then the first mode is input. Selected as the coding mode for coding the signal frame. If the coding required value required for the first mode is greater than or equal to the coding required value required for the second mode, the second coding mode encodes the input signal frame. It is selected as the coding mode for coding. The mode selection policy further includes determining the coding request value closest to the threshold value from the acquired coding request value. According to this mode selection policy, the coding request values for these two modes are compared with preset thresholds. A coding mode corresponding to a coding request value having a smaller absolute value of the difference between the coding request value and the threshold value is selected to encode the input signal frame. Alternatively, a coding mode corresponding to a coding request value less than the threshold is selected to encode the input signal frame. The mode selection policy further includes preferentially adopting one of a first coding mode and at least one of the other coding modes for performing the coding. In various environments, it may be necessary to perform coding in a preset coding mode. Therefore, the mode used first still exists. Of course, the mode policy for selecting the coding mode for the input signal frame from the first coding mode and the second coding mode is not limited to the above type. The mode selection policy includes all solutions that can be devised by those skilled in the art. Take a two-step comparison as an example. In the first step, the coding mode corresponding to one or more coding request values may be acquired based on step 802, where the coding mode corresponding to the coding request value smaller than the threshold value. However, the input signal frame It serves as a coding mode for the purpose. In the second step, a method of determining the minimum coding requirement value is used to determine the coding mode for coding the input signal frame.
Step 804: The determined coding mode information and the coding data encoded according to the determined coding mode are encoded and multiplexed.
When the coding request value is acquired via coding in steps 801 and 802, the coded mode information in step 804 and the coding result acquired in step 801 or 802 are coded. It is encoded and multiplexed according to the encoding mode determined in step 803, along with the parameters required to encode according to the encoding mode. The multiplexed result is output to the decoder. If the coding request value is obtained by the evaluation method used in steps 801 and 802, then in step 804 the input signal frame is coded frame by frame using the coding mode determined in step 803. And the coded data is acquired.
The encoded input signal frame, the coding mode identifier, and the parameters required for coding are multiplexed. The parameters required for coding include the number of sample points, the minimum value of the sample points, and the number of bits required to encode each sample point. The parameters may also include prediction coefficients, prediction orders, entropy coding parameters, and the like. The selected coding mode is used to compress and encode the input signal frame.
If it is determined that the coded signal uses the first coding mode, the input signal frame is coded by the dynamic range coding module (when taking the dynamic range coding module as an example). The frame header information of the encoded signal, the sample point value information of the encoded signal, and the encoding mode identifier corresponding to the dynamic range encoding mode are transmitted. The frame header information is the minimum value of the sample points of the coded signal and the number of bits for encoding each sample point. The information on the sample value of the encoded signal is the sample value of the encoded signal. The frame header information of the encoded signal is encoded based on the encoding mode identifier corresponding to the dynamic range encoding mode. The information in the samples of the coded signal is coded bit by bit based on the number of bits required to encode each sample.
According to this embodiment, a coding method is introduced to support various coding modes. By using a comprehensive coding method, effective switching between different coding modes, based on the input signal frame and different coding policies, is when the signal is compressed and coded. Is executed. Therefore, various requirements for complexity and compression efficiency can be met. As a result, compression efficiency is effectively improved with less complexity.
<Embodiment of Decryption Method> FIG. 8 is a flowchart of a decoding method according to an embodiment of the present invention. The method includes the following steps:
Step 901: The coded mode information for demultiplexing the encoded and transmitted multiplexed signal to encode the frame signal and the coded data encoded according to the coding mode. And are obtained.
Step 902: The demultiplexed coded data is decoded based on the coded mode information to obtain a frame signal. The coding mode is acquired at the end of coding by following the steps below.
The coding request values for the first coding mode used to encode the input signal frame and one of the other coding modes are obtained. The coding mode for coding the input signal frame is determined from those coding modes according to the mode selection policy based on the coding request value.
The multiplexed signal is demultiplexed, and the signal to be decoded and the coding mode identifier are transmitted to the decoding unit. Take the prediction mode as an example. If the coded signal uses predictive coding mode, the predictive coefficients, predictive order, and entropy coding parameters are also obtained. The decoding mode for decoding the decoded signal is determined based on the demultiplexed coding mode identifier. When the coding mode corresponding to the coding mode identifier is the dynamic range coding mode, the decoding mode for the signal to be decoded is the dynamic range decoding mode. Next, the frame header information of the decoded signal and the sample point value information are decoded, and the signal is restored losslessly according to the decoded header information and the sample point value information. Will be done. When the coding mode corresponding to the coding mode identifier is another coding mode, the decoding mode for decoding the signal to be decoded is set to another decoding mode such as the predictive decoding mode. It is determined that it is the corresponding decoding mode. Take the predictive coding mode as an example. The residual signal is acquired by performing entropy decoding on the decoded signal according to the entropy coding parameters. Based on the demultiplexed prediction factor and the prediction order, the residual signal is coupled, which restores the signal losslessly.
According to this embodiment, a decoding method is introduced to support various decoding modes. Between different coding modes, based on input signal frames and different coding policies, by using a comprehensive decoding method and decoding the signal using the reverse process of the coding process. Effective switching in is performed as the signal is compressed and encoded. Therefore, various requirements for complexity and compression efficiency can be met. As a result, compression / decompression efficiency is effectively improved with less complexity.
<Embodiment of Encoding Device> FIG. 9 is a diagram of a coding system according to an embodiment of the present invention. The system includes a signal receiving device 01, a coding mode determining device 02, a coding device 03, and a multiplexing and output device 04.
The signal receiving device 01 is configured to receive an input signal frame. The output signal is a coded signal. The coding mode determining device 02 is used to analyze the signal characteristics of the input signal frame, select a second coding mode for coding the input signal frame, and encode the input signal frame. The coding request values for the preset first coding mode and the second coding mode are acquired, and the input signal frame is input from the above coding modes based on the coding request values. It is configured to determine the coding mode for coding. The coding device 03 is configured to encode the input signal frame using the determined coding mode. The multiplexing and output device 04 is configured to multiplex the information of the determined coding mode and the coded data encoded according to the determined coding mode.
The coding device 03 includes a coding device that executes using various coding modes. The coding mode determining device 02 may be coupled to the coding device 03, or may be coupled to the multiplexing and output device 04. When the coding mode determining device 02 is coupled to the coding device 03, the coding mode determining device 02 acquires the evaluation of the coding request value via the evaluation method. After the coding mode for coding the input signal frame is determined, the determined coding mode is transmitted to the coding device 03, which in turn uses that coding mode. The input signal frame is encoded, and the encoded result is multiplexed and transmitted to the output device 04. The multiplexing and output device 04 transmits the multiplexed data to the decoder for decoding. When the coding mode determining device 02 is coupled to the multiplexing and output device 04, the coding device 03 and the coding mode determining device 02 may be in one logical entity, or the coding mode is determined. It may be located in the device 02, or it may be an independent logical entity. The process in which the coding mode determining device 02 obtains the coding required value uses the coding device 03 to encode the coding required value required for coding to perform coding. Includes getting by using the mode. After the coding mode for encoding the input signal frame is determined, the data encoded using the coding mode, the mode identifier, and the coding parameters are transmitted to the multiplexing and output device. Will be done. The multiplexing and output device multiplexes the received data and outputs the multiplexed result to the decoder for decoding.
According to this embodiment, a coding system is introduced to support various coding modes. By using a comprehensive coding system, effective switching between different coding modes, based on the input signal frame and different coding policies, is when the signal is compressed and coded. Is executed. Therefore, various requirements for complexity and compression efficiency can be met. As a result, compression efficiency is effectively improved with less complexity.
In the above embodiment, the coding operation under various coding modes is performed by various coding devices including a dynamic range coding device, a constant coding device, a predictive coding device, and the like. The input signal frame may be a PCM signal, or G.I. It may resemble a point-by-point encoded signal under the 711 standard, or it may be another signal applicable to the above operation in embodiments, or the above by one of ordinary skill in the art. It may be a signal that can be clearly considered from the embodiment.
It will be appreciated by those skilled in the art that all or part of the procedure of the method according to the aforementioned embodiments may be performed using the relevant hardware as directed by a computer program. The program may be stored in a computer-readable storage medium. The running program may include the procedure of the method according to various embodiments as described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), or the like.
It should be noted that the aforementioned embodiments are merely examples for the technical solutions of the present invention, and the present invention is not limited thereto. Preferred embodiments have been shown for the purposes of the present invention, but any modifications or equivalents to the technical solutions of the present invention will be made without departing from the spirit and scope of the technical solutions of the present invention. Is understood by those skilled in the art.
10 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| JPWO2022201632A1 | Cited by | Japan | Search report |
| WO2022201632A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| JP2002247137A | Cites | Japan | Search report |
| JPH02144599A | Cites | Japan | Search report |
| JPH07287600A | Cites | Japan | Search report |
| JPH09503874A | Cites | Japan | Examiner |
| JPH10173541A | Cites | Japan | Examiner |
| JPH10187199A | Cites | Japan | Search report |
13 members in 5 offices
Priority claims4
| Document | Office | Kind | Date |
|---|---|---|---|
| 200910107564 | China | A | |
| 200910107564 | China | A | |
| 20092009107564 | – | – | – |
| CN20091107564 | – | – | – |
Members13
| Document | Office | Kind | |
|---|---|---|---|
| CN101615910A | China | A | |
| US7835906B1 | United States of America | B1 | |
| EP2256723A1 | European Patent Office (EPO) | A1 | |
| US2010305955A1 | United States of America | A1 | |
| KR20100129683A | Republic of Korea | A | |
| CN101615910B | China | B | |
| JP2011043795A | Japan | A | |
| KR101162193B1 | Republic of Korea | B1 | |
| JP5017418B2 | Japan | B2 | |
| JP2012194574AThis record | Japan | A | |
| EP2511905A1 | European Patent Office (EPO) | A1 | |
| EP2256723B1 | European Patent Office (EPO) | B1 | |
| JP5456097B2 | Japan | B2 |
20 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Receipt of annual feesJAPANESE INTERMEDIATE CODE: R250R250 | R250 | |
| Receipt of annual feesJAPANESE INTERMEDIATE CODE: R250R250 | R250 | |
| Receipt of annual feesJAPANESE INTERMEDIATE CODE: R250R250 | R250 | |
| Receipt of annual feesJAPANESE INTERMEDIATE CODE: R250R250 | R250 | |
| Receipt of annual feesJAPANESE INTERMEDIATE CODE: R250R250 | R250 | |
| Receipt of annual feesJAPANESE INTERMEDIATE CODE: R250R250 | R250 | |
| Receipt of annual feesJAPANESE INTERMEDIATE CODE: R250R250 | R250 | |
| Receipt of annual feesJAPANESE INTERMEDIATE CODE: R250R250 | R250 | |
| Receipt of annual feesJAPANESE INTERMEDIATE CODE: R250R250 | R250 | |
| Receipt of annual feesJAPANESE INTERMEDIATE CODE: R250R250 | R250 | |
| Certificate of patent or registration of utility modelJAPANESE INTERMEDIATE CODE: R150R150 | R150 | |
| Certificate of patent or registration of utility modelJAPANESE INTERMEDIATE CODE: R150R150 | R150 | |
| First payment of annual fees (during grant procedure)JAPANESE INTERMEDIATE CODE: A61A61 | A61 | |
| Written decision to grant a patent or to grant a registration (utility model)JAPANESE INTERMEDIATE CODE: A01A01 | A01 | |
| Decision of grant or rejection writtenTRDD | TRDD | |
| Request for written amendment filedJAPANESE INTERMEDIATE CODE: A523A521 | A521 | |
| Notification of reasons for refusalJAPANESE INTERMEDIATE CODE: A131A131 | A131 | |
| Request for written amendment filedJAPANESE INTERMEDIATE CODE: A523A521 | A521 | |
| Notification of reasons for refusalJAPANESE INTERMEDIATE CODE: A131A131 | A131 | |
| Report on retrievalJAPANESE INTERMEDIATE CODE: A971007A977 | A977 |
Numbers
- Publication
- 2012194574
- Publication, DOCDB
- 2012194574
- Publication, EPODOC
- JP2012194574
- Application
- 131683
- Application, DOCDB
- 2012131683
- Application, EPODOC
- JP20120131683
Titles2
- Japanese
- 符号化方法、装置及び機器、及び復号化方法
- English
- An encoding method, a device, apparatus, and a decoding method
Classification
- CPC, 2
- G10L19/22
- G10L19/0017
- IPC, 4
- G10L19 00
- G10L19 22
- H03M7 30
- G10L19 14