[go: up one dir, main page]

JP2008160358A - Portable recorder - Google Patents

Portable recorder Download PDF

Info

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
Application number
JP2006345458A
Other languages
Japanese (ja)
Other versions
JP4656529B2 (en
Inventor
Takayuki Sato
貴之 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2006345458A priority Critical patent/JP4656529B2/en
Publication of JP2008160358A publication Critical patent/JP2008160358A/en
Application granted granted Critical
Publication of JP4656529B2 publication Critical patent/JP4656529B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To implement a portable recorder capable of recording video for prescribed hours with high picture quality in accordance with a battery residual capacity and an available space of a medium. <P>SOLUTION: The portable recorder includes: a coding means 31 for coding a moving picture signal in one of a standard coding mode, a low-efficiency coding mode, a high-efficiency coding mode, and a high-compression coding mode; a battery residual capacity detection means 41; a medium available space detection means 42; a prediction means 44 for predicting a generated code amount and a power consumption; a coding mode selection means 46 for selecting which of the standard coding mode, the low-efficiency coding mode, the high-efficiency coding mode, and the high-compression coding mode the signal should be coded in, on the basis of relations among the battery residual capacity, the medium available space, the generated code amount, and the power consumption; and a recording part 5 for recording a coded compression code signal into a recording medium. <P>COPYRIGHT: (C)2008,JPO&INPIT

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には、バッテリ残量が少なくなった場合にもできるだけ記録時間を延長できるようにした撮像記録装置が開示されている。その装置はバッテリから供給された電力により画像信号を符号化して記録する装置であり、撮像手段と、撮像手段より得られた動画像信号を符号化する符号化手段と、符号化手段により符号化された動画像信号を記録媒体に記録する記録手段と、バッテリの残量を検出し、検出したバッテリ残量に基づいて符号化手段の符号化アルゴリズムを変更し、符号化時に使用するメモリ回路へのアクセスを制限させた低能率で符号化させ、符号化時の消費電力を小さくさせる制御手段とを備えて構成している。
特開2005−130362号公報
Patent Document 1 discloses an imaging and recording apparatus that can extend the recording time as much as possible even when the remaining battery level is low. The apparatus is an apparatus that encodes and records an image signal using power supplied from a battery. The image signal is encoded by an imaging unit, an encoding unit that encodes a moving image signal obtained from the imaging unit, and an encoding unit. Recording means for recording the recorded moving image signal on a recording medium, and detecting the remaining battery level, changing the encoding algorithm of the encoding means based on the detected remaining battery level, to a memory circuit used at the time of encoding And a control means for reducing the power consumption at the time of encoding.
JP-A-2005-130362

しかしながら、特許文献1に開示されている撮像記録装置では、低能率符号化時には量子化幅が荒くされて符号化歪を含む画質で符号化されたり、MPEG(moving picture experts group)方式で符号化する際にB(Bidirectionally predictive-coded)ピクチャを用いないで行うため符号量が増加し記録媒体容量不足のため記録時間を十分に確保できない程度のものでしかなく、バッテリの残量や記録媒体の空き容量を基にして最適な符号化条件を選択して記録動作させることのできる携帯型記録装置を実現することはできなかった。   However, in the imaging and recording apparatus disclosed in Patent Document 1, when the low-efficiency encoding is performed, the quantization width is rough and the encoding is performed with an image quality including encoding distortion, or the MPEG (moving picture experts group) method is used. In this case, the amount of code increases because the B (Bidirectionally predictive-coded) picture is not used, and the recording time is not sufficient to ensure sufficient recording time due to insufficient recording medium capacity. It has not been possible to realize a portable recording apparatus that can perform recording operation by selecting an optimal encoding condition based on the free space.

そこで、本発明は、上記のような問題点を解消するためになされたもので、バッテリ残量及び記録媒体の空き容量を管理しつつバッテリ残量及び媒体空き容量の範囲の両者の状態に合わせ、録画品質を最も高く保った記録を可能とする携帯型記録装置を提供することを目的とする。   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 portable recording device 10 shown in FIG. 1 includes a camera unit 1, a monitor liquid crystal panel unit 2, an image / audio processing unit 3, a system controller unit 4, a recording device unit 5, an operation unit 6, and a power supply unit 7. . The image / audio processing unit 3 includes an image encoding unit 31 and an audio encoding unit 32. The system controller unit 4 includes a remaining power management unit 41, a remaining medium management unit 42, a code amount estimation unit 43, a power amount calculation unit 44, a recording mode switching unit 45, a coding mode selection unit 46, and a control unit 49. Is done. A semiconductor memory 51 is stored in the recording device unit 5. A battery 71 is stored in the power supply unit 7.
The image encoding unit 31 illustrated in FIG. 2 includes a moving image encoder 311 and an encoding parameter setting unit 312. The encoding parameter setting unit 312 performs setting of the number of modes with an inter-frame prediction setting unit 312a for setting the number of patterns for variable block size motion compensation, setting of a prediction system, setting of filter processing, and setting of the number of reference frames. Intraframe prediction setting unit 312b, orthogonal transformation setting unit 312c for setting the size of orthogonal transformation performed with integer precision, and setting of coding parameters for CAVLC (Context Adaptive Variable Length Coding) or CABAC (Context Adaptive Binary Arithmetic Coding) An entropy encoding setting unit 312d to perform and a deblocking filter setting unit 312e to set ON or OFF of the deblocking filter are included.

携帯型記録装置の動作について述べる。
まず、操作部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 portable recording device 10 starts a recording operation, the control unit 49 of the system controller 4 presents a screen for requesting input of a necessary recording time to the monitor liquid crystal panel unit 2. Then, the recording time is input from the operation unit 6 or the like. Next, the medium remaining amount management unit 42 of the system controller 4 detects the remaining amount that can be recorded in the semiconductor memory 51 and inputs an encoded signal generated by operating the audio / video processing unit 3 in the standard encoding mode. It is determined whether or not there is a remaining amount of the semiconductor memory 51 necessary to record the recorded recording time. The remaining power management unit 41 detects the remaining amount of the battery 71, and the remaining battery power is the power required to record the encoded signal generated by encoding the image encoding unit 31 in the standard encoding mode. Determine if there is an amount. When it is determined that the remaining amount of the semiconductor memory 51 is sufficient and the remaining amount of the battery 71 is sufficient, the control unit 49 converts the video signal obtained by imaging with the camera unit 1 into an image in the standard encoding mode. The audio signal is encoded by the audio processing unit 3 and the encoded signal obtained by the encoding is supplied to the semiconductor memory 51 of the recording device unit 5 to be recorded.

媒体残量管理部42により半導体メモリ51の残量が十分であり、且つ電力残量管理部41によりバッテリ71の残量が不足であると判定された場合に、符号量推定部43は画像音声処理部3を低能率で動作させた場合の符号量を推定する。電力量算出部44は画像音声処理部3を低能率で動作させた場合の電力量を推定する。即ち、画像音声処理部3を低能率で動作させることにより画像符号化部31や音声符号化部32での演算量が低下する。消費電力量が低下し符号化信号の符号量が増加する。増加した符号量に対して半導体メモリ51の残量が十分であり、且つ電力残量管理部41により低下した電力量によりバッテリ71の残量が十分であると判定された場合には、符号化モード選択部46により低能率符号化モードが選択される。記録モード切替部45により画像音声処理部3の符号化モードが低能率符号化モードに切り替えられる。   When the remaining amount of the semiconductor memory 51 is sufficient by the remaining medium management unit 42 and the remaining amount of the battery 71 is insufficient by the remaining power management unit 41, the code amount estimation unit 43 A code amount when the processing unit 3 is operated at low efficiency is estimated. The power amount calculation unit 44 estimates the power amount when the image / audio processing unit 3 is operated at a low efficiency. That is, the amount of calculation in the image encoding unit 31 and the audio encoding unit 32 is reduced by operating the audio / video processing unit 3 with low efficiency. The amount of power consumption decreases and the amount of code of the encoded signal increases. If the remaining amount of the semiconductor memory 51 is sufficient with respect to the increased code amount, and the remaining amount of the battery 71 is determined to be sufficient due to the reduced power amount by the power remaining amount management unit 41, encoding is performed. The mode selection unit 46 selects the low efficiency encoding mode. The recording mode switching unit 45 switches the encoding mode of the audio / video processing unit 3 to the low efficiency encoding mode.

媒体残量管理部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 semiconductor memory 51 is insufficient by the medium remaining amount management unit 42 and the remaining amount of the battery 71 is determined to be sufficient by the remaining power management unit 41, the code amount estimation unit 43 A code amount when the processing unit 3 is operated with high efficiency is estimated. High-efficiency encoding processing of an image signal is performed simultaneously with deblocking filter processing for attenuating block noise generated when a DCT (discrete cosine transform) image signal is quantized in a rough quantization step, for example. It is such an encoding. The power amount calculation unit 44 estimates the power amount when the image and sound processing unit 3 is operated with high efficiency. The amount of calculation in the image encoding unit 31 and the audio encoding unit 32 is increased by operating the image / audio processing unit 3 with high efficiency. The power consumption increases and the code amount of the encoded signal decreases. If the remaining amount of the semiconductor memory 51 is sufficient for the decreased code amount and the remaining amount of the battery 71 is determined to be sufficient by the increased amount of power by the remaining power management unit 41, the encoding is performed. The mode selection unit 46 selects the high efficiency encoding mode. The recording mode switching unit 45 switches the encoding mode of the audio / video processing unit 3 to the high efficiency encoding mode.

媒体残量管理部42により半導体メモリ51の残量が不足であり、且つ電力残量管理部41によりバッテリ71の残量が不足であると判定された場合に、符号量推定部43は画像音声処理部3を高圧縮で動作させた場合の符号量を推定する。高圧縮符号化は、入力される画像信号の画素数を間引いたり、高域周波数成分を減衰させるなどにより情報量を低下させた画像信号を、目標符号量を小さく設定した後に例えば標準符号化モードを用いて符号化する。音声信号もサブサンプリング変換等を行い、情報量を低下させた音声信号を例えば標準符号化モードで符号化する。電力量算出部44は画像音声処理部3を高圧縮で動作させた場合の電力量を推定する。画像音声処理部3を高圧縮で動作させることにより画像符号化部31や音声符号化部32での演算量が低下する。消費電力量が低下し符号化信号の符号量も減少する。減少した符号量に対して半導体メモリ51の残量が十分であり、且つ電力残量管理部41により減少した電力量によりバッテリ71の残量が十分であると判定された場合には、符号化モード選択部46により高圧縮符号化モードが選択される。記録モード切替部45により画像音声処理部3の符号化モードが高圧縮符号化モードに切り替えられる。   When the remaining amount of the semiconductor memory 51 is insufficient by the medium remaining amount management unit 42 and the remaining amount of the battery 71 is determined to be insufficient by the remaining power management unit 41, the code amount estimation unit 43 The amount of code when the processing unit 3 is operated with high compression is estimated. High compression encoding is a standard encoding mode after setting the target code amount to a small value for an image signal whose information amount has been reduced by thinning out the number of pixels of the input image signal or attenuating high frequency components. Is encoded using. The audio signal is also subjected to sub-sampling conversion or the like, and the audio signal with a reduced amount of information is encoded, for example, in the standard encoding mode. The power amount calculation unit 44 estimates the power amount when the video / audio processing unit 3 is operated with high compression. The amount of calculation in the image encoding unit 31 and the audio encoding unit 32 is reduced by operating the image / audio processing unit 3 with high compression. The amount of power consumption is reduced and the code amount of the encoded signal is also reduced. If the remaining amount of the semiconductor memory 51 is sufficient for the reduced code amount and the remaining amount of the battery 71 is determined to be sufficient by the reduced power amount by the remaining power management unit 41, encoding is performed. The mode selection unit 46 selects the high compression encoding mode. The recording mode switching unit 45 switches the encoding mode of the audio / video processing unit 3 to the high compression encoding mode.

高圧縮符号化モードであっても半導体メモリ51の残量が不足したり、電力残量管理部41によりバッテリ71の残量が不足であると判定された場合は画像音声信号の情報量をさらに減少させた後に例えば標準符号化モードでの符号化を行うようにする。
制御部49は、標準符号化モード、低能率符号化モード、高能率符号化モード、及び高圧縮符号化モードのうちの何れか1つの符号化モードによりカメラ部1から入力される画像音声信号を符号化する。符号化して得られた符号化信号を半導体メモリ51の残量及びバッテリ71の残量に従った品質のレベルで記録させるように制御を行う。半導体メモリ51に記録する際に消費する電力は、記録する符号量が低下すればメモリーアクセスに要する電力量も低下する。さらに、高圧縮符号化モードが選択される場合にはカメラ部1の図示しない撮像素子(CCD;Charge Coupled Device)から取得する画像信号を、例えば間引いた画像信号とすることにより、カメラ部1の消費電力量を低下させることが出来る。
If the remaining amount of the semiconductor memory 51 is insufficient or the remaining amount of the battery 71 is determined to be insufficient by the remaining power management unit 41 even in the high compression encoding mode, the information amount of the video / audio signal is further increased. After the decrease, for example, encoding in the standard encoding mode is performed.
The control unit 49 receives the audio / video signal input from the camera unit 1 in any one of the standard encoding mode, the low efficiency encoding mode, the high efficiency encoding mode, and the high compression encoding mode. Encode. Control is performed so that the encoded signal obtained by encoding is recorded at a quality level according to the remaining amount of the semiconductor memory 51 and the remaining amount of the battery 71. As for the power consumed when recording in the semiconductor memory 51, if the amount of code to be recorded decreases, the amount of power required for memory access also decreases. Further, when the high compression encoding mode is selected, an image signal acquired from an imaging device (CCD; Charge Coupled Device) (not shown) of the camera unit 1 is used as a thinned image signal, for example, so that the camera unit 1 The power consumption can be reduced.

次に、詳細に説明する。
図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 image encoding unit 31 shown in FIG. 2 will be described.
The moving image encoder 311 encodes the image signal input from the camera unit 1 according to the encoding parameter set by the encoding parameter setting unit 312, and the encoded signal obtained by the encoding is the recording device unit 5. Is supplied to the semiconductor memory 51 and recorded. The encoding parameter setting unit 312 sets an encoding parameter in accordance with a command from the recording mode switching unit 45 of the system controller unit 4.
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 prediction setting unit 312a performs a motion vector search in order to perform motion prediction encoding of motion between images of the previous frame and the current frame using a motion vector. The searched image is performed for each part of the image, and the size of the partial image is 16 × 16, 16 × 8, 8 × 16, 8 × 8, 8 × 4, 4 × 8, 4 × 4, etc. Seven pattern sizes are available. The setting of the number of patterns for variable block size motion compensation is performed by using all the number of usable patterns or by selecting a representative pattern. That is, in the high-efficiency encoding mode, a motion vector is obtained for each of these seven patterns, and a pattern that can be encoded with the highest encoding efficiency is selected for encoding. In the standard encoding mode, about two frequently selected patterns out of the seven patterns are designated to obtain a motion vector. The amount of calculation for obtaining the motion vector is proportional to the number of patterns. In the standard encoding mode, a setting is made so as to obtain a motion vector that does not deteriorate so much with a small amount of calculation. In the low-efficiency encoding mode, a motion vector is obtained by designating one pattern having the highest frequency of selection. Coding quality that deteriorates due to an error included in a motion vector prevents an increase in coding distortion by increasing the amount of code to be assigned during intraframe coding.

予測精度の設定は、動き予測を行う際のマッチング誤差を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 prediction setting unit 312b will be described.
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 transformation setting unit 312c is to perform both of the orthogonal transformation of the 4 × 4 pixel block with the integer accuracy and the transformation of performing the orthogonal transformation of the 8 × 8 pixel block with the integer accuracy, Alternatively, it is set whether to specify one of the more frequently used ones.
The setting of the encoding method in the entropy encoding setting unit 312d is performed by performing entropy encoding by CAVLC (context adaptive variable length encoding), which is variable length encoding, or by arithmetic encoding (Arithmetic Coding). ) CABAC (context adaptive binary arithmetic coding). CABAC is the H.C. The compression method is more efficient than CAVLC defined as the default encoding in H.264, and the code amount can be reduced by 10 to 15% particularly at a high bit rate. The amount of calculation is larger in CABAC.

デブロッキングフィルタ設定部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 semiconductor memory 51 as a recording medium, and the vertical axis (y) is the remaining amount of the battery 71. Suppose that recording is started in the standard encoding mode from the position (X0, Y0) indicated by “)” in the figure, and the characteristics when a predetermined time has elapsed become (X1, Y1) indicated by “◯”. . Thereafter, when recording is continued in the standard encoding mode, the remaining battery level becomes 0 at the position (X2, 0), and the recording operation is interrupted. The recording medium remaining amount at the time of interruption is X2. The intersection of the extension line of the point (X1, Y1) and the point (X2, 0) and the Y axis is (0, Y4). If the remaining battery level at the start of recording is larger by Y4, recording is possible up to a position where both the remaining battery level and the remaining recording medium level become 0, that is, point (O). Therefore, at the point (X1, Y1), the standard coding mode is changed to the low efficiency coding mode. The code amount of the encoded signal increases, but the power consumption decreases. As a result, the characteristic passes through the point (X3, Y3). The point (X3, Y3) is extended and the position intersecting the Y axis is near the point (O). When the value of Y at the intersection of the straight line connecting the point (X0, Y0) and the point (X1, Y1) and the Y axis is smaller than the predetermined value -d, the coding is changed from the standard coding mode to the low efficiency code. Switch to Enabled mode.

図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 portable recording apparatus 10 when recording is performed with the recording time set.
When recording with the portable recording device 10 is started, the recording time is set by operating the operation unit 6 in S (step) 51, for example. In S52, the remaining capacity of the semiconductor memory 51 is detected by the medium remaining amount management unit 42, and the remaining amount of the battery 71 is detected by the remaining power management unit 41. In S53, it is detected whether the medium capacity for recording the encoded signal for the set time is sufficient. If it is detected that it is sufficient, it is detected whether the battery capacity for recording the encoded signal for the time set in S54 is sufficient. If it is detected that it is not sufficient in S54, the encoding of the audio / video processing unit 3 is set to the low efficiency encoding mode in S55. If it is detected in S54 that it is sufficient, the encoding of the audio / video processing unit 3 is set to the standard encoding mode in S56. If it is detected in S53 that the available medium capacity is not sufficient, and if it is detected in S57 that the remaining battery capacity is sufficient, the encoding of the audio / video processing unit 3 is set to the high-efficiency encoding mode in S58. If it is detected in S57 that the remaining battery level is not sufficient, the encoding of the audio / video processing unit 3 is set to the high compression rate encoding mode in S59. Recording is continued in S61 after setting of these encoding modes. After recording for a predetermined time, it is detected whether or not the recording is ended in S62. When it is detected that the recording is not ended, the operation from S52 is repeated, and when it is detected that the recording is ended, the recording operation is ended.

図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 portable recording device 10 when recording without setting the recording time will be described. The same functional parts as those in FIG.
When recording in the portable recording device 10 is started, the remaining medium amount management unit 42 of the system controller unit 4 detects the free capacity X0 of the semiconductor memory 51 and the remaining power management unit 41 determines that the battery 71 The battery remaining amount Y0 is detected. Thereafter, the encoded signal obtained by encoding in the standard encoding mode for a predetermined time is recorded in the semiconductor memory 51. Next, in S72, the free medium capacity X1 and the remaining battery charge Y1 are detected. In S73, the battery capacity b when the medium free capacity becomes 0 is predicted from the relationship of X0, X1, Y1, and Y2. In S74, it is detected whether the absolute value of b is less than or equal to d which is a predetermined value. If it is detected that the value is not equal to or less than the predetermined value, whether or not the value of b is negative is detected in S75. If it is detected that the value is not negative, the encoding mode is set to the high efficiency mode in S77. If it is detected in S75 that the value of b is negative, the encoding mode is set to a low efficiency mode in S76. If it is detected in S74 that the absolute value of b is less than or equal to the predetermined value d, the encoding mode is set to the standard encoding mode in S78. After the setting in S76, S77, and S78, the recording in S61 is continued. The operation from S72 is repeated until the end of recording is detected in S62.

S73で行うバッテリ容量bの予測についてさらに述べる。
xy座標上で、点(Y、X)及び点(Y、X)を通過し、y軸と(0、b)で交差する直線は式1で与えられる。

Figure 2008160358
The prediction of the battery capacity b performed in S73 will be further described.
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 Equation 1.
Figure 2008160358

従って、点(Y、X)及び点(Y、X)を通過する直線がy軸と交差する際のbの値は式2で与えられる。

Figure 2008160358
これにより、媒体空き容量が0となるまで記録した場合のバッテリ残量が求められる。
バッテリ残量の予測を直線近似により求める代わりに曲線近似により、さらに正確なバッテリ残量として求めるようにしても良い。 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 Equation 2.
Figure 2008160358
As a result, the remaining battery level when recording until the medium free space becomes zero is obtained.
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 portable recording apparatus 10 may be ensured to the maximum.
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 portable recording apparatus 10 shown in the present embodiment, the standard encoding mode for encoding the supplied moving image signal with the predetermined encoding rate at the predetermined efficiency, and the moving image signal with the predetermined code. A low-efficiency encoding mode in which encoding is performed at an efficiency lower than a predetermined efficiency at an encoding rate larger than the encoding rate, and a predetermined efficiency in which distortion generated during encoding is suppressed at an encoding rate smaller than the predetermined encoding rate Encoding means 31 for generating an encoded signal in one selected encoding mode out of the high efficiency encoding modes for encoding at higher efficiency, and an empty capacity for detecting the amount of free data recordable on the recording medium The first recordable time based on the free data amount detected by the detecting means 42, the remaining battery capacity detecting means 41 for detecting the remaining battery capacity, and the free capacity detecting means is estimated. And predicting means for predicting the second recordable time based on the remaining battery level detected by the battery remaining capacity detecting means, the first recordable time predicted by the predicting means and the second recordable time When the ratio to the time is equal to or less than a predetermined multiple, the encoded signal is generated by the encoding means by selecting the standard encoding mode, and the first recordable time predicted by the prediction means is the second. If the recording time is longer than a predetermined multiple, the encoding means generates the encoded signal by selecting the low-efficiency encoding mode, and the first recording possible time predicted by the prediction means A coding mode selection means 46 for selecting a high-efficiency coding mode to generate a coded signal in the coding means when the predetermined multiple is smaller than the second recordable time, and a coding mode selection Depending on the encoding mode selected by In the case of including the recording unit 5 that records the compression encoded signal obtained by encoding by the compression encoding means on the recording medium, the remaining battery capacity and the medium free capacity are managed while managing the remaining battery capacity and the free capacity of the recording medium. A portable recording apparatus capable of recording with the highest recording quality can be realized in accordance with both states of the range.
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.

本発明の実施に係る携帯型記録装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the portable recording device which concerns on implementation of this invention. 本発明の実施に係る携帯型記録装置の要部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the principal part of the portable recording device which concerns on implementation of this invention. 本発明の実施に係る携帯型記録装置の動作例を示す図(その1)である。FIG. 6 is a diagram (part 1) illustrating an operation example of the portable recording device according to the embodiment of the invention. 本発明の実施に係る携帯型記録装置の動作例を示す図(その2)である。FIG. 10 is a diagram (part 2) illustrating an operation example of the portable recording device according to the embodiment of the invention. 本発明の実施に係る携帯型記録装置の動作例を示す図(その3)である。FIG. 10 is a diagram (part 3) illustrating an operation example of the portable recording device according to the embodiment of the present invention; 本発明の実施に係る携帯型記録装置の動作をフローチャートで示した図(その1)である。FIG. 6 is a diagram (part 1) illustrating an operation of the portable recording apparatus according to the embodiment of the present invention in a flowchart. 本発明の実施に係る携帯型記録装置の動作をフローチャートで示した図(その2)である。FIG. 9 is a second diagram illustrating the operation of the portable recording device according to the embodiment of the present invention in a flowchart.

符号の説明Explanation of symbols

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 SYMBOLS 1 Camera part 2 Monitor liquid crystal panel part 3 Image audio processing part 4 System controller part 5 Recording apparatus part 6 Operation part 7 Power supply part 10 Portable recording device 31 Image encoding part 32 Audio | voice encoding part 41 Power remaining amount management part 42 Medium remaining amount management unit 43 Code amount estimation unit 44 Power amount calculation unit 45 Recording mode switching unit 46 Coding mode selection unit 49 Control unit 51 Semiconductor memory 71 Battery 311 Video encoder 312 Coding parameter setting unit 312a Interframe prediction setting 312b Intraframe prediction setting unit 312c Orthogonal transformation setting unit 312d Entropy coding setting unit

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:
JP2006345458A 2006-12-22 2006-12-22 Portable recording device Active JP4656529B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003199002A (en) * 2001-12-27 2003-07-11 Sharp Corp Information recording device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003199002A (en) * 2001-12-27 2003-07-11 Sharp Corp Information recording device

Cited By (5)

* Cited by examiner, † Cited by third party
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