JP2011155474A - Encoding apparatus and system using thereof - Google Patents
Encoding apparatus and system using thereof Download PDFInfo
- Publication number
- JP2011155474A JP2011155474A JP2010015492A JP2010015492A JP2011155474A JP 2011155474 A JP2011155474 A JP 2011155474A JP 2010015492 A JP2010015492 A JP 2010015492A JP 2010015492 A JP2010015492 A JP 2010015492A JP 2011155474 A JP2011155474 A JP 2011155474A
- Authority
- JP
- Japan
- Prior art keywords
- frames
- value
- encoding
- frame
- data
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
本発明は、音声や映像などを符号化する技術に関し、特に、フレーム間の品質に差が生じることを防止した符号化装置およびそれを用いたシステムに関する。 The present invention relates to a technique for encoding audio, video, and the like, and more particularly, to an encoding apparatus that prevents a difference in quality between frames and a system using the same.
近年、音声や映像などを符号化する装置が種々開発されている。このような装置で用いられるMPEG(Moving Picture Experts Group)−AUDIO、MPEG−VIDEOなどの符号化方式においては、VBR(Variable Bit Rate)が用いられている。 In recent years, various apparatuses for encoding audio and video have been developed. VBR (Variable Bit Rate) is used in coding schemes such as MPEG (Moving Picture Experts Group) -AUDIO and MPEG-VIDEO used in such apparatuses.
VBRにおいては、現フレームの計画ビットレート(目標値)から実績ビットレート(算出符号量)を差し引いた差分値を計算して蓄積する。そして、その差分値が“0”よりも大きければ、すなわちビットレートに余剰ができた場合には、その余剰分を次のフレームの計画ビットレートに加算することによって、フレームごとにそのアドバンテージを付加する。これに関連する技術として、下記の特許文献1〜3に開示された発明がある。 In the VBR, a difference value obtained by subtracting the actual bit rate (calculated code amount) from the planned bit rate (target value) of the current frame is calculated and stored. If the difference value is larger than “0”, that is, if there is a surplus in the bit rate, the surplus is added to the planned bit rate of the next frame to add the advantage for each frame. To do. As technologies related to this, there are inventions disclosed in the following Patent Documents 1 to 3.
特許文献1は、入力映像に対し、シーンの特徴による著しいを画質劣化を抑え、映像全体において画質のばらつきを抑える符号化方法を提供することを目的とする。フレーム群の符号化の難易度をあらわす符号化難易度情報を算出するステップと、フレーム群を構成する各フレームの符号化の難易度をあらわす符号化難易度情報を算出するステップと、フレーム群の目標符号量を算出するステップと、フレーム群を構成する各フレームの目標符号量を算出するステップと、各フレームにおいて、算出の目標符号量以下に発生符号量を制御して符号化を行い、符号化データを出力する符号化ステップとからなる。これによって、動きの激しいシーン、シーンチェンジを含むシーン、動きの少ないシーンなどシーンの違いによる画質のばらつきを抑えることができると共に、シーンの変わり目などの著しい画質劣化を抑えることができる。 Patent Document 1 aims to provide an encoding method that suppresses image quality deterioration due to scene characteristics, and suppresses variations in image quality in the entire image, with respect to an input image. A step of calculating encoding difficulty level information representing the difficulty level of encoding of the frame group; a step of calculating encoding difficulty level information indicating the encoding difficulty level of each frame constituting the frame group; and A step of calculating a target code amount; a step of calculating a target code amount of each frame constituting the frame group; and encoding in each frame by controlling the generated code amount to be equal to or less than the calculated target code amount. Encoding step for outputting encoded data. As a result, it is possible to suppress variations in image quality due to scene differences such as scenes with intense motion, scenes with scene changes, and scenes with little motion, and it is possible to suppress significant image quality degradation such as scene transitions.
特許文献2は、量子化歪みを抑制しビットレートを平均値に保つことを目的とする。増加ビット量決定部は、ブロックタイプ判別部からの処理ブロックタイプがショートタイプである場合に、量子化に使用するための増加ビット量を決定する。ビット制御部は、決定された増加ビット量に平均ビット割当量を加算し、量子化に使用できる許容ビット量をビット量/誤差量制御部に出力すると共に、多重化部から得た前回の符号化フレームの処理時の使用ビット量と平均ビット割当量との差分を求める。そして、今までに蓄積されたビット量との加算を行い、その値が所定の上限値を超える場合に、蓄積ビット解放量を多重化部に出力する。 Patent Document 2 aims to suppress quantization distortion and keep the bit rate at an average value. The increase bit amount determination unit determines an increase bit amount to be used for quantization when the processing block type from the block type determination unit is a short type. The bit control unit adds the average bit allocation amount to the determined increase bit amount, outputs an allowable bit amount usable for quantization to the bit amount / error amount control unit, and also obtains the previous code obtained from the multiplexing unit. The difference between the used bit amount and the average bit allocation amount when processing a frame is obtained. Then, addition with the bit amount accumulated so far is performed, and when the value exceeds a predetermined upper limit value, the accumulated bit release amount is output to the multiplexing unit.
特許文献3は、符号化が困難なシーンが連続した場合における、割り当て可能なビット数の激減やフレームレートの急変による画質の劣化を防止し得る画像符号化装置などを提供することを目的とする。フレーム群目標ビット数導出部は、残りのフレームに割り当て可能なフレーム群単位の総ビット数を記憶部から読み出し、前フレームの符号化で使用した発生ビット数を引いて更新し、次フレーム目標ビット数導出部に送信する。次フレーム目標ビット数導出部は、受信した総ビット数とフレームレート値Rfを考慮した残りのフレーム数とに基づいて、次のフレームに割り当てるビット数の目標値を算出する。平均フレームビット数導出部は、過去のフレームに割り当てられたビット数の平均値を算出する。演算部は、算出されたビット数の平均値に所定の係数を掛け、これと上記のビット数の目標値とを比較し、値の大きい方を選択して量子化ステップ導出部に送信する。 Patent Document 3 aims to provide an image encoding device and the like that can prevent deterioration in image quality due to a drastic decrease in the number of assignable bits and a sudden change in frame rate when scenes that are difficult to encode are continuous. . The frame group target bit number deriving unit reads out the total number of bits in frame group units that can be allocated to the remaining frames from the storage unit, updates the subframe by subtracting the generated bit number used in the previous frame encoding, and Sent to the number derivation unit. The next frame target bit number deriving unit calculates a target value of the number of bits to be allocated to the next frame based on the received total number of bits and the remaining number of frames considering the frame rate value Rf. The average frame bit number deriving unit calculates an average value of the number of bits allocated to the past frame. The calculation unit multiplies the average value of the calculated number of bits by a predetermined coefficient, compares this with the target value of the number of bits, selects the larger value, and transmits it to the quantization step deriving unit.
上述のVBRにおいては、現フレームまでに余剰が蓄積されない限り、現フレームでアドバンテージが付加されないことから、ビットレートの増減分制御が効率よく行なわれているとは言えず、たとえば、全体ビットレートを厳格に保証する組み込み機器などにおいてはそれを保証することができなくなるといった問題がある。 In the above-described VBR, unless the surplus is accumulated until the current frame, the advantage is not added in the current frame, so it cannot be said that the bit rate increase / decrease control is performed efficiently. There is a problem that it cannot be assured in an embedded device that strictly guarantees.
また、総フレーム数が小さいデータを符号化する場合には、フレーム間の品質に顕著な差が生じる可能性が高い。たとえば、ビットレートの余剰分が使われないままフレームの符号化が終了してしまうことも起こり得る。 In addition, when data with a small total number of frames is encoded, there is a high possibility that a significant difference in quality between frames will occur. For example, it is possible that the encoding of the frame is finished without using the surplus bit rate.
本発明は、上記問題点を解決するためになされたものであり、その目的は、フレーム間の品質に顕著な差が生じることを防止した符号化装置およびそれを用いたシステムを提供することである。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an encoding apparatus and a system using the same that prevent a significant difference in quality between frames. is there.
本発明の一実施例によれば、符号化装置が提供される。符号量算出部は、データを符号化したときの符号量をフレームごとに算出する。ビットレート管理部は、目標値と符号量算出部によって算出された符号量とから差分値を算出して管理し、蓄積合計値を所定数のフレームに割り当てる。そして、符号化部は、ビットレート管理部によって割り当てられた後の目標値となるように所定数のフレームを符号化する。 According to an embodiment of the present invention, an encoding device is provided. The code amount calculation unit calculates the code amount when data is encoded for each frame. The bit rate management unit calculates and manages a difference value from the target value and the code amount calculated by the code amount calculation unit, and assigns the accumulated total value to a predetermined number of frames. Then, the encoding unit encodes a predetermined number of frames so as to be the target value after being assigned by the bit rate management unit.
本発明の他の実施例によれば、音楽または映像データを符号化して記憶し、符号化された音楽または映像データを復号して再生するシステムが提供される。ハードディスクは、符号化データを記憶する。データ処理部は、音楽または映像データを符号化してハードディスクに記憶させる。また、データ処理部は、ハードディスクに記憶される符号化された音楽または映像データを復号して再生する。表示処理部は、データ処理部によって再生する音楽または映像データに関連する表示データを表示する。符号化装置は、音楽または映像データを符号化したときの符号量をフレームごとに算出する符号量算出部と、目標値と符号量算出部によって算出された符号量とから差分値を算出して管理し、蓄積合計値を所定数のフレームに割り当てるビットレート管理部と、ビットレート管理部によって割り当てられた後の目標値となるように所定数のフレームを符号化する符号化部とを含む。 According to another embodiment of the present invention, a system for encoding and storing music or video data and decoding and reproducing the encoded music or video data is provided. The hard disk stores encoded data. The data processing unit encodes music or video data and stores it in the hard disk. The data processing unit decodes and reproduces the encoded music or video data stored in the hard disk. The display processing unit displays display data related to music or video data reproduced by the data processing unit. The encoding device calculates a difference value from a code amount calculation unit that calculates a code amount when encoding music or video data for each frame and a code amount calculated by the target value and the code amount calculation unit. A bit rate management unit that manages and allocates the accumulated total value to a predetermined number of frames, and an encoding unit that encodes the predetermined number of frames so as to be a target value after being allocated by the bit rate management unit.
この実施例によれば、符号化部が、ビットレート管理部によって割り当てられた後の目標値となるように所定数のフレームを符号化するので、フレーム間の品質に顕著な差が生じることを防止することが可能となる。 According to this embodiment, the encoding unit encodes a predetermined number of frames so as to be the target value after being assigned by the bit rate management unit, so that there is a significant difference in quality between frames. It becomes possible to prevent.
(第1の実施の形態)
図1は、本発明の第1の実施の形態における符号化装置の構成例を示すブロック図である。この符号化装置は、入力用のバッファとして用いられるSDRAM(Synchronous Dynamic Random Access Memory)11と、データ取得制御部12と、符号量算出部13と、ビットレート管理部14と、符号化部15と、出力用のバッファとして用いられるSDRAM16とを含む。
(First embodiment)
FIG. 1 is a block diagram showing a configuration example of an encoding apparatus according to the first embodiment of the present invention. This encoding apparatus includes an SDRAM (Synchronous Dynamic Random Access Memory) 11 used as an input buffer, a data
SDRAM11は、符号化するデータ、たとえば音楽データを一時的に保持するバッファである。また、SDRAM16は、符号化した後のデータを一時的に保持するバッファである。SDRAM11と16とは、異なる半導体メモリで構成されてもよいし、同じ半導体メモリで構成され、その領域を入力用バッファと出力用バッファとに分割して使用するようにしてもよい。
The SDRAM 11 is a buffer that temporarily stores data to be encoded, for example, music data. The SDRAM 16 is a buffer that temporarily holds the encoded data.
データ取得制御部12は、ビットレート管理部14からの取り込み要求信号に応じて、SDRAM11に保持されるデータを1フレーム分だけ取得して、符号量算出部13に出力する。符号量算出部13は、データ取得制御部12から受けた1フレーム分のデータを符号化したときの符号量を算出する。
In response to the capture request signal from the bit
ビットレート管理部14は、符号量算出部13によって算出された符号量と目標値とに基づいてビットレート(符号量)の余剰分を算出し、余剰分を蓄積することによって複数のフレームに分配する割当合計値を管理する。なお、目標値は予めSDRAM11などに格納されているものとする。
The bit
また、ビットレート管理部14は、次のフレームを取得するときに、データ取得制御部12に取り込み要求信号を出力する。さらに、ビットレート管理部14は、符号化部15によって実際に符号化されたときの符号量を受け、ビットレート(符号量)の余剰分を繰越量として管理し、それ以降のフレーム群に割り当てる機能も有している。
Also, the bit
符号化部15は、ビットレート管理部14によって余剰分が割り当てられた後の目標値(符号量)となるようにフレームのデータを符号化し、符号化データをSDRAM16に書き込む。
The
図2は、ビットレート管理部14の構成をさらに詳細に説明するためのブロック図である。ビットレート管理部14は、閾値判定部21と、計画ビットレート管理部22とによって構成される。
FIG. 2 is a block diagram for explaining the configuration of the bit
閾値判定部21は、そのフレームの目標値から符号量算出部13によって算出された符号量を差し引くことによりビットレート(符号量)の余剰分を算出し、差分値として蓄積する。そして、閾値判定部21は、蓄積された差分値(蓄積合計値)が閾値以下の場合には、次フレームのデータを取得して符号量算出部13に出力するように取り込み要求信号をデータ取得制御部12に出力する。なお、閾値判定部21が閾値を予め保持していてもよいし、閾値判定部21がSDRAM11などに格納された閾値を読み出すようにしてもよい。
The
計画ビットレート管理部22は、閾値判定部21から出力される蓄積合計値を管理しており、ビットレート(符号量)の余剰分が蓄積されている場合には1つまたは複数のフレームにその余剰分を割り当てる。
The planned bit
図3は、本発明の第1の実施の形態における符号化装置の処理手順を説明するためのフローチャートである。まず、データ取得制御部12は、SDRAM11に格納されたデータの中から1フレーム分のデータを取得し、符号量算出部13に出力する(S11)。そして、データ取得制御部12は、取得フレーム数Fを“1”だけインクリメントすることによって取得フレーム数をカウントする(S12)。
FIG. 3 is a flowchart for explaining the processing procedure of the coding apparatus according to the first embodiment of the present invention. First, the data
次に、符号量算出部13は、データ取得制御部12によって取得された1フレーム分のデータの符号量(B)を算出し、閾値判定部21にその符号量(B)を出力する(S13)。
Next, the code
閾値判定部21は、そのフレームの目標値(A)から符号量算出部13によって算出された符号量(B)を差し引くことにより、差分値(C)を計算する。そして、閾値判定部21は、蓄積合計値(D)に差分値(C)を加算する(S14)。
The
次に、閾値判定部21は、取得フレーム数Fが、取得可能なフレーム数Nと一致するか否かを判定する(S15)。なお、取得可能なフレーム数Nは、入力用バッファであるSDRAM11の容量に基づいて求められる。たとえば、SDRAM11に格納できるフレーム数をNとしてもよいし、符号量の余剰分の分配処理による処理負荷を考慮して、SDRAM11に格納できるフレーム数よりも小さい値をNとしてもよい。
Next, the
取得フレーム数Fが取得可能なフレーム数Nと一致する場合には(S15,Yes)、ステップS18に処理が進む。また、一致しない場合には(S15,No)、次の入力データがあるか否かが判定される(S16)。次の入力データがない場合には(S16,No)、ステップS18に処理が進む。 If the acquired frame number F matches the acquireable frame number N (S15, Yes), the process proceeds to step S18. If they do not match (S15, No), it is determined whether there is next input data (S16). If there is no next input data (S16, No), the process proceeds to step S18.
次の入力データがある場合(S16,Yes)、閾値判定部21は、次フレームのデータを取得して符号量算出部13に出力するように取り込み要求信号をデータ取得制御部12に出力する。そして、閾値判定部21は、蓄積合計値(D)が閾値よりも大きいか否かを判定する(S17)。この閾値として任意の値が設定されるが、たとえば蓄積合計値(D)をF個のフレームに割り当てる場合に、割り当て切れないような上限値が設定されるようにしてもよい。
When there is next input data (S16, Yes), the
蓄積合計値(D)が閾値よりも小さければ(S17,No)、ステップS11に戻って以降の処理を繰り返す。また、蓄積合計値(D)が閾値よりも大きければ(S17,Yes)、閾値判定部21は、蓄積合計値(D)が“0”よりも大きいか否かを判定する(S18)。
If the accumulated total value (D) is smaller than the threshold (S17, No), the process returns to step S11 and the subsequent processing is repeated. If the accumulated total value (D) is larger than the threshold (S17, Yes), the
蓄積合計値(D)が“0”以下であれば(S18,No)、そのままステップS20に処理が進む。また、蓄積合計値(D)が“0”よりも大きければ(S18,Yes)、計画ビットレート管理部22は、取得したF個のフレーム全てに対して蓄積合計値(D)を均等に割り当て(S19)、ステップS20に処理が進む。
If the accumulated total value (D) is “0” or less (S18, No), the process proceeds to step S20 as it is. If the accumulated total value (D) is greater than “0” (S18, Yes), the planned bit
ステップS20において、符号化部15は、計画ビットレート管理部22によって蓄積合計値(D)が均等に割り当てられた後の目標値(符号量)となるようにF個のフレームを符号化する。
In step S <b> 20, the
なお、ここで説明した均等に割り当てるとは蓄積合計値(D)をF個のフレームに厳密に均等に割り当て方がある。また、例えばF個のフレームに対して5F+1の蓄積合計値(D)がある場合には、F個のフレームに5ずつ割り当て、残りをいずれか1個のフレームに割り当てることで、実質的に均一に割り当ててもよい。つまり、本実施例の均等とは狭義の意味ではなく、実質的に均等な割り当て方を含む広義の意味である。 Note that evenly allocated as described herein is a method of allocating the accumulated total value (D) to F frames strictly evenly. Also, for example, if there is an accumulated total value (D) of 5F + 1 for F frames, it is substantially uniform by assigning 5 to F frames and assigning the rest to any one frame. May be assigned. That is, the equality of the present embodiment does not mean in a narrow sense but has a broad meaning including a substantially equal allocation method.
そして、閾値判定部21は、F個のフレームについて目標値(A)から実際の符号量(B)を差し引いた差分値(C)を算出し、それらを合計する。そして、蓄積合計値(D)に差分値(C)を加算する(S21)。最後に、取得フレームのカウンタFをリセットして(S22)、処理を終了する。
Then, the
以上説明したように、本実施の形態における符号化装置によれば、計画ビットレート管理部22が蓄積合計値(D)をF個のフレームに均等に割り当てるようにしたので、フレーム間の品質に顕著な差が生じることを防止することができ、ビットレートの増減分制御を効率よく行なうことが可能となった。
As described above, according to the coding apparatus in the present embodiment, the planned bit
(第2の実施の形態)
本発明の第2の実施の形態における符号化装置の構成は、図1および図2に示す第1の実施の形態における符号化装置の構成と同様である。したがって、重複する構成および機能の詳細な説明は繰り返さない。
(Second Embodiment)
The configuration of the encoding apparatus according to the second embodiment of the present invention is the same as the configuration of the encoding apparatus according to the first embodiment shown in FIGS. Therefore, detailed description of overlapping configurations and functions will not be repeated.
図4は、本発明の第2の実施の形態における符号化装置の処理手順を説明するためのフローチャートである。まず、データ取得制御部12は、SDRAM11に格納されたデータの中から1フレーム分のデータを取得し、符号量算出部13に出力する(S31)。そして、データ取得制御部12は、取得フレーム数Fを“1”だけインクリメントすることによって取得フレーム数をカウントする(S32)。
FIG. 4 is a flowchart for explaining the processing procedure of the encoding apparatus according to the second embodiment of the present invention. First, the data
次に、符号量算出部13は、データ取得制御部12によって取得された1フレーム分のデータの符号量(B)を算出し、閾値判定部21にその符号量(B)を出力する(S33)。
Next, the code
閾値判定部21は、そのフレームの目標値(A)から符号量算出部13によって算出された符号量(B)を差し引くことにより、差分値(C)を計算する。そして、閾値判定部21は、蓄積合計値(D)に差分値(C)を加算する(S34)。
The
次に、閾値判定部21は、取得フレーム数Fが、取得可能なフレーム数Nと一致するか否かを判定する(S35)。取得フレーム数Fが取得可能なフレーム数Nと一致する場合には(S35,Yes)、ステップS38に処理が進む。また、一致しない場合には(S35,No)、次の入力データがあるか否かが判定される(S36)。次の入力データがない場合には(S36,No)、ステップS38に処理が進む。
Next, the
次の入力データがある場合(S36,Yes)、閾値判定部21は、次フレームのデータを取得して符号量算出部12に出力するように取り込み要求信号をデータ取得制御部12に出力する。そして、閾値判定部21は、蓄積合計値(D)が閾値よりも大きいか否かを判定する(S37)。
When there is next input data (
蓄積合計値(D)が閾値よりも小さければ(S37,No)、ステップS31に戻って以降の処理を繰り返す。また、蓄積合計値(D)が閾値よりも大きければ(S37,Yes)、閾値判定部21は、差分値(C)が負になるフレームがあるか否かを判定する(S38)。
If the accumulated total value (D) is smaller than the threshold value (S37, No), the process returns to step S31 and the subsequent processing is repeated. If the accumulated total value (D) is larger than the threshold value (S37, Yes), the threshold
差分値(C)が負になるフレームがなければ(S38,No)、計画ビットレート管理部22は、取得したF個のフレーム全てに対して蓄積合計値(D)を均等に割り当て(S39)、ステップS41に処理が進む。
If there is no frame in which the difference value (C) is negative (S38, No), the planned bit
また、差分値(C)が負になるフレームがあれば(S38,Yes)、計画ビットレート管理部22は、取得したF個のフレームのうち差分値(C)が負になるフレームのみに対して蓄積合計値(D)を均等に割り当て(S40)、ステップS41に処理が進む。
In addition, if there is a frame in which the difference value (C) is negative (S38, Yes), the planned bit
ステップS41において、符号化部15は、計画ビットレート管理部22によって蓄積合計値(D)が割り当てられた後の目標値(符号量)となるようにF個のフレームを符号化する。
In step S <b> 41, the
そして、閾値判定部21は、F個のフレームについて目標値(A)から実際の符号量(B)を差し引いた差分値(C)を算出し、それらを合計する。そして、蓄積合計値(D)に差分値(C)を加算する(S42)。最後に、取得フレームのカウンタFをリセットして(S43)、処理を終了する。
Then, the
以上説明したように、本実施の形態における符号化装置によれば、計画ビットレート管理部22が蓄積合計値(D)を差分値(C)が負になるフレームに均等に割り当てるようにしたので、第1の実施の形態において説明した効果に加えて、目標値よりも実際の符号量が多くなっているフレームに対して優先的に余剰分の符号量を割り当てることが可能となった。
As described above, according to the encoding apparatus in the present embodiment, the planned bit
(第3の実施の形態)
第3の実施の形態は、第1および第2の実施の形態において説明した符号化装置を用いた携帯型音楽プレイヤーシステムに関するものである。
(Third embodiment)
The third embodiment relates to a portable music player system using the encoding device described in the first and second embodiments.
図5は、本発明の第3の実施の形態における携帯型音楽プレイヤーシステムの構成例を示すブロック図である。この携帯型音楽プレイヤーシステムは、システム全体の制御を行なうCPU(Central Processing Unit)41と、ROM(Read Only Memory)42と、RAM43と、ハードディスク(HDD)44と、入力処理部45と、外部IF46と、データ処理部47と、スピーカ48と、表示処理部49と、ディスプレイ50と、メディアドライブ51とを含む。
FIG. 5 is a block diagram showing a configuration example of a portable music player system according to the third embodiment of the present invention. This portable music player system includes a central processing unit (CPU) 41, a read only memory (ROM) 42, a
CPU41は、内部バスを介してROM42に記憶される各種プログラムを読み出してRAM43に転送し、そのプログラムを実行することによって携帯型音楽プレイヤーシステム全体の制御を行なう。また、CPU41は、所定の演算処理を行なうことによって入力処理部45から受けたコマンドに応じた処理を実行する。
The
外部IF46は、ユーザにより操作ボタンの操作を検知して、その操作に応じた操作入力信号を入力処理部45に出力する。入力処理部45は、外部IF46から受けた操作入力信号に応じて所定の処理を行なって操作入力信号をコマンドに変換し、内部バスを介してCPU41にコマンドを転送する。
The external IF 46 detects the operation of the operation button by the user, and outputs an operation input signal corresponding to the operation to the
データ処理部47は、メディアドライブ51から与えられた音楽データを圧縮符号化してハードディスク44に記憶させる。また、データ処理部47は、ユーザによる操作に応じて音楽データの再生処理を行なう。
The
ユーザによる操作に応じて音楽データの再生を行なう場合、CPU41は、音楽データ再生のコマンドをデータ処理部47に出力すると共に、ハードディスク44内の指定された音楽データを読み出してデータ処理部47に転送する。データ処理部47は、ハードディスク44から転送された音楽データを復号して音楽データを再生し、スピーカ48に出力させる。第1および第2の実施の形態において説明した符号化装置は、データ処理部47内に配置される。
When playing music data in response to a user's operation, the
また、CPU41は、RAM43に記憶される各種プログラムを実行することによって表示データを生成して表示処理部49に転送したり、ハードディスク44に記憶される音楽関連情報(音楽タイトル)を読み出して表示処理部49に転送したりする。表示処理部49は、CPU41から受けた表示データに応じてディスプレイ50に音楽関連情報などの表示を行なわせる。
Further, the
以上説明したように、本実施の形態における携帯型音楽プレイヤーシステムによれば、データ処理部47に第1および第2の実施の形態において説明した符号化装置を配置するようにしたので、第1および第2の実施の形態において説明した効果を奏するシステムを構築することが可能となった。
As described above, according to the portable music player system in the present embodiment, the encoding device described in the first and second embodiments is arranged in the
なお、本実施の形態では音楽プレイヤーシステム(音楽データの符号化)について説明したが、映像再生システム(映像データの符号化)においても第1および第2の実施の形態において説明した符号化装置を同様に適用することが可能である。 In the present embodiment, the music player system (encoding of music data) has been described. However, the encoding apparatus described in the first and second embodiments is also used in the video reproduction system (encoding of video data). It is possible to apply similarly.
今回開示された実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
11,16 SDRAM、12 データ取得制御部、13 符号量算出部、14 ビットレート管理部、15 符号化部、21 閾値判定部、22 計画ビットレート管理部、41 CPU、42 ROM、43 RAM、44 HDD、45 入力処理部、46 外部IF、47 データ処理部、48 スピーカ、49 表示処理部、50 ディスプレイ、51 メディアドライブ。 11, 16 SDRAM, 12 Data acquisition control unit, 13 Code amount calculation unit, 14 Bit rate management unit, 15 Coding unit, 21 Threshold determination unit, 22 Planned bit rate management unit, 41 CPU, 42 ROM, 43 RAM, 44 HDD, 45 input processing unit, 46 external IF, 47 data processing unit, 48 speaker, 49 display processing unit, 50 display, 51 media drive.
Claims (6)
目標値と前記算出手段によって算出された符号量とから差分値を算出して管理し、蓄積合計値を所定数のフレームに割り当てる管理手段と、
前記管理手段によって割り当てられた後の目標値となるように前記所定数のフレームを符号化する符号化手段とを含む符号化装置。 A calculation means for calculating a code amount when data is encoded for each frame;
Managing means for calculating and managing a difference value from the target value and the code amount calculated by the calculating means, and assigning the accumulated total value to a predetermined number of frames;
An encoding device including encoding means for encoding the predetermined number of frames so as to be a target value after being assigned by the management means.
符号化データを記憶する記憶手段と、
前記音楽または映像データを符号化して前記記憶手段に記憶させる符号化装置と、
前記記憶手段に記憶される符号化された音楽または映像データを復号して再生する再生手段と、
前記再生手段によって再生する音楽または映像データに関連する表示データを表示する表示手段とを含み、
前記符号化装置は、前記音楽または映像データを符号化したときの符号量をフレームごとに算出する算出手段と、
目標値と前記算出手段によって算出された符号量とから差分値を算出して管理し、蓄積合計値を所定数のフレームに割り当てる管理手段と、
前記管理手段によって割り当てられた後の目標値となるように前記所定数のフレームを符号化する符号化手段とを含む、システム。 A system for encoding and storing music or video data, decoding and reproducing the encoded music or video data,
Storage means for storing encoded data;
An encoding device that encodes the music or video data and stores the encoded data in the storage unit;
Playback means for decoding and playing back the encoded music or video data stored in the storage means;
Display means for displaying display data related to music or video data reproduced by the reproduction means,
The encoding device includes: a calculating unit that calculates a code amount for each frame when the music or video data is encoded;
Managing means for calculating and managing a difference value from the target value and the code amount calculated by the calculating means, and assigning the accumulated total value to a predetermined number of frames;
Encoding means for encoding the predetermined number of frames so as to be a target value after being assigned by the management means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010015492A JP2011155474A (en) | 2010-01-27 | 2010-01-27 | Encoding apparatus and system using thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010015492A JP2011155474A (en) | 2010-01-27 | 2010-01-27 | Encoding apparatus and system using thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011155474A true JP2011155474A (en) | 2011-08-11 |
Family
ID=44541114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010015492A Pending JP2011155474A (en) | 2010-01-27 | 2010-01-27 | Encoding apparatus and system using thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011155474A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11196410A (en) * | 1997-12-25 | 1999-07-21 | Victor Co Of Japan Ltd | Method and device for dynamic picture encoding and dynamic picture signal record medium |
JP2009130810A (en) * | 2007-11-27 | 2009-06-11 | Casio Comput Co Ltd | Coding rate controller, coding rate control method, coding rate control program, moving picture recording device |
WO2009148076A1 (en) * | 2008-06-05 | 2009-12-10 | 日本電信電話株式会社 | Video encoding amount control method, video encoding amount control device, video encoding amount control program, and computer readable recording medium on which said program is recorded |
-
2010
- 2010-01-27 JP JP2010015492A patent/JP2011155474A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11196410A (en) * | 1997-12-25 | 1999-07-21 | Victor Co Of Japan Ltd | Method and device for dynamic picture encoding and dynamic picture signal record medium |
JP2009130810A (en) * | 2007-11-27 | 2009-06-11 | Casio Comput Co Ltd | Coding rate controller, coding rate control method, coding rate control program, moving picture recording device |
WO2009148076A1 (en) * | 2008-06-05 | 2009-12-10 | 日本電信電話株式会社 | Video encoding amount control method, video encoding amount control device, video encoding amount control program, and computer readable recording medium on which said program is recorded |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101135506B1 (en) | Information processing apparatus and method, recording medium, and program | |
US6452610B1 (en) | Method and apparatus for displaying graphics based on frame selection indicators | |
KR100982516B1 (en) | Method of managing data recording medium included in video contents recording apparatus, and video contents recording apparatus therefor | |
JP6225446B2 (en) | Moving image data distribution apparatus, method, program, and system | |
JP2007036666A (en) | Contents distribution system, client, and client program | |
CN101689137B (en) | Use the digital data management in shared storage pond | |
TW201902217A (en) | Decoder resource allocating method and associated apparatus | |
CN109257631A (en) | Video carousel playback method, device, computer equipment and storage medium | |
JP2006074461A (en) | Information processing device and method, recording medium and program | |
JP2006050531A (en) | Information recording apparatus | |
JP3837889B2 (en) | Encoding method and encoding apparatus | |
JP3817728B2 (en) | Information recording / reproducing apparatus and information recording / reproducing method | |
JP4061511B2 (en) | Encoding apparatus and encoding method | |
JP3066301B2 (en) | Recording medium reproducing apparatus, reproducing method, recording method, and recording apparatus | |
JP2011155474A (en) | Encoding apparatus and system using thereof | |
JP5088215B2 (en) | Information processing system, information processing method, and program | |
JPH10304372A (en) | Image coding method and device, and image transmission method | |
JP2005173775A (en) | Data processor and method therefor, and encoding device | |
JP5171666B2 (en) | Video / audio recording device | |
US8358702B2 (en) | Information processing system and information processing method, and program | |
JP4207098B2 (en) | Encoding control apparatus, encoding control method, encoding apparatus, and encoding method | |
JP3443391B2 (en) | Digital decoding method | |
JPH10290429A (en) | Data compressor | |
JP5132789B2 (en) | Video encoding apparatus and method | |
JP4385637B2 (en) | Video / audio recording / reproducing apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120724 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130930 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131022 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20140304 |