JP2008160358A - Portable recorder - Google Patents
Portable recorder Download PDFInfo
- Publication number
- JP2008160358A JP2008160358A JP2006345458A JP2006345458A JP2008160358A JP 2008160358 A JP2008160358 A JP 2008160358A JP 2006345458 A JP2006345458 A JP 2006345458A JP 2006345458 A JP2006345458 A JP 2006345458A JP 2008160358 A JP2008160358 A JP 2008160358A
- Authority
- JP
- Japan
- Prior art keywords
- encoding
- amount
- mode
- recording
- predetermined
- 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.)
- Granted
Links
- 238000007906 compression Methods 0.000 claims abstract description 32
- 238000001514 detection method Methods 0.000 claims abstract description 32
- 230000006835 compression Effects 0.000 claims abstract description 30
- 238000004364 calculation method Methods 0.000 claims description 46
- 238000000034 method Methods 0.000 claims description 17
- 239000004065 semiconductor Substances 0.000 description 22
- 238000010586 diagram Methods 0.000 description 12
- 230000007423 decrease Effects 0.000 description 7
- 230000009466 transformation Effects 0.000 description 7
- 238000003384 imaging method Methods 0.000 description 6
- 230000003044 adaptive effect Effects 0.000 description 5
- 230000005236 sound signal Effects 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 238000013139 quantization Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
本発明は、装置を駆動するバッテリを搭載し、映像信号を符号化して半導体メモリなどの記録媒体に省電力記録する携帯型記録装置に関する。 The present invention relates to a portable recording apparatus that is equipped with a battery that drives the apparatus, encodes a video signal, and saves power on a recording medium such as a semiconductor memory.
最近になり、記録媒体として半導体メモリを記録媒体に用いる携帯型記録装置などが製品化されるようになってきた。カメラなどから入力される映像信号を符号化してフラッシュRAMなどの記録媒体に記録する。任意の記録箇所にランダムアクセスしながら再生できるなど便利な機能を有している。
一方、その携帯型記録装置は映像処理回路、及び記録部などをバッテリ駆動で動作させている。装置を軽量化するため比較的小型なバッテリが用いられる。バッテリに蓄えられる電力量を有効に用い、且つ目的の映像信号を可能な限り高画質で記録媒体に高能率記録できることは好ましい。
Recently, portable recording devices using a semiconductor memory as a recording medium have been commercialized. A video signal input from a camera or the like is encoded and recorded on a recording medium such as a flash RAM. It has convenient functions such as playback while randomly accessing any recording location.
On the other hand, the portable recording device operates a video processing circuit, a recording unit, and the like by battery drive. A relatively small battery is used to reduce the weight of the device. It is preferable that the amount of power stored in the battery can be used effectively and the target video signal can be recorded on the recording medium with high image quality as much as possible.
特許文献1には、バッテリ残量が少なくなった場合にもできるだけ記録時間を延長できるようにした撮像記録装置が開示されている。その装置はバッテリから供給された電力により画像信号を符号化して記録する装置であり、撮像手段と、撮像手段より得られた動画像信号を符号化する符号化手段と、符号化手段により符号化された動画像信号を記録媒体に記録する記録手段と、バッテリの残量を検出し、検出したバッテリ残量に基づいて符号化手段の符号化アルゴリズムを変更し、符号化時に使用するメモリ回路へのアクセスを制限させた低能率で符号化させ、符号化時の消費電力を小さくさせる制御手段とを備えて構成している。
しかしながら、特許文献1に開示されている撮像記録装置では、低能率符号化時には量子化幅が荒くされて符号化歪を含む画質で符号化されたり、MPEG(moving picture experts group)方式で符号化する際にB(Bidirectionally predictive-coded)ピクチャを用いないで行うため符号量が増加し記録媒体容量不足のため記録時間を十分に確保できない程度のものでしかなく、バッテリの残量や記録媒体の空き容量を基にして最適な符号化条件を選択して記録動作させることのできる携帯型記録装置を実現することはできなかった。
However, in the imaging and recording apparatus disclosed in
そこで、本発明は、上記のような問題点を解消するためになされたもので、バッテリ残量及び記録媒体の空き容量を管理しつつバッテリ残量及び媒体空き容量の範囲の両者の状態に合わせ、録画品質を最も高く保った記録を可能とする携帯型記録装置を提供することを目的とする。 Therefore, the present invention has been made to solve the above-described problems, and manages the remaining battery capacity and the free space of the recording medium while matching the state of both the remaining battery capacity and the free space of the medium. An object of the present invention is to provide a portable recording device that enables recording with the highest recording quality.
本願発明における第1の発明は、供給される動画信号を符号化して予め格納されている記録媒体に記録するに際し、前記符号化を演算量が多く電力消費量の多い符号化方法で行うか又は演算量が少なく電力消費量の少ない方法で行うかを前記記録媒体の空き容量及びバッテリの残量に応じて選択し、選択された符号化方法で前記符号化を行う携帯型記録装置において、前記動画信号を所定の演算量で且つ所定の符号化レートで符号化する標準モード、前記所定の演算量よりも少ない演算量で且つ前記所定の符号化レートよりも大きな符号化レートで符号化する低能率モード、及び前記所定の演算量よりも多い演算量で且つ前記所定の符号化レートよりも小さな符号化レートで符号化する高能率モードのうち選択された1つの符号化モードで符号化する符号化手段と、前記記録媒体の空き容量を検出する空き容量検出手段と、前記バッテリの残量を検出するバッテリ残量検出手段と、前記空き容量検出手段で検出された空き容量に前記標準モードで符号化した圧縮符号化信号を記録可能な第1の記録可能時間と、前記バッテリ残量検出手段で検出されたバッテリの残量により前記標準モードで前記符号化手段を駆動して符号化された圧縮符号化信号を前記記録媒体に記録可能な第2の記録可能時間とを予測する予測手段と、前記第1の記録時間と前記第2の記録時間との差が所定の差以内である場合は前記標準モードを選択し、前記第1の記録時間と前記第2の記録時間との差が前記所定の差を越え、且つ前記第1の記録時間の方が前記第2の記録時間よりも大きい場合は前記低能率モードを選択し、前記第1の記録時間と前記第2の記録時間との差が前記所定の差を越え、且つ前記第1の記録時間の方が前記第2の記録時間よりも小さい場合は前記高能率モードを選択するモード選択手段と、前記モード選択手段で選択されたモードにより前記動画信号を前記圧縮符号化手段で符号化して得られる圧縮符号化信号を前記記録媒体に記録する記録部と、を備えることを特徴とする携帯型記録装置を提供する。
第2の発明は、供給される動画信号を符号化して予め格納されている記録媒体に記録するに際し、前記符号化を演算量が多く電力消費量の多い符号化方法で行うか又は演算量が少なく電力消費量の少ない方法で行うかを前記記録媒体の空き容量及びバッテリの残量に応じて選択し、選択された符号化方法で前記符号化を行う携帯型記録装置において、前記動画信号を所定の演算量で且つ所定の符号化レートで符号化する標準モード、前記所定の演算量よりも少ない演算量で且つ前記所定の符号化レートよりも大きな符号化レートで符号化する低能率モード、前記所定の演算量よりも多い演算量で且つ前記所定の符号化レートよりも小さな符号化レートで符号化する高能率モード、及び前記動画信号の情報量を圧縮した後に前記所定の演算量よりも少ない演算量で且つ前記所定の符号化レートよりも小さな符号化レートで符号化する高圧縮モードのうち選択された1つの符号化モードで符号化する符号化手段と、前記記録媒体の空き容量を検出する空き容量検出手段と、前記バッテリの残量を検出するバッテリ残量検出手段と、所定時間の動画信号を前記標準モードで符号化した際の符号量を予測すると共に、前記予測された符号量の符号化信号を前記記録媒体に記録する際に必要な電力消費量を予測する予測手段と、前記予測手段で予測された符号量が前記空き容量検出手段で検出された空き容量よりも少なく、且つ前記予測手段で予測された電力消費量が前記バッテリ残量検出手段で検出されたバッテリの残量より少ない場合は前記標準モードを選択し、前記予測手段で予測された符号量が前記空き容量検出手段で検出された空き容量よりも多く、且つ前記予測手段で予測された電力消費量が前記バッテリ残量検出手段で検出されたバッテリの残量より少ない場合は前記低能率モードを選択し、前記予測手段で予測された符号量が前記空き容量検出手段で検出される空き容量よりも少なく、且つ前記予測手段で予測された電力消費量が前記バッテリ残量検出手段で検出されたバッテリの残量より多い場合は前記高能率モードを選択し、前記予測手段で予測された符号量が前記空き容量検出手段で検出された空き容量よりも多く、且つ前記予測手段で予測された電力消費量が前記バッテリ残量検出手段で検出されたバッテリの残量より多い場合は前記高圧縮モードを選択して前記符号化手段での符号化を行わせるモード選択手段と、前記モード選択手段で選択された符号化モードにより前記動画信号を前記圧縮符号化手段で符号化して得られる圧縮符号化信号を前記記録媒体に記録する記録部と、を備えることを特徴とする携帯型記録装置を提供する。
According to a first aspect of the present invention, when the supplied moving image signal is encoded and recorded on a pre-stored recording medium, the encoding is performed by an encoding method with a large amount of calculation and high power consumption. In the portable recording apparatus that selects whether to perform a method with a small amount of calculation and a small amount of power consumption according to the free capacity of the recording medium and the remaining amount of the battery, and performs the encoding with the selected encoding method, Standard mode for encoding a moving picture signal with a predetermined calculation amount and at a predetermined encoding rate, low encoding with a calculation amount smaller than the predetermined calculation amount and at a higher encoding rate than the predetermined encoding rate Coded in one coding mode selected from the efficiency mode and the high-efficiency mode for coding at a coding amount larger than the predetermined calculation amount and smaller than the predetermined coding rate. Encoding means, free capacity detecting means for detecting the free capacity of the recording medium, battery remaining capacity detecting means for detecting the remaining capacity of the battery, and free capacity detected by the free capacity detecting means The encoding unit is driven in the standard mode according to the first recordable time during which the compressed encoded signal encoded in the standard mode can be recorded and the remaining battery level detected by the remaining battery level detection unit. Predicting means for predicting a second recordable time in which the compressed compression-coded signal can be recorded on the recording medium, and a difference between the first recording time and the second recording time is within a predetermined difference Is selected, the standard mode is selected, the difference between the first recording time and the second recording time exceeds the predetermined difference, and the first recording time is the second recording time. If it is larger than the time, the low efficiency And the difference between the first recording time and the second recording time exceeds the predetermined difference, and the first recording time is smaller than the second recording time. Is a mode selection unit that selects the high-efficiency mode, and a recording that records on the recording medium a compression-encoded signal obtained by encoding the moving image signal by the compression-encoding unit according to the mode selected by the mode selection unit And a portable recording device.
In the second invention, when the supplied video signal is encoded and recorded on a pre-stored recording medium, the encoding is performed by an encoding method with a large amount of calculation and a large amount of power consumption, or the amount of calculation is In a portable recording device that selects whether to use a method with a small amount of power consumption according to the free capacity of the recording medium and the remaining amount of battery, and performs the encoding with the selected encoding method, A standard mode for encoding at a predetermined calculation amount and at a predetermined encoding rate, a low-efficiency mode for encoding at a calculation amount smaller than the predetermined calculation amount and at a higher encoding rate than the predetermined encoding rate, A high-efficiency mode for encoding at an encoding amount larger than the predetermined calculation amount and smaller than the predetermined encoding rate, and the predetermined calculation amount after compressing the information amount of the video signal Encoding means for encoding in one encoding mode selected from among the high compression modes for encoding at an encoding rate that is less than the predetermined encoding rate and a free capacity of the recording medium Free capacity detecting means for detecting the remaining capacity of the battery, remaining battery capacity detecting means for detecting the remaining amount of the battery, and predicting the code amount when the video signal for a predetermined time is encoded in the standard mode, and the predicted A predicting means for predicting a power consumption amount required for recording an encoded signal of a code amount on the recording medium; and a code amount predicted by the predicting means is larger than a free capacity detected by the free capacity detecting means. If the power consumption predicted by the predicting unit is less than the remaining battery level detected by the remaining battery level detecting unit, the standard mode is selected and predicted by the predicting unit. When the code amount is larger than the free space detected by the free space detection unit and the power consumption predicted by the prediction unit is smaller than the remaining battery level detected by the battery remaining amount detection unit, the low amount The efficiency mode is selected, the code amount predicted by the prediction means is less than the free capacity detected by the free capacity detection means, and the power consumption predicted by the prediction means is determined by the battery remaining amount detection means. When the remaining battery level is greater than the detected battery level, the high-efficiency mode is selected, and the code amount predicted by the prediction unit is larger than the free space detected by the free space detection unit and is predicted by the prediction unit. Mode selection in which the high compression mode is selected and encoding is performed by the encoding unit when the amount of consumed power is greater than the remaining battery level detected by the remaining battery level detection unit And a recording unit that records the compressed encoded signal obtained by encoding the moving image signal by the compression encoding unit in the encoding mode selected by the mode selection unit on the recording medium. A portable recording device is provided.
本発明によれば、動画信号を所定の演算量で且つ所定の符号化レートで符号化する標準モード、所定の演算量よりも少ない演算量で且つ所定の符号化レートよりも大きな符号化レートで符号化する低能率モード、及び所定の演算量よりも多い演算量で且つ所定の符号化レートよりも小さな符号化レートで符号化する高能率モードのうち選択された1つの符号化モードで符号化する符号化手段と、記録媒体の空き容量を検出する空き容量検出手段と、バッテリの残量を検出するバッテリ残量検出手段と、空き容量検出手段で検出された空き容量に標準モードで符号化した圧縮符号化信号を記録可能な第1の記録可能時間と、バッテリ残量検出手段で検出されたバッテリの残量により標準モードで符号化手段を駆動して符号化された圧縮符号化信号を記録媒体に記録可能な第2の記録可能時間とを予測する予測手段と、第1の記録時間と第2の記録時間との差が所定の差以内である場合は標準モードを選択し、第1の記録時間と第2の記録時間との差が所定の差を越え、且つ第1の記録時間の方が第2の記録時間よりも大きい場合は低能率モードを選択し、第1の記録時間と第2の記録時間との差が所定の差を越え、且つ第1の記録時間の方が第2の記録時間よりも小さい場合は高能率モードを選択するモード選択手段と、モード選択手段で選択されたモードにより動画信号を圧縮符号化手段で符号化して得られる圧縮符号化信号を記録媒体に記録する記録部とを備える構成があるので、バッテリ残量及び記録媒体の空き容量を管理しつつバッテリ残量及び媒体空き容量の範囲の両者の状態に合わせ、録画品質を最も高く保った記録を可能とする携帯型記録装置を実現できる。
また、動画信号を所定の演算量で且つ所定の符号化レートで符号化する標準モード、所定の演算量よりも少ない演算量で且つ所定の符号化レートよりも大きな符号化レートで符号化する低能率モード、所定の演算量よりも多い演算量で且つ所定の符号化レートよりも小さな符号化レートで符号化する高能率モード、及び動画信号の情報量を圧縮した後に所定の演算量よりも少ない演算量で且つ所定の符号化レートよりも小さな符号化レートで符号化する高圧縮モードのうち選択された1つの符号化モードで符号化する符号化手段と、記録媒体の空き容量を検出する空き容量検出手段と、バッテリの残量を検出するバッテリ残量検出手段と、所定時間の動画信号を標準モードで符号化した際の符号量を予測すると共に、予測された符号量の符号化信号を記録媒体に記録する際に必要な電力消費量を予測する予測手段と、予測手段で予測された符号量が空き容量検出手段で検出された空き容量よりも少なく、且つ予測手段で予測された電力消費量がバッテリ残量検出手段で検出されたバッテリの残量より少ない場合は標準モードを選択し、予測手段で予測された符号量が空き容量検出手段で検出された空き容量よりも多く、且つ予測手段で予測された電力消費量がバッテリ残量検出手段で検出されたバッテリの残量より少ない場合は低能率モードを選択し、予測手段で予測された符号量が空き容量検出手段で検出される空き容量よりも少なく、且つ予測手段で予測された電力消費量がバッテリ残量検出手段で検出されたバッテリの残量より多い場合は高能率モードを選択し、予測手段で予測された符号量が空き容量検出手段で検出された空き容量よりも多く、且つ予測手段で予測された電力消費量がバッテリ残量検出手段で検出されたバッテリの残量より多い場合は高圧縮モードを選択して符号化手段での符号化を行わせるモード選択手段と、モード選択手段で選択された符号化モードにより動画信号を圧縮符号化手段で符号化して得られる圧縮符号化信号を記録媒体に記録する記録部とを備える場合では、バッテリ残量及び記録媒体の空き容量を管理しつつバッテリ残量及び媒体空き容量の範囲内で録画品質を高く保ち、且つ必要とされる所定時間の記録を可能とする携帯型記録装置を実現できる。
According to the present invention, a standard mode for encoding a moving picture signal with a predetermined calculation amount and a predetermined encoding rate, an arithmetic amount smaller than the predetermined calculation amount and an encoding rate larger than the predetermined encoding rate. Encoding in one encoding mode selected from among a low efficiency mode for encoding and a high efficiency mode for encoding at an encoding amount larger than a predetermined calculation amount and smaller than a predetermined encoding rate Encoding in the standard mode to the free capacity detected by the free capacity detecting means, the free capacity detecting means for detecting the free capacity of the recording medium, the remaining battery capacity detecting means for detecting the remaining capacity of the battery The compressed encoded signal encoded by driving the encoding means in the standard mode based on the first recordable time during which the compressed encoded signal can be recorded and the remaining battery level detected by the remaining battery level detection means Predicting means for predicting the second recordable time that can be recorded on the recording medium, and selecting the standard mode if the difference between the first recording time and the second recording time is within a predetermined difference, When the difference between the first recording time and the second recording time exceeds a predetermined difference and the first recording time is larger than the second recording time, the low efficiency mode is selected and the first recording time is selected. Mode selection means for selecting a high-efficiency mode when the difference between the recording time and the second recording time exceeds a predetermined difference and the first recording time is smaller than the second recording time; and mode selection And a recording unit that records the compressed encoded signal obtained by encoding the moving image signal by the compression encoding unit on the recording medium in accordance with the mode selected by the means, so that the remaining battery capacity and the free space of the recording medium are reduced. While managing both the remaining battery capacity and the range of media free space Fit state can be realized portable recording apparatus capable of the highest keeping recording the recording quality.
Also, a standard mode for encoding a moving image signal with a predetermined calculation amount and a predetermined encoding rate, a low mode for encoding with a calculation amount smaller than the predetermined calculation amount and larger than the predetermined encoding rate. Efficiency mode, high-efficiency mode that encodes at a coding rate that is larger than the predetermined amount of computation and smaller than the predetermined coding rate, and less than the predetermined amount of computation after compressing the information amount of the video signal Encoding means for encoding in one selected encoding mode among high compression modes for encoding at an encoding amount that is smaller than a predetermined encoding rate and a free space for detecting the free capacity of the recording medium The capacity detection means, the battery remaining capacity detection means for detecting the remaining battery capacity, the code amount when the moving image signal for a predetermined time is encoded in the standard mode, and the code of the predicted code amount A predicting means for predicting power consumption required for recording a signal on a recording medium; and a code amount predicted by the predicting means is smaller than the free capacity detected by the free capacity detecting means and is predicted by the predicting means. If the power consumption is less than the remaining battery level detected by the remaining battery level detection means, select the standard mode, and the amount of code predicted by the prediction means will be larger than the free capacity detected by the available capacity detection means. When the power consumption predicted by the prediction unit is smaller than the remaining battery level detected by the battery remaining amount detection unit, the low efficiency mode is selected, and the code amount predicted by the prediction unit is determined by the free capacity detection unit. If the amount of power consumed is less than the detected free capacity and the power consumption predicted by the prediction means is greater than the remaining battery capacity detected by the battery remaining amount detection means, the high efficiency mode is selected and the prediction means High compression when the measured code amount is larger than the free space detected by the free space detection means and the power consumption predicted by the prediction means is larger than the remaining battery amount detected by the battery remaining amount detection means A mode selection unit that selects a mode and performs encoding by the encoding unit, and a compressed encoded signal obtained by encoding the moving image signal by the compression encoding unit according to the encoding mode selected by the mode selection unit is recorded. In the case of providing a recording unit for recording on a medium, the recording quality is kept high within the range of the remaining battery capacity and the medium free capacity while managing the remaining battery capacity and the free capacity of the recording medium, and a predetermined time required. A portable recording apparatus that enables recording can be realized.
以下に本発明の実施例に係る携帯型記録装置について図1〜図7を用いて説明する。
図1は、本発明の実施に係る携帯型記録装置の構成例を示すブロック図である。図2は、本発明の実施に係る携帯型記録装置の要部の構成例を示すブロック図である。図3は、本発明の実施に係る携帯型記録装置の動作例を示す図(その1)である。図4は、本発明の実施に係る携帯型記録装置の動作例を示す図(その2)である。図5は、本発明の実施に係る携帯型記録装置の動作例を示す図(その3)である。図6は、本発明の実施に係る携帯型記録装置の動作をフローチャートで示した図(その1)である。図7は、本発明の実施に係る携帯型記録装置の動作をフローチャートで示した図(その2)である。
Hereinafter, a portable recording apparatus according to an embodiment of the present invention will be described with reference to FIGS.
FIG. 1 is a block diagram showing a configuration example of a portable recording apparatus according to an embodiment of the present invention. FIG. 2 is a block diagram showing a configuration example of a main part of the portable recording apparatus according to the embodiment of the present invention. FIG. 3 is a diagram (part 1) illustrating an operation example of the portable recording device according to the embodiment of the present invention. FIG. 4 is a diagram (part 2) illustrating an operation example of the portable recording device according to the embodiment of the present invention. FIG. 5 is a diagram (part 3) illustrating an operation example of the portable recording device according to the embodiment of the present invention. FIG. 6 is a flowchart (part 1) showing the operation of the portable recording apparatus according to the embodiment of the present invention. FIG. 7 is a flowchart (part 2) illustrating the operation of the portable recording apparatus according to the embodiment of the present invention.
その携帯型記録装置は、バッテリ残量及び記録媒体の空き容量を管理しつつバッテリ残量及び媒体空き容量の範囲の両者の状態に合わせ、録画品質を最も高く保った記録を可能とする携帯型記録装置を実現するという目的を、動画信号を所定の演算量で且つ所定の符号化レートで符号化する標準モード、所定の演算量よりも少ない演算量で且つ所定の符号化レートよりも大きな符号化レートで符号化する低能率モード、及び所定の演算量よりも多い演算量で且つ所定の符号化レートよりも小さな符号化レートで符号化する高能率モードのうち選択された1つの符号化モードで符号化する符号化手段と、記録媒体の空き容量を検出する空き容量検出手段と、バッテリの残量を検出するバッテリ残量検出手段と、空き容量検出手段で検出された空き容量に標準モードで符号化した圧縮符号化信号を記録可能な第1の記録可能時間と、バッテリ残量検出手段で検出されたバッテリの残量により標準モードで符号化手段を駆動して符号化された圧縮符号化信号を記録媒体に記録可能な第2の記録可能時間とを予測する予測手段と、第1の記録時間と第2の記録時間との差が所定の差以内である場合は標準モードを選択し、第1の記録時間と第2の記録時間との差が所定の差を越え、且つ第1の記録時間の方が第2の記録時間よりも大きい場合は低能率モードを選択し、第1の記録時間と第2の記録時間との差が所定の差を越え、且つ第1の記録時間の方が第2の記録時間よりも小さい場合は高能率モードを選択するモード選択手段と、モード選択手段で選択されたモードにより動画信号を圧縮符号化手段で符号化して得られる圧縮符号化信号を記録媒体に記録する記録部とを備えるようにして実現した。 The portable recording device is a portable type capable of recording with the highest recording quality in accordance with the state of both the remaining battery level and the medium free space while managing the remaining battery level and the free space of the recording medium. The purpose of realizing a recording device is to use a standard mode for encoding a moving picture signal with a predetermined calculation amount and a predetermined encoding rate, a code with a calculation amount smaller than the predetermined calculation amount and larger than the predetermined encoding rate. One encoding mode selected from a low-efficiency mode for encoding at an encoding rate and a high-efficiency mode for encoding at an encoding amount larger than a predetermined calculation amount and smaller than a predetermined encoding rate Encoding means for encoding, free capacity detecting means for detecting the free capacity of the recording medium, remaining battery capacity detecting means for detecting the remaining battery capacity, and empty capacity detected by the free capacity detecting means. The encoding unit is driven and encoded in the standard mode according to the first recordable time in which the compressed encoded signal encoded in the standard mode can be recorded on the capacity and the remaining battery level detected by the remaining battery level detection unit Predicting means for predicting a second recordable time in which the compressed encoded signal thus recorded can be recorded on a recording medium, and a difference between the first recording time and the second recording time being within a predetermined difference When the standard mode is selected, and the difference between the first recording time and the second recording time exceeds a predetermined difference, and the first recording time is larger than the second recording time, the low efficiency mode is selected. A mode for selecting the high efficiency mode when the difference between the first recording time and the second recording time exceeds a predetermined difference and the first recording time is smaller than the second recording time. The video signal is compressed by the selection means and the mode selected by the mode selection means. They were realized as and a recording unit for recording the compressed coded signal obtained by coding in the coding means on a recording medium.
携帯型記録装置の構成について述べる。
図1に示す携帯型記録装置10は、カメラ部1、モニタ用液晶パネル部2、画像音声処理部3、システムコントローラ部4、記録装置部5、操作部6、及び電源部7より構成される。画像音声処理部3は画像符号化部31及び音声符号化部32より構成される。システムコントローラ部4は電力残量管理部41、媒体残量管理部42、符号量推定部43、電力量算出部44、記録モード切替部45、符号化モード選択部46、及び制御部49より構成される。記録装置部5には半導体メモリ51が格納される。電源部7にはバッテリ71が格納される。
図2に示す画像符号化部31は、動画符号化器311及び符号化パラメータ設定器312から構成される。符号化パラメータ設定器312は可変ブロックサイズ動き補償のパターン数の設定、予測制度の設定、フィルタ処理の設定、及び参照フレーム数の設定を行うフレーム間予測設定部312aと、モードの数設定を行うフレーム内予測設定部312bと、整数精度で行う直交変換のサイズ設定を行う直交変換設定部312cと、CAVLC(Context Adaptive Variable Length Coding)又はCABAC(Context Adaptive Binary Arithmetic Coding)の符号化パラメータの設定を行うエントロピー符号化設定部312dと、デブロッキングフィルタのON又はOFFの設定を行うデブロッキングフィルタ設定部312eとよりなっている。
The configuration of the portable recording device will be described.
A
The
携帯型記録装置の動作について述べる。
まず、操作部6が操作されて携帯型記録装置10で記録動作を開始する際に、システムコントローラ4の制御部49はモニタ用液晶パネル部2に必要な記録時間の入力を求める画面を提示し、操作部6などから記録時間を入力させる。次に、システムコントローラ4の媒体残量管理部42は半導体メモリ51に記録可能な残量を検出すると共に、画像音声処理部3を標準符号化モードで動作させて生成される符号化信号を入力された記録時間の記録をするために必要な半導体メモリ51の残量があるかを判定する。電力残量管理部41はバッテリ71の残量を検出すると共に、そのバッテリ残量は画像符号化部31を標準符号化モードで符号化して生成される符号化信号を記録するために必要な電力量があるかを判定する。半導体メモリ51の残量が十分であり、且つバッテリ71の残量が十分であると判定された場合に制御部49は、カメラ部1で撮像して得られる映像信号を標準符号化モードにより画像音声処理部3で符号化させ、符号化して得られた符号化信号を記録装置部5の半導体メモリ51に供給して記録させる制御を行う。
The operation of the portable recording device will be described.
First, when the operation unit 6 is operated and the
媒体残量管理部42により半導体メモリ51の残量が十分であり、且つ電力残量管理部41によりバッテリ71の残量が不足であると判定された場合に、符号量推定部43は画像音声処理部3を低能率で動作させた場合の符号量を推定する。電力量算出部44は画像音声処理部3を低能率で動作させた場合の電力量を推定する。即ち、画像音声処理部3を低能率で動作させることにより画像符号化部31や音声符号化部32での演算量が低下する。消費電力量が低下し符号化信号の符号量が増加する。増加した符号量に対して半導体メモリ51の残量が十分であり、且つ電力残量管理部41により低下した電力量によりバッテリ71の残量が十分であると判定された場合には、符号化モード選択部46により低能率符号化モードが選択される。記録モード切替部45により画像音声処理部3の符号化モードが低能率符号化モードに切り替えられる。
When the remaining amount of the
媒体残量管理部42により半導体メモリ51の残量が不足であり、且つ電力残量管理部41によりバッテリ71の残量が十分であると判定された場合に、符号量推定部43は画像音声処理部3を高能率で動作させた場合の符号量を推定する。画像信号の高能率符号化処理は、例えばDCT(discrete cosine transform;離散余弦変換)した画像信号を荒い量子化ステップで量子化する際に生じるブロックノイズを減衰させるためのデブロックフィルタ処理を同時に行うような符号化である。電力量算出部44は画像音声処理部3を高能率で動作させた場合の電力量を推定する。画像音声処理部3を高能率で動作させることにより画像符号化部31や音声符号化部32での演算量が増加する。消費電力量が増加し符号化信号の符号量が減少する。減少した符号量に対して半導体メモリ51の残量が十分であり、且つ電力残量管理部41により増加した電力量によりバッテリ71の残量が十分であると判定された場合には、符号化モード選択部46により高能率符号化モードが選択される。記録モード切替部45により画像音声処理部3の符号化モードが高能率符号化モードに切り替えられる。
When the remaining amount of the
媒体残量管理部42により半導体メモリ51の残量が不足であり、且つ電力残量管理部41によりバッテリ71の残量が不足であると判定された場合に、符号量推定部43は画像音声処理部3を高圧縮で動作させた場合の符号量を推定する。高圧縮符号化は、入力される画像信号の画素数を間引いたり、高域周波数成分を減衰させるなどにより情報量を低下させた画像信号を、目標符号量を小さく設定した後に例えば標準符号化モードを用いて符号化する。音声信号もサブサンプリング変換等を行い、情報量を低下させた音声信号を例えば標準符号化モードで符号化する。電力量算出部44は画像音声処理部3を高圧縮で動作させた場合の電力量を推定する。画像音声処理部3を高圧縮で動作させることにより画像符号化部31や音声符号化部32での演算量が低下する。消費電力量が低下し符号化信号の符号量も減少する。減少した符号量に対して半導体メモリ51の残量が十分であり、且つ電力残量管理部41により減少した電力量によりバッテリ71の残量が十分であると判定された場合には、符号化モード選択部46により高圧縮符号化モードが選択される。記録モード切替部45により画像音声処理部3の符号化モードが高圧縮符号化モードに切り替えられる。
When the remaining amount of the
高圧縮符号化モードであっても半導体メモリ51の残量が不足したり、電力残量管理部41によりバッテリ71の残量が不足であると判定された場合は画像音声信号の情報量をさらに減少させた後に例えば標準符号化モードでの符号化を行うようにする。
制御部49は、標準符号化モード、低能率符号化モード、高能率符号化モード、及び高圧縮符号化モードのうちの何れか1つの符号化モードによりカメラ部1から入力される画像音声信号を符号化する。符号化して得られた符号化信号を半導体メモリ51の残量及びバッテリ71の残量に従った品質のレベルで記録させるように制御を行う。半導体メモリ51に記録する際に消費する電力は、記録する符号量が低下すればメモリーアクセスに要する電力量も低下する。さらに、高圧縮符号化モードが選択される場合にはカメラ部1の図示しない撮像素子(CCD;Charge Coupled Device)から取得する画像信号を、例えば間引いた画像信号とすることにより、カメラ部1の消費電力量を低下させることが出来る。
If the remaining amount of the
The
次に、詳細に説明する。
図2に示す画像符号化部31について述べる。
動画符号化器311は符号化パラメータ設定器312により設定される符号化パラメータにより、カメラ部1から入力される画像信号の符号化を行い、符号化して得られた符号化信号は記録装置部5の半導体メモリ51に供給され、記録される。符号化パラメータ設定器312はシステムコントローラ部4の記録モード切替部45からの命令に従って符号化パラメータを設定する。
標準符号化モードによる符号化は、例えばMPEG(moving picture experts group)−4 AVC(Advanced Video Coding)とか、H.264と呼ばれる符号化方式の中から比較的少ない演算量で所定の画質の符号化信号が得られる演算を行う符号化方式である。
Next, this will be described in detail.
The
The moving
For example, MPEG (moving picture experts group) -4 AVC (Advanced Video Coding) or H.264 standard encoding mode is used. H.264 is an encoding method that performs an operation for obtaining an encoded signal having a predetermined image quality with a relatively small amount of calculation.
符号化パラメータの設定について順に説明する。
フレーム間予測設定部312aは、前のフレームと現在のフレームとの画像間の動きを動きベクトルを用いて動き予測符号化を行うために動きベクトル探索を行う。探索される画像は画像の部分毎に行われ、その部分画像のサイズとしては16×16、16×8、8×16、8×8、8×4、4×8、及び4×4等の7パターンのサイズが使用可能である。可変ブロックサイズ動き補償のパターン数の設定は使用可能なパターン数全てを用いて行うか、または代表的なパターンを選択して行うかを設定する。即ち、高能率符号化モード時にはこれら7つのパターンのそれぞれについて動きベクトルを求め、最も符号化効率の高い符号化を行えるパターンを選択して符号化を行うようにする。標準符号化モード時には7つのパターンのうち選ばれる頻度の高い2つ程度のパターンを指定して動きベクトルを求めるようにする。動きベクトルを求めるための演算量はパターン数と比例する。標準符号化モード時には少ない演算量でそれほど劣化の大きくない動きベクトルを求めるように設定する。低能率符号化モード時には、選ばれる頻度が最も高い1つのパターンを指定して動きベクトルを求めるようにする。動きベクトルに含まれる誤差のため劣化する符号化品質は、フレーム内符号化時に割り当てる符号量を大きくすることにより符号化歪の増加を防ぐ。
The setting of the encoding parameter will be described in order.
The inter-frame
予測精度の設定は、動き予測を行う際のマッチング誤差を1/2ピクセル程度とするか、又は1/4ピクセル、乃至は1/8ピクセルとするかを設定する。以下同様にしてフィルタ処理の設定、及び参照フレーム数の設定を行う。いずれの場合も処理量を多く設定すると演算のための電力量が増加する一方、符号化能率も増加し少ない符号量で高品質な画像を再生可能な符号化信号を得ることが出来る。 The prediction accuracy is set by setting whether a matching error when performing motion prediction is about ½ pixel, or ¼ pixel or 1 / pixel. Thereafter, the filter processing and the reference frame number are set in the same manner. In any case, when the amount of processing is set large, the amount of power for calculation increases, while the coding efficiency also increases, and an encoded signal capable of reproducing a high-quality image with a small amount of code can be obtained.
フレーム内予測設定部312bでのモード数設定について述べる。
H.264にはフレーム内予測として9の予測モードがある。その中で標準モードは、例えば縦4画素×横4画素の画素ブロック(以降、単に4×4の画素ブロックと呼ぶことがある。)の垂直方向予測、水平方向予測、及び直流成分予測などで9つあるうちの例えば3つの予測モードを用いるように設定する。高能率化符号化モードは、4×4の画素ブロックの残りの6つの予測モードによるフレーム内予測符号化、及び16×16画素ブロックに対する4つの予測モードの全ての予測モードを用いる様に設定する。低能率化符号化モードは、9つある予測モードのうち最も頻度が高く使用される1つの予測モードを選択して符号化を行う様に設定する。
The mode number setting in the intra-frame
H. H.264 has nine prediction modes for intra-frame prediction. Among them, the standard mode is, for example, vertical direction prediction, horizontal direction prediction, and DC component prediction of a pixel block of 4 × 4 pixels (hereinafter, simply referred to as a 4 × 4 pixel block). For example, three prediction modes among the nine are set. The high-efficiency coding mode is set to use all the prediction modes of the four prediction modes for the 16 × 16 pixel block and the intra-frame prediction coding by the remaining six prediction modes of the 4 × 4 pixel block. . The low-efficiency encoding mode is set so that encoding is performed by selecting one prediction mode that is used most frequently among the nine prediction modes.
直交変換設定部312cでの整数精度の設定は、4×4の画素ブロックの直交変換を整数精度で行うと共に、8×8の画素ブロックの直交変換を整数精度で行う変換の両者を行うか、又は使用頻度の高い方の一方を指定して行うかの設定を行う。
エントロピー符号化設定部312dでの符号化方式の設定は、エントロピー符号化を可変長符号化(Variable Length Coding)であるCAVLC(文脈適応可変長符号化)で行うか、又は算術符号化(Arithmetic Coding)であるCABAC(文脈適応2進法算術符号化)で行うかを設定する。CABACは、H.264でデフォルトの符号化として定められるCAVLCよりも高能率な圧縮方式で、特に高ビットレート時には10〜15%の符号量を削減できる。演算量はCABACの方が大きい。
The setting of the integer precision in the orthogonal
The setting of the encoding method in the entropy
デブロッキングフィルタ設定部312eは、例えば4×4の画素ブロックで符号化を行う際に画素ブロックの境界部分で生じる歪成分を除去するための2次元フィルタを設定する。フィルタ強度は量子化パラメータや画素ブロックをDCT(discrete cosine transform)変換して得られるDCT係数の大きさに応じて適応的なフィルタ係数が設定される。画像信号に対する畳み込みフィルタ処理の演算量は大きく、消費電力が大きな処理である。デブロッキングフィルタ設定部312eは、高能率符号化モード時に生じる符号化歪を低減させ、高能率でありながら歪成分の少ない符号化を行う動作を回路により実現する場合には図示しないデブロッキングフィルタ設定回路部の電源を投入させる。符号化歪の低減をソフトウエアで実現する場合は、デブロッキングフィルタのための演算ルーチンを用いるようにした符号化シーケンスを設定し、符号化を行わせる。デブロッキングフィルタ投入時には回路部駆動のため、又は符号化シーケンス実行のため消費電力が増加する一方、少ない符号量でありながら符号化歪成分の少ない符号化信号を得ることが出来る。 The deblocking filter setting unit 312e sets, for example, a two-dimensional filter for removing distortion components generated at the boundary portion of the pixel block when encoding with a 4 × 4 pixel block. As the filter strength, an adaptive filter coefficient is set according to the magnitude of a DCT coefficient obtained by DCT (discrete cosine transform) conversion of a quantization parameter or a pixel block. This is a process that requires a large amount of calculation for the convolution filter processing on the image signal and consumes a large amount of power. The deblocking filter setting unit 312e reduces the coding distortion that occurs in the high-efficiency encoding mode, and when the operation for performing high-efficiency encoding with less distortion components is realized by a circuit, the deblocking filter setting unit (not shown) Turn on the power to the circuit. When the encoding distortion is reduced by software, an encoding sequence that uses an arithmetic routine for a deblocking filter is set and encoding is performed. When the deblocking filter is turned on, power consumption increases for driving the circuit unit or for executing the encoding sequence, while an encoded signal with a small encoding amount and a small encoding distortion component can be obtained.
図3を参照し、それぞれの符号化モード時において生成される符号化信号の符号量と符号化時の消費電力とについて述べる。横軸は生成される符号化信号の符号量であり、縦軸は符号化時の消費電力を示す。
同図に示す(1)の「◎印」の位置は、標準符号化モードでの符号化信号の符号量と符号化時消費電力を与える位置である。(2)の「○印」の位置は低能率符号化モード時の位置であり、標準符号化モードよりも大きな符号量の符号化信号が得られる一方、符号化時消費電力は標準符号化モードよりも小さな電力しか消費しない。(3)の「○印」の位置は高能率符号化モード時の位置であり、標準符号化モードよりも小さな符号量の符号化信号が得られる一方、符号化時消費電力は標準符号化モードよりも大きな電力が消費される。(4)の「△印」の位置は高圧縮符号化モード時の位置である。高圧縮符号化モード時は、予め、情報量を低減させた画像信号を符号化するため、符号化信号の符号量は標準符号化モードよりも小さく、符号化時消費電力も標準符号化モードよりも小さな電力で符号化がされる。
With reference to FIG. 3, the code amount of the encoded signal generated in each encoding mode and the power consumption during encoding will be described. The horizontal axis represents the code amount of the generated encoded signal, and the vertical axis represents the power consumption during encoding.
The position of “「 ”in (1) shown in the figure is a position that gives the code amount of the encoded signal and the power consumption during encoding in the standard encoding mode. The position of “◯” in (2) is the position in the low-efficiency encoding mode, and an encoded signal having a larger code amount than that in the standard encoding mode can be obtained, while the power consumption during encoding is the standard encoding mode. Less power is consumed. The position of “◯” in (3) is the position in the high-efficiency encoding mode, and an encoded signal having a smaller code amount than that in the standard encoding mode can be obtained, while the power consumption during encoding is the standard encoding mode. More power is consumed. The position of “Δ mark” in (4) is the position in the high compression encoding mode. In the high compression encoding mode, since the image signal with a reduced amount of information is encoded in advance, the encoding amount of the encoded signal is smaller than in the standard encoding mode, and the power consumption during encoding is also higher than in the standard encoding mode. Are encoded with a small amount of power.
図4を参照し、バッテリ残量が不足する場合に符号化モードを切り替えながら行う記録について述べる。
同図において、横軸(x)は記録媒体である半導体メモリ51の残量であり、縦軸(y)はバッテリ71の残量である。図中「◎印」で示される(X0、Y0)の位置から標準符号化モードで記録を開始し、所定時間経過時の特性が「○印」で示される(X1、Y1)になったとする。その後も標準符号化モードで記録を続けると(X2、0)の位置で、バッテリ残量が0となり、記録動作が中断される。中断時の記録媒体残量はX2である。点(X1、Y1)と点(X2、0)の延長線とY軸との交点は(0、Y4)である。記録開始時点でのバッテリ残量がY4だけ多くあれば、バッテリ残量と記録媒体残量の両者が0となる位置、即ち点(O)まで記録が可能となる。そこで、点(X1、Y1)において、標準符号化モードを低能率符号化モードに変更する。符号化信号の符号量は増加するが消費電力は低下する。その結果、点(X3、Y3)を通る特性となる。点(X3、Y3)を延長し、Y軸と交差する位置は点(O)の近くとなる。点(X0、Y0)と点(X1、Y1)とを結ぶ直線とY軸との交点でのYの値が所定値−dよりも小さい場合は、符号化を標準符号化モードから低能率符号化モードに切り替える。
With reference to FIG. 4, recording performed while switching the encoding mode when the remaining battery level is insufficient will be described.
In the figure, the horizontal axis (x) is the remaining amount of the
図5を参照し、記録媒体残量が不足する場合の符号化モードを切り替えながら行う記録について述べる。
図中「◎印」で示される点(X5、Y5)から標準符号化モードで記録を開始し、所定時間経過後の特性が(X6、Y6)であるとする。その後も標準符号化モードで記録を続けると(0、Y7)の位置で、記録媒体残量が0となり、記録動作が中断される。そこで、点(X6、Y6)の位置で符号化を標準符号化モードから高能率符号化モードに切り替える。符号化信号の消費電力量は増加するが生成される符号化信号の符号量は低下する。その結果、点(X8、Y8)を通る特性となる。点(X8、Y8)を延長し、Y軸と交差する位置は点(O)の近くとなる。点(X5、Y5)と点(X6、Y6)とを結ぶ直線とY軸との交点でのYの値が所定値dよりも大きい場合は、符号化を標準符号化モードから高能率符号化モードに切り替える。
With reference to FIG. 5, recording performed while switching the encoding mode when the recording medium remaining amount is insufficient will be described.
It is assumed that recording is started in the standard encoding mode from the point (X5, Y5) indicated by “「 ”in the figure, and the characteristics after a predetermined time has passed are (X6, Y6). Thereafter, when recording is continued in the standard encoding mode, the remaining amount of the recording medium becomes 0 at the position (0, Y7), and the recording operation is interrupted. Therefore, the coding is switched from the standard coding mode to the high efficiency coding mode at the position of the point (X6, Y6). The power consumption of the encoded signal increases, but the code amount of the generated encoded signal decreases. As a result, the characteristic passes through the point (X8, Y8). The position extending the point (X8, Y8) and intersecting the Y axis is near the point (O). When the value of Y at the intersection of the straight line connecting the point (X5, Y5) and the point (X6, Y6) and the Y axis is larger than the predetermined value d, the encoding is performed from the standard encoding mode to the high efficiency encoding. Switch to mode.
図6を参照し、記録時間を設定して録画する場合の携帯型記録装置10の処理を説明する。
携帯型記録装置10での記録が開始される場合に、S(ステップ)51で例えば操作部6の操作により記録時間をセットする。S52で、媒体残量管理部42により半導体メモリ51の空き容量を、電力残量管理部41によりバッテリ71のバッテリ残量を検出する。S53で、セットされた時間の符号化信号を記録するための媒体容量が十分であるかを検出する。十分であるとして検出された場合はS54でセットされた時間の符号化信号を記録するためのバッテリ容量が十分であるかを検出する。S54で十分でないとして検出された場合はS55で画像音声処理部3の符号化を低能率符号化モードに設定する。S54で十分であるとして検出された場合はS56で画像音声処理部3の符号化を標準符号化モードに設定する。S53で媒体空き容量が十分でないとして検出され、S57でバッテリ残量が十分であるとして検出された場合はS58で画像音声処理部3の符号化を高能率符号化モードに設定する。S57でバッテリ残量が十分でないとして検出された場合は、S59で画像音声処理部3の符号化を高圧縮率符号化モードに設定する。それらの符号化モードの設定後S61で記録を継続する。所定時間記録後、S62で記録を終了するかを検出し、終了しないとして検出される場合はS52からの動作を繰り返し、終了するとして検出された場合は記録動作を終了させる。
With reference to FIG. 6, the process of the
When recording with the
図7を参照し、記録時間を設定しないで録画する場合の携帯型記録装置10の処理を説明する。図6と同じ機能部分には同一符号を付す。
携帯型記録装置10での記録が開始される場合に、S71でシステムコントローラ部4の媒体残量管理部42は半導体メモリ51の空き容量X0を検出し、電力残量管理部41はバッテリ71のバッテリ残量Y0を検出する。その後、所定時間、標準符号化モードで符号化して得られる符号化信号を半導体メモリ51に記録する。次に、S72で媒体空き容量X1とバッテリ残量Y1を検出する。S73で、X0、X1、Y1、及びY2の関係から媒体空き容量が0になるときのバッテリ容量bを予測する。S74で、bの値の絶対値が所定値であるd以下であるかを検出する。所定値以下でないとして検出された場合はS75でbの値が負であるか否かを検出し、負でないとして検出された場合はS77で符号化のモードを高能率のモードに設定する。S75でbの値が負であるとして検出された場合はS76で符号化モードを低能率のモードに設定する。S74でbの値の絶対値が所定値d以下であるとして検出された場合はS78で符号化モードを標準符号化モードに設定する。S76、S77、及びS78での設定の後、S61の記録を継続する。S62で記録終了が検出されるまでS72からの動作を繰り返す。
With reference to FIG. 7, the process of the
When recording in the
S73で行うバッテリ容量bの予測についてさらに述べる。
xy座標上で、点(Ym、Xm)及び点(Yn、Xn)を通過し、y軸と(0、b)で交差する直線は式1で与えられる。
On the xy coordinates, a straight line passing through the point (Y m , X m ) and the point (Y n , X n ) and intersecting the y axis at (0, b) is given by
従って、点(Y0、X0)及び点(Y1、X1)を通過する直線がy軸と交差する際のbの値は式2で与えられる。
バッテリ残量の予測を直線近似により求める代わりに曲線近似により、さらに正確なバッテリ残量として求めるようにしても良い。
Therefore, the value of b when the straight line passing through the point (Y 0 , X 0 ) and the point (Y 1 , X 1 ) intersects the y-axis is given by
The battery remaining amount may be estimated as a more accurate battery remaining amount by curve approximation instead of linear approximation.
前述の図2に例示したように、符号化パラメータの設定の組合せは複数存在する。それらのパラメータの選択を消費電力と、生成符号量及び符号化品質でグループ分けし、標準符号化モード、低能率符号化モード、高能率符号化モード、さらには高圧縮符号化モードの動作をさせるためのパラメータを決定する。さらに多くのモードを設定し、媒体空き容量とバッテリ残量とに最適の符号化モードを選択し、携帯型記録装置10での記録品質を最大限に確保するようにしても良い。
符号化パラメータの設定を、H.264方式により説明した。他の符号化方式に対しても消費電力と、生成符号量及び符号化品質でグループ分けし、それらの関係から複数の符号化モードを設定し、設定された符号化モードで符号化を行い、記録品質を最大限に確保できる記録装置を実現できる。
As illustrated in FIG. 2 described above, there are a plurality of combinations of encoding parameter settings. The selection of these parameters is grouped by power consumption, generated code amount and encoding quality, and the standard encoding mode, low efficiency encoding mode, high efficiency encoding mode, and high compression encoding mode are operated. Determine the parameters for. Further, a larger number of modes may be set, an optimal encoding mode may be selected for the medium free capacity and the battery remaining capacity, and the recording quality in the
Set the encoding parameter to H.264. The explanation is based on the H.264 system. For other coding systems, group by power consumption, generated code amount and coding quality, set a plurality of coding modes from their relationship, perform coding in the set coding mode, A recording apparatus capable of ensuring the maximum recording quality can be realized.
以上のように、本実施例で示した携帯型記録装置10によれば、供給される動画信号を所定の符号化レートにより所定の能率で符号化する標準符号化モード、動画信号を所定の符号化レートよりも大きな符号化レートにより所定の能率よりも低い能率で符号化する低能率符号化モード、及び所定の符号化レートよりも小さな符号化レートにより符号化時に生じる歪を抑圧した所定の能率よりも高い能率で符号化する高能率符号化モードのうち選択された1つの符号化モードで符号化信号を生成する符号化手段31と、記録媒体に記録可能な空きデータ量を検出する空き容量検出手段42と、内蔵するバッテリの残量を検出するバッテリ残量検出手段41と、空き容量検出手段により検出される空きデータ量を基にした第1の記録可能時間を予測すると共にバッテリ残量検出手段により検出されるバッテリの残量を基にした第2の記録可能時間を予測する予測手段と、予測手段で予測される第1の記録可能時間と第2の記録可能時間との比が所定の倍数以下である場合は符号化手段での符号化信号の生成を標準符号化モードを選択して行わせ、予測手段で予測される第1の記録可能時間が第2の記録可能時間より所定の倍数を越えて大きい場合は符号化手段での符号化信号の生成を低能率符号化モードを選択して行わせ、予測手段で予測される第1の記録可能時間が第2の記録可能時間より所定の倍数を越えて小さい場合は符号化手段での符号化信号の生成を高能率符号化モードを選択して行わせる符号化モード選択手段46と、符号化モード選択手段で選択された符号化モードにより圧縮符号化手段で符号化して得られる圧縮符号化信号を記録媒体に記録する記録部5とを備える場合では、バッテリ残量及び記録媒体の空き容量を管理しつつバッテリ残量及び媒体空き容量の範囲の両者の状態に合わせ、録画品質を最も高く保った録画を可能とする携帯型記録装置を実現できる。
また、動画信号を所定の能率で所定の符号化レートで符号化する標準符号化モード、所定の能率よりも低い能率で且つ所定の符号化レートよりも大きな符号化レートで符号化する低能率符号化モード、所定の能率よりも高い能率で所定の符号化レートよりも小さな符号化レートで符号化する高能率符号化モード、及び動画信号の情報量を低減した後に所定の能率よりも低い能率で所定の符号化レートよりも小さな符号化レートで符号化する高圧縮符号化モードのうち選択された1つのモードで符号化信号を生成する符号化手段31と、記録媒体に記録可能な空きデータ量を検出する空き容量検出手段42と、内蔵するバッテリの残量を検出するバッテリ残量検出手段41と、供給される所定時間の動画信号を標準符号化モードを選択した符号化手段で符号化して生成される符号化信号の生成符号量を予測すると共に、予測された生成符号量の符号化信号を記録媒体に記録する際に必要な消費電力量を予測する予測手段43、44と、予測手段で予測される生成符号量が空き容量検出手段で検出される空きデータ量よりも小さく、且つ予測手段により予測される消費電力量がバッテリ残量検出手段で検出されるバッテリの残量より小さい場合は符号化手段での符号化信号の生成を標準符号化モードを選択して行わせ、予測手段で予測される生成符号量が空き容量検出手段で検出される空きデータ量よりも大きく、且つ予測手段で予測される消費電力量がバッテリ残量検出手段で検出されるバッテリの残量より小さい場合は符号化手段での符号化信号の生成を低能率符号化モードを選択して行わせ、予測手段で予測される生成符号量が空き容量検出手段で検出される空きデータ量よりも小さく、且つ予測手段で予測される消費電力量がバッテリ残量検出手段で検出されるバッテリの残量より大きい場合は符号化手段での符号化信号の生成を高能率符号化モードを選択して行わせ、予測手段で予測される生成符号量が空き容量検出手段で検出される空きデータ量よりも大きく、且つ予測手段で予測される消費電力量がバッテリ残量検出手段で検出されるバッテリの残量より大きい場合は符号化手段での符号化信号の生成を高圧縮符号化モードを選択して行わせる符号化モード選択手段46と、符号化モード選択手段で選択された符号化モードにより圧縮符号化手段で符号化して得られる圧縮符号化信号を記録媒体に記録する記録部5とを備える格別な構成があるので、バッテリ残量及び記録媒体の空き容量を管理しつつバッテリ残量及び媒体空き容量の範囲内で録画品質を高く保ち、且つ必要とされる所定時間の記録を可能とする携帯型記録装置を実現できる。
As described above, according to the
Also, a standard encoding mode for encoding a moving image signal at a predetermined encoding rate with a predetermined efficiency, a low efficiency code for encoding at a lower encoding efficiency and a higher encoding rate than the predetermined efficiency Encoding mode, high efficiency encoding mode for encoding at a higher encoding efficiency and lower than the predetermined encoding rate, and lower efficiency than the predetermined efficiency after reducing the information amount of the video signal Encoding means 31 for generating an encoded signal in one mode selected from among the high compression encoding modes for encoding at an encoding rate smaller than a predetermined encoding rate, and the amount of free data that can be recorded on the recording medium Free capacity detecting means 42 for detecting the remaining battery capacity detecting means 41 for detecting the remaining capacity of the built-in battery, and a video signal for a predetermined time to be supplied is selected in the standard encoding mode. Predicting means 43 for predicting the generated code amount of the encoded signal generated by encoding by the means, and for predicting the power consumption necessary for recording the encoded signal of the predicted generated code amount on the recording medium, 44, the generated code amount predicted by the predicting means is smaller than the free data amount detected by the free capacity detecting means, and the power consumption predicted by the predicting means is detected by the battery remaining amount detecting means. If the remaining amount is smaller than the remaining amount, the encoding unit generates the encoded signal by selecting the standard encoding mode, and the generated code amount predicted by the predicting unit is larger than the free data amount detected by the free capacity detecting unit. If the power consumption predicted by the prediction unit is smaller than the remaining battery level detected by the battery remaining amount detection unit, the encoding unit generates the encoded signal and the low efficiency encoding mode is selected. The generated code amount predicted by the prediction unit is smaller than the free data amount detected by the free space detection unit, and the power consumption predicted by the prediction unit is detected by the battery remaining amount detection unit. If the remaining capacity is larger than the remaining capacity, the encoding means generates the encoded signal by selecting the high-efficiency encoding mode, and the generated code amount predicted by the predicting means is detected by the free capacity detecting means. If the power consumption amount predicted by the prediction means is larger than the remaining battery capacity detected by the battery remaining amount detection means, the encoding signal is generated by the encoding means in the high compression encoding mode. An encoding mode selection means 46 to be selected and a recording section for recording on the recording medium a compressed encoded signal obtained by encoding with the compression encoding means in the encoding mode selected by the encoding mode selection means 5 so that the recording quality is kept high within the range of the remaining battery capacity and the medium free space while managing the remaining battery capacity and the free space of the recording medium, and recording for a predetermined time required. Therefore, a portable recording device that can perform the above can be realized.
1 カメラ部
2 モニタ用液晶パネル部
3 画像音声処理部
4 システムコントローラ部
5 記録装置部
6 操作部
7 電源部
10 携帯型記録装置
31 画像符号化部
32 音声符号化部
41 電力残量管理部
42 媒体残量管理部
43 符号量推定部
44 電力量算出部
45 記録モード切替部
46 符号化モード選択部
49 制御部
51 半導体メモリ
71 バッテリ
311 動画符号化器
312 符号化パラメータ設定器
312a フレーム間予測設定部
312b フレーム内予測設定部
312c 直交変換設定部
312d エントロピー符号化設定部
DESCRIPTION OF
Claims (2)
前記動画信号を所定の演算量で且つ所定の符号化レートで符号化する標準モード、前記所定の演算量よりも少ない演算量で且つ前記所定の符号化レートよりも大きな符号化レートで符号化する低能率モード、及び前記所定の演算量よりも多い演算量で且つ前記所定の符号化レートよりも小さな符号化レートで符号化する高能率モードのうち選択された1つの符号化モードで符号化する符号化手段と、
前記記録媒体の空き容量を検出する空き容量検出手段と、
前記バッテリの残量を検出するバッテリ残量検出手段と、
前記空き容量検出手段で検出された空き容量に前記標準モードで符号化した圧縮符号化信号を記録可能な第1の記録可能時間と、前記バッテリ残量検出手段で検出されたバッテリの残量により前記標準モードで前記符号化手段を駆動して符号化された圧縮符号化信号を前記記録媒体に記録可能な第2の記録可能時間とを予測する予測手段と、
前記第1の記録時間と前記第2の記録時間との差が所定の差以内である場合は前記標準モードを選択し、
前記第1の記録時間と前記第2の記録時間との差が前記所定の差を越え、且つ前記第1の記録時間の方が前記第2の記録時間よりも大きい場合は前記低能率モードを選択し、
前記第1の記録時間と前記第2の記録時間との差が前記所定の差を越え、且つ前記第1の記録時間の方が前記第2の記録時間よりも小さい場合は前記高能率モードを選択するモード選択手段と、
前記モード選択手段で選択されたモードにより前記動画信号を前記圧縮符号化手段で符号化して得られる圧縮符号化信号を前記記録媒体に記録する記録部と、
を備えることを特徴とする携帯型記録装置。 When the supplied video signal is encoded and recorded on a pre-stored recording medium, the encoding is performed by an encoding method with a large amount of calculation and a large amount of power consumption, or the amount of calculation is small and the amount of power consumption is small. In a portable recording device that selects according to the free capacity of the recording medium and the remaining amount of battery, and performs the encoding by the selected encoding method,
A standard mode for encoding the moving picture signal with a predetermined calculation amount and a predetermined encoding rate, and encoding with a coding amount smaller than the predetermined calculation amount and larger than the predetermined encoding rate. Encoding is performed in one encoding mode selected from the low-efficiency mode and the high-efficiency mode for encoding at an encoding amount larger than the predetermined calculation amount and smaller than the predetermined encoding rate. Encoding means;
Free space detecting means for detecting the free space of the recording medium;
Battery remaining amount detecting means for detecting the remaining amount of the battery;
Depending on the first recordable time during which the compressed encoded signal encoded in the standard mode can be recorded in the free space detected by the free space detection means, and the remaining battery level detected by the battery remaining amount detection means Predicting means for predicting a second recordable time in which the compressed encoded signal encoded by driving the encoding means in the standard mode can be recorded on the recording medium;
If the difference between the first recording time and the second recording time is within a predetermined difference, select the standard mode,
When the difference between the first recording time and the second recording time exceeds the predetermined difference and the first recording time is larger than the second recording time, the low efficiency mode is set. Selected,
When the difference between the first recording time and the second recording time exceeds the predetermined difference and the first recording time is smaller than the second recording time, the high efficiency mode is set. Mode selection means to select;
A recording unit that records, on the recording medium, a compression-encoded signal obtained by encoding the moving image signal by the compression-encoding unit in the mode selected by the mode selection unit;
A portable recording apparatus comprising:
前記動画信号を所定の演算量で且つ所定の符号化レートで符号化する標準モード、前記所定の演算量よりも少ない演算量で且つ前記所定の符号化レートよりも大きな符号化レートで符号化する低能率モード、前記所定の演算量よりも多い演算量で且つ前記所定の符号化レートよりも小さな符号化レートで符号化する高能率モード、及び前記動画信号の情報量を圧縮した後に前記所定の演算量よりも少ない演算量で且つ前記所定の符号化レートよりも小さな符号化レートで符号化する高圧縮モードのうち選択された1つの符号化モードで符号化する符号化手段と、
前記記録媒体の空き容量を検出する空き容量検出手段と、
前記バッテリの残量を検出するバッテリ残量検出手段と、
所定時間の動画信号を前記標準モードで符号化した際の符号量を予測すると共に、前記予測された符号量の符号化信号を前記記録媒体に記録する際に必要な電力消費量を予測する予測手段と、
前記予測手段で予測された符号量が前記空き容量検出手段で検出された空き容量よりも少なく、且つ前記予測手段で予測された電力消費量が前記バッテリ残量検出手段で検出されたバッテリの残量より少ない場合は前記標準モードを選択し、
前記予測手段で予測された符号量が前記空き容量検出手段で検出された空き容量よりも多く、且つ前記予測手段で予測された電力消費量が前記バッテリ残量検出手段で検出されたバッテリの残量より少ない場合は前記低能率モードを選択し、
前記予測手段で予測された符号量が前記空き容量検出手段で検出される空き容量よりも少なく、且つ前記予測手段で予測された電力消費量が前記バッテリ残量検出手段で検出されたバッテリの残量より多い場合は前記高能率モードを選択し、
前記予測手段で予測された符号量が前記空き容量検出手段で検出された空き容量よりも多く、且つ前記予測手段で予測された電力消費量が前記バッテリ残量検出手段で検出されたバッテリの残量より多い場合は前記高圧縮モードを選択して前記符号化手段での符号化を行わせるモード選択手段と、
前記モード選択手段で選択された符号化モードにより前記動画信号を前記圧縮符号化手段で符号化して得られる圧縮符号化信号を前記記録媒体に記録する記録部と、
を備えることを特徴とする携帯型記録装置。 When the supplied video signal is encoded and recorded on a pre-stored recording medium, the encoding is performed by an encoding method with a large amount of calculation and a large amount of power consumption, or the amount of calculation is small and the amount of power consumption is small. In a portable recording device that selects according to the free capacity of the recording medium and the remaining amount of battery, and performs the encoding by the selected encoding method,
A standard mode for encoding the moving picture signal with a predetermined calculation amount and a predetermined encoding rate, and encoding with a coding amount smaller than the predetermined calculation amount and larger than the predetermined encoding rate. A low-efficiency mode, a high-efficiency mode in which the amount of computation is larger than the predetermined amount of computation and is encoded at an encoding rate smaller than the predetermined encoding rate, and the predetermined amount of information after compressing the information amount of the video signal Encoding means for encoding in one encoding mode selected from among the high compression modes for encoding at an encoding amount smaller than the predetermined encoding rate and an encoding rate smaller than the predetermined encoding rate;
Free space detecting means for detecting the free space of the recording medium;
Battery remaining amount detecting means for detecting the remaining amount of the battery;
Prediction for predicting a code amount when a moving image signal for a predetermined time is encoded in the standard mode, and for predicting a power consumption necessary for recording the encoded signal of the predicted code amount on the recording medium Means,
The amount of code predicted by the prediction means is less than the free capacity detected by the free capacity detection means, and the remaining power of the battery detected by the remaining battery capacity detection means is the power consumption predicted by the prediction means. If it is less than the amount, select the standard mode,
The amount of code predicted by the prediction means is greater than the free capacity detected by the free capacity detection means, and the remaining power of the battery detected by the remaining battery capacity detection means is the power consumption predicted by the prediction means. If less than the amount, select the low efficiency mode,
The amount of code predicted by the predicting means is less than the free capacity detected by the free capacity detecting means, and the remaining power of the battery detected by the predictive means is detected by the remaining battery capacity detecting means. If it is more than the amount, select the high efficiency mode,
The amount of code predicted by the prediction means is greater than the free capacity detected by the free capacity detection means, and the remaining power of the battery detected by the remaining battery capacity detection means is the power consumption predicted by the prediction means. Mode selection means for selecting the high compression mode and performing encoding by the encoding means when the amount is larger than the amount;
A recording unit that records a compressed encoded signal obtained by encoding the moving image signal by the compression encoding unit in the encoding mode selected by the mode selection unit, on the recording medium;
A portable recording apparatus comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006345458A JP4656529B2 (en) | 2006-12-22 | 2006-12-22 | Portable recording device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006345458A JP4656529B2 (en) | 2006-12-22 | 2006-12-22 | Portable recording device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008160358A true JP2008160358A (en) | 2008-07-10 |
| JP4656529B2 JP4656529B2 (en) | 2011-03-23 |
Family
ID=39660795
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006345458A Active JP4656529B2 (en) | 2006-12-22 | 2006-12-22 | Portable recording device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4656529B2 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009055560A (en) * | 2007-08-29 | 2009-03-12 | Sony Ericsson Mobilecommunications Japan Inc | Mobile device, and method for recording imaged image data |
| JP2010124468A (en) * | 2008-11-24 | 2010-06-03 | Nvidia Corp | Optimal power usage in encoding data streams |
| JP2010157949A (en) * | 2009-01-05 | 2010-07-15 | Toshiba Corp | Moving image coding/decoding method and device |
| US8880789B2 (en) | 2008-12-10 | 2014-11-04 | Nvidia Corporation | Optimal power usage in decoding a content stream stored in a secondary storage |
| US10148879B2 (en) | 2016-02-18 | 2018-12-04 | Samsung Electronics Co., Ltd. | Electronic device for acquiring still images and corresponding video and operating method thereof |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003199002A (en) * | 2001-12-27 | 2003-07-11 | Sharp Corp | Information recording device |
-
2006
- 2006-12-22 JP JP2006345458A patent/JP4656529B2/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003199002A (en) * | 2001-12-27 | 2003-07-11 | Sharp Corp | Information recording device |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009055560A (en) * | 2007-08-29 | 2009-03-12 | Sony Ericsson Mobilecommunications Japan Inc | Mobile device, and method for recording imaged image data |
| JP2010124468A (en) * | 2008-11-24 | 2010-06-03 | Nvidia Corp | Optimal power usage in encoding data streams |
| US8880789B2 (en) | 2008-12-10 | 2014-11-04 | Nvidia Corporation | Optimal power usage in decoding a content stream stored in a secondary storage |
| JP2010157949A (en) * | 2009-01-05 | 2010-07-15 | Toshiba Corp | Moving image coding/decoding method and device |
| US10148879B2 (en) | 2016-02-18 | 2018-12-04 | Samsung Electronics Co., Ltd. | Electronic device for acquiring still images and corresponding video and operating method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4656529B2 (en) | 2011-03-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4591657B2 (en) | Moving picture encoding apparatus, control method therefor, and program | |
| JP4495580B2 (en) | In-plane prediction apparatus and in-plane prediction method | |
| JP3934568B2 (en) | Video coding method and apparatus | |
| JP4501631B2 (en) | Image coding apparatus and method, computer program for image coding apparatus, and portable terminal | |
| CN102986211A (en) | Rate control in video coding | |
| JP2008227670A (en) | Image coding device | |
| JP4495034B2 (en) | Variable length coding method and variable length coding apparatus | |
| JP4656529B2 (en) | Portable recording device | |
| JP2007097145A (en) | Image coding apparatus and image coding method | |
| JP4257789B2 (en) | Video encoding device | |
| US20060165183A1 (en) | Image compression apparatus and image compression method | |
| WO2016116984A1 (en) | Moving image encoding device, moving image encoding method, and moving image encoding program | |
| JP2007013298A (en) | Image coding apparatus | |
| CN102131093A (en) | Image processing method and device | |
| JP2012019288A (en) | Moving image encoding device and moving image encoding method | |
| JP2009010608A (en) | Encoding processing device | |
| CN1610408B (en) | A dynamically adjusted video encoding method and related device | |
| JP2007228101A (en) | Dynamic-image coding equipment | |
| JP2009033652A (en) | Video coding method | |
| JP5419560B2 (en) | Imaging device | |
| JP2005130362A (en) | Imaging device | |
| JP2009021786A (en) | Image coding apparatus and image coding method | |
| JP2007266679A (en) | Moving picture encoder | |
| JP7431549B2 (en) | Encoding device, imaging device, control method, and program | |
| JP4834535B2 (en) | Imaging device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081226 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101015 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101019 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101105 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20101203 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101216 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140107 Year of fee payment: 3 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 4656529 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140107 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140107 Year of fee payment: 3 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140107 Year of fee payment: 3 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |