JP5078852B2 - 動画像符号化装置及び動画像符号化方法 - Google Patents
動画像符号化装置及び動画像符号化方法 Download PDFInfo
- Publication number
- JP5078852B2 JP5078852B2 JP2008298415A JP2008298415A JP5078852B2 JP 5078852 B2 JP5078852 B2 JP 5078852B2 JP 2008298415 A JP2008298415 A JP 2008298415A JP 2008298415 A JP2008298415 A JP 2008298415A JP 5078852 B2 JP5078852 B2 JP 5078852B2
- Authority
- JP
- Japan
- Prior art keywords
- picture
- encoding
- copy
- quantization
- virtual buffer
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 74
- 238000013139 quantization Methods 0.000 claims description 63
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 9
- 238000001514 detection method Methods 0.000 description 6
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 230000001788 irregular Effects 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/577—Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/11—Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
- H04N19/152—Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
占有量が仮想バッファのサイズの下限位置を下回ると、仮想バッファはアンダーフローとなる。図7(a)に示すように、仮想バッファがアンダーフローした場合に、その時の符号化対象ピクチャー(アンダーフローしたピクチャー)をコピーピクチャーに置き換える処理を行う。これにより、図7(b)に示すような占有量の遷移となり、ストリーム破綻とバッファの破綻とを防ぐことができる。
図8において、各ピクチャーがフレーム又はフィールド単位で入力されると、ピクチャー毎に量子化、エントロピー符号化の順に処理を行う。ところが、量子化処理及びエントロピー符号化処理の処理タイミングは非同期である。このため、第1のピクチャー601のエントロピー符号化処理を行っている間に、後続のピクチャーである第2のピクチャー602、第3のピクチャー603及び第4のピクチャー604の量子化処理が行われることがある。
さらに本発明は、仮想バッファがアンダーフローした場合であっても、後続ピクチャーの量子化をやり直すことなく、動画像のリアルタイム符号化を継続することを目的とする。
(第1の実施形態)
図1は、本実施形態に係る動画像符号化装置の構成例を示すブロック図である。図1を参照しながら本実施形態の動画像符号化装置100によるH.264規格に基づく符号化処理について説明する。なお、本実施形態ではH.264方式を例に説明するが、同様の符号化を行う他の符号化方式でも適用可能である。
第2の実施形態として、イントラピクチャー(Iピクチャー)のエントロピー符号化で仮想バッファがアンダーフローした場合に、発生符号量を抑える処理について説明する。なお、本実施形態の動画像符号化装置の構成は、第1の実施形態と同様であるため、説明は省略する。
前述した本発明の実施の形態における動画像符号化装置を構成する各ユニットは、コンピュータのRAMやROMなどに記憶されたプログラムが動作することによって実現できる。このプログラム及び前記プログラムを記録したコンピュータ読み取り可能な記録媒体は本発明に含まれる。
400 符号化部
401 減算器
402 直交変換部
403 量子化部
404 逆量子化部
405 逆直交変換部
406 加算器
407 イントラ予測部
408 ループフィルタ
409 フレームメモリ
410 動き検出部
411 動き補償部
412 スイッチ
413 エントロピー符号化部
414 多重化部
415 占有量制御部
416 コピーピクチャー生成部
Claims (8)
- ピクチャー間予測を用いた符号化を行う動画像符号化装置であって、
入力画像データと予測画像データとの差分値を量子化する量子化手段と、
前記量子化手段によって量子化された差分値のエントロピー符号化を行う符号化手段と、
前記符号化手段によって発生した符号量に基づいて、デコーダのバッファを仮想した仮想バッファの占有量を更新するとともに、前記仮想バッファの占有量に応じて前記量子化手段を制御する占有量制御手段と、
前記符号化手段によって第1のピクチャーを符号化した際に前記仮想バッファの占有量が所定の量を下回った場合、前記第1のピクチャーをコピーピクチャーに置き換えるとともに、前記第1のピクチャーに対応する参照画像を前記ピクチャー間予測のために参照している後続ピクチャーのうち、前記量子化手段によって量子化を開始、または完了している第2のピクチャーを前記コピーピクチャーに置き換えるコピーピクチャー生成手段とを有することを特徴とする動画像符号化装置。 - 前記コピーピクチャー生成手段は、前記仮想バッファがアンダーフローした場合に、前記第1のピクチャーを前記コピーピクチャーに置き換えることを特徴とする請求項1に記載の動画像符号化装置。
- 前記占有量制御手段は、前記第1のピクチャーとしてイントラピクチャーを前記コピーピクチャーに置き換えたときに、次のイントラピクチャーを量子化するまで後続ピクチャーの発生符号量を抑えるように前記量子化手段を制御することを特徴とする請求項1に記載の動画像符号化装置。
- 前記符号化手段は、前記コピーピクチャーに置き換えられた前記第2のピクチャーに対して、前記エントロピー符号化を行わないようにすることを特徴とする請求項1に記載の動画像符号化装置。
- ピクチャー間予測を用いた符号化を行う動画像符号化方法であって、
入力画像データと予測画像データとの差分値を量子化する量子化工程と、
前記量子化工程において量子化した差分値のエントロピー符号化を行う符号化工程と、
前記符号化工程において発生した符号量に基づいて、デコーダのバッファを仮想した仮想バッファの占有量を更新するとともに、前記仮想バッファの占有量に応じて前記量子化工程における処理を制御する占有量制御工程と、
前記符号化工程において第1のピクチャーを符号化した際に前記仮想バッファの占有量が所定の量を下回った場合、前記第1のピクチャーをコピーピクチャーに置き換えるとともに、前記第1のピクチャーに対応する参照画像を前記ピクチャー間予測のために参照している後続ピクチャーのうち、前記量子化工程において量子化を開始、または完了している第2のピクチャーを前記コピーピクチャーに置き換えるコピーピクチャー生成工程とを有することを特徴とする動画像符号化方法。 - 前記コピーピクチャー生成工程においては、前記仮想バッファがアンダーフローした場合に、前記第1のピクチャーを前記コピーピクチャーに置き換えることを特徴とする請求項5に記載の動画像符号化方法。
- 前記占有量制御工程においては、前記第1のピクチャーとしてイントラピクチャーを前記コピーピクチャーに置き換えたときに、次のイントラピクチャーを量子化するまで後続ピクチャーの発生符号量を抑えるように前記量子化工程における処理を制御することを特徴とする請求項5に記載の動画像符号化方法。
- 前記符号化工程においては、前記コピーピクチャーに置き換えられた前記第2のピクチャーに対して、前記エントロピー符号化を行わないようにすることを特徴とする請求項5に記載の動画像符号化方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008298415A JP5078852B2 (ja) | 2007-12-06 | 2008-11-21 | 動画像符号化装置及び動画像符号化方法 |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007316237 | 2007-12-06 | ||
JP2007316237 | 2007-12-06 | ||
JP2008298415A JP5078852B2 (ja) | 2007-12-06 | 2008-11-21 | 動画像符号化装置及び動画像符号化方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009159599A JP2009159599A (ja) | 2009-07-16 |
JP5078852B2 true JP5078852B2 (ja) | 2012-11-21 |
Family
ID=40721641
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008298415A Expired - Fee Related JP5078852B2 (ja) | 2007-12-06 | 2008-11-21 | 動画像符号化装置及び動画像符号化方法 |
Country Status (2)
Country | Link |
---|---|
US (1) | US8306110B2 (ja) |
JP (1) | JP5078852B2 (ja) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2403248B1 (en) * | 2009-02-27 | 2018-07-04 | Fujitsu Limited | Moving picture encoding device, moving picture encoding method, and moving picture encoding computer program |
JP5321363B2 (ja) * | 2009-09-01 | 2013-10-23 | 富士通株式会社 | 動画像符号化装置、動画像符号化方法及び動画像符号化用コンピュータプログラムならびに映像伝送装置 |
JP2017055275A (ja) | 2015-09-10 | 2017-03-16 | 株式会社東芝 | 復号装置、及び映像伝送システム |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100495716B1 (ko) * | 1996-04-12 | 2005-11-25 | 소니 가부시끼 가이샤 | 화상인코딩장치와방법및화상인코딩프로그램이기록된매체 |
US6157675A (en) * | 1997-04-04 | 2000-12-05 | Sony Corporation | Image transmission device and image transmission method |
JP2002010271A (ja) * | 2000-04-20 | 2002-01-11 | Matsushita Electric Ind Co Ltd | ビデオ符号化装置 |
JP2005072742A (ja) * | 2003-08-21 | 2005-03-17 | Sony Corp | 符号化装置及び符号化方法 |
JP2005080004A (ja) * | 2003-09-01 | 2005-03-24 | Sony Corp | 動画像符号化装置 |
JP4480156B2 (ja) * | 2005-02-02 | 2010-06-16 | キヤノン株式会社 | 画像処理装置及び方法 |
WO2008041300A1 (en) * | 2006-09-29 | 2008-04-10 | Fujitsu Limited | Dynamic image encoding device |
-
2008
- 2008-11-21 JP JP2008298415A patent/JP5078852B2/ja not_active Expired - Fee Related
- 2008-12-02 US US12/326,648 patent/US8306110B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2009159599A (ja) | 2009-07-16 |
US20090147844A1 (en) | 2009-06-11 |
US8306110B2 (en) | 2012-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5152402B2 (ja) | 動画像符号化装置、動画像符号化方法及び動画像符号化用コンピュータプログラム | |
KR101362590B1 (ko) | 화상 처리 장치 및 방법 | |
JP2008283560A (ja) | 画像処理装置およびその方法 | |
JP4620586B2 (ja) | デジタルビデオ符号化処理における可変精度ピクチャ間タイミング指定方法及び装置 | |
JP4939273B2 (ja) | 画像符号化装置及び画像符号化方法 | |
JP4928176B2 (ja) | 映像符号化装置及び映像符号化方法 | |
JP5078852B2 (ja) | 動画像符号化装置及び動画像符号化方法 | |
JP5197428B2 (ja) | 画像符号化装置及び画像符号化方法 | |
JP2010166533A (ja) | 符号化装置及びその制御方法、コンピュータプログラム | |
JP2002199392A (ja) | 映像符号化方法および装置 | |
JP4357560B2 (ja) | 動画像符号化装置、動画像符号化方法及び動画像符号化プログラム | |
JP4708821B2 (ja) | 動画像符号化装置及びその制御方法、コンピュータプログラム及び記憶媒体 | |
JP2009027693A (ja) | 動画像圧縮符号化装置 | |
JP2007306370A (ja) | 画像符号化記録装置 | |
JP7302700B2 (ja) | 映像符号化又は映像復号装置、映像符号化又は映像復号方法、プログラム、及び記録媒体 | |
JP5472094B2 (ja) | 動画像変換装置、動画像配信システム、動画像変換方法及びプログラム | |
JP2004056827A (ja) | 符号化装置、符号化方法、復号化装置及び復号化方法 | |
US20120147972A1 (en) | Image decoding apparatus, image decoding method, image encoding apparatus, image encoding method, and program | |
JP4847423B2 (ja) | 動画像符号化装置、および、コンピュータプログラム | |
JP6874844B2 (ja) | 動画像符号化装置、動画像符号化方法、及び、動画像符号化プログラム | |
JP4895396B2 (ja) | 画像復号化装置及び画像復号化方法 | |
KR101054644B1 (ko) | 동작 추정 기반 영상 부호화/복호화 장치 및 방법 | |
JP5361577B2 (ja) | 映像復号化装置及び映像復号化方法 | |
JP5197329B2 (ja) | 符号化装置及び符号化方法 | |
JP4510696B2 (ja) | 画像処理装置及び画像処理方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111116 |
|
TRDD | Decision of grant or rejection written | ||
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120725 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120731 |
|
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: 20120828 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150907 Year of fee payment: 3 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5078852 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: 20150907 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |