TW201626797A - Video image encoding device, video image decoding device, video image encoding method, video image decoding method, and program - Google Patents

Video image encoding device, video image decoding device, video image encoding method, video image decoding method, and program Download PDF

Info

Publication number
TW201626797A
TW201626797A TW104134140A TW104134140A TW201626797A TW 201626797 A TW201626797 A TW 201626797A TW 104134140 A TW104134140 A TW 104134140A TW 104134140 A TW104134140 A TW 104134140A TW 201626797 A TW201626797 A TW 201626797A
Authority
TW
Taiwan
Prior art keywords
color
color difference
color space
offset
quantization offset
Prior art date
Application number
TW104134140A
Other languages
Chinese (zh)
Inventor
Keiichi Chono
Original Assignee
Nec Corp
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 Nec Corp filed Critical Nec Corp
Publication of TW201626797A publication Critical patent/TW201626797A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods 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/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

A video image encoding device includes an adaptive color-difference quantization offset derivation unit capable of selecting the color space of a prediction error signal in encoding block units from a plurality of color spaces and deriving the quantization offset for each color space, and a dequantization unit for dequantizing a quantization coefficient image using the color-difference quantization offset for each color space.

Description

視訊編碼裝置、視訊解碼裝置、視訊編碼方法、視訊解碼方法及程式Video coding device, video decoding device, video coding method, video decoding method and program

本發明係關於使用殘差域適應性色轉換與色差量化偏移之視訊編碼裝置及視訊解碼裝置。The present invention relates to a video encoding apparatus and a video decoding apparatus using a residual domain adaptive color conversion and a color difference quantization offset.

在基於HEVC(High Efficiency Video Coding,高效率視訊編碼)/H.265的視訊編碼方式之中,經數位化之影像的各影格係分割為編碼樹單元(CTU:Coding Tree Unit),且各CTU係以光柵掃描(Raster scan)順序而編碼。CTU 係以四元樹(Quadtree)構造分割為編碼單元(CU:Coding Unit)而編碼。將各CU分割為預測單元(PU:Prediction Unit)而預測。此外,各CU的預測誤差係以四元樹構造分割為轉換單元(TU:Transform Unit)而進行頻率轉換。In the video coding method based on HEVC (High Efficiency Video Coding)/H.265, each frame of the digitized image is divided into a coding tree unit (CTU: Coding Tree Unit), and each CTU It is encoded in the order of Raster scan. The CTU is coded by dividing into a coding unit (CU: Coding Unit) by a quadtree structure. Each CU is divided into prediction units (PU: Prediction Unit) and predicted. Further, the prediction error of each CU is divided into a conversion unit (TU: Transform Unit) by a quaternary tree structure to perform frequency conversion.

CU係幀內預測(Intra Pridiction)/影格間預測的編碼單位。CU-based intra-prediction (Intra Pridiction)/inter-frame prediction coding unit.

幀內預測(畫面內預測)自編碼對象影格的重建影像產生預測訊號。HEVC/H.265之中定義有33種角度幀內預測等。角度幀內預測係將編碼對象區塊附近之重建畫素在33種方向之任一者進行外插而產生幀內預測訊號。Intra prediction (intra-picture prediction) generates a prediction signal from a reconstructed image of a coded object frame. There are 33 angular intra predictions and the like defined in HEVC/H.265. The angle intra prediction generates an intra prediction signal by extrapolating the reconstructed pixels in the vicinity of the coding target block in any of 33 directions.

就幀內預測而言,在角度幀內預測之外,還規定有DC(Direct Current,直流)預測及平面(Planar)預測。DC預測之中,參考影像的平均值係定為預測對象TU的全部畫素的預測值。平面預測之中,預測影像係自參考影像中的畫素而藉由線性插值產生。In terms of intra prediction, in addition to angular intra prediction, DC (Direct Current) prediction and Planar prediction are also specified. In the DC prediction, the average value of the reference image is determined as the predicted value of all the pixels of the prediction target TU. In planar prediction, the predicted image is generated from the pixels in the reference image by linear interpolation.

影格間預測係基於下者的影像之預測:編碼對象影格;以及表示時刻不同的重建影格(參考圖片)。影格間預測亦稱作幀間預測(Inter Prediction)。幀間預測係基於參考畫像的重建影像區塊(若有必要則使用像素插補)而產生幀間預測訊號。Inter-frame prediction is based on the prediction of the image of the next: the object frame of the encoding; and the reconstructed frame (reference picture) indicating the different moments. Inter-frame prediction is also known as Inter Prediction. Inter prediction is based on the reconstructed image block of the reference image (using pixel interpolation if necessary) to generate an inter prediction signal.

數位彩色影像係以R、G、B 之數位影像而構成,但經由傳輸路徑而傳輸彩色影像的情況下,為了提昇壓縮效率(為了減少數據量),通常轉換成RGB空間以外的色彩空間的訊號。例如,將影像訊號轉換成亮度訊號(Y) 與色差訊號(Cb、Cr) 的組合之色彩空間(YCoCr空間)的訊號。Digital color images are composed of digital images of R, G, and B. However, when color images are transmitted via a transmission path, signals for color space other than RGB space are usually converted to improve compression efficiency (in order to reduce the amount of data). . For example, a signal that converts an image signal into a color space (YCoCr space) of a combination of a luminance signal (Y) and a color difference signal (Cb, Cr).

針對色差訊號的量化參數(QP)係藉由使用稱作chroma_qp_index_offset之偏移值轉換針對亮度訊號的QP而產生。HEVC之中,對Cb運用cb_qp_index_offset(第一色差量化偏移),對Cr則運用cr_qp_index_offset(第二色差量化偏移)。The quantization parameter (QP) for the color difference signal is generated by converting the QP for the luminance signal using an offset value called chroma_qp_index_offset. In HEVC, cb_qp_index_offset (first color difference quantization offset) is applied to Cb, and cr_qp_index_offset (second color difference quantization offset) is applied to Cr.

在HEVC的RExt(Range Extension,範圍擴充)之中,已經進行擴充功能之標準化作業(參考非專利文獻1)。In the RExt (Range Extension, range extension) of HEVC, standardization work of the expansion function has been performed (refer to Non-Patent Document 1).

就用以將RExt帶來之擴充功能的壓縮效率進一步提昇的方式而言,吾人在非專利文獻2提案一種稱作殘差域適應性色轉換(Adaptive color transform in residual domain)的技術。如圖17所示,殘差域適應性色轉換係下述技術:將RGB空間之影像訊號的預測誤差訊號以區塊單位適應性切換成YCoCr空間的訊號。In order to further improve the compression efficiency of the extended function brought about by RExt, a non-patent document 2 proposes a technique called an adaptive color transform in residual domain. As shown in FIG. 17, the residual domain adaptive color conversion is a technique of adaptively switching the prediction error signal of the image signal of the RGB space into a YCoCr space in block units.

意即,能以區塊單位選擇將RGB的預測誤差訊號直接壓縮或使用下述Forward(順向) 色彩空間轉換矩陣(參考式(1))而轉換成YCoCr空間的訊號並壓縮。另外,圖17顯示一範例,標有斜線的區塊以YCoCr空間施行數據壓縮,其它區塊以RGB空間施行數據壓縮。That is, the RGB prediction error signal can be directly compressed in block units or converted into a YCoCr space signal using the following Forward color space conversion matrix (refer to Equation (1)) and compressed. In addition, FIG. 17 shows an example in which blocks marked with diagonal lines are subjected to data compression in the YCoCr space, and other blocks are subjected to data compression in RGB space.

將區塊的數據壓縮所利用之色彩空間資訊以cu_residual_csc_flag語法加以發訊(signaling)。cu_residual_csc_flag=0係表示RGB空間的訊號受到壓縮,cu_residual_csc_flag=1係表示訊號於轉換成YCoCr空間後受到壓縮。The color space information utilized by the data compression of the block is signaled by the cu_residual_csc_flag syntax. Cu_residual_csc_flag=0 means that the signal of the RGB space is compressed, and cu_residual_csc_flag=1 means that the signal is compressed after being converted into the YCoCr space.

cu_residual_csc_flag=1的情況下,接收機(視訊解碼裝置)使用下述Backward(反向)色彩空間轉換矩陣而將YCoCr空間的訊號回復成RGB空間的訊號後,施行解碼處理。 Forward : /4                               (1) Backward: /4In the case of cu_residual_csc_flag=1, the receiver (video decoding apparatus) performs the decoding process after returning the signal of the YCoCr space to the signal of the RGB space using the Backward color space conversion matrix described below. Forward : = /4 (1) Backward: = /4

另外,因為在上述色轉換矩陣之中範數不固定,所以cu_residual_csc_flag=1的情況下,於區塊的預測誤差訊號之量化處理與反量化處理之中,會依每一YCoCr成分,將不同的色差量化偏移加成至量化參數。In addition, since the norm is not fixed in the color conversion matrix described above, when cu_residual_csc_flag=1, the quantization processing and the inverse quantization processing of the prediction error signal of the block will be different for each YCoCr component. The color difference quantization offset is added to the quantization parameter.

此外,專利文獻1之中,記載一種視訊編碼裝置及視訊解碼裝置,其於輸入影像訊號係RGB空間的訊號與係YCoCr空間之情況下,施行不同的訊號處理。具體而言,視訊編碼裝置於執行基於H.264/AVC 方式之加權預測時,關於加成至預測訊號之偏移,係對R、G、B 訊號與亮度訊號(Y訊號)運用相同的偏移,並對色差訊號運用其它偏移。然而,專利文獻1並未教示有關色差量化偏移的新見解。 [先前技術文獻] [專利文獻1]Further, Patent Document 1 describes a video encoding device and a video decoding device that perform different signal processing in a case where an input image signal is a signal of an RGB space and a YCoCr space is used. Specifically, when performing the weighted prediction based on the H.264/AVC method, the video encoding apparatus applies the same bias to the R, G, and B signals and the luminance signal (Y signal) with respect to the offset of the addition to the prediction signal. Move and apply other offsets to the color difference signal. However, Patent Document 1 does not teach new insights regarding the quantization offset of the color difference. [Prior Art Document] [Patent Document 1]

日本特開2011-151683號公報 [非專利文獻1]Japanese Patent Laid-Open Publication No. 2011-151683 [Non-Patent Document 1]

D. Flynn, et al., "High Efficiency Video Coding (HEVC) Range Extensions text specification: Draft 7", JCTVC-Q1005, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/ SC 29/ WG 11 17th Meeting: Valencia, ES, 27 March – 4 April 2014 [非專利文獻2]D. Flynn, et al., "High Efficiency Video Coding (HEVC) Range Extensions text specification: Draft 7", JCTVC-Q1005, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG 16 WP 3 and ISO /IEC JTC 1/ SC 29/ WG 11 17th Meeting: Valencia, ES, 27 March – 4 April 2014 [Non-Patent Document 2]

L. Zhang et al., "SCCE5 Test 3.2.1: In-loop color-space transform", JCTVC-R0147, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/ SC 29/ WG 1118th Meeting: Sapporo, JP, 30 June – 9 July 2014L. Zhang et al., "SCCE5 Test 3.2.1: In-loop color-space transform", JCTVC-R0147, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/ SC 29/ WG 1118th Meeting: Sapporo, JP, 30 June – 9 July 2014

[發明所欲解決之問題][The problem that the invention wants to solve]

其次,參考圖18說明一般視訊編碼裝置之構成與動作,此一般視訊編碼裝置將經數位化之影像的各影格之各CU作為輸入影像而輸出位元串流。Next, the configuration and operation of a general video encoding apparatus will be described with reference to FIG. 18. Generally, the video encoding apparatus outputs a bit stream by using each CU of each frame of the digitized video as an input video.

圖18所示之視訊編碼裝置包括切換器101、色彩空間轉換器102、切換器103、頻率轉換/量化器104、反量化/反頻率轉換器105、切換器106、反色彩空間轉換器107、切換器108、緩衝器109、預測器110、預測參數決定器111、熵編碼器112、減法器115、及加法器116。The video encoding apparatus shown in FIG. 18 includes a switcher 101, a color space converter 102, a switcher 103, a frequency conversion/quantizer 104, an inverse quantization/inverse frequency converter 105, a switch 106, an inverse color space converter 107, The switch 108, the buffer 109, the predictor 110, the prediction parameter determiner 111, the entropy encoder 112, the subtractor 115, and the adder 116.

預測器110產生針對CU的輸入影像訊號之預測訊號。具體而言,預測器110基於幀內預測而產生預測訊號(幀內預測訊號),並基於幀間預測而產生預測訊號(幀間預測訊號)。The predictor 110 generates a prediction signal for the input video signal of the CU. Specifically, the predictor 110 generates a prediction signal (intra prediction signal) based on intra prediction, and generates a prediction signal (inter prediction signal) based on inter prediction.

輸入至視訊編碼裝置的視訊係於以減法器115減去由預測器110供給的預測影像之後,作為預測誤差影像而輸入至切換器101。圖18所示之範例之中,輸入影像訊號係RGB空間的訊號。此外,視訊編碼裝置具有殘差域適應性色轉換功能。舉例而言,視訊編碼裝置能以區塊單位將RGB空間的影像訊號之預測誤差訊號適應性切換成YCoCr空間的訊號。The video input to the video encoding device is subtracted from the predicted video supplied from the predictor 110 by the subtractor 115, and then input to the switch 101 as a prediction error video. In the example shown in Fig. 18, the input image signal is a signal of the RGB space. In addition, the video encoding device has a residual domain adaptive color conversion function. For example, the video encoding device can adaptively switch the prediction error signal of the image signal of the RGB space into the signal of the YCoCr space in block units.

以RGB空間處理預測誤差訊號時,切換器101係設定成將預測誤差影像輸入至切換器103。以YCoCr空間處理預測誤差訊號時,切換器101係設定成將預測誤差影像輸入至色彩空間轉換器102。另外,切換器101例如係依循預測參數決定器111之控制而設定預測誤差影像的輸出目的地。When the prediction error signal is processed in the RGB space, the switch 101 is set to input the prediction error image to the switch 103. When the prediction error signal is processed in the YCoCr space, the switch 101 is set to input the prediction error image to the color space converter 102. Further, the switch 101 sets the output destination of the prediction error video, for example, in accordance with the control of the prediction parameter determiner 111.

色彩空間轉換器102於使用上述式(1)(順向色彩空間轉換矩陣)而將RGB空間的預測誤差訊號轉換成YCoCr空間的訊號後,輸出至切換器103。The color space converter 102 converts the prediction error signal of the RGB space into a signal of the YCoCr space using the above equation (1) (the forward color space conversion matrix), and outputs it to the switch 103.

以RGB空間處理預測誤差訊號時,切換器103將來自切換器101的預測誤差訊號輸出至頻率轉換/量化器104。以YCoCr空間處理預測誤差訊號時,切換器103將來自色彩空間轉換器102的預測誤差訊號輸出至頻率轉換/量化器104。另外,切換器103例如係依循預測參數決定器111之控制來選擇預測誤差影像的輸入來源。When the prediction error signal is processed in the RGB space, the switch 103 outputs the prediction error signal from the switch 101 to the frequency conversion/quantizer 104. When the prediction error signal is processed in the YCoCr space, the switch 103 outputs the prediction error signal from the color space converter 102 to the frequency conversion/quantizer 104. Further, the switch 103 selects the input source of the prediction error image, for example, according to the control of the prediction parameter determiner 111.

頻率轉換/量化器104將預測誤差影像進行頻率轉換,且將經頻率轉換的預測誤差影像(係數影像)加以量化。熵編碼器112將預測參數及量化係數影像進行熵編碼而輸出位元串流。The frequency conversion/quantizer 104 frequency-converts the prediction error image and quantizes the frequency-converted prediction error image (coefficient image). The entropy encoder 112 entropy encodes the prediction parameters and the quantized coefficient images to output a bit stream.

反量化/反頻率轉換器105將量化係數影像加以反量化。再者,反量化/反頻率轉換器105將經反量化的係數影像進行反頻率轉換。經反頻率轉換的重建預測誤差影像係輸入至切換器106。The inverse quantization/inverse frequency converter 105 inverse quantizes the quantized coefficient image. Furthermore, the inverse quantization/inverse frequency converter 105 performs inverse frequency conversion on the inverse quantized coefficient image. The reconstructed prediction error image that is inverse frequency converted is input to the switch 106.

以RGB空間處理預測誤差訊號時,切換器106係設定成將重建預測誤差影像輸入至切換器108。以YCoCr空間處理預測誤差訊號時,切換器106係設定成將重建預測誤差影像輸入至反色彩空間轉換器107。另外,切換器106例如係依循預測參數決定器111之控制,而選擇重建預測誤差影像的輸出目的地。When the prediction error signal is processed in RGB space, the switch 106 is configured to input the reconstructed prediction error image to the switch 108. When the prediction error signal is processed in the YCoCr space, the switch 106 is set to input the reconstructed prediction error image to the inverse color space converter 107. Further, the switch 106 selects, for example, the output destination of the reconstructed prediction error image in accordance with the control of the prediction parameter determiner 111.

反色彩空間轉換器107於使用上述式(1)(反向色彩空間轉換矩陣)而將YCoCr空間的重建預測誤差訊號轉換成RGB空間的訊號後,輸出至切換器108。The inverse color space converter 107 converts the reconstructed prediction error signal of the YCoCr space into a signal of the RGB space using the above equation (1) (inverse color space conversion matrix), and outputs it to the switch 108.

以RGB空間處理預測誤差訊號時,切換器108選擇來自切換器106的重建預測誤差訊號。以YCoCr空間處理預測誤差訊號時,切換器108選擇來自反色彩空間轉換器107的重建預測誤差訊號。另外,切換器108例如係依循預測參數決定器111之控制,而選擇任一重建預測誤差影像。When the prediction error signal is processed in RGB space, the switch 108 selects the reconstructed prediction error signal from the switch 106. When the prediction error signal is processed in the YCoCr space, the switch 108 selects the reconstructed prediction error signal from the inverse color space converter 107. In addition, the switch 108 selects any of the reconstructed prediction error images, for example, according to the control of the prediction parameter determiner 111.

以加法器116追加預測訊號後,來自切換器108的重建預測誤差影像係作為重建影像而供給至緩衝器109。緩衝器109儲放重建影像。When the prediction signal is added by the adder 116, the reconstructed prediction error image from the switch 108 is supplied to the buffer 109 as a reconstructed image. The buffer 109 stores the reconstructed image.

預測參數決定器111將輸入影像訊號與預測訊號加以比較,並例如以決定編碼成本係最小的預測參數之方式,對預測器110加以指示。預測參數決定器111將經決定的預測參數供給至熵編碼器112。預測參數係預測模式(幀內預測、幀間預測)、幀內預測區塊尺寸、幀內預測方向、幀間預測區塊尺寸、及動作向量等與區塊預測有關的資訊。The prediction parameter determiner 111 compares the input video signal with the prediction signal and, for example, instructs the predictor 110 in a manner that determines the prediction parameter with the smallest coding cost. The prediction parameter decider 111 supplies the determined prediction parameters to the entropy encoder 112. The prediction parameters are information related to block prediction such as prediction mode (intra prediction, inter prediction), intra prediction block size, intra prediction direction, inter prediction block size, and motion vector.

預測參數決定器111更進一步使各區塊決定以RGB空間處理預測誤差訊號或以YCoCr空間處理預測誤差訊號。The prediction parameter determiner 111 further causes each block to decide to process the prediction error signal in RGB space or to process the prediction error signal in YCoCr space.

由視訊編碼裝置輸出的位元串流係傳遞至視訊解碼裝置。視訊解碼裝置施行解碼處理而還原動態影像。圖19係顯示一般視訊解碼裝置的構成之一範例的區塊圖,此一般解碼裝置將一般視訊編碼裝置輸出的位元串流加以解碼而得到解碼影像。參考圖19說明一般視訊解碼裝置的構成與動作。The bit stream output by the video encoding device is passed to the video decoding device. The video decoding device performs a decoding process to restore the motion picture. Fig. 19 is a block diagram showing an example of a configuration of a general video decoding device which decodes a bit stream output from a general video encoding device to obtain a decoded image. The configuration and operation of the general video decoding device will be described with reference to FIG.

圖19所示之視訊解碼裝置包括熵解碼器212、反量化/反頻率轉換器205、切換器206、反色彩空間轉換器207、切換器208、緩衝器209、預測器210、及加法器216。The video decoding apparatus shown in FIG. 19 includes an entropy decoder 212, an inverse quantization/inverse frequency converter 205, a switch 206, an inverse color space converter 207, a switch 208, a buffer 209, a predictor 210, and an adder 216. .

熵解碼器212將已輸入之位元串流進行熵解碼。熵解碼器212將量化係數影像供給至反量化/反頻率轉換器205,且將預測參數供給至預測器210。The entropy decoder 212 entropy decodes the input bit stream. The entropy decoder 212 supplies the quantized coefficient image to the inverse quantization/inverse frequency converter 205 and supplies the prediction parameters to the predictor 210.

反量化/反頻率轉換器205將已輸入之量化係數影像加以反量化而作為係數影像輸出。再者,反量化/反頻率轉換器205將頻率域的係數影像轉換成空間域的影像,並作為預測誤差影像而輸出。預測誤差影像係輸入至切換器206。The inverse quantization/inverse frequency converter 205 inversely quantizes the input quantized coefficient image and outputs it as a coefficient image. Furthermore, the inverse quantization/inverse frequency converter 205 converts the coefficient image of the frequency domain into a spatial domain image and outputs it as a prediction error image. The prediction error image is input to the switch 206.

以RGB空間處理預測誤差訊號時,切換器206係設定成將預測誤差影像輸入至切換器208。以YCoCr空間處理預測誤差訊號時,切換器206係設定成將預測誤差影像輸入至反色彩空間轉換器207。另外,切換器206能藉由來自視訊編碼裝置的發訊而確定應以RGB空間處理預測誤差訊號或以YCoCr空間處理預測誤差訊號。When the prediction error signal is processed in RGB space, the switch 206 is configured to input the prediction error image to the switch 208. When the prediction error signal is processed in the YCoCr space, the switch 206 is set to input the prediction error image to the inverse color space converter 207. In addition, the switch 206 can determine whether the prediction error signal should be processed in RGB space or the prediction error signal in YCoCr space by signaling from the video encoding device.

反色彩空間轉換器207使用上述式(1)(反向色彩空間轉換矩陣),將YCoCr空間的預測誤差訊號轉換成RGB空間的訊號後將預測誤差訊號輸出至切換器208。The inverse color space converter 207 converts the prediction error signal of the YCoCr space into a signal of the RGB space using the above equation (1) (inverse color space conversion matrix), and outputs the prediction error signal to the switch 208.

以RGB空間處理預測誤差訊號時,切換器208選擇來自切換器206的預測誤差訊號。以YCoCr空間處理預測誤差訊號時,切換器208選擇來自反色彩空間轉換器207的預測誤差訊號。切換器208能藉由來自視訊編碼裝置的發訊,而確定應以RGB空間處理預測誤差訊號或以YCoCr空間處理預測誤差訊號。When the prediction error signal is processed in RGB space, the switch 208 selects the prediction error signal from the switch 206. When the prediction error signal is processed in the YCoCr space, the switch 208 selects the prediction error signal from the inverse color space converter 207. The switch 208 can determine whether the prediction error signal should be processed in the RGB space or the prediction error signal in the YCoCr space by the transmission from the video encoding device.

將來自切換器208的預測誤差影像以加法器216加上來自預測器210的預測訊號後,作為重建影像而供給至緩衝器209。緩衝器209儲放重建影像。The prediction error image from the switch 208 is added to the predictor signal from the predictor 210 by the adder 216, and then supplied to the buffer 209 as a reconstructed image. The buffer 209 stores the reconstructed image.

此外,將緩衝器209所儲放的重建影像作為解碼影像(解碼視訊)而輸出。Further, the reconstructed video stored in the buffer 209 is output as a decoded video (decoded video).

緩衝器209將之前已解碼的影像作為參考影像而積存。施行幀內預測時,預測器210在目前解碼中的影像之中,由之前已解碼的相鄰重建影像預測解碼處理對象的影像而產生預測影像。施行幀間預測時,預測器210基於由緩衝器209供給的參考影像而產生預測影像。The buffer 209 accumulates the previously decoded video as a reference image. When the intra prediction is performed, the predictor 210 predicts the image of the decoding target from the previously decoded adjacent reconstructed image among the currently decoded images to generate a predicted image. When inter prediction is performed, the predictor 210 generates a predicted image based on the reference image supplied from the buffer 209.

在RExt之中,提案有一種目的係主觀性畫質改善的色差量化偏移(色差QP偏移)技術。色差量化偏移技術將針對第二個色彩成分與第三個色彩成分之色差量化偏移值加以發訊,而藉以調整每一色彩成分的量化參數。亦即,能改變量化強度。Among RExt, the proposal has a color difference quantization offset (color difference QP offset) technique whose objective is to improve the subjective image quality. The color difference quantization offset technique will signal the color difference quantization offset values of the second color component and the third color component to adjust the quantization parameter of each color component. That is, the quantization intensity can be changed.

以下係將色差量化偏移值加以發訊的語法。 ・圖片單位: pps_cb_qp_offset/pps_cr_qp_offset/slice_qp_delta_cb/slice_qp_delta_cr ・切片單位: slice_qp_delta_cb/slice_qp_delta_cr ・區塊單位: cu_chroma_qp_offset_idxThe following is a syntax for signaling the color difference quantization offset value.・Picture unit: pps_cb_qp_offset/pps_cr_qp_offset/slice_qp_delta_cb/slice_qp_delta_cr ・Slice unit: slice_qp_delta_cb/slice_qp_delta_cr ・Block unit: cu_chroma_qp_offset_idx

藉由使用上述語法而調整每一色彩成分的量化強度,能提昇主觀畫質。The subjective image quality can be improved by adjusting the quantization intensity of each color component by using the above grammar.

圖18所示之視訊編碼裝置及圖19所示之視訊解碼裝置亦運用於色差量化偏移。如圖18所示,視訊編碼裝置輸入有預先制定的色差量化偏移。The video encoding device shown in Fig. 18 and the video decoding device shown in Fig. 19 are also applied to the color difference quantization offset. As shown in FIG. 18, the video encoding device inputs a predetermined color difference quantization offset.

在視訊編碼裝置之中,頻率轉換/量化器104以RGB空間處理預測誤差訊號的情況下,於量化係數影像之時,如圖20所示,依循第一色差量化偏移而增減B 成分的量化參數,並依循第二色差量化偏移而增減R 成分的量化參數。反量化/反頻率轉換器105依循第一色差量化偏移而增減B 成分的反量化參數,並依循第二色差量化偏移而增減R 成分的反量化參數。In the video encoding device, when the frequency conversion/quantizer 104 processes the prediction error signal in the RGB space, when the coefficient image is quantized, as shown in FIG. 20, the B component is increased or decreased according to the first color difference quantization offset. Quantize the parameters and increase or decrease the quantization parameter of the R component according to the second color difference quantization offset. The inverse quantization/inverse frequency converter 105 increases or decreases the inverse quantization parameter of the B component according to the first color difference quantization offset, and increases or decreases the inverse quantization parameter of the R component according to the second color difference quantization offset.

頻率轉換/量化器104以YCoCr空間處理預測誤差訊號的情況下,於量化係數影像之時,如圖20所示,依循第一色差量化偏移而增減Co成分的量化參數,並依循第二色差量化偏移而增減Cr成分的量化參數。反量化/反頻率轉換器105依循第一色差量化偏移而增減Co成分的反量化參數,並依循第二色差量化偏移而增減Cr成分的反量化參數。When the frequency conversion/quantizer 104 processes the prediction error signal in the YCoCr space, when quantizing the coefficient image, as shown in FIG. 20, the quantization parameter of the Co component is increased or decreased according to the first color difference quantization offset, and the second parameter is followed. The color difference is quantized to increase or decrease the quantization parameter of the Cr component. The inverse quantization/inverse frequency converter 105 increases or decreases the inverse quantization parameter of the Co component according to the first color difference quantization offset, and increases or decreases the inverse quantization parameter of the Cr component according to the second color difference quantization offset.

在視訊解碼裝置之中,反量化/反頻率轉換器205以與視訊編碼裝置中的反量化/反頻率轉換器105同樣的方式運作。Among the video decoding devices, the inverse quantization/inverse frequency converter 205 operates in the same manner as the inverse quantization/inverse frequency converter 105 in the video encoding device.

然而,色差量化偏移技術針對第二個色彩成分(第二色彩成分)與第三個色彩成分(第三色彩成分)的色差量化偏移值加以發訊,因此若將殘差域適應性色轉換與色差量化偏移加以組合,則如圖20所示,以RGB空間壓縮的區塊與以YCoCr空間壓縮的區塊共用量化強度。於是,無法因應色彩空間而適當設定量化強度。因此,無法得到色差量化偏移技術所成之主觀畫質改善效果。However, the color difference quantization offset technique is applied to the color difference quantization offset value of the second color component (second color component) and the third color component (third color component), so if the residual domain is adaptive color The conversion is combined with the color difference quantization offset, and as shown in FIG. 20, the block compressed in the RGB space shares the quantization intensity with the block compressed in the YCoCr space. Therefore, the quantization intensity cannot be appropriately set in accordance with the color space. Therefore, the subjective image quality improvement effect by the color difference quantization offset technique cannot be obtained.

本發明的目的係提供視訊編碼裝置、視訊解碼裝置、視訊編碼方法、視訊解碼方法及程式,其於併用殘差域適應性色轉換與色差量化偏移的情況下,不損失主觀畫質改善效果。 [解決問題之方式]The object of the present invention is to provide a video encoding device, a video decoding device, a video encoding method, a video decoding method, and a program, which do not lose subjective image quality improvement effects when combined with residual color adaptive color conversion and color difference quantization offset. . [The way to solve the problem]

本發明所成之視訊編碼裝置可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間,且特徵為包含:適應性色差量化偏移導出機構,導出每一色彩空間的色差量化偏移;以及反量化機構,使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。The video encoding device of the present invention can select the color space of the prediction error signal from the plurality of color spaces in the coding block unit, and is characterized by: an adaptive color difference quantization offset deriving mechanism, and deriving the color difference of each color space. a quantization offset; and an inverse quantization mechanism that inverse quantizes the quantized coefficient image using the color difference quantization offset for each color space.

本發明所成之視訊解碼裝置可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間,且特徵為包含:適應性色差量化偏移導出機構,導出每一色彩空間的色差量化偏移;以及反量化機構,使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。The video decoding device of the present invention can select the color space of the prediction error signal from the plurality of color spaces in the coding block unit, and is characterized by: an adaptive color difference quantization offset deriving mechanism, and deriving the color difference of each color space. a quantization offset; and an inverse quantization mechanism that inverse quantizes the quantized coefficient image using the color difference quantization offset for each color space.

本發明所成之視訊編碼方法可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間,且特徵為:導出每一色彩空間的色差量化偏移,且使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。The video encoding method of the present invention can select a color space of a prediction error signal from a plurality of color spaces in a coding block unit, and is characterized by: deriving a color difference quantization offset of each color space, and using each color space. The color difference is quantized and the quantized coefficient image is inverse quantized.

本發明所成之視訊解碼方法可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間,且特徵為:導出每一色彩空間的色差量化偏移,且使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。The video decoding method of the present invention can select a color space of a prediction error signal from a plurality of color spaces in a coding block unit, and is characterized by: deriving a color difference quantization offset of each color space, and using each color space. The color difference is quantized and the quantized coefficient image is inverse quantized.

本發明所成之視訊編碼程式實施可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間之視訊編碼方法,且此視訊編碼程式的特徵為使電腦執行以下處理:導出處理,導出每一色彩空間的色差量化偏移;以及反量化處理,使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。The video encoding program of the present invention implements a video encoding method for selecting a color space of a prediction error signal from a plurality of color spaces in a coding block unit, and the video encoding program is characterized in that the computer performs the following processing: export processing Deriving a color difference quantization offset for each color space; and inverse quantization processing to inverse quantize the quantized coefficient image using the color difference quantization offset of each color space.

本發明所成之視訊解碼程式實施可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間之視訊解碼方法,且此視訊解碼程式的特徵為使電腦執行以下處理:導出處理,導出每一色彩空間的色差量化偏移;以及反量化處理,使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。 [發明之效果]The video decoding program of the present invention implements a video decoding method for selecting a color space of a prediction error signal from a plurality of color spaces in a coding block unit, and the video decoding program is characterized in that the computer performs the following processing: export processing Deriving a color difference quantization offset for each color space; and inverse quantization processing to inverse quantize the quantized coefficient image using the color difference quantization offset of each color space. [Effects of the Invention]

依據本發明則能不損害主觀畫質改善效果。According to the present invention, the subjective image quality improvement effect can be not impaired.

[實施發明之較佳形態] [實施形態1][Preferred Embodiment of the Invention] [Embodiment 1]

圖1係表示視訊編碼裝置之第一實施形態的區塊圖。參考圖1說明視訊編碼裝置之構成,此視訊編碼裝置將經數位化之影像的各影格作為輸入影像而輸出位元串流。Fig. 1 is a block diagram showing a first embodiment of a video encoding apparatus. The video encoding apparatus will be described with reference to FIG. 1. The video encoding apparatus outputs a bit stream by using each frame of the digitized image as an input image.

如圖1所示,第一實施形態之視訊編碼裝置與圖18所示之一般視訊編碼裝置同樣包括切換器101、色彩空間轉換器102、切換器103、頻率轉換/量化器104、反量化/反頻率轉換器105、切換器106、反色彩空間轉換器107、切換器108、緩衝器109、預測器110、預測參數決定器111、熵編碼器112、減法器115、及加法器116。As shown in FIG. 1, the video encoding apparatus of the first embodiment includes a switch 101, a color space converter 102, a switcher 103, a frequency conversion/quantizer 104, and inverse quantization, similarly to the general video encoding apparatus shown in FIG. The inverse frequency converter 105, the switch 106, the inverse color space converter 107, the switch 108, the buffer 109, the predictor 110, the prediction parameter determiner 111, the entropy encoder 112, the subtractor 115, and the adder 116.

如圖1所示,視訊編碼裝置更包括適應性色差量化偏移導出器121與切換器122。As shown in FIG. 1, the video encoding device further includes an adaptive color difference quantization offset exporter 121 and a switcher 122.

切換器101、色彩空間轉換器102、切換器103、頻率轉換/量化器104、反量化/反頻率轉換器105、切換器106、反色彩空間轉換器107、切換器108、緩衝器109、預測器110、減法器115、及加法器116係以與圖18所示者同樣的方式運作,因此以下主要說明適應性色差量化偏移導出器121與切換器122之運作、及有關於色差量化偏移之發訊的預測參數決定器111與熵編碼器112之運作。另外,適應性色差量化偏移導出器121輸入有RGB空間用的色差量化偏移與YCoCr空間用的色差量化偏移。Switch 101, color space converter 102, switch 103, frequency conversion/quantizer 104, inverse quantization/inverse frequency converter 105, switch 106, inverse color space converter 107, switch 108, buffer 109, prediction The controller 110, the subtractor 115, and the adder 116 operate in the same manner as those shown in FIG. 18. Therefore, the following mainly explains the operation of the adaptive color difference quantization offset derivation unit 121 and the switch 122, and the quantization quantization bias. The operation of the prediction parameter decider 111 and the entropy encoder 112 of the shifted transmission. Further, the adaptive color difference quantization offset derivation unit 121 inputs the color difference quantization offset for the RGB space and the color difference quantization offset for the YCoCr space.

圖2係表示與色差量化偏移之發訊有關的處理之流程圖。Fig. 2 is a flow chart showing the processing related to the transmission of the color difference quantization offset.

視訊編碼裝置以adaptive_color_trans_flag 將表示是否實施殘差域適應性色轉換之資訊加以發訊。此外,實施殘差域適應性色轉換的情況下,視訊編碼裝置以cu_residual_csc_flag將表示區塊的色彩空間之資訊加以發訊。The video encoding device transmits information indicating whether or not to implement the residual domain adaptive color conversion with adaptive_color_trans_flag. In addition, in the case of performing residual-domain adaptive color conversion, the video encoding apparatus transmits information indicating the color space of the block by cu_residual_csc_flag.

不實施殘差域適應性色轉換的情況下,熵編碼器112將adaptive_color_trans_flag=0加以發訊,但適應性色差量化偏移導出器121所導出之RGB空間用的色差量化偏移(已輸入至適應性色差量化偏移導出器121之RGB空間用的色差量化偏移)係以如同下述的語法傳輸(步驟S101、S102)。實施殘差域適應性色轉換的情況下,熵編碼器112定adaptive_color_trans_flag=1。而且,以RGB空間施行壓縮時,熵編碼器112係利用以下語法將適應性色差量化偏移導出器121所導出之RGB空間用的色差量化偏移加以傳輸(步驟S103、S104)。 ・圖片單位: pps_cb_qp_offset/pps_cr_qp_offset/slice_qp_delta_cb/slice_qp_delta_cr ・切片單位: slice_qp_delta_cb/slice_qp_delta_crIn the case where the residual domain adaptive color conversion is not implemented, the entropy encoder 112 transmits adaptive_color_trans_flag=0, but the adaptive color difference quantization offset derivative 121 derives the color difference quantization offset for the RGB space (already input to The color difference quantization offset for the RGB space of the adaptive color difference quantization offset derivation unit 121 is transmitted in the following syntax (steps S101, S102). In the case where the residual domain adaptive color conversion is implemented, the entropy encoder 112 sets adaptive_color_trans_flag=1. Further, when compression is performed in the RGB space, the entropy encoder 112 transmits the color difference quantization offset for the RGB space derived by the adaptive color difference quantization offset derivation unit 121 by the following syntax (steps S103 and S104).・Picture unit: pps_cb_qp_offset/pps_cr_qp_offset/slice_qp_delta_cb/slice_qp_delta_cr ・Slice unit: slice_qp_delta_cb/slice_qp_delta_cr

以YCoCr空間施行壓縮時,熵編碼器112利用以下語法將適應性色差量化偏移導出器121所導出之YCoCr空間用的色差量化偏移加以傳輸(步驟S103、S105)。 ・圖片單位: alt_pps_cb_qp_offset/alt_pps_cr_qp_offset/alt_slice_qp_delta_cb/alt_slice_qp_delta_cr ・切片單位: alt_slice_qp_delta_cb/alt_slice_qp_delta_crWhen compression is performed in the YCoCr space, the entropy encoder 112 transmits the chroma quantization offset for the YCoCr space derived by the adaptive color difference quantization offset derivation unit 121 by the following syntax (steps S103, S105).・Picture unit: alt_pps_cb_qp_offset/alt_pps_cr_qp_offset/alt_slice_qp_delta_cb/alt_slice_qp_delta_cr ・Slice unit: alt_slice_qp_delta_cb/alt_slice_qp_delta_cr

此外,實施殘差域適應性色轉換的情況下,以YCoCr空間施行壓縮時(不以RGB空間施行壓縮時),熵編碼器112將cu_residual_csc_flag=1加以發訊。適應性色差量化偏移導出器121將所導出之YCoCr空間用的色差量化偏移(第一色差量化偏移及第二色差量化偏移)輸出至切換器122。Further, in the case where the residual domain adaptive color conversion is performed, when compression is performed in the YCoCr space (when compression is not performed in the RGB space), the entropy encoder 112 transmits cu_residual_csc_flag=1. The adaptive color difference quantization offset derivation unit 121 outputs the color difference quantization offset (first color difference quantization offset and second color difference quantization offset) for the derived YCoCr space to the switch 122.

以RGB空間施行壓縮時,熵編碼器112將cu_residual_csc_flag=0加以發訊。適應性色差量化偏移導出器121將經導出之RGB空間用的色差量化偏移(第一色差量化偏移及第二色差量化偏移)輸出至切換器122。When compression is performed in the RGB space, the entropy encoder 112 transmits cu_residual_csc_flag=0. The adaptive color difference quantization offset derivation unit 121 outputs the color difference quantization offset (first color difference quantization offset and second color difference quantization offset) for the derived RGB space to the switch 122.

另外,適應性色差量化偏移導出器121依循cu_residual_csc_flag,而辨認以RGB空間而施行壓縮或以YCoCr空間而施行壓縮。Further, the adaptive color difference quantization offset exporter 121 recognizes the compression in the RGB space or the compression in the YCoCr space in accordance with the cu_residual_csc_flag.

此外,頻率轉換/量化器104使用預測參數決定器111所決定之色差量化偏移而調整量化參數。Further, the frequency conversion/quantizer 104 adjusts the quantization parameter using the color difference quantization offset determined by the prediction parameter decider 111.

預測參數決定器111例如預先將RGB空間用的色差量化偏移值與YCoCr空間用的色差量化偏移值加以記憶,並適當地將RGB空間用的量化偏移值或YCoCr空間用的色差量化偏移值供給至頻率轉換/量化器104。於此情況,RGB空間用的色差量化偏移值及YCoCr空間用的色差量化偏移值係含於供給至熵編碼器112的預測參數。熵編碼器112將RGB空間用的色差量化偏移值及YCoCr空間用的色差量化偏移值加以發訊。The prediction parameter determiner 111 memorizes, for example, the color difference quantization offset value for the RGB space and the color difference quantization offset value for the YCoCr space, and appropriately quantizes the quantization offset value for the RGB space or the color difference for the YCoCr space. The shift value is supplied to the frequency conversion/quantizer 104. In this case, the color difference quantization offset value for the RGB space and the color difference quantization offset value for the YCoCr space are included in the prediction parameter supplied to the entropy encoder 112. The entropy encoder 112 signals the color difference quantization offset value for the RGB space and the color difference quantization offset value for the YCoCr space.

於此情況,視訊編碼裝置顯性地(explicit)將色差量化偏移加以發訊。而且係將色差量化偏移值加以發訊。In this case, the video encoding device explicitly emits the color difference quantization offset. Moreover, the color difference quantization offset value is transmitted.

另外,在第二實施形態詳述適應性色差量化偏移導出器121之更詳細的運作。Further, a more detailed operation of the adaptive color difference quantization offset exporter 121 will be described in detail in the second embodiment.

上述運作以外之視訊編碼裝置的運作,係與圖18所示之視訊編碼裝置的運作相同。 [實施形態2]The operation of the video encoding device other than the above operation is the same as that of the video encoding device shown in FIG. [Embodiment 2]

圖3係表示視訊解碼裝置之實施形態的區塊圖,此視訊解碼裝置將位元串流加以解碼並得到解碼影像,其中,此位元串流係由將色差量化偏移加以發訊之視訊編碼裝置所輸出。參考圖3說明第二實施形態之視訊解碼裝置的構成。3 is a block diagram showing an embodiment of a video decoding device that decodes a bit stream and obtains a decoded image, wherein the bit stream is transmitted by a color difference quantization offset. Output by the encoding device. The configuration of the video decoding device of the second embodiment will be described with reference to Fig. 3 .

如圖3所示,本實施形態之視訊解碼裝置與圖19所示之一般視訊解碼裝置同樣包括熵解碼器212、反量化/反頻率轉換器205、切換器206、反色彩空間轉換器207、切換器208、緩衝器209、預測器210、及加法器216。As shown in FIG. 3, the video decoding apparatus of this embodiment includes an entropy decoder 212, an inverse quantization/inverse frequency converter 205, a switch 206, and an inverse color space converter 207, similarly to the general video decoding apparatus shown in FIG. Switch 208, buffer 209, predictor 210, and adder 216.

如圖3所示,視訊解碼裝置更包括適應性色差量化偏移導出器221與切換器222。As shown in FIG. 3, the video decoding device further includes an adaptive color difference quantization offset exporter 221 and a switch 222.

反量化/反頻率轉換器205、切換器206、反色彩空間轉換器207、切換器208、緩衝器209、預測器210、及加法器216以與圖19所示者同樣的方式運作,因此以下主要說明適應性色差量化偏移導出器221與切換器222之運作、及有關於色差量化偏移之導出的熵解碼器212之運作。The inverse quantization/inverse frequency converter 205, the switch 206, the inverse color space converter 207, the switch 208, the buffer 209, the predictor 210, and the adder 216 operate in the same manner as those shown in Fig. 19, so The operation of the adaptive color difference quantization offset derivation unit 221 and the switch 222 and the operation of the entropy decoder 212 regarding the derivation of the color difference quantization offset are mainly described.

圖4係表示與色差量化偏移之導出有關的處理之流程圖。Figure 4 is a flow chart showing the processing associated with the derivation of the color difference quantization offset.

熵解碼器212從位元串流解讀出adaptive_color_trans_flag=1(表示會實施殘差域適應性色轉換)的情況(步驟S201)下,於解讀出cu_residual_csc_flag=1(表示已以YCoCr空間施行數據壓縮)時(步驟S202),適應性色差量化偏移導出器221導出YCoCr空間用的色差量化偏移(步驟S204)。熵解碼器212解讀出cu_residual_csc_flag=0(表示已以RGB空間施行數據壓縮)時(步驟S202),適應性色差量化偏移導出器221導出RGB空間用的色差量化偏移(步驟S203)。The entropy decoder 212 interprets the adaptive_color_trans_flag=1 (indicating that the residual-domain adaptive color conversion will be implemented) from the bit stream (step S201), and interprets cu_residual_csc_flag=1 (indicating that data compression has been performed in the YCoCr space) (Step S202), the adaptive color difference quantization offset derivation unit 221 derives the color difference quantization offset for the YCoCr space (step S204). When the entropy decoder 212 interprets cu_residual_csc_flag=0 (indicating that data compression has been performed in the RGB space) (step S202), the adaptive chroma quantization offset derivation unit 221 derives the chroma quantization offset for the RGB space (step S203).

適應性色差量化偏移導出器221如下所示,導出RGB空間用的色差量化偏移(第一色差量化偏移qPiCb 及第二色差量化偏移qPiCr )。 qPiCb = Clip3( -QpBdOffsetC , 57, QpY + pps_cb_qp_offset + slice_cb_qp_offset + CuQpOffsetCb ) qPiCr = Clip3( -QpBdOffsetC , 57, QpY + pps_cr_qp_offset + slice_cr_qp_offset + CuQpOffsetCr )            (2)The adaptive color difference quantization offset derivation unit 221 derives the color difference quantization offset (first color difference quantization offset qPi Cb and second color difference quantization offset qPi Cr ) for the RGB space as follows. qPi Cb = Clip3( -QpBdOffset C , 57, Qp Y + pps_cb_qp_offset + slice_cb_qp_offset + CuQpOffset Cb ) qPi Cr = Clip3( -QpBdOffset C , 57, Qp Y + pps_cr_qp_offset + slice_cr_qp_offset + CuQpOffset Cr ) (2)

在式(2)之中, Clip3(x, y, z)係將輸入值z截剪至[x, y]的值域之函數。QpY 係第一色彩成分的量化參數、CuQpOffsetCb 係第二色彩成分的每一區塊的色差量化偏移、CuQpOffsetCr 係第三色彩成分的每一區塊的色差量化偏移。另外,雖表示為qPiCb 、qPiCr ,但於第一色彩成分係G 成分、第二色彩成分係B 成分、第三色彩成分係R 成分之RGB空間之情況下,qPiCb 相當於B 成分的色差量化偏移,qPiCr 相當於R 成分的色差量化偏移。In equation (2), Clip3(x, y, z) is a function that clips the input value z to the range of [x, y]. Qp Y is a quantization parameter of the first color component, a chroma quantization offset of each block of the CuQpOffset Cb- based second color component, and a chroma quantization offset of each block of the CuQpOffset Cr- based third color component. In addition, although it is represented by qPi Cb and qPi Cr , in the case of the RGB space of the first color component system G component, the second color component system B component, and the third color component system R component, qPi Cb corresponds to the B component. The color difference quantization offset, qPi Cr is equivalent to the color difference quantization offset of the R component.

適應性色差量化偏移導出器221如下式(3)所示,導出YCoCr空間用的色差量化偏移(第一色差量化偏移qPiCb 及第二色差量化偏移qPiCr )。 qPiCb = Clip3( -QpBdOffsetC , 57, QpY + alt_pps_cb_qp_offset + alt_slice_cb_qp_offset + CuQpOffsetCb ) qPiCr = Clip3( -QpBdOffsetC , 57, QpY + alt_pps_cr_qp_offset + alt_slice_cr_qp_offset + CuQpOffsetCr )        (3)The adaptive color difference quantization offset derivation unit 221 derives the color difference quantization offset (first color difference quantization offset qPi Cb and second color difference quantization offset qPi Cr ) for the YCoCr space as shown in the following equation (3). qPi Cb = Clip3( -QpBdOffset C , 57, Qp Y + alt_pps_cb_qp_offset + alt_slice_cb_qp_offset + CuQpOffset Cb ) qPi Cr = Clip3( -QpBdOffset C , 57, Qp Y + alt_pps_cr_qp_offset + alt_slice_cr_qp_offset + CuQpOffset Cr ) (3)

另外,量化參數(Qp'Cb 、Qp'Cr )係如以下式(4)算出。 Qp'Cb = qPCb + QpBdOffsetC Qp'Cr = qPCr + QpBdOffsetC (4)Further, the quantization parameters (Qp' Cb and Qp' Cr ) are calculated by the following formula (4). Qp' Cb = qP Cb + QpBdOffset C Qp' Cr = qP Cr + QpBdOffset C (4)

以下表示色差量化偏移之導出程序的具體例。在以下敘述之中,以雙引號框出的部分係本實施形態之中的特徵部分。 -『若cu_residual_csc_flag等於0』,該等變數qPCb 與qPCr 推導如下:  qPiCb = Clip3( -QpBdOffsetC , 57, QpY + pps_cb_qp_offset + slice_cb_qp_offset + CuQpOffsetCb )  qPiCr = Clip3( -QpBdOffsetC , 57, QpY + pps_cr_qp_offset + slice_cr_qp_offset + CuQpOffsetCr ) -『否則(cu_residual_csc_flag等於1),該等變數qPCb 與qPCr 推導如下:』 『qPiCb = Clip3( -QpBdOffsetC , 57, QpY + alt_pps_cb_qp_offset + alt_slice_cb_qp_offset + CuQpOffsetCb )』 『qPiCr = Clip3( -QpBdOffsetC , 57, QpY + alt_pps_cr_qp_offset + alt_slice_cr_qp_offset + CuQpOffsetCr )』 -若ChromaArrayType等於1,則基於指標qPi分別等於qPiCb 與qPiCr ,而將該等變數qPCb 與qPCr 定為等於預定的表所指定之QpC 的值。 -否則,基於指標qPi分別等於qPiCb 與qPiCr ,而將該等變數qPCb 與qPCr 定為等於Min( qPi, 51)。 -Cb 成分與Cr成分的色差量化參數Qp'Cb 與Qp'Cr 推導如下:  Qp'Cb = qPCb + QpBdOffsetC Qp'Cr = qPCr + QpBdOffsetC A specific example of the derivation program of the chroma quantization offset is shown below. In the following description, the portions enclosed by double quotation marks are characteristic portions of the present embodiment. - "If cu_residual_csc_flag is equal to 0", the variables qP Cb and qP Cr are derived as follows: qPi Cb = Clip3( -QpBdOffset C , 57, Qp Y + pps_cb_qp_offset + slice_cb_qp_offset + CuQpOffset Cb ) qPi Cr = Clip3( -QpBdOffset C , 57 , Qp Y + pps_cr_qp_offset + slice_cr_qp_offset + CuQpOffset Cr ) - "Otherwise (cu_residual_csc_flag is equal to 1), the variables qP Cb and qP Cr are derived as follows: 』 『qPi Cb = Clip3( -QpBdOffset C , 57, Qp Y + alt_pps_cb_qp_offset + alt_slice_cb_qp_offset + CuQpOffset Cb )』 『qPi Cr = Clip3( -QpBdOffset C , 57, Qp Y + alt_pps_cr_qp_offset + alt_slice_cr_qp_offset + CuQpOffset Cr )』 - If ChromaArrayType is equal to 1, then based on the index qPi is equal to qPi Cb and qPi Cr , respectively, and The variables qP Cb and qP Cr are set equal to the value of Qp C specified by the predetermined table. - Otherwise, based on the index qPi being equal to qPi Cb and qPi Cr , respectively, the variables qP Cb and qP Cr are set equal to Min(qPi, 51). The color difference quantization parameters Qp' Cb and Qp' Cr of the -Cb component and the Cr component are derived as follows: Qp' Cb = qP Cb + QpBdOffset C Qp' Cr = qP Cr + QpBdOffset C

反量化/反頻率轉換器205將已輸入之量化係數影像加以反量化而作為係數影像輸出之際,依循來自適應性色差量化偏移導出器221的色差量化偏移而增減量化參數。 [實施形態3]The inverse quantization/inverse frequency converter 205 inversely quantizes the input quantized coefficient image as a coefficient image output, and increases or decreases the quantization parameter according to the color difference quantization offset of the adaptive color difference quantization offset derivation unit 221. [Embodiment 3]

其次,說明第三實施形態之視訊編碼裝置。圖5係表示用以傳輸alt_pps_cb_qp_offset及alt_pps_cr_qp_offset的語法之一範例(非專利文獻1所記載之7.3.2.3.2Picture parameter set range extensions syntax 之改良)的說明圖。在圖5之中,斜體字顯示處係表示本實施形態之特徵。Next, a video encoding apparatus according to a third embodiment will be described. FIG. 5 is an explanatory diagram showing an example of a syntax for transmitting alt_pps_cb_qp_offset and alt_pps_cr_qp_offset (an improvement of 7.3.2.3.2 Picture parameter set range extension syntax described in Non-Patent Document 1). In Fig. 5, the italicized font display shows the features of this embodiment.

圖6、圖7係表示用以傳輸alt_slice_qp_delta_cb及alt_slice_qp_delta_cr的語法之一範例(非專利文獻1所記載之7.3.6.1General slice segment header syntax 之改良)的說明圖。在圖6、圖7之中,斜體字顯示處係表示本實施形態之特徵。FIG. 6 and FIG. 7 are explanatory diagrams showing an example of a syntax for transmitting alt_slice_qp_delta_cb and alt_slice_qp_delta_cr (an improvement of the 7.3.6.1 General slice segment header syntax described in Non-Patent Document 1). In Figs. 6 and 7, the italicized font display shows the features of this embodiment.

另外,本實施形態之視訊編碼裝置的構成係與圖1所示之構成相同。在視訊編碼裝置之中,熵編碼器112將可確定RGB空間用的色差量化偏移之資訊(例如,將視訊解碼裝置所保有之設定有色差量化偏移的數據表加以指定的指標、或色差量化偏移值)傳輸至視訊解碼裝置。The configuration of the video encoding apparatus of this embodiment is the same as that of the configuration shown in FIG. 1. Among the video encoding devices, the entropy encoder 112 determines the information of the color difference quantization offset for the RGB space (for example, an index or a color difference that specifies a data table in which the video decoding device holds the color difference quantization offset). The quantized offset value is transmitted to the video decoding device.

以YCoCr空間施行數據壓縮的情況下,熵編碼器112以圖5、圖6、圖7所舉例表示的語法,將可確定YCoCr空間用的色差量化偏移之資訊(例如色差量化偏移值本身)加以發訊。 [實施形態4]In the case of performing data compression in the YCoCr space, the entropy encoder 112 can determine the information of the color difference quantization offset for the YCoCr space (for example, the color difference quantization offset value itself) using the syntax illustrated by FIG. 5, FIG. 6, and FIG. ) to send a message. [Embodiment 4]

其次,說明第四實施形態之視訊解碼裝置。本實施形態之視訊解碼裝置係對應於第三實施形態之視訊編碼裝置。另外,本實施形態之視訊解碼裝置的構成係與圖3所示之構成相同。Next, a video decoding device according to a fourth embodiment will be described. The video decoding device of this embodiment corresponds to the video encoding device of the third embodiment. The configuration of the video decoding device of this embodiment is the same as that of the configuration shown in FIG.

在視訊解碼裝置之中,熵解碼器212由圖5、圖6、圖7所舉例顯示之語法而解讀出已以YCoCr空間施行數據壓縮的情況下,適應性色差量化偏移導出器221以與第二實施形態之情況同樣的方式導出色差量化偏移。Among the video decoding devices, the entropy decoder 212 interprets the data compression performed in the YCoCr space by the syntax shown in FIGS. 5, 6, and 7, and the adaptive color difference quantization offset exporter 221 In the same manner as in the second embodiment, the color difference quantization offset is derived.

此外,在視訊編碼裝置之中,適應性色差量化偏移導出器121係以與適應性色差量化偏移導出器221同樣的方式運作。 [實施形態5]Further, among the video encoding devices, the adaptive color difference quantization offset derivation unit 121 operates in the same manner as the adaptive color difference quantization offset derivation unit 221. [Embodiment 5]

其次,說明第五實施形態之視訊編碼裝置。圖8係表示YCoCr空間用之用以追加傳輸cb_qp_offset_list [i] 及cr_qp_offset_list [i]的語法之一範例(非專利文獻1所記載之7.3.2.3.2Picture parameter set range extensions syntax 之改良)的說明圖。在圖8之中,斜體字顯示處係表示本實施形態之特徵(意即,表示因應adaptive_color_trans_flag的值而擴充cb_qp_offset_list/cr_qp_offset_list 的尺寸(chroma_qp_offset_list_len_minus1之範圍))。在本實施形態之視訊編碼裝置之中,能將因應cu_residual_csc_flag語法的值而以區塊單位傳輸之cu_chroma_qp_offset_idx 語法的值加以調整,藉而以區塊單位切換RGB空間用與YCoCr空間用的量化偏移。Next, a video encoding apparatus according to a fifth embodiment will be described. 8 is an explanatory diagram showing an example of a syntax for additionally transmitting cb_qp_offset_list [i] and cr_qp_offset_list [i] for the YCoCr space (an improvement of 7.3.2.3.2 Picture parameter set range extension syntax described in Non-Patent Document 1). . In Fig. 8, the italicized word display indicates the feature of the present embodiment (that is, the size of the cb_qp_offset_list/cr_qp_offset_list (the range of chroma_qp_offset_list_len_minus1) is expanded in response to the value of adaptive_color_trans_flag). In the video encoding apparatus according to the present embodiment, the value of the cu_chroma_qp_offset_idx syntax transmitted in block units in accordance with the value of the cu_residual_csc_flag syntax can be adjusted, thereby switching the quantization offset for the RGB space and the YCoCr space in units of blocks. .

另外,本實施形態之視訊編碼裝置的構成係與圖1所示的構成相同。在視訊編碼裝置之中,熵編碼器112將可確定RGB空間用的色差量化偏移之資訊(例如cu_chroma_qp_offset_idx語法,其係將視訊解碼裝置所保有之設定有色差量化偏移的數據表加以指定的指標)傳輸至視訊解碼裝置。The configuration of the video encoding apparatus of this embodiment is the same as that of the configuration shown in FIG. 1. Among the video encoding devices, the entropy encoder 112 can determine the information of the color difference quantization offset for the RGB space (for example, the cu_chroma_qp_offset_idx syntax, which specifies the data table set by the video decoding device to set the color difference quantization offset. The indicator is transmitted to the video decoding device.

本實施形態下,在視訊編碼裝置之中,熵編碼器112將可確定YCoCr空間用的色差量化偏移之資訊(例如cu_chroma_qp_offset_idx語法,其係將視訊解碼裝置所保有之設定有色差量化偏移的數據表加以指定的指標)傳輸至視訊解碼裝置。本實施形態之視訊解碼裝置能基於因應cu_residual_csc_flag語法的值而已以區塊單位傳輸之cu_chroma_qp_offset_idx 語法的值,以區塊單位切換RGB空間用與YCoCr空間用的色差量化偏移。In the present embodiment, among the video encoding devices, the entropy encoder 112 can determine the information of the color difference quantization offset for the YCoCr space (for example, the cu_chroma_qp_offset_idx syntax, which is set by the video decoding device to set the color difference quantization offset. The data table is transmitted to the video decoding device with the specified indicator). The video decoding apparatus according to the present embodiment can switch the color difference quantization offset for the RGB space and the YCoCr space in units of blocks based on the value of the cu_chroma_qp_offset_idx syntax that has been transmitted in block units in accordance with the value of the cu_residual_csc_flag syntax.

另外,在圖8之中,斜體字顯示處(cb_qp_offset_list [i] 及cr_qp_offset_list [i] 係對應於上述YCoCr空間用的色差量化偏移。 [實施形態6]Further, in Fig. 8, the italicized word display positions (cb_qp_offset_list[i] and cr_qp_offset_list[i] correspond to the color difference quantization offset for the YCoCr space described above. [Embodiment 6]

其次,說明第六實施形態之視訊解碼裝置。本實施形態之視訊解碼裝置係對應於第五實施形態之視訊編碼裝置。另外,本實施形態之視訊解碼裝置的構成係與圖3所示的構成相同。Next, a video decoding device according to a sixth embodiment will be described. The video decoding device of this embodiment corresponds to the video encoding device of the fifth embodiment. The configuration of the video decoding device of this embodiment is the same as that of the configuration shown in FIG.

在視訊解碼裝置之中,熵解碼器212由圖8舉例顯示之語法解讀出已以YCoCr空間施行數據壓縮之情況下,例如由以指標指定的數據表而讀取出色差量化偏移,適應性色差量化偏移導出器221以與第二實施形態之情況同樣的方式算出色差量化參數。Among the video decoding apparatuses, the entropy decoder 212 reads out the data compression using the YCoCr space by the syntax shown by the example shown in FIG. 8, for example, reading the excellent difference quantization offset by the data table specified by the index, and adaptability. The color difference quantization offset derivation unit 221 calculates the color difference quantization parameter in the same manner as in the case of the second embodiment.

此外,在視訊編碼裝置之中,適應性色差量化偏移導出器121係以與適應性色差量化偏移導出器221同樣的方式運作。 [實施形態7]Further, among the video encoding devices, the adaptive color difference quantization offset derivation unit 121 operates in the same manner as the adaptive color difference quantization offset derivation unit 221. [Embodiment 7]

其次,說明第七實施形態之視訊編碼裝置。圖9係表示YCoCr空間用之用以傳輸alt_cb_qp_offset_list [i] 及alt_cr_qp_offset_list [i] 的語法的一範例(非專利文獻1所記載之7.3.2.3.2Picture parameter set range extensions syntax 之改良)之說明圖。在圖9之中,斜體字顯示處係表示本實施形態之特徵。Next, a video encoding apparatus according to a seventh embodiment will be described. FIG. 9 is an explanatory diagram showing an example of a syntax for transmitting alt_cb_qp_offset_list[i] and alt_cr_qp_offset_list[i] for the YCoCr space (an improvement of 7.3.2.3.2 Picture parameter set range extension syntax described in Non-Patent Document 1). In Fig. 9, the italicized font display shows the features of this embodiment.

第七實施形態之中,如同後述,與第五實施形態相比,cu_chroma_qp_offset_idx 語法的值之解釋會因應cu_residual_csc_flag語法的值而變化,因此能依每一區塊而節省所傳輸之cu_chroma_qp_offset_idx 語法的位元數。例如,第七實施形態之中,即使cu_chroma_qp_offset_idx=0,亦於cu_residual_csc_flag=0之情況下導出RGB用的cb_qp_offset_list [0] 及cr_qp_offset_list [0] ,且於cu_residual_csc_flag=1的情況下導出YCoCr用的alt_cb_qp_offset_list [0] 及alt_cr_qp_offset_list [0] 。另一方面,第五實施形態之中,cu_chroma_qp_offset_idx=0則導出RGB用的cb_qp_offset_list [0] 及cr_qp_offset_list [0]。因此,在第五實施形態之中,上述list之大小係4之情況下(chroma_qp_offset_list_len_minus1係3之情況),為了導出YCoCr用的cb_qp_offset_list [4] 及alt_cr_qp_offset_list [4] ,必須傳輸cu_chroma_qp_offset_idx=4。In the seventh embodiment, as will be described later, the interpretation of the value of the cu_chroma_qp_offset_idx syntax may be changed in accordance with the value of the cu_residual_csc_flag syntax as compared with the fifth embodiment, so that the bit of the transmitted cu_chroma_qp_offset_idx syntax can be saved for each block. number. For example, in the seventh embodiment, even if cu_chroma_qp_offset_idx=0, cb_qp_offset_list[0] and cr_qp_offset_list[0] for RGB are derived in the case of cu_residual_csc_flag=0, and alt_cb_qp_offset_list for YCoCr is derived in the case of cu_residual_csc_flag=1. 0] and alt_cr_qp_offset_list [0] . On the other hand, in the fifth embodiment, cu_chroma_qp_offset_idx=0 derives cb_qp_offset_list[0] and cr_qp_offset_list[0] for RGB. Therefore, in the fifth embodiment, when the size of the list is 4 (in the case of chroma_qp_offset_list_len_minus1 is 3), in order to derive cb_qp_offset_list[4] and alt_cr_qp_offset_list[4] for YCoCr, cu_chroma_qp_offset_idx=4 must be transmitted.

另外,本實施形態之視訊編碼裝置的構成係與圖1所示的構成相同。在視訊編碼裝置之中,熵編碼器112將可確定RGB空間用的色差量化偏移之資訊(例如將視訊解碼裝置所保有之設定有色差量化偏移的數據表加以指定的指標)傳輸至視訊解碼裝置。The configuration of the video encoding apparatus of this embodiment is the same as that of the configuration shown in FIG. 1. In the video encoding device, the entropy encoder 112 transmits information that can determine the color difference quantization offset for the RGB space (for example, an index specifying a data table set by the video decoding device and having the color difference quantization offset) to the video. Decoding device.

本實施形態下,在視訊編碼裝置之中,熵編碼器112將可確定YCoCr空間用的色差量化偏移之資訊(例如將視訊解碼裝置所保有之設定有色差量化偏移的數據表加以指定的指標)傳輸至視訊解碼裝置。 [實施形態8]In the present embodiment, in the video encoding apparatus, the entropy encoder 112 specifies information for determining the color difference quantization offset for the YCoCr space (for example, specifying a data table in which the video decoding device holds the color difference quantization offset). The indicator is transmitted to the video decoding device. [Embodiment 8]

其次,說明第八實施形態之視訊解碼裝置。本實施形態之視訊解碼裝置係對應於第七實施形態之視訊編碼裝置。另外,本實施形態之視訊解碼裝置的構成係與圖3所示之構成相同。Next, a video decoding device according to an eighth embodiment will be described. The video decoding device of this embodiment corresponds to the video encoding device of the seventh embodiment. The configuration of the video decoding device of this embodiment is the same as that of the configuration shown in FIG.

在視訊解碼裝置之中,熵解碼器212由圖9舉例顯示之語法解讀出已以YCoCr空間施行數據壓縮之情況下,例如由以指標指定的數據表讀取出色差量化偏移,適應性色差量化偏移導出器221以與第二實施形態之情況同樣的方式算出色差量化參數。Among the video decoding apparatuses, the entropy decoder 212 reads out the data compression performed by the YCoCr space by the syntax shown in FIG. 9, for example, reading the excellent difference quantization offset by the data table specified by the index, and adaptive color difference. The quantization offset derivation unit 221 calculates the color difference quantization parameter in the same manner as in the case of the second embodiment.

此外,在視訊編碼裝置之中,適應性色差量化偏移導出器121係以與適應性色差量化偏移導出器221同樣的方式運作。Further, among the video encoding devices, the adaptive color difference quantization offset derivation unit 121 operates in the same manner as the adaptive color difference quantization offset derivation unit 221.

以下表示色差量化偏移之導出程序的具體例。在下述記述之中,以雙引號框出的部分係本實施形態中的技術特徵部分。 當cu_chroma_qp_offset_idx存在時,指標指向cb_qp_offset_list [ ]與cr_qp_offset_list [ ]、或the alt_cb_qp_offset_list [ ]與alt_cr_qp_offset_list [ ],此cu_chroma_qp_offset_idx用於決定CuQpOffsetCb與CuQpOffsetCr的值。當cu_chroma_qp_offset_idx存在時, cu_chroma_qp_offset_idx的值應為0至 chroma_qp_offset_list_len_minus1的範圍(含兩端值)。當cu_chroma_qp_offset_idx不存在時, cu_chroma_qp_offset_idx的值被推斷為等於0。 當cu_chroma_qp_offset_flag存在時,施行如下: -該變數IsCuChromaQpOffsetCoded設定為1。 -此等變數CuQpOffsetCb與CuQpOffsetCr推導如下: -若cu_chroma_qp_offset_flag等於1,且『cu_residual_csc_flag等於 0』,施行如下:  CuQpOffsetCb = cb_qp_offset_list [cu_chroma_qp_offset_idx]  CuQpOffsetCr = cr_qp_offset_list [cu_chroma_qp_offset_idx] -『否則,若cu_chroma_qp_offset_flag等於1,且 cu_residual_csc_flag 等於1,施行如下:』  『CuQpOffsetCb = alt_cb_qp_offset_list [cu_chroma_qp_offset_idx]』 『CuQpOffsetCr = alt_cr_qp_offset_list [cu_chroma_qp_offset_idx]』 - 否則(cu_chroma_qp_offset_flag等於0),CuQpOffsetCb與CuQpOffsetC同樣定為等於0。 [實施形態9]A specific example of the derivation program of the chroma quantization offset is shown below. In the following description, the portion enclosed by double quotation marks is a technical feature portion of the present embodiment. When cu_chroma_qp_offset_idx exists, the indicator points to cb_qp_offset_list[ ] and cr_qp_offset_list [ ], or the alt_cb_qp_offset_list [ ] and alt_cr_qp_offset_list [ ], and this cu_chroma_qp_offset_idx is used to determine the values of CuQpOffsetCb and CuQpOffsetCr. When cu_chroma_qp_offset_idx exists, the value of cu_chroma_qp_offset_idx shall be 0 to the range of chroma_qp_offset_list_len_minus1 (including both ends). When cu_chroma_qp_offset_idx does not exist, the value of cu_chroma_qp_offset_idx is inferred to be equal to zero. When cu_chroma_qp_offset_flag is present, the following is performed: - The variable IsCuChromaQpOffsetCoded is set to 1. - These variables CuQpOffsetCb and CuQpOffsetCr derived as follows: - If cu_chroma_qp_offset_flag equal to 1 and "cu_residual_csc_flag equal to 0", perform the following: CuQpOffsetCb = cb_qp_offset_list [cu_chroma_qp_offset_idx] CuQpOffsetCr = cr_qp_offset_list [cu_chroma_qp_offset_idx] - "Otherwise, if cu_chroma_qp_offset_flag equal to 1 and equal cu_residual_csc_flag 1, the implementation is as follows: 』 『CuQpOffsetCb = alt_cb_qp_offset_list [cu_chroma_qp_offset_idx] 』 "CuQpOffsetCr = alt_cr_qp_offset_list [cu_chroma_qp_offset_idx]" - Otherwise (cu_chroma_qp_offset_flag is equal to 0), CuQpOffsetCb and CuQpOffsetC are also equal to 0. [Embodiment 9]

上述各實施形態之中,視訊編碼裝置顯性地將色差量化偏移加以發訊,但亦可將以區塊單位而選擇出預測誤差訊號的色彩空間之要旨加以發訊卻不將色差量化偏移加以發訊。本說明書之中將此喻為隱性地(implicit)將色差量化偏移加以發訊。In each of the above embodiments, the video encoding device explicitly transmits the color difference quantization offset, but may also transmit the color space of the prediction error signal in block units without signaling the color difference. Move to send a message. This description is referred to as implicitly signaling the color difference quantization offset.

視訊編碼裝置隱性地將色差量化偏移加以發訊的情況下,熵編碼器將adaptive_color_trans_flag=1加以發訊,例如以區塊單位將cu_residual_csc_flag加以發訊,但不將可確定色差量化偏移值之資訊加以發訊。In the case where the video encoding device implicitly transmits the color difference quantization offset, the entropy encoder transmits adaptive_color_trans_flag=1, for example, cu_residual_csc_flag is transmitted in block units, but the color difference quantization offset value is not determined. The information is sent to the news.

在視訊解碼裝置之中,熵解碼器由位元串流解讀出adaptive_color_trans_flag=1的情況下,解讀出cu_residual_csc_flag=0(表示已以RGB空間施行數據壓縮)時,適應性色差量化偏移導出器221讀取在視訊解碼裝置之中預先記憶之RGB空間用的色差量化偏移之值。此外,解讀出cu_residual_csc_flag=1(表示已以YCoCr空間施行數據壓縮)時,適應性色差量化偏移導出器221由預先記憶之RGB空間用的色差量化偏移值算出YCoCr空間用的色差量化偏移值。In the video decoding apparatus, when the entropy decoder interprets adaptive_color_trans_flag=1 from the bit stream, and interprets cu_residual_csc_flag=0 (indicating that data compression has been performed in RGB space), the adaptive color difference quantization offset exporter 221 The value of the color difference quantization offset for the RGB space previously stored in the video decoding device is read. Further, when cu_residual_csc_flag=1 is interpreted (indicating that data compression has been performed in the YCoCr space), the adaptive color difference quantization offset derivation unit 221 calculates the color difference quantization offset for the YCoCr space from the color difference quantization offset value for the RGB space stored in advance. value.

RGB空間用的色差量化偏移與YCoCr空間用的色差量化偏移有一定程度的相關性,亦即,可定出用以由RGB空間用的色差量化偏移算出YCoCr空間用的色差量化偏移之算式,因此適應性色差量化偏移導出器221能藉由如此算式而導出YCoCr空間用的色差量化偏移。The color difference quantization offset for the RGB space has a certain degree of correlation with the color difference quantization offset for the YCoCr space, that is, the color difference quantization offset for calculating the YCoCr space by the color difference quantization offset for the RGB space can be determined. In the calculation formula, the adaptive color difference quantization offset derivation unit 221 can derive the color difference quantization offset for the YCoCr space by such an equation.

亦即,視訊解碼裝置隱性地導出色差量化偏移。That is, the video decoding device implicitly derives the color difference quantization offset.

此外,在視訊編碼裝置之中,適應性色差量化偏移導出器121係以與適應性色差量化偏移導出器221同樣的方式運作。Further, among the video encoding devices, the adaptive color difference quantization offset derivation unit 121 operates in the same manner as the adaptive color difference quantization offset derivation unit 221.

另外,視訊編碼裝置隱性地將色差量化偏移加以發訊的情況下,能減少傳輸的數據量。Further, when the video encoding device implicitly transmits the color difference quantization offset, the amount of data to be transmitted can be reduced.

此外,視訊編碼裝置及視訊解碼裝置隱性地導出色差量化偏移之情況下,亦可將一者的色空間用的色差量化偏移定為0。例如,解讀出cu_residual_csc_flag=0(表示已以RGB 空間施行數據壓縮)時,適應性色差量化偏移導出器221 讀取視訊解碼裝置之中所預先記憶的RGB 空間用的値0之色差量化偏移値。另外,解讀出cu_residual_csc_flag=1(表示已以YCoCr 空間施行數據壓縮)時,適應性色差量化偏移導出器221 從以圖片單位傳輸之pps_cb_qp_offset/pps_cr_qp_offset/slice_qp_delta_cb與以切片單位傳輸之slice_qp_delta_cb/slice_qp_delta_cr算出YCoCr 空間用的色差量化偏移値。Further, when the video encoding device and the video decoding device implicitly derive the color difference quantization offset, the color difference quantization offset for one color space may be set to zero. For example, when cu_residual_csc_flag=0 (indicating that data compression has been performed in RGB space), the adaptive color difference quantization offset exporter 221 reads the 色0 color difference quantization offset for the RGB space previously stored in the video decoding device. value. Further, when cu_residual_csc_flag=1 is interpreted (indicating that data compression has been performed in the YCoCr space), the adaptive color difference quantization offset exporter 221 calculates YCoCr from pps_cb_qp_offset/pps_cr_qp_offset/slice_qp_delta_cb transmitted in picture units and slice_qp_delta_cb/slice_qp_delta_cr transmitted in slice units. The color difference quantization offset for space is 値.

以下表示色差量化偏移之導出程序的具體例。下述記述之中,雙引號框出的部分係本實施形態之中的特徵部分。 -『若adaptive_color_trans_flag等於0』,該等變數qPCb 與qPCr 推導如下:  qPiCb = Clip3( -QpBdOffsetC , 57, QpY + pps_cb_qp_offset + slice_cb_qp_offset + CuQpOffsetCb )  qPiCr = Clip3( -QpBdOffsetC , 57, QpY + pps_cr_qp_offset + slice_cr_qp_offset + CuQpOffsetCr ) -『否則,若adaptive_color_trans_flag等於1,且cu_residual_csc_flag等於0』,該等變數qPCb 與qPCr 推導如下:  qPiCb = Clip3( -QpBdOffsetC , 57, QpY + CuQpOffsetCb )  qPiCr = Clip3( -QpBdOffsetC , 57, QpY + CuQpOffsetCr ) -『否則(daptive_color_trans_flag等於1,且cu_residual_csc_flag等於1), 該等變數qPCb 與 qPCr 推導如下:』 『qPiCb = Clip3( -QpBdOffsetC , 57, QpY + pps_cb_qp_offset + slice_cb_qp_offset + CuQpOffsetCb )』  『qPiCr = Clip3( -QpBdOffsetC , 57, QpY + pps_cr_qp_offset + slice_cr_qp_offset + CuQpOffsetCr )』 -若ChromaArrayType等於1,則基於指標qPi分別等於qPiCb 與qPiCr ,而將該等變數qPCb 與qPCr 定為等於預定的表所指定之QpC 的值。 -否則,基於指標qPi分別等於qPiCb 與qPiCr ,而將該等變數qPCb 與qPCr 定為等於Min( qPi, 51)。 -Cb 成分與Cr成分的色差量化參數Qp'Cb 與Qp'Cr 推導如下:  Qp'Cb = qPCb + QpBdOffsetC Qp'Cr = qPCr + QpBdOffsetC A specific example of the derivation program of the chroma quantization offset is shown below. In the following description, the portion enclosed by double quotation marks is a characteristic portion in the present embodiment. - "If adaptive_color_trans_flag is equal to 0", the variables qP Cb and qP Cr are derived as follows: qPi Cb = Clip3( -QpBdOffset C , 57, Qp Y + pps_cb_qp_offset + slice_cb_qp_offset + CuQpOffset Cb ) qPi Cr = Clip3( -QpBdOffset C , 57 , Qp Y + pps_cr_qp_offset + slice_cr_qp_offset + CuQpOffset Cr ) - "Otherwise, if adaptive_color_trans_flag is equal to 1, and cu_residual_csc_flag is equal to 0", the variables qP Cb and qP Cr are derived as follows: qPi Cb = Clip3( -QpBdOffset C , 57, Qp Y + CuQpOffset Cb ) qPi Cr = Clip3( -QpBdOffset C , 57, Qp Y + CuQpOffset Cr ) - "Otherwise (daptive_color_trans_flag is equal to 1 and cu_residual_csc_flag is equal to 1), the variables qP Cb and qP Cr are derived as follows: 』 『qPi Cb = Clip3( -QpBdOffset C , 57, Qp Y + pps_cb_qp_offset + slice_cb_qp_offset + CuQpOffset Cb )』 『qPi Cr = Clip3( -QpBdOffset C , 57, Qp Y + pps_cr_qp_offset + slice_cr_qp_offset + CuQpOffset Cr )』 - If ChromaArrayType is equal to 1, then Based on the index qPi being equal to qPi Cb and qPi Cr , respectively, the variables qP Cb and qP Cr are equal to The value of Qp C specified in the predetermined table. - Otherwise, based on the index qPi being equal to qPi Cb and qPi Cr , respectively, the variables qP Cb and qP Cr are set equal to Min(qPi, 51). The color difference quantization parameters Qp' Cb and Qp' Cr of the -Cb component and the Cr component are derived as follows: Qp' Cb = qP Cb + QpBdOffset C Qp' Cr = qP Cr + QpBdOffset C

上述各實施形態之中,將RGB空間與YCoCr空間作為二個色彩空間舉例顯示,但即使二個色彩空間之一者或兩者係其它色彩空間,亦能將上述各實施形態的方式加以運用。此外,上述實施形態下,RGB空間之中定第一色彩成分為G 、第二色彩成分為B 、第三色彩成分為R (參考圖20),但針對各色彩成分之色彩訊號的分配法不限於此,能針對各色彩成分而分配任意色彩訊號。In each of the above embodiments, the RGB space and the YCoCr space are exemplified as two color spaces. However, even if one of the two color spaces or both are other color spaces, the embodiments of the above embodiments can be applied. Further, in the above embodiment, the first color component is G in the RGB space, the second color component is B, and the third color component is R (refer to FIG. 20), but the color signal distribution method for each color component is not In this case, any color signal can be assigned to each color component.

此外,上述各實施形態之中,視訊編碼裝置及視訊解碼裝置處理二個色彩空間,但亦可處理三個以上的色彩空間。Further, in each of the above embodiments, the video encoding device and the video decoding device process two color spaces, but may process three or more color spaces.

此外,亦可將上述各實施形態以硬體構成,且尚可由電腦程式實現。Further, each of the above embodiments may be configured as a hardware, and may be realized by a computer program.

圖10所示之資訊處理系統包括處理器1001、程式記憶體1002、用以儲放視訊數據的記憶媒體1003、及用以儲放位元串流的記憶媒體1004。記憶媒體1003與記憶媒體1004可係個別的記憶媒體,亦可係由同一記憶媒體而成之記憶區域。就記憶媒體而言,能使用硬碟等磁性記憶媒體。The information processing system shown in FIG. 10 includes a processor 1001, a program memory 1002, a memory medium 1003 for storing video data, and a memory medium 1004 for storing a bit stream. The memory medium 1003 and the memory medium 1004 may be individual memory media or may be memory regions formed by the same memory medium. As far as the memory medium is concerned, a magnetic memory medium such as a hard disk can be used.

在圖10所示之資訊處理系統之中,程式記憶體1002儲放用以實現圖1、圖3各者所示之各區塊(緩衝器的區塊除外)的功能之程式。而且,處理器1001依循程式記憶體1002所儲放的程式而實行處理,藉以實現圖1、圖3各者所示之視訊編碼裝置或視訊解碼裝置的功能。In the information processing system shown in FIG. 10, the program memory 1002 stores a program for realizing the functions of the respective blocks (excluding the blocks of the buffer) shown in each of FIGS. 1 and 3. Further, the processor 1001 performs processing in accordance with the program stored in the program memory 1002, thereby realizing the functions of the video encoding device or the video decoding device shown in each of FIGS. 1 and 3.

圖11係顯示視訊編碼裝置的主要部的區塊圖。如圖11所示,視訊編碼裝置301包括:適應性色差量化偏移導出部311(就一範例而言,相當於圖1所示之適應性色差量化偏移導出器121),導出每一色彩空間的色差量化偏移;以及反量化部312(就一範例而言,相當於圖1所示之反量化/反頻率轉換器105),使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。Figure 11 is a block diagram showing the main part of the video encoding apparatus. As shown in FIG. 11, the video encoding device 301 includes an adaptive color difference quantization offset deriving unit 311 (for example, equivalent to the adaptive color difference quantization offset exporter 121 shown in FIG. 1), and derives each color. a color difference quantization offset of the space; and an inverse quantization unit 312 (for example, equivalent to the inverse quantization/inverse frequency converter 105 shown in FIG. 1), using the color difference quantization offset of each color space to quantize the coefficient The image is inverse quantified.

圖12係表示視訊編碼裝置之其它例的主要部的區塊圖。如圖12所示,視訊編碼裝置302更包括將以區塊單位而選擇出預測誤差訊號的色彩空間之要旨加以發訊的色彩空間選擇通知部313(就一範例而言,相當於圖1所示之熵編碼器112)。Fig. 12 is a block diagram showing the main part of another example of the video encoding device. As shown in FIG. 12, the video encoding device 302 further includes a color space selection notifying portion 313 for transmitting the color space of the prediction error signal in units of blocks (for example, equivalent to FIG. 1 Entropy encoder 112).

另外,圖12所示之構成之中,視訊編碼裝置302未含有將可確定每一色彩空間的量化偏移值之資訊加以發訊的機構之情況下,視訊編碼裝置302隱性地導出色差量化偏移。Further, in the configuration shown in FIG. 12, the video encoding device 302 implicitly derives the color difference quantization in the case where the video encoding device 302 does not include a mechanism for signaling the information of the quantized offset value of each color space. Offset.

圖13係表示視訊編碼裝置之另外的範例之主要部的區塊圖。如圖13所示,視訊編碼裝置303更包括:量化偏移資訊傳輸部314(就一範例而言,相當於圖1所示之熵編碼器112),將可確定每一色彩空間的色差量化偏移值之資訊加以發訊。可確定色差量化偏移值之資訊,例如係色差量化偏移值本身、或係將視訊解碼裝置所保有之設定有色差量化偏移的數據表加以指定的指標。Figure 13 is a block diagram showing the main part of another example of the video encoding apparatus. As shown in FIG. 13, the video encoding device 303 further includes a quantization offset information transmitting unit 314 (for example, equivalent to the entropy encoder 112 shown in FIG. 1), which can quantize the color difference of each color space. The information of the offset value is sent. The information of the color difference quantization offset value may be determined, for example, the color difference quantization offset value itself or an index specifying a data table in which the video decoding device holds the color difference quantization offset.

圖14係表示視訊解碼裝置的主要部的區塊圖。如圖14所示,視訊解碼裝置401包括:適應性色差量化偏移導出部411(就一範例而言,相當於圖3所示之適應性色差量化偏移導出器221),導出每一色彩空間的色差量化偏移;以及反量化部412(作為一範例,相當於圖3所示之反量化/反頻率轉換器205),使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。Fig. 14 is a block diagram showing the main part of the video decoding device. As shown in FIG. 14, the video decoding device 401 includes an adaptive color difference quantization offset deriving unit 411 (for example, equivalent to the adaptive color difference quantization offset exporter 221 shown in FIG. 3), and derives each color. The color difference quantization offset of the space; and the inverse quantization unit 412 (which, as an example, corresponds to the inverse quantization/inverse frequency converter 205 shown in FIG. 3), uses the color difference quantization offset of each color space to apply the quantized coefficient image Anti-quantization.

圖15係表示視訊解碼裝置之其它例的主要部之區塊圖。如圖15所示,視訊解碼裝置402更包括:色彩空間選擇解讀部413(作為一範例,相當於圖3所示之熵解碼器212),將從已接收的位元串流以區塊單位而選擇出預測誤差訊號的色彩空間之要旨加以解讀。Fig. 15 is a block diagram showing the main part of another example of the video decoding device. As shown in FIG. 15, the video decoding device 402 further includes a color space selection and interpretation unit 413 (which, as an example, corresponds to the entropy decoder 212 shown in FIG. 3), streams the received bit stream into block units. The purpose of selecting the color space of the prediction error signal is interpreted.

另外,在圖15所示之構成之中,視訊解碼裝置402未含有將可確定每一色彩空間的色差量化偏移值之資訊加以解讀的機構之情況下,視訊解碼裝置402隱性地導出色差量化偏移。Further, in the configuration shown in FIG. 15, in the case where the video decoding device 402 does not include a mechanism for interpreting information capable of determining the color difference quantization offset value of each color space, the video decoding device 402 implicitly derives the color difference. Quantize the offset.

圖16係表示視訊解碼裝置之另外的其它例的主要部之區塊圖。如圖16所示,視訊解碼裝置403更包括:色差量化偏移解讀部414(作為一例,相當於圖3所示之熵解碼器212),基於從接收到的位元串流解讀出之資訊而確定每一色彩空間的色差量化偏移值。Fig. 16 is a block diagram showing the main part of still another example of the video decoding device. As shown in FIG. 16, the video decoding device 403 further includes a chroma quantization offset interpretation unit 414 (corresponding to the entropy decoder 212 shown in FIG. 3 as an example), based on the information decoded from the received bit stream. The color difference quantization offset value of each color space is determined.

以上參考實施形態及實施例而說明本案發明,但本案發明不限定於上述實施形態及實施例。能對本案發明的構成、細節能進行本案發明範疇內具有通常知識者能理解的各種變更。The present invention has been described above with reference to the embodiments and examples, but the invention is not limited to the embodiments and examples described above. Various changes that can be understood by those of ordinary skill can be made in the scope of the invention of the present invention.

此申請主張以2014年10月22日申請之日本專利申請案2014-214959的優先權,且於此引用其揭露的全部內容。The priority of Japanese Patent Application No. 2014-214959, filed on Oct. 22, 2014, is hereby incorporated by reference.

101‧‧‧切換器
102‧‧‧色彩空間轉換器
103‧‧‧切換器
104‧‧‧頻率轉換/量化器
105‧‧‧反量化/反頻率轉換器
106‧‧‧切換器
107‧‧‧反色彩空間轉換器
108‧‧‧切換器
109‧‧‧緩衝器
110‧‧‧預測器
111‧‧‧預測參數決定器
112‧‧‧熵編碼器
115‧‧‧減法器
116‧‧‧加法器
121‧‧‧適應性色差量化偏移導出器
122‧‧‧切換器
205‧‧‧反量化/反頻率轉換器
206‧‧‧切換器
207‧‧‧反色彩空間轉換器
208‧‧‧切換器
209‧‧‧緩衝器
210‧‧‧預測器
212‧‧‧熵解碼器
216‧‧‧加法器
221‧‧‧適應性色差量化偏移導出器
222‧‧‧切換器
301、302、303‧‧‧視訊編碼裝置
311‧‧‧適應性色差量化偏移導出部
312‧‧‧反量化部
313‧‧‧色彩空間選擇通知部
314‧‧‧量化偏移資訊傳輸部
401、402、403‧‧‧視訊解碼裝置
411‧‧‧適應性色差量化偏移導出部
412‧‧‧反量化部
413‧‧‧色彩空間選擇解讀部
414‧‧‧色差量化偏移解讀部
1001‧‧‧處理器
1002‧‧‧程式記憶體
1003‧‧‧記憶媒體
1004‧‧‧記憶媒體
S101~S105‧‧‧步驟
S201~S204‧‧‧步驟
101‧‧‧Switch
102‧‧‧Color Space Converter
103‧‧‧Switch
104‧‧‧Frequency conversion/quantizer
105‧‧‧Anti-quantization/inverse frequency converter
106‧‧‧Switcher
107‧‧‧Anti-color space converter
108‧‧‧Switcher
109‧‧‧buffer
110‧‧‧ predictor
111‧‧‧Predictive Parameter Determinator
112‧‧‧Entropy encoder
115‧‧‧Subtractor
116‧‧‧Adder
121‧‧‧Adaptive color difference quantization offset exporter
122‧‧‧Switcher
205‧‧‧Anti-quantization/inverse frequency converter
206‧‧‧Switcher
207‧‧‧Anti-color space converter
208‧‧‧Switch
209‧‧‧buffer
210‧‧‧ predictor
212‧‧‧ Entropy decoder
216‧‧‧Adder
221‧‧‧Adaptive color difference quantization offset exporter
222‧‧‧Switch
301, 302, 303‧‧ ‧ video coding device
311‧‧‧Adaptive color difference quantization offset derivation unit
312‧‧‧Anti-quantization department
313‧‧‧Color Space Selection Notification Department
314‧‧‧Quantitative Offset Information Transmission Department
401, 402, 403‧‧ ‧ video decoding device
411‧‧‧Adaptive color difference quantization offset derivation unit
412‧‧‧Anti-quantization department
413‧‧‧Color Space Selection Interpretation Department
414‧‧‧Color Difference Quantization Offset Interpretation Department
1001‧‧‧ processor
1002‧‧‧Program memory
1003‧‧‧Memory Media
1004‧‧‧Memory Media
S101~S105‧‧‧Steps
S201~S204‧‧‧Steps

圖1係表示視訊編碼裝置之實施形態的區塊圖。 圖2係表示與色差量化偏移之發訊有關的處理之流程圖。 圖3係表示視訊解碼裝置之實施形態的區塊圖。 圖4係表示與色差量化偏移之導出有關的處理之流程圖。 圖5係表示用以傳輸alt_pps_cb_qp_offset及alt_pps_cr_qp_offset之語法的一範例之說明圖。 圖6係表示用以傳輸alt_slice_qp_delta_cb及alt_slice_qp_delta_cr之語法的一範例之說明圖。 圖7係表示用以傳輸alt_slice_qp_delta_cb及alt_slice_qp_delta_cr之語法的一範例之說明圖。 圖8係表示用以傳輸cb_qp_offset_list [i] 及cr_qp_offset_list [i] 之語法的一範例之說明圖。 圖9係表示用以傳輸alt_cb_qp_offset_list [i] 及alt_cr_qp_offset_list [i] 之語法的一範例之說明圖。 圖10係表示可以實現視訊編碼裝置及視訊解碼裝置的功能之資訊處理系統的構成例之區塊圖。 圖11係表示視訊編碼裝置的主要部之區塊圖。 圖12係表示視訊編碼裝置之其它例的主要部之區塊圖。 圖13係表示視訊編碼裝置之另外的其它例的主要部之區塊圖。 圖14係表示視訊解碼裝置的主要部的區塊圖。 圖15係表示視訊解碼裝置之其它例的主要部之區塊圖。 圖16係表示視訊解碼裝置之另外的其它例的主要部之區塊圖。 圖17係表示殘差域適應性色轉換之一範例的說明圖。 圖18係表示一般視訊編碼裝置的構成之區塊圖。 圖19係表示一般視訊解碼裝置的構成之區塊圖。 圖20係表示色差量化偏移的使用例之說明圖。Fig. 1 is a block diagram showing an embodiment of a video encoding apparatus. Fig. 2 is a flow chart showing the processing related to the transmission of the color difference quantization offset. Fig. 3 is a block diagram showing an embodiment of a video decoding device. Figure 4 is a flow chart showing the processing associated with the derivation of the color difference quantization offset. Fig. 5 is an explanatory diagram showing an example of a syntax for transmitting alt_pps_cb_qp_offset and alt_pps_cr_qp_offset. Fig. 6 is an explanatory diagram showing an example of a syntax for transmitting alt_slice_qp_delta_cb and alt_slice_qp_delta_cr. Fig. 7 is an explanatory diagram showing an example of a syntax for transmitting alt_slice_qp_delta_cb and alt_slice_qp_delta_cr. Fig. 8 is an explanatory diagram showing an example of a syntax for transmitting cb_qp_offset_list [i] and cr_qp_offset_list [i]. Fig. 9 is an explanatory diagram showing an example of a syntax for transmitting alt_cb_qp_offset_list [i] and alt_cr_qp_offset_list [i]. Fig. 10 is a block diagram showing an example of the configuration of an information processing system that can realize the functions of the video encoding device and the video decoding device. Figure 11 is a block diagram showing the main part of the video encoding apparatus. Fig. 12 is a block diagram showing the main part of another example of the video encoding apparatus. Fig. 13 is a block diagram showing the main part of still another example of the video encoding apparatus. Fig. 14 is a block diagram showing the main part of the video decoding device. Fig. 15 is a block diagram showing the main part of another example of the video decoding device. Fig. 16 is a block diagram showing the main part of still another example of the video decoding device. Fig. 17 is an explanatory diagram showing an example of residual color adaptive color conversion. Fig. 18 is a block diagram showing the configuration of a general video encoding device. Fig. 19 is a block diagram showing the configuration of a general video decoding device. Fig. 20 is an explanatory diagram showing an example of use of the color difference quantization offset.

303‧‧‧視訊編碼裝置 303‧‧‧Video coding device

311‧‧‧適應性色差量化偏移導出部 311‧‧‧Adaptive color difference quantization offset derivation unit

312‧‧‧反量化部 312‧‧‧Anti-quantization department

314‧‧‧量化偏移資訊傳輸部 314‧‧‧Quantitative Offset Information Transmission Department

Claims (18)

一種視訊編碼裝置,可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間,該視訊編碼裝置的特徵為包括: 適應性色差量化偏移導出機構,導出每一色彩空間的色差量化偏移;以及 反量化機構,使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。A video encoding device can select a color space of a prediction error signal from a plurality of color spaces in a coding block unit. The video encoding device is characterized by: an adaptive color difference quantization offset deriving mechanism that derives each color space. The color difference quantization offset; and an inverse quantization mechanism that inverse quantizes the quantized coefficient image using the color difference quantization offset of each color space. 如申請專利範圍第1項之視訊編碼裝置,其中更包括: 色彩空間選擇通知機構,將以區塊單位而選擇出預測誤差訊號的色彩空間之要旨加以發訊(signaling)。The video encoding device of claim 1, further comprising: a color space selection notification mechanism that signals the color space of the prediction error signal in a block unit to be signaled. 如申請專利範圍第2項之視訊編碼裝置,其中更包括: 色差量化偏移資訊傳輸機構,將可確定每一色彩空間的色差量化偏移值之資訊加以發訊。The video encoding device of claim 2, further comprising: a color difference quantization offset information transmission mechanism that transmits information that can determine a color difference quantization offset value of each color space. 一種視訊解碼裝置,可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間,該視訊解碼裝置的特徵為包括: 適應性色差量化偏移導出機構,導出每一色彩空間的色差量化偏移;以及 反量化機構,使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。A video decoding device can select a color space of a prediction error signal from a plurality of color spaces in a coding block unit, and the video decoding device is characterized by: an adaptive color difference quantization offset deriving mechanism that derives each color space The color difference quantization offset; and an inverse quantization mechanism that inverse quantizes the quantized coefficient image using the color difference quantization offset of each color space. 如申請專利範圍第4項之視訊解碼裝置,其中更包括: 色彩空間選擇解讀機構,將從接收到的位元串流以區塊單位而選擇出預測誤差訊號的色彩空間之要旨加以解讀。The video decoding device of claim 4, further comprising: a color space selection and interpretation mechanism for interpreting the color space of the prediction error signal from the received bit stream in block units. 如申請專利範圍第5項之視訊解碼裝置,其中更包括: 色差量化偏移解讀機構,基於從接收到的位元串流解讀出之資訊而確定每一色彩空間的量化偏移值。The video decoding device of claim 5, further comprising: a color difference quantization offset interpretation mechanism that determines a quantization offset value for each color space based on the information interpreted from the received bit stream. 一種視訊編碼方法,可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間,該視訊編碼方法的特徵為: 導出每一色彩空間的量化偏移, 且使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。A video encoding method, which can select a color space of a prediction error signal from a plurality of color spaces in a coding block unit, the video encoding method is characterized by: deriving a quantization offset of each color space, and using each color space The color difference is quantized and the quantized coefficient image is inverse quantized. 如申請專利範圍第7項之視訊編碼方法,其中, 將以區塊單位而選擇出預測誤差訊號的色彩空間之要旨加以發訊。For example, in the video encoding method of claim 7, wherein the color space of the prediction error signal is selected in block units to be transmitted. 如申請專利範圍第8項之視訊編碼方法,其中, 將可確定每一色彩空間的色差量化偏移值之資訊加以發訊。For example, the video encoding method of claim 8 is characterized in that information for determining the color difference quantization offset value of each color space is transmitted. 一種視訊解碼方法,可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間,該視訊解碼方法的特徵為: 導出每一色彩空間的量化偏移, 且使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。A video decoding method, which can select a color space of a prediction error signal from a plurality of color spaces in a coding block unit, the video decoding method is characterized by: deriving a quantization offset of each color space, and using each color space The color difference is quantized and the quantized coefficient image is inverse quantized. 如申請專利範圍第10項之視訊解碼方法,其中, 將從接收到的位元串流以區塊單位而選擇出預測誤差訊號的色彩空間之要旨加以解讀。The video decoding method of claim 10, wherein the color space of the prediction error signal is selected from the received bit stream in block units for interpretation. 如申請專利範圍第11項之視訊解碼方法,其中, 基於從接收到的位元串流解讀出之資訊而確定每一色彩空間的色差量化偏移值。The video decoding method of claim 11, wherein the color difference quantization offset value of each color space is determined based on the information interpreted from the received bit stream. 一種視訊編碼程式,實施可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間之視訊編碼方法,且該視訊編碼程式係用以使電腦執行以下處理: 導出處理,導出每一色彩空間的色差量化偏移;以及 反量化處理,使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。A video encoding program that implements a video encoding method that selects a color space of a prediction error signal from a plurality of color spaces in a coding block unit, and the video encoding program is used to cause a computer to perform the following processing: export processing, export each a color difference quantization offset of a color space; and an inverse quantization process that inverse quantizes the quantized coefficient image using the color difference quantization offset of each color space. 如申請專利範圍第13項之視訊編碼程式,其中, 使電腦執行:一發訊處理,將以區塊單位而選擇出預測誤差訊號的色彩空間之要旨加以發訊。For example, in the video coding program of claim 13, wherein the computer is executed: a transmission processing is performed, and the color space of the prediction error signal is selected in a block unit to be transmitted. 如申請專利範圍第14項之視訊編碼程式,其中, 使電腦執行:另一發訊處理,將可確定每一色彩空間的色差量化偏移值之資訊加以發訊。For example, in the video encoding program of claim 14, wherein the computer is executed: another processing is performed, and information for determining the color difference quantization offset value of each color space is transmitted. 一種視訊解碼程式,實施可從多個色彩空間以編碼區塊單位而選擇出預測誤差訊號的色彩空間之視訊解碼方法,且該視訊解碼程式係用以使電腦執行以下處理: 導出處理,導出每一色彩空間的色差量化偏移;以及 反量化處理,使用每一色彩空間的色差量化偏移而將量化係數影像加以反量化。A video decoding program, which implements a video decoding method for selecting a color space of a prediction error signal from a plurality of color spaces in a coding block unit, and the video decoding program is used to cause a computer to perform the following processing: export processing, export each a color difference quantization offset of a color space; and an inverse quantization process that inverse quantizes the quantized coefficient image using the color difference quantization offset of each color space. 如申請專利範圍第16項之視訊解碼程式,其中, 使電腦執行:解讀處理,將從接收到的位元串流以區塊單位而選擇出預測誤差訊號的色彩空間之要旨加以解讀。For example, in the video decoding program of claim 16, wherein the computer performs: the interpretation process, the color space of the prediction error signal is selected from the received bit stream in block units for interpretation. 如申請專利範圍第17項之視訊解碼程式,其中, 使電腦執行:確定處理,基於從接收到的位元串流解讀出之資訊而確定每一色彩空間的色差量化偏移值。For example, the video decoding program of claim 17 wherein the computer executes: determining processing, determining the color difference quantization offset value of each color space based on the information interpreted from the received bit stream.
TW104134140A 2014-10-22 2015-10-19 Video image encoding device, video image decoding device, video image encoding method, video image decoding method, and program TW201626797A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014214959 2014-10-22

Publications (1)

Publication Number Publication Date
TW201626797A true TW201626797A (en) 2016-07-16

Family

ID=55760504

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104134140A TW201626797A (en) 2014-10-22 2015-10-19 Video image encoding device, video image decoding device, video image encoding method, video image decoding method, and program

Country Status (2)

Country Link
TW (1) TW201626797A (en)
WO (1) WO2016063440A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MX2021015275A (en) * 2019-06-11 2022-01-18 Lg Electronics Inc Image decoding method for chroma component and device therefor.
JP7277354B2 (en) * 2019-12-26 2023-05-18 Kddi株式会社 Image decoding device, image decoding method and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050259730A1 (en) * 2004-05-18 2005-11-24 Sharp Laboratories Of America, Inc. Video coding with residual color conversion using reversible YCoCg
KR100723408B1 (en) * 2004-07-22 2007-05-30 삼성전자주식회사 Method and apparatus to transform/inverse transform and quantize/dequantize color image, and method and apparatus to encode/decode color image using it

Also Published As

Publication number Publication date
WO2016063440A1 (en) 2016-04-28

Similar Documents

Publication Publication Date Title
US11575900B2 (en) Video coding device, video decoding device, video coding method, video decoding method and program
KR101998390B1 (en) Methods And Apparatuses For Encoding and Decoding Quantization marix
KR101802957B1 (en) Method and apparatus for image encoding/decoding
TWI700919B (en) Video encoding/decoding method/apparatus and storage medium thereof
JP6144754B2 (en) Temporal motion vector prediction (MVP) flag signaling for temporal prediction
KR101857755B1 (en) Methods of decoding using skip mode and apparatuses for using the same
JP7357736B2 (en) Encoding device, decoding device, and program
US20240107044A1 (en) Moving picture decoding device, moving picture decoding method, and program obtaining chrominance values from corresponding luminance values
TW201626797A (en) Video image encoding device, video image decoding device, video image encoding method, video image decoding method, and program
WO2016185651A1 (en) Video encoding device, video decoding device, video encoding method, video decoding method, and program