TWI577191B - Filtering of blocks coded in the pulse code modulation mode - Google Patents

Filtering of blocks coded in the pulse code modulation mode Download PDF

Info

Publication number
TWI577191B
TWI577191B TW101140787A TW101140787A TWI577191B TW I577191 B TWI577191 B TW I577191B TW 101140787 A TW101140787 A TW 101140787A TW 101140787 A TW101140787 A TW 101140787A TW I577191 B TWI577191 B TW I577191B
Authority
TW
Taiwan
Prior art keywords
block
filtering
filter
indicator
sample
Prior art date
Application number
TW101140787A
Other languages
Chinese (zh)
Other versions
TW201325242A (en
Inventor
梅瑟思 納羅史查克
湯瑪斯 韋迪
西彌 艾森力克
阿南德 柯圖
Original Assignee
太陽專利信託
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 太陽專利信託 filed Critical 太陽專利信託
Publication of TW201325242A publication Critical patent/TW201325242A/en
Application granted granted Critical
Publication of TWI577191B publication Critical patent/TWI577191B/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/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • 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/117Filters, e.g. for pre-processing or post-processing
    • 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/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • 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/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop

Landscapes

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

Description

以脈衝碼調變模式編碼之區塊的濾波技術 Filtering technique for blocks coded in pulse code modulation mode 發明領域 Field of invention

本發明係有關於影像之濾波。更明確言之,本發明係有關於解區塊濾波及關於其應用在經PCM編碼樣本。 The invention relates to filtering of images. More specifically, the present invention relates to deblocking filtering and to PCM encoded samples for its application.

發明背景 Background of the invention

目前大部分標準化視訊編碼演算法皆係植基於混成視訊編碼技術。混成視訊編碼方法典型地組合數種不同無損壓縮及有損壓縮方案以達成期望的壓縮增益。混成視訊編碼也是ITU-T標準(H.26x標準諸如H.261、H.263)以及ISP/IEC標準(MPEG-X標準諸如MPEG-1、MPEG-2、及MPEG-4)。最晚近且最高階的視訊編碼標準目前為標示以H.264/MPEG-4進階視訊編碼(AVC)標準,此乃由聯合視訊小組(JVT)亦即ITU-T群與ISO/IEC MPEG群的聯合小組的標準化努力結果。此種編解碼器係進一步由視訊編碼的聯合協作小組(JCT-VC)以高效視訊編碼(HEVC)的名稱發展,特別係針對改良有關高解像度視訊編碼的效率。 At present, most standardized video coding algorithms are based on hybrid video coding technology. Hybrid video coding methods typically combine several different lossless compression and lossy compression schemes to achieve the desired compression gain. Hybrid video coding is also an ITU-T standard (H.26x standards such as H.261, H.263) and ISP/IEC standards (MPEG-X standards such as MPEG-1, MPEG-2, and MPEG-4). The latest and highest-order video coding standards are currently marked with the H.264/MPEG-4 Advanced Video Coding (AVC) standard, which is the Joint Video Group (JVT), the ITU-T Group and the ISO/IEC MPEG Group. The results of the standardization efforts of the joint group. This codec was further developed by the Joint Coordination Group for Video Coding (JCT-VC) under the name of High Efficiency Video Coding (HEVC), especially for improving the efficiency of high resolution video coding.

輸入一編碼器的視訊信號乃一串列稱作圖框的影像,各個圖框為一個二維像素矩陣。全部前述標準皆係基於混成視訊編碼,包括將各個個別視訊框細分成由多個像素組成的更小型區塊。區塊大小例如可隨影像內容而異。編碼方式典型地隨每個區塊基準而異。此種區塊的最大可能大小例如於HEVC為64x64像素。故稱作為最大編碼 單位(LCU)。於H.264/MPEG-4 AVC中,巨集區塊(通常標示16x16像素之一區塊)乃基本影像元素,對其執行編碼,可能進一步分割成更小型子區塊,對其施用若干編/解碼步驟。 The video signal input to an encoder is a series of images called frames, and each frame is a two-dimensional pixel matrix. All of the foregoing criteria are based on hybrid video coding, including subdividing individual video frames into smaller blocks of multiple pixels. The block size can vary, for example, depending on the content of the image. The encoding method typically varies with each block reference. The largest possible size of such a block is, for example, HEVC is 64x64 pixels. As the largest code Unit (LCU). In H.264/MPEG-4 AVC, a macroblock (usually labeled as a block of 16x16 pixels) is a basic image element, which is encoded and possibly further partitioned into smaller sub-blocks. / decoding step.

典型地,混成視訊編碼的編碼步驟包括空間及/或時間預測。據此,欲編碼的各個區塊首先使用其空間鄰近的區塊或時間鄰近的區塊,亦即從先前編碼的視訊框作預測。然後計算欲編碼區塊與其預測間的一差區塊,又稱預測殘差區塊。另一個編碼步驟係將一殘差區塊從空間(像素)域變換成頻域。該變換係針對減少輸入區塊的相關性。進一步編碼步驟為變換係數的量化。於此步驟中,進行實際有損(不可逆)壓縮。通常,已壓縮的變換係數值進一步利用熵編碼而予精簡(無損壓縮)。此外,已編碼視訊信號重建需要的側邊資訊係經編碼且連同已編碼視訊信號提供。側邊資訊例如為有關空間及/或時間預測、量化量等的資訊。 Typically, the encoding step of the hybrid video encoding includes spatial and/or temporal prediction. Accordingly, each block to be encoded first uses its spatially adjacent block or temporally adjacent block, i.e., from a previously encoded video frame. Then calculate a difference block between the block to be coded and its prediction, which is also called a prediction residual block. Another encoding step transforms a residual block from a spatial (pixel) domain to a frequency domain. This transformation is aimed at reducing the correlation of the input blocks. The further encoding step is the quantization of the transform coefficients. In this step, actual lossy (irreversible) compression is performed. Typically, the compressed transform coefficient values are further reduced (encrypted lossless) using entropy coding. In addition, the side information required for the reconstructed video signal is encoded and provided along with the encoded video signal. The side information is, for example, information about spatial and/or temporal prediction, quantized amount, and the like.

圖1為典型H.264/MPEG-4 AVC及/或HEVC視訊編碼器100之實例。減法器105首先決定一輸入視訊影像(輸入信號s)的欲編碼之一目前區塊與一相對應預測區塊間之差e,其係用作為欲編碼的目前區塊的預測。該預測信號可藉時間預測或空間預測180獲得。預測型別可基於每圖框基礎或基於每區塊基礎而改變。使用時間預測所預測的區塊及/或圖框係稱作為「間」預測,而使用空間預測所預測的區塊及/或圖框係稱作為「內」預測。使用時間預測的預測信號係從儲存在記憶體的先前編碼影像推衍。使用空間 預測的預測信號係從在鄰近區塊的邊界像素值推衍,其先前已經經過編碼、解碼、與儲存在記憶體。輸入信號與預測信號間之差e,標示為預測誤差或殘差,係經變換110,導致係數其係經量化120。然後熵編碼器190施用至量化係數以進一步減少欲以無損方式儲存及/或傳輸的資料量。此點主要係藉施用具有可變長度的碼字組之一代碼而予達成,其中一碼字組的長度係基於其出現機率而選擇。 1 is an example of a typical H.264/MPEG-4 AVC and/or HEVC video encoder 100. The subtracter 105 first determines one of the input blocks of the input video image (input signal s) to be encoded and a corresponding prediction block. The difference e, which is used as a prediction for the current block to be encoded. The predicted signal can be obtained by temporal prediction or spatial prediction 180. The predictive type can be changed on a per-frame basis or on a per block basis. The block and/or frame predicted by the time prediction is used as the "inter" prediction, and the block and/or frame predicted by the spatial prediction is referred to as the "inner" prediction. The predicted signal using the time prediction is derived from the previously encoded image stored in the memory. The predicted signal using spatial prediction is derived from the boundary pixel values of adjacent blocks, which have previously been encoded, decoded, and stored in memory. The difference e between the input signal and the predicted signal, labeled as the prediction error or residual, is transformed 110, causing the coefficients to be quantized 120. The entropy encoder 190 then applies the quantized coefficients to further reduce the amount of data to be stored and/or transmitted in a lossless manner. This is primarily achieved by applying a code of one of the codeword groups of variable length, wherein the length of a codeword group is selected based on its probability of occurrence.

在視訊編碼器100內部,結合一解碼單元以獲得已解碼(已重建)的視訊信號s’。遵照編碼步驟,解碼步驟包括解量化及反變換130。如此所得預測誤差信號e’因量化誤差而與原始預測誤差信號不同,又稱量化雜訊。然後藉將預測誤差信號e’加140至預測信號獲得重建影像信號s’。為了維持編碼器端與解碼器端間的可相容性,預測信號係基於經編碼接著經解碼的視訊信號獲得,該信號在編碼器與解碼器兩端為已知。 Inside the video encoder 100, a decoding unit is coupled to obtain a decoded (reconstructed) video signal s'. Following the encoding step, the decoding step includes dequantization and inverse transform 130. The prediction error signal e' thus obtained is different from the original prediction error signal due to the quantization error, and is also referred to as quantization noise. Then by adding the prediction error signal e' to 140 to the prediction signal Obtain a reconstructed image signal s'. In order to maintain compatibility between the encoder side and the decoder side, the prediction signal It is obtained based on the encoded and then decoded video signal, which is known at both the encoder and the decoder.

由於量化,量化雜訊係疊置於重建視訊信號。由於逐區塊編碼,故疊置雜訊經常具有區塊特性,特別對強量化尤為如此,疊置雜訊經常導致在解碼影響的可見區塊邊界。此種區塊假影對人類視覺感官具有負面影像。為了減少此等假影,解區塊濾波150係施用至每個重建的影像區塊。解區塊濾波係施用至重建信號s’。舉例言之,H.264/MPEG-4 AVC的解區塊濾波具有本地適應性能力。於高度區塊雜訊之情況下,施用強(窄帶)低通濾波器,而於低度區塊雜訊之情況下,施用較弱的(寬帶)低通濾波器。低通 濾波器的強度係由預測信號及由量化預測誤差信號e’決定。解區塊濾波通常平滑化區塊邊緣,結果導致改良之解碼影像的主觀品質。此外,因影像的濾波部分係用於額外影像的移動補償預測,濾波也減少預測錯誤,因而許可改良編碼效率。 Due to the quantization, the quantization noise is superimposed on the reconstructed video signal. Due to block-by-block coding, stacked noise often has block characteristics, especially for strong quantization, which often results in visible block boundaries that are affected by decoding. Such block artifacts have negative images of human visual senses. To reduce such artifacts, deblocking filtering 150 is applied to each reconstructed image block. The deblocking filtering is applied to the reconstruction signal s'. For example, the deblocking filtering of H.264/MPEG-4 AVC has local adaptability. In the case of high block noise, a strong (narrowband) low pass filter is applied, while in the case of low block noise, a weaker (wideband) low pass filter is applied. The strength of the low-pass filter is predicted by the signal And determined by the quantized prediction error signal e'. Deblocking filtering typically smoothes the edge of the block, resulting in improved subjective quality of the decoded image. In addition, because the filtering portion of the image is used for motion compensated prediction of additional images, filtering also reduces prediction errors, thus permitting improved coding efficiency.

於解區塊濾波後,樣本適應性偏移155及/或適應性迴圈濾波160可施用至含已解區塊信號s”的該影像。解區塊濾波改良主觀品質、樣本適應性偏移(SAO)及適應性迴圈濾波(ALF)係針對改良逐一像素的保真度(「客觀」品質)。更明確言之,SAO依據一像素的緊鄰附近而加一偏移值。適應性迴圈濾波(ALF)係用以補償因壓縮所致的影像失真。典型地,典型地,適應性迴圈濾波為韋納(Wiener)濾波,濾波係數係決定使得重建s’與來源影像s間之均方差(MSE)為最小化。ALF係數可以逐一圖框基準計算及傳輸。ALF可施用至整個圖框(視訊序列的影像)或施用至本地區(區塊)。可傳輸(以區塊為基、以圖框為基、或以四叉樹為基)指示哪些區欲被濾波的一額外側邊資訊。 After solution block filtering, sample adaptive offset 155 and/or adaptive loop filter 160 may be applied to the image containing the resolved block signal s". Deblocking filtering improves subjective quality, sample adaptive offset (SAO) and adaptive loop filtering (ALF) are aimed at improving the fidelity of one pixel by pixel ("objective" quality). More specifically, the SAO adds an offset value based on the immediate vicinity of a pixel. Adaptive Loop Filter (ALF) is used to compensate for image distortion caused by compression. Typically, the adaptive loop filtering is a Wiener filter, and the filter coefficients are determined such that the mean squared difference (MSE) between the reconstructed s' and the source image s is minimized. The ALF coefficients can be calculated and transmitted on a frame-by-frame basis. The ALF can be applied to the entire frame (image of the video sequence) or to the area (block). An additional side information that can be transmitted (block-based, frame-based, or quad-tree based) indicating which areas are to be filtered.

為了解碼,間-編碼區塊也要求儲存先前已編碼的及隨後解碼部分影像在參考圖框緩衝器170。一間-編碼區塊係藉採用移動補償預測而預測180。首先,藉一移動估計器而針對在先前已編碼及解碼視訊圖框內部的目前區塊找出一最佳匹配區塊。然後該最佳匹配區塊變成一預測信號,然後該目前區塊與其最佳匹配區塊間的相對位移(移動)係以三維移動向量形式,在連同編碼視訊資料提供的側邊 資訊內部發訊作為移動資料。三維係包含兩個空間維度及一個時間維度。為了最佳化預測準確度,可以空間次像素解析度,例如半像素或四分之一像素解析度決定移動向量。具有空間次像素解析度的一移動向量可指向在一解碼圖框內部的一空間位置,於該處無可用的實際像素值,亦即次像素位置。如此,需要此等像素值的空間內插以執行移動補償預測。此點可藉內插濾波達成(圖1中整合於預測方塊180內部)。 For decoding, the inter-coded block also requires the storage of previously encoded and subsequently decoded partial images in the reference frame buffer 170. A-coded block is predicted 180 by using motion compensated prediction. First, a best matching block is found for the current block inside the previously encoded and decoded video frame by a motion estimator. The best matching block then becomes a prediction signal, and then the relative displacement (movement) between the current block and its best matching block is in the form of a three-dimensional motion vector, along with the side provided by the encoded video material. Information is internally sent as mobile data. The 3D system contains two spatial dimensions and one temporal dimension. To optimize prediction accuracy, spatial sub-pixel resolution, such as half-pixel or quarter-pixel resolution, can be used to determine the motion vector. A motion vector having spatial sub-pixel resolution may point to a spatial location within a decoding frame where no actual pixel values are available, i.e., sub-pixel locations. As such, spatial interpolation of such pixel values is required to perform motion compensated prediction. This can be achieved by interpolation filtering (integrated within prediction block 180 in Figure 1).

針對二者亦即內-編碼及間-編碼模式,目前輸入信號與預測信號間之差e係經變換110及量化120,結果導致量化係數。一般而言,採用正交變換,諸如二維離散餘弦變換(DCT)彧其整數版本,原因在於其有效地減低自然視訊影像的相關性。於變換後,低頻成分通常比高頻成分對影像品質更為要緊,故耗用在編碼低頻成分的位元比較高頻成分更多。於熵編碼器中,量化係數的二維矩陣係轉換成一維陣列。典型地,此種轉換係藉所謂的鋸齒狀掃描進行,其始於二維陣列的左上角的DC係數且以預定順序掃描該二維陣列,止於右下角的DC係數。因能量典型地係集中在係數的二維矩陣的左上部,相對應於較低頻率,鋸齒狀掃描導致一陣列其通常末值為零。如此許可在實際熵編碼作為一部分/之前使用運轉長度代碼有效地編碼。 For both, ie, intra-coded and inter-coded modes, the difference e between the input signal and the predicted signal is transformed 110 and quantized 120, resulting in a quantized coefficient. In general, orthogonal transforms, such as two-dimensional discrete cosine transform (DCT), are used in their integer versions because they effectively reduce the correlation of natural video images. After the conversion, the low-frequency components are usually more important to the image quality than the high-frequency components, so the bits used in the encoding low-frequency components are more high-frequency components. In an entropy coder, a two-dimensional matrix of quantized coefficients is converted into a one-dimensional array. Typically, such conversion is performed by a so-called zigzag scan that begins with the DC coefficients of the upper left corner of the two-dimensional array and scans the two-dimensional array in a predetermined order, ending at the DC coefficient in the lower right corner. Since the energy is typically concentrated in the upper left portion of the two-dimensional matrix of coefficients, corresponding to lower frequencies, the zigzag scan results in an array whose normal end value is zero. Such permission is effectively encoded using the run length code before the actual entropy coding is part of / before.

H.264/MPEG-4 H.264/MPEG-4 AVC以及HEVC包括兩個功能層亦即視訊編碼層(VCL)及網路摘要層(NAL)。VCL提供如上簡述方編碼功能。NAL依據其進一步 應用諸如透過通道傳輸或儲存於儲存裝置,封裝資訊元素成為標準化單位稱作為NAL單位。資訊元素例如為編碼預測錯誤信號或視訊信號解碼所需其它資訊,諸如預測型別、量化參數、移動向量等。VCL NAL單位含有壓縮視訊資料及相關資訊,以及非VCL單位封裝額外資料,諸如與整個視訊序列相關的參數集,或提供額外資訊可用以改良解碼效能的補充增強資訊(SEI)。 H.264/MPEG-4 H.264/MPEG-4 AVC and HEVC include two functional layers, the Video Coding Layer (VCL) and the Network Abstraction Layer (NAL). The VCL provides a short description of the square coding function as described above. NAL is based on its further Applications such as transmission through channels or storage in storage devices encapsulate information elements into standardized units called NAL units. The information element is, for example, other information required to encode the prediction error signal or the video signal, such as prediction type, quantization parameter, motion vector, and the like. The VCL NAL unit contains compressed video data and related information, as well as additional information for non-VCL units, such as a parameter set associated with the entire video sequence, or Supplemental Enhancement Information (SEI) that provides additional information to improve decoding performance.

圖2例示說明依據H.264/MPEG-4 AVC或HEVC視訊編碼標準的解碼器200之實例。編碼視訊信號(解碼器的輸入信號)首先輸入熵解碼器290,其解碼量化係數、解碼諸如移動資料需要的資料元素、預測模式等。量化係數係反向掃描以獲得二維矩陣,然後饋至反量化及反變換230。在反量化及反變換230後,獲得已解碼(量化)預測誤差信號e’,相對應於無導入量化雜訊且未發生錯誤的情況下,從輸入編碼器的信號中扣除預測信號所得的差。 2 illustrates an example of a decoder 200 in accordance with the H.264/MPEG-4 AVC or HEVC video coding standard. The encoded video signal (the input signal of the decoder) is first input to an entropy decoder 290 that decodes the quantized coefficients, decodes data elements such as moving data, prediction modes, and the like. The quantized coefficients are inversely scanned to obtain a two-dimensional matrix and then fed to inverse quantization and inverse transform 230. After the inverse quantization and inverse transform 230, the decoded (quantized) prediction error signal e' is obtained, and the difference obtained by subtracting the prediction signal from the signal of the input encoder is obtained corresponding to the case where no quantization noise is introduced and no error occurs. .

預測信號係得自時間或空間預測280。解碼資訊元素通常進一步包含預測所需資訊,諸如於內-預測之情況下的預測型別,及於移動補償預測之情況下的移動資料。然後在空間域中的量化預測誤差信號使用加法器240加至從移動補償預測或內-圖框預測280所得的預測信號。重建的影像s’可通過解區塊濾波250、樣本適應性偏移處理255、及適應性迴圈濾波260,結果所得解碼信號係儲存在記憶體270欲施用於下列區塊/影像的時間或空間預測。 The predicted signal is derived from time or space prediction 280. Decoding the information element typically further includes information needed for prediction, such as prediction types in the case of intra-prediction, and mobile data in the case of motion compensated prediction. The quantized prediction error signal in the spatial domain is then added to the prediction signal resulting from motion compensated prediction or intra-frame prediction 280 using adder 240. The reconstructed image s' may be subjected to deblocking filtering 250, sample adaptive offset processing 255, and adaptive loop filtering 260, and the resulting decoded signal is stored in memory 270 for application to the following blocks/images or Spatial prediction.

當壓縮與解壓縮一影像時,區塊假影典型地為對 使用者最惱人的假影。解區塊濾波藉平滑化重建影像中的各區塊間的邊緣而輔助改良使用者的感官經驗。解區塊濾波的困難中之一者係正確地判定因施用量化器而藉區塊化造成的邊緣與屬於編碼信號之一部分的邊緣。唯有當區塊邊界的邊緣係因壓縮假影所造成時才需施用解區塊濾波。其它情況下,藉施用解區塊濾波,重建信號可能令人失望、失真。另一項困難係選用解區塊濾波的適當濾波器。典型地係在數個低通濾波器間做決定,具有不同頻率響應導致強或弱低通濾波。為了決定是否施用解區塊濾波及選擇適當濾波器,考慮在兩個區塊邊界附近的影像資料。 When compressing and decompressing an image, the block artifact is typically paired The most annoying artifact of the user. The deblocking filter assists in improving the user's sensory experience by smoothing the edges between the blocks in the reconstructed image. One of the difficulties in deblocking filtering is to correctly determine the edge caused by tiling by applying the quantizer and the edge belonging to a portion of the encoded signal. Deblock filtering is only required when the edge of the block boundary is caused by compression artifacts. In other cases, by applying deblocking filtering, reconstructing the signal can be disappointing and distorted. Another difficulty is the selection of appropriate filters for deblocking filtering. Typically, decisions are made between several low pass filters with different frequency responses resulting in strong or weak low pass filtering. In order to decide whether to apply deblocking filtering and to select an appropriate filter, consider image data near the boundaries of the two blocks.

舉例言之,H.264/MPEG-4 AVC評估在兩個鄰近區塊各自的第一推衍(導數)的絕對值,其邊界係將解區塊。此外,如所述例如於H.264/MPEG-4 AVC標準章節8.7.2.2.評估橫跨二區塊間之邊緣的第一導數。HEVC採用類似機制,但只使用第二導數。 For example, H.264/MPEG-4 AVC evaluates the absolute value of the first derivative (derivative) of each of the two adjacent blocks, and its boundary will be solved. Furthermore, the first derivative across the edge between the two blocks is evaluated, for example as described in section H.264/MPEG-4 AVC Standard Section 8.7.2.2. HEVC uses a similar mechanism, but only uses the second derivative.

解區塊濾波可針對在區塊邊界的各個樣本決定是否經濾波且使用哪個濾波器或濾波型別。當決定欲施加濾波時,則低通濾波器施用以平滑化橫跨區塊邊界。決定是否濾波的目的係只濾波該等樣本,如前文於發明背景章節所述,以逐一區塊處理施用量化結果導致區塊邊界的重大信號改變。解區塊濾波的結果係在區塊邊界的信號平滑化。對觀看者而言平滑化信號比區塊假影較不惱人。在區塊邊界有大型樣本改變屬於欲編碼的原始信號,該等樣本不應濾波以維持高頻且如此維持視覺鮮明。在錯誤決定之 情況下,影像乃不必要地平滑化或維持塊狀。解區塊濾波係橫跨區塊的垂直緣(水平濾波)及橫跨區塊的水平緣(垂直濾波)進行。 The deblocking filter can decide whether to filter and which filter or filter type to use for each sample at the block boundary. When it is decided that filtering is to be applied, then a low pass filter is applied to smooth across the block boundaries. The purpose of deciding whether to filter is to filter only the samples, as described in the Background of the Invention section above, applying the quantized results one by one to cause significant signal changes at the block boundaries. The result of the deblocking filtering is signal smoothing at the block boundary. The smoothing signal is less annoying to the viewer than the block artifact. There are large sample changes at the block boundaries that belong to the original signal to be encoded, which should not be filtered to maintain high frequencies and thus maintain a sharp vision. In the wrong decision In this case, the image is unnecessarily smoothed or maintained in a block shape. The deblocking filtering is performed across the vertical edge of the block (horizontal filtering) and across the horizontal edge of the block (vertical filtering).

圖4A例示說明在垂直邊界上的決定(以使用水平解區塊濾波濾波或不濾波),及圖4B例示說明在水平邊界上的決定(以使用垂直解區塊濾波濾波或不濾波)。更明確言之,圖4A顯示欲解碼的一目前區塊440及其已解碼的鄰近區塊410、420及430。針對一行裡的像素460,進行決定。同理,圖4B顯示相同目前區塊440及對一欄中的像素470進行決定。 Figure 4A illustrates the decision on a vertical boundary (to use horizontal deblocking filtering or no filtering), and Figure 4B illustrates the decision on a horizontal boundary (to use vertical deblocking filtering or no filtering). More specifically, FIG. 4A shows a current block 440 to be decoded and its decoded neighbor blocks 410, 420, and 430. A decision is made for pixel 460 in a row. Similarly, Figure 4B shows the same current block 440 and the decision of pixel 470 in a column.

判定是否施用解區塊濾波可執行如下。設取一行六個像素460,前三個像素p2、p1、p0屬於左鄰近區塊A 430,後三個像素q0、q1、及q2屬於目前區塊B 440,也如圖4之例示說明。 Determining whether to apply the deblocking filter can be performed as follows. A row of six pixels 460 is set. The first three pixels p2, p1, and p0 belong to the left neighboring block A 430, and the last three pixels q0, q1, and q2 belong to the current block B 440, as illustrated in FIG. 4 .

圖14行1410例示說明區塊A與B間之邊界。像素p0及q0為位置彼此直接相鄰的左鄰近區塊A與目前區塊B分別的像素。當滿足下列條件時,像素p0及q0係藉解區塊濾波濾波:|p 0-q 0|<α H264(QP New ),|p 1-p 0|<β H264(QP New ),及|q 1-q 0|<β H264(QP New ),其中通常β H264(QP New )<α H264(QP New )。此等狀況係針對檢測p0及q0間之差是否植基於區塊假影。其係相對應於在區塊A及B各自內部及其間的第一導數之評估。除了前述三個條件 外,若也滿足下述條件,則像素p1係經濾波:|p 2-p 0|<β H264(QP New ).除了前述頭三個條件外,若也滿足下述條件,則像素q1係經濾波:|q 2-q 0|<β H264(QP New ). Line 1410 of Figure 14 illustrates the boundary between blocks A and B. The pixels p0 and q0 are pixels of the left adjacent block A and the current block B which are directly adjacent to each other. The pixels p0 and q0 are subjected to block filtering filtering when the following conditions are satisfied: | p 0 - q 0 | < α H 264 ( QP New ), | p 1 - p 0 | < β H 264 ( QP New ), And | q 1 - q 0 | < β H 264 ( QP New ), where usually β H 264 ( QP New ) < α H 264 ( QP New ). These conditions are for detecting whether the difference between p0 and q0 is based on block artifacts. It corresponds to the evaluation of the first derivative within and between each of blocks A and B. In addition to the above three conditions, if the following conditions are also satisfied, the pixel p1 is filtered: | p 2 - p 0 | < β H 264 ( QP New ). In addition to the first three conditions described above, if the following conditions are also satisfied Condition, pixel q1 is filtered: | q 2 - q 0 | < β H 264 ( QP New ).

此等條件分別地相對應於第一區塊內部的第一推衍及第二區塊內部的第二推衍。如上條件中,QP表示指示施用的量化量之量化參數,及β、α為標度常數。更明確言之,QP New 乃基於量化參數QPA及QPB施用至個別第一及第二區塊A及B推衍的量化參數,如下:QP New =(QP A +QP B +1)>>1,其中「>>1」表示向右移位一個位元。 These conditions respectively correspond to the first derivation inside the first block and the second derivation inside the second block. In the above condition, QP represents a quantization parameter indicating the amount of quantization applied, and β and α are scale constants. More specifically, QP New is based on the quantization parameters QP A and QP B applied to the individual first and second blocks A and B, as follows: QP New = ( QP A + QP B +1) >>1, where ">>1" means shifting one bit to the right.

可只對一區塊的擇定行執行決定,而像素的濾波係對全部行460執行。涉及符合HEVC的決定之行530之實例520係例示說明於圖5。基於行530,決定是否進行濾波整個區塊。 The decision can be performed on only selected rows of a block, and the filtering of the pixels is performed on all rows 460. An example 520 involving a HEVC-compliant decision line 530 is illustrated in FIG. Based on row 530, a decision is made whether to filter the entire block.

於HEVC中解區塊濾波的另一個實例可參考JTC-VC、ITU-T SG16 WP3及ISO/IEC JTC1/SC29/WG11的JCTVC-E603文件章節8.6.1,免費得自http://hpenix.int-evry.fr/jct/index.php/。 Another example of deblocking filtering in HEVC can be found in JTC-VC, ITU-T SG16 WP3, and JCTVC-E603 document section 8.6.1 of ISO/IEC JTC1/SC29/WG11, available free of charge from http://hpenix. Int-evry.fr/jct/index.php/.

兩行1430係用以決定是否及如何施用解區塊濾波。實例1420假設為了水平區塊濾波評估第三(具有指數2)及第六(具有指數5)行。更明確言之,在各區塊內部的第二導數係經評估,導致獲得度量d2及d5如下: d 2=|p22-2.p12+p02|+|q22-2.q12+q02|,d 5=|p25-2.p15+p05|+|q25-2.q15+q05|. Two rows 1430 are used to determine if and how to apply deblocking filtering. Example 1420 assumes that the third (with index 2) and sixth (with index 5) rows are evaluated for horizontal block filtering. More specifically, the second derivative inside each block is evaluated, resulting in the obtained metrics d 2 and d 5 as follows: d 2 =| p 2 2 -2. p 1 2 + p 0 2 |+| q 2 2 -2. q 1 2 + q 0 2 |, d 5 =| p 2 5 -2. p 1 5 + p 0 5 |+| q 2 5 -2. q 1 5 + q 0 5 |.

像素p屬於區塊A及像素q屬於區塊B。p或q後方的第一數字表示欄指數及接著下標數字表示該區塊內部的列數。當滿足如下條件時,許可對實例520例示說明的全部八行解區塊:d=d 2+d 5<β(QP Frame ). The pixel p belongs to the block A and the pixel q belongs to the block B. The first digit after p or q indicates that the column index and then the subscript number indicate the number of columns inside the block. All eight rows of solution blocks illustrated for example 520 are permitted when the following conditions are met: d = d 2 + d 5 < β ( QP Frame ).

若不滿足如上條件,則不施用解區塊。於解區塊被致能之情況下,決定欲用於解區塊的濾波器。此項決定係基於區塊A與B間的第一導數之評估。更明確言之,針對各行i,其中i為0至7之整數,決定是否施用強或弱低通濾波器。若滿足如下條件則選用強濾波。 If the above conditions are not satisfied, the solution block is not applied. In the case where the solution block is enabled, the filter to be used for solving the block is determined. This decision is based on the evaluation of the first derivative between blocks A and B. More specifically, for each row i, where i is an integer from 0 to 7, it is decided whether to apply a strong or weak low pass filter. Strong filtering is used if the following conditions are met.

|p3 i -p0 i |+|q3 i -q0 i |<(β(QP Frame )>>3)^ | p 3 i - p 0 i |+| q 3 i - q 0 i |<( β ( QP Frame )>>3)^

d<(β(QP Frame )>>2)^ d <( β ( QP Frame )>>2)^

|p0 i -q0 i |<((t c (QP Frame ).5+1)>>1). | p 0 i - q 0 i |<(( t c ( QP Frame ).5+1)>>1).

符合HEVC模型,「強濾波」使用p3 i ,p2 i ,p1 i ,p0 i ,q0 i ,q1 i ,q2 i ,q3 i 而濾波樣本p2 i ,p1 i ,p0 i ,q0 i ,q1 i ,q2 i ,而「弱濾波」使用p2 i ,p1 i ,p0 i ,q0 i ,q1 i ,q2 i 而濾波樣本p1 i ,p0 i ,q0 i ,q1 i 。如上情況下,參數β及tc皆為可針對影像截割片等設定的量化參數QP Frame 的函式。β及tc之值典型地係使用詢查表基於QP Frame 而推導。 Conform to the HEVC model, "Strong filtering" using p 3 i, p 2 i, p 1 i, p 0 i, q 0 i, q 1 i, q 2 i, q 3 i and filtered samples p 2 i, p 1 i , p 0 i , q 0 i , q 1 i , q 2 i , and "weak filtering" filters the sample p using p 2 i , p 1 i , p 0 i , q 0 i , q 1 i , q 2 i 1 i , p 0 i , q 0 i , q 1 i . In the above case, the parameters β and t c are all functions of the quantization parameter QP Frame that can be set for the image cut slice or the like. The values of β and t c are typically derived based on the QP Frame using an interrogation table.

注意強濾波只對極其平坦的信號有利。否則,相當弱的低通濾波為有利。 Note that strong filtering is only beneficial for extremely flat signals. Otherwise, a fairly weak low pass filtering is advantageous.

依據習知混成編碼,涉及強低通濾波的像素係例 示說明於圖6A。更明確言之,圖6A顯示用於濾波的樣本。此等樣本相對應於區塊A與B間之邊界左側與右側的個別四個相鄰像素。此等樣本用以濾波,表示其值輸入濾波處理。圖6A進一步顯示藉濾波修飾的樣本。此等為最接近區塊A與B間之邊界在其右及左的三個相鄰個別像素值。此等值係藉濾波器修飾,亦即經平滑化。更明確言之,後文中,列舉具有指數i的已修飾樣本p0’i、p1’i、p2’i、q0’i、q1’i及q2’i之值。 A pixel system involving strong low-pass filtering is illustrated in FIG. 6A in accordance with conventional hybrid coding. More specifically, Figure 6A shows samples for filtering. These samples correspond to the individual four adjacent pixels to the left and right of the boundary between blocks A and B. These samples are used for filtering to represent their value input filtering process. Figure 6A further shows samples modified by filtering. These are the three adjacent individual pixel values that are closest to the boundary between blocks A and B on their right and left. This value is modified by a filter, that is, smoothed. To be more precise, hereinafter, include having the index i, q1 sample values p0 'i, p1' i, p2 'i, q0' i 'i and q2' i of that has been modified.

p0' i =Clip((p2 i +2.p1 i +2.p0 i +2.q0 i +q2 i +4)>>3) p 0 ' i = Clip (( p 2 i +2. p 1 i +2. p 0 i +2. q 0 i + q 2 i +4)>>3)

p1' i =Clip((p2 i +p1 i +p0 i +q0 i +2)>>2) p 1 ' i = Clip (( p 2 i + p 1 i + p 0 i + q 0 i +2)>>2)

p2' i =Clip((2.p3 i +3.p2 i +p1 i +p0 i +q0 i +4)>>3) p 2 ' i = Clip ((2. p 3 i +3. p 2 i + p 1 i + p 0 i + q 0 i +4)>>3)

q0' i =Clip((q2 i +2.q1 i +2.q0 i +2.p0 i +p2 i +4)>>3) q 0 ' i = Clip (( q 2 i +2. q 1 i +2. q 0 i +2. p 0 i + p 2 i +4)>>3)

q1' i =Clip((q2 i +q1 i +q0 i +p0 i +2)>>2) q 1 ' i = Clip (( q 2 i + q 1 i + q 0 i + p 0 i +2)>>2)

q2' i =Clip((2.q3 i +3.q2 i +q1 i +q0 i +p0 i +4)>>3) 函式Clip(x)係定義如下: 藉此,max_allowed_value為x可具有的最大值。於具有k位元樣本的PCM編碼情況下,最大值將為max_allowed_value=2k-1。舉例言之,於具有8位元樣本的PCM編碼情況下,最大值將為max_allowed_value=255。於具有10位元樣本的PCM編碼情況下,最大值將為max_allowed_value=1023。 q 2 ' i = Clip ((2. q 3 i +3. q 2 i + q 1 i + q 0 i + p 0 i +4)>>3) The function Clip ( x ) is defined as follows: Thereby, max_allowed_value is the maximum value that x can have. In the case of PCM coding with k-bit samples, the maximum value will be max_allowed_value = 2 k -1. For example, in the case of PCM encoding with 8-bit samples, the maximum value will be max_allowed_value=255. In the case of PCM encoding with a 10-bit sample, the maximum value will be max_allowed_value=1023.

如此如上方程式描述欲施用的強濾波處理。從上式可知,列i的像素p3i及q3i係用在方程式,亦即用在濾波,但其未經修飾亦即未經濾波。 The strong filtering process to be applied is thus described in the above equation. It can be seen from the above equation that the pixels p3 i and q3 i of the column i are used in the equation, that is, used for filtering, but they are unmodified, that is, unfiltered.

圖16B例示說明弱解區塊濾波之施用。更明確言之,用於濾波的樣本係顯示於左側,而藉濾波修飾的樣本係顯示於右側。用於弱濾波操作,只有在區塊A與B間之邊界上的兩個相鄰像素被濾波,而使用在其邊緣上在區塊A及B各自的三個相鄰像素。為了弱濾波做二決定。第一決定係關對一特定行是否施用一弱濾波。此項決定係基於△值,計算如下△=(9.(q0 i -p0 i )-3.(q1 i -p1 i )+8)>>4基於計算得的△,唯若|△|<10.t c 施用濾波。否則不施用濾波至位在區塊A與B間之邊界上的兩個像素p0’i及q0’iFigure 16B illustrates the application of weakly solved block filtering. More specifically, the sample for filtering is shown on the left and the sample modified by the filter is shown on the right. For weak filtering operations, only two adjacent pixels on the boundary between blocks A and B are filtered, and three adjacent pixels on the edges of blocks A and B are used. Make a second decision for weak filtering. The first decision is whether or not to apply a weak filter to a particular row. This decision is based on the delta value and is calculated as follows △ = (9. ( q 0 i - p 0 i ) - 3. ( q 1 i - p 1 i ) + 8) >> 4 based on the calculated △, if |△|<10. t c applies filtering. Otherwise, the filter is not applied to the bit at the boundary between the two blocks A and B pixels p0 'i and q0' i.

若欲施用濾波,則執行如下: p0' i =Clip(p0 i +△1) If filtering is to be applied, the following is performed: p 0 ' i = Clip ( p 0 i 1 )

q0' i =Clip(q0 i -△1)其中△1=Clip3(-t c ,t c ,△)。 q 0 ' i = Clip ( q 0 i - Δ 1 ) where Δ 1 = Clip 3 (- t c , t c , Δ).

函式Clip(x)係定義如上。函式Clip3(x)係定義如下: The function Clip ( x ) is defined as above. The function Clip 3( x ) is defined as follows:

當決定將施用濾波且像素p0’i及p0’i已經經過濾波時,進一步決定像素p1’i及p1’i是否將被濾波。 When administered decided filter and the pixel p0 'i and p0' i filtering has elapsed, a further decision pixel p1 'i and p1' i whether to be filtered.

唯若d p <(β/6)像素p1’i係經濾波,及相對應地,唯若d p <(β/6)像素q1’i係經濾波。此等像素之濾波進行如下 p1' i =Clip(p1 i +△2p ) Only if d p <( β /6) pixel p1' i is filtered, and correspondingly, only d p <( β /6) pixel q1' i is filtered. The filtering of these pixels is performed as follows p 1 ' i = Clip ( p 1 i + Δ 2 p )

q1' i =Clip(q1 i +△2q ) 具有△2p =Clip3(-t c2,t c2,(((p2 i +p0 i +1)>>1)-p1 i +△1)>>1)及t c2=t c >>1及△2q =Clip3(-t c2,t c2,(((q2 i +q0 i +1)>>1)-q1 i -△1)>>1)。 q 1 ' i = Clip ( q 1 i + Δ 2 q ) has Δ 2 p = Clip 3(- t c 2 , t c 2 ,((( p 2 i + p 0 i +1)>>1)- p 1 i 1 )>>1) and t c 2 = t c >>1 and Δ 2 q = Clip 3(- t c 2 , t c 2 ,((( q 2 i + q 0 i +1) )>>1)- q 1 i 1 )>>1).

除了預測編碼之外,區塊也可不施加任何預測而予編碼。相對應編碼模式係稱作「脈衝碼調變(PCM)模式」。以PCM模式編碼的樣本可含有但非必要含有量化雜訊。依據投件JCTVC-E192「於HEVC之增強式PCM編碼的提示」,採用一個開關在HEVC編碼器及解碼器用以在PCM編碼樣本的濾波之致能與去能間切換。據此,在迴路中的全部濾波器皆被切換為開或切換為關。切換機制為有利,原因在於其允許以不含量化雜訊的情況下關閉濾波。於此種情況下,濾波可使得無雜訊濾波影像的品質劣化。另一方面,若PCM樣本包括量化雜訊則可有利地作動濾波。 In addition to predictive coding, blocks can also be encoded without applying any prediction. The corresponding coding mode is called "Pulse Code Modulation (PCM) Mode". Samples encoded in PCM mode may contain, but do not necessarily contain, quantized noise. According to the submission JCTVC-E192 "Prompt for Enhanced PCM Coding in HEVC", a switch is used in the HEVC encoder and decoder for switching between the enabling and disabling of the filtering of the PCM encoded samples. Accordingly, all of the filters in the loop are switched on or off. The switching mechanism is advantageous because it allows the filtering to be turned off without quantization noise. In this case, filtering can degrade the quality of the noise-free filtered image. On the other hand, if the PCM samples include quantization noise, the filtering can be advantageously performed.

發明概要 Summary of invention

當不含雜訊的PCM編碼區域係相鄰於非PCM編碼反而係藉時間或空間預測而預測的區域時,區塊假影干擾影像的感官品質。另一方面,於此種情況下,濾波可能減低不含雜訊的PCM編碼區域的品質。 Block artifacts interfere with the sensory quality of the image when the PCM-encoding region without noise is adjacent to the area predicted by non-PCM encoding but by temporal or spatial prediction. On the other hand, in this case, filtering may reduce the quality of the PCM coded area without noise.

在既有技術具有此等問題之情況下,優異地提出一種有效解區塊濾波辦法,該辦法也可應用至PCM樣本係由利用預測編碼所編碼的樣本所環繞的情況下。 In the case where the prior art has such problems, an efficient deblocking filtering method is advantageously proposed, which can also be applied to the case where the PCM samples are surrounded by samples encoded by predictive coding.

本發明之特定辦法係許可解區塊濾波及針對 PCM編碼區塊的另一種濾波之分開的且可能個別的致能/去能。 The specific method of the present invention is to permit solution block filtering and Another filtering of the PCM coding block is separate and possibly individual enabling/disabling.

依據本發明之一面向,提出一種用以使用脈衝碼調變(PCM)編碼於一視訊信號之影像中的一樣本區塊成為一位元串流之方法,該方法係包含:判定一解區塊濾波是否將施用至該樣本區塊;判定與該解區塊濾波不同的一第二濾波是否將施用至該樣本區塊;於該位元串流內含括一解區塊濾波指標,指示判定是否將施用一解區塊濾波的結果;及於該位元串流內含括與該解區塊濾波指標不同的一第二濾波指示,指示判定是否將施用一第二濾波的結果。 According to one aspect of the present invention, a method for using a pulse code modulation (PCM) coded into an image of a video signal to become a one-bit stream is proposed, the method comprising: determining a solution region Whether block filtering is to be applied to the sample block; determining whether a second filter different from the deblocking filter is to be applied to the sample block; including a deblocking filter indicator in the bit stream, indicating Determining whether a result of a deblocking filter is to be applied; and including, in the bitstream, a second filtering indication different from the deblocking filtering indicator, indicating whether a second filtering result is to be applied.

依據本發明之另一面向,提出一種從一位元串流解碼一視訊信號之影像的一樣本區塊之方法,該樣本區塊係以一脈衝碼調變(PCM)編碼,該方法係包含:從該位元串流提取一解區塊濾波指標,指示一解區塊濾波是否將施用至該樣本區塊;從該位元串流提取與該解區塊濾波指標分開的一第二濾波指標,指示一第二濾波是否將施用至該樣本區塊;依據所提取的解區塊濾波指標,施用或不施用解區塊濾波至該樣本區塊;及依據所提取的第二濾波指標,施用或不施用第二濾波至該樣本區塊。 According to another aspect of the present invention, a method for decoding an identical block of a video signal from a bit stream is provided, the sample block being encoded by a pulse code modulation (PCM), the method comprising Extracting a deblocking block filter indicator from the bit stream, indicating whether a deblocking block filter is to be applied to the sample block; extracting a second filter separate from the deblocking block filter indicator from the bit stream An indicator indicating whether a second filtering is to be applied to the sample block; applying or not applying deblocking filtering to the sample block according to the extracted deblocking filtering indicator; and according to the extracted second filtering indicator, A second filter is applied or not applied to the sample block.

依據本發明之又另一面向,提出一種用以使用脈衝碼調變(PCM)編碼於一視訊信號之影像中的一樣本區塊成為一位元串流之裝置,該裝置係包含:一解區塊判定單元用以判定一解區塊濾波是否將施用至該樣本區塊;一第二判定單元用以判定與該解區塊濾波不同的一第二濾波是 否將施用至該樣本區塊;及一嵌入單元用以於該位元串流內含括一解區塊濾波指標,指示判定是否將施用一解區塊濾波的結果;及於該位元串流內含括與該解區塊濾波指標不同的一第二濾波指示,指示判定是否將施用一第二濾波的結果。 According to still another aspect of the present invention, a device for using a pulse code modulation (PCM) encoded in an image of a video signal to become a one-bit stream is provided, the device comprising: a solution The block determining unit is configured to determine whether a deblocking filter is to be applied to the sample block; a second determining unit is configured to determine that a second filtering different from the deblocking filtering is Whether to be applied to the sample block; and an embedding unit for including a deblocking filter indicator in the bit stream, indicating whether a result of determining a deblocking filter is to be applied; and the bit string The stream includes a second filtering indication that is different from the deblocking filter indicator, indicating a result of determining whether a second filtering is to be applied.

依據本發明之又另一面向,提出一種從一位元串流解碼一視訊信號之影像的一樣本區塊之裝置,該樣本區塊係以一脈衝碼調變(PCM)編碼,該裝置係包含:一提取單元用以從該位元串流提取一解區塊濾波指標,指示一解區塊濾波是否將施用至該樣本區塊;及用以從該位元串流提取與該解區塊濾波指標分開的一第二濾波指標,指示一第二濾波是否將施用至該樣本區塊;一解區塊濾波單元,其係經組配來依據所提取的解區塊濾波指標,施用或不施用解區塊濾波至該樣本區塊;及一第二濾波單元,其係經組配來依據所提取的第二濾波指標,施用或不施用第二濾波至該樣本區塊。 According to still another aspect of the present invention, a device for decoding an identical block of a video signal from a bit stream is provided, the sample block being encoded by a pulse code modulation (PCM). The method includes: an extracting unit configured to extract a deblocking filter indicator from the bit stream, indicating whether a deblocking filter is to be applied to the sample block; and extracting from the bit stream and the solution area a second filtering indicator separated by the block filtering indicator, indicating whether a second filtering is to be applied to the sample block; a deblocking filtering unit configured to apply or according to the extracted deblocking filtering indicator, No deblocking filtering is applied to the sample block; and a second filtering unit is configured to apply or not apply the second filtering to the sample block according to the extracted second filtering indicator.

100‧‧‧視訊編碼器 100‧‧‧Video Encoder

105‧‧‧減法器 105‧‧‧Subtractor

110‧‧‧變換 110‧‧‧Transformation

120‧‧‧量化 120‧‧‧Quantification

130、230‧‧‧反變換 130, 230‧‧‧ inverse transformation

140、240‧‧‧加法器 140, 240‧‧ ‧ adder

150、250‧‧‧解區塊濾波 150, 250‧‧ ‧ solution block filtering

155、255‧‧‧樣本適應性偏移 155, 255‧‧‧ sample adaptive offset

160、260‧‧‧適應性迴路濾波 160, 260‧‧‧ Adaptive loop filtering

170‧‧‧參考圖框緩衝器 170‧‧‧Reference frame buffer

180、280‧‧‧預測 180, 280‧‧ forecast

190‧‧‧熵編碼器 190‧‧ Entropy encoder

200‧‧‧解碼器 200‧‧‧Decoder

290‧‧‧熵解碼器 290‧‧‧ Entropy decoder

410、420、430‧‧‧已解碼鄰近區塊 410, 420, 430‧‧‧ Decoded adjacent blocks

440、1010‧‧‧目前區塊 440, 1010‧‧‧ current block

460、470、p0-2、q0-2‧‧‧像素 460, 470, p0-2, q0-2‧‧ ‧ pixels

500、600、700、900‧‧‧視訊編碼器 500, 600, 700, 900‧‧ ‧ video encoder

510、560、610、710、760‧‧‧位元深度擴延單元、位元深度增加單元 510, 560, 610, 710, 760‧‧‧ bit deep extension unit, bit depth increase unit

530、630、730、930‧‧‧緩衝器 530, 630, 730, 930 ‧ ‧ buffer

550、750‧‧‧位元深度縮減單元 550, 750 ‧ ‧ bit depth reduction unit

570、670、770、970、981-983‧‧‧開關 570, 670, 770, 970, 981-983‧‧ ‧ switch

595、695、795、995‧‧‧多工器 595, 695, 795, 995‧‧‧ multiplexers

740‧‧‧解區塊濾波單元 740‧‧‧Solution block filter unit

745‧‧‧適應性迴路濾波(ALF)、第二濾波單元 745‧‧‧Adaptive loop filtering (ALF), second filtering unit

801、802、1010、1020‧‧‧區塊 801, 802, 1010, 1020‧‧‧ blocks

1210-1290、1310-1360、1610-1680‧‧‧步驟 1210-1290, 1310-1360, 1610-1680‧‧ steps

ex100‧‧‧內容提供系統 Ex100‧‧‧content providing system

ex101‧‧‧網際網路 Ex101‧‧‧Internet

ex102‧‧‧網際網路服務提供者 Ex102‧‧‧Internet Service Provider

ex103‧‧‧串流化伺服器 Ex103‧‧‧Streaming server

ex104‧‧‧電話網路 Ex104‧‧‧Phone network

ex106-110‧‧‧站台 Ex106-110‧‧‧ Platform

ex111‧‧‧電腦 Ex111‧‧‧ computer

ex112‧‧‧個人數位助理器(PDA) Ex112‧‧‧ Personal Digital Assistant (PDA)

ex113、ex116‧‧‧相機 Ex113, ex116‧‧‧ camera

ex114‧‧‧小區式電話 Ex114‧‧‧Cell phone

ex115‧‧‧遊戲機 Ex115‧‧‧game machine

ex117‧‧‧麥克風 Ex117‧‧‧ microphone

ex200‧‧‧數位廣播系統 Ex200‧‧‧Digital Broadcasting System

ex201‧‧‧廣播站 Ex201‧‧‧Broadcasting station

ex202‧‧‧衛星 Ex202‧‧‧ satellite

ex203‧‧‧纜線 Ex203‧‧‧ cable

ex204-5、ex350‧‧‧天線 Ex204-5, ex350‧‧‧ antenna

ex210‧‧‧汽車 Ex210‧‧‧car

ex211‧‧‧汽車導航系統 Ex211‧‧‧Car navigation system

ex215-6‧‧‧記錄媒體 Ex215-6‧‧‧record media

ex217‧‧‧機上盒 Ex217‧‧‧Set-top box

ex218‧‧‧讀取器/記錄器 Ex218‧‧‧Reader/recorder

ex219‧‧‧監視器 Ex219‧‧‧ monitor

ex220‧‧‧遙控器 Ex220‧‧‧Remote control

ex230‧‧‧資訊軌 Ex230‧‧‧Information track

ex231‧‧‧記錄區塊 Ex231‧‧‧record block

ex232‧‧‧內圓周區 Ex232‧‧‧ inner circumference area

ex233‧‧‧資料記錄區 Ex233‧‧‧data record area

ex234‧‧‧外圓周區 Ex234‧‧‧ outer circumferential area

ex235‧‧‧視訊串流 Ex235‧‧‧ video streaming

ex236、ex239、ex242、ex245‧‧‧PES封包 Ex236, ex239, ex242, ex245‧‧‧PES packets

ex237、ex240、ex243、ex246‧‧‧TS封包 Ex237, ex240, ex243, ex246‧‧‧TS packets

ex238‧‧‧音訊串流 Ex238‧‧‧ audio streaming

ex241‧‧‧表示型態圖形串流 Ex241‧‧‧ indicates type graphic streaming

ex244‧‧‧互動圖形串流 Ex244‧‧‧ interactive graphics streaming

ex247‧‧‧多工化資料 Ex247‧‧‧Multi-work data

ex300‧‧‧電視機 Ex300‧‧‧TV

ex301‧‧‧調諧器 Ex301‧‧‧Tuner

ex302、ex352‧‧‧調變/解調單元 Ex302, ex352‧‧‧ modulation/demodulation unit

ex303、ex353‧‧‧多工化/解多工化單元 Ex303, ex353‧‧‧Multiplex/Demultiplexing unit

ex304、ex354‧‧‧音訊信號處理單元 Ex304, ex354‧‧‧ audio signal processing unit

ex305、ex355‧‧‧視訊信號處理單元 Ex305, ex355‧‧‧ video signal processing unit

ex306‧‧‧信號處理單元 Ex306‧‧‧Signal Processing Unit

ex307‧‧‧揚聲器 Ex307‧‧‧Speaker

ex308、ex358‧‧‧顯示單元 Ex308, ex358‧‧‧ display unit

ex309‧‧‧輸出單元 Ex309‧‧‧output unit

ex310‧‧‧控制單元 Ex310‧‧‧Control unit

ex311‧‧‧電源供應電路單元 Ex311‧‧‧Power supply circuit unit

ex312‧‧‧操作輸入單元 Ex312‧‧‧Operation input unit

ex313‧‧‧橋接器 Ex313‧‧‧bridge

ex314、ex364‧‧‧插槽單元 Ex314, ex364‧‧‧ slot unit

ex315‧‧‧驅動器 Ex315‧‧‧ drive

ex316‧‧‧數據機 Ex316‧‧‧data machine

ex317‧‧‧介面單元 Ex317‧‧‧Interface unit

ex318-321、ex404、ex508‧‧‧緩衝器 Ex318-321, ex404, ex508‧‧‧ buffer

ex351‧‧‧發送與接收單元 Ex351‧‧‧Send and receive unit

ex356‧‧‧音訊輸入單元 Ex356‧‧‧ audio input unit

ex357‧‧‧音訊輸出單元 Ex357‧‧‧ audio output unit

ex359‧‧‧LCD控制單元 Ex359‧‧‧LCD control unit

ex360‧‧‧主控制單元 Ex360‧‧‧Main control unit

ex361、ex505‧‧‧電源供應電路單元 Ex361, ex505‧‧‧Power supply circuit unit

ex362‧‧‧操作輸入控制單元 Ex362‧‧‧Operation Input Control Unit

ex363‧‧‧相機介面單元 Ex363‧‧‧ camera interface unit

ex365‧‧‧相機單元 Ex365‧‧‧ camera unit

ex366‧‧‧操作鍵單元 Ex366‧‧‧Operation key unit

ex367‧‧‧記憶體單元 Ex367‧‧‧ memory unit

ex370‧‧‧同步匯流排 Ex370‧‧‧Synchronous bus

ex400‧‧‧資訊再生/記錄單元 Ex400‧‧‧Information Reproduction/Recording Unit

ex401‧‧‧光學頭 Ex401‧‧‧ optical head

ex402‧‧‧調變記錄單元 Ex402‧‧‧ modulated recording unit

ex403‧‧‧再生解調單元 Ex403‧‧‧Regeneration demodulation unit

ex405‧‧‧碟片馬達 Ex405‧‧‧ disc motor

ex406‧‧‧伺服控制單元 Ex406‧‧‧Servo Control Unit

ex407‧‧‧系統控制單元 Ex407‧‧‧System Control Unit

ex500‧‧‧大型積體電路(LSI) Ex500‧‧‧large integrated circuit (LSI)

ex501‧‧‧控制單元 Ex501‧‧‧Control unit

ex502‧‧‧中央處理單元(CPU) Ex502‧‧‧Central Processing Unit (CPU)

ex503‧‧‧記憶體控制器 Ex503‧‧‧ memory controller

ex504‧‧‧串流控制器 Ex504‧‧‧Streaming controller

ex506‧‧‧串流IO Ex506‧‧‧Streaming IO

ex507‧‧‧信號處理單元 Ex507‧‧‧Signal Processing Unit

ex509‧‧‧AV IO Ex509‧‧‧AV IO

ex510‧‧‧匯流排 Ex510‧‧‧ busbar

ex511‧‧‧記憶體 Ex511‧‧‧ memory

ex512‧‧‧驅動頻率控制單元 Ex512‧‧‧Drive frequency control unit

ex800、ex900‧‧‧組態 Ex800, ex900‧‧‧ configuration

ex801-2‧‧‧解碼處理單元 Ex801-2‧‧‧Decoding processing unit

ex803‧‧‧驅動頻率切換單元 Ex803‧‧‧Drive frequency switching unit

ex901-2、ex1001-2‧‧‧專用解碼處理單元 Ex901-2, ex1001-2‧‧‧ Dedicated decoding processing unit

ex1000‧‧‧處理部分共享實例 Ex1000‧‧‧Processing part sharing examples

ex1003‧‧‧解碼處理單元 Ex1003‧‧‧Decoding processing unit

yy1-4‧‧‧箭頭 Yy1-4‧‧‧ arrow

附圖係併入本說明書且形成其中一部分以例示說明本發明之若干實施例。此等圖式連同詳細說明部分用以解釋本發明之原理。附圖係僅用於舉例說明如何做成且使用本發明之較佳實施例及替代實施例之目的,而非解譯為限制本發明於只有例示說明及描述的實施例。進一步特徵及優點從後文如於附圖中例示說明,本發明之各個實施例之更特定詳細說明部分將更為彰顯,附圖中類似的元件 符號係指相似的元件及附圖中:圖1為方塊圖例示說明視訊編碼器之一實例。 The accompanying drawings are incorporated in and constitute a The drawings, together with the detailed description, are used to explain the principles of the invention. The drawings are only for the purpose of illustrating the preferred embodiments of the invention and the embodiments of the invention, and are not intended to limit the invention. Further features and advantages will be more apparent from the following detailed description of the various embodiments of the invention. Symbols refer to like elements and figures: Figure 1 is a block diagram illustrating an example of a video encoder.

圖2為方塊圖例示說明視訊解碼器之一實例。 2 is a block diagram illustrating an example of a video decoder.

圖3為方塊圖例示說明具有分開的垂直及水平濾波之視訊編碼器之一實例。 3 is a block diagram illustrating an example of a video encoder with separate vertical and horizontal filtering.

圖4A為示意圖例示說明水平解區塊濾波之施用。 4A is a schematic illustration of the application of horizontal deblocking filtering.

圖4B為示意圖例示說明垂直解區塊濾波之施用。 Figure 4B is a schematic illustration of the application of vertical deblocking filtering.

圖5為方塊圖例示說明一編碼器包括有位元深度減低的PCM編碼模式;圖6為方塊圖例示說明一編碼器包括無位元深度減低的PCM編碼模式;圖7為方塊圖例示說明一編碼器包括有一開關以切換濾波的PCM編碼模式;圖8為示意圖例示說明致能/去能PCM編碼區塊及非PCM編碼區塊的濾波之一實例;圖9為方塊圖例示說明依據本發明之一實施例具有不同濾波器的個別切換開/關之一編碼器;圖10A為示意圖例示說明可藉解區塊濾波修飾的區域;圖10B為示意圖例示說明可藉及不可藉解區塊濾波修飾的區域之切換開/關樣本適應性偏移應用;圖10C為示意圖例示說明可藉及不可藉解區塊濾波修飾的區域之切換開/關適應性迴路濾波(ALF)應用;圖11為示意圖例示說明PCM編碼及非PCM編碼相鄰區塊及其特徵性量化參數之一實例; 圖12為流程圖例示說明依據本發明之一實施例,一種使用解區塊濾波編碼方法之一實例;圖13為流程圖例示說明依據本發明之一實施例,一種使用解區塊濾波解碼方法之一實例;圖14為示意圖例示說明依據先前技術的解區塊濾波;圖15A為示意圖例示說明由解區塊濾波所使用的樣本及藉解區塊濾波修飾的樣本;圖15B為示意圖例示說明由解區塊濾波所使用的樣本及藉解區塊濾波修飾的樣本;圖16A為流程圖例示說明PCM編碼樣本之解碼及濾波用之一種解碼方法之實例;圖16B為流程圖例示說明一區塊樣本的PCM編碼及濾波用之一種編碼方法之實例;圖17顯示用以體現內容分布服務的一種內容提供系統之總組態。 5 is a block diagram illustrating an encoder including a PCM encoding mode with bit depth reduction; FIG. 6 is a block diagram illustrating an encoder including a PCM encoding mode with no bit depth reduction; FIG. 7 is a block diagram illustrating one The encoder includes a switch to switch the filtered PCM coding mode; FIG. 8 is a schematic diagram illustrating an example of filtering of the enable/disable PCM coding block and the non-PCM coding block; FIG. 9 is a block diagram illustrating the present invention. One embodiment has an individual switching on/off one encoder of different filters; FIG. 10A is a schematic diagram illustrating a region that can be modified by deblocking block filtering; FIG. 10B is a schematic illustration illustrating that filtering can be performed by non-depletable block filtering Switched on/off sample adaptive offset application for modified regions; FIG. 10C is a schematic illustration of switched on/off adaptive loop filtering (ALF) applications for regions that can be modified by non-depletable block filtering; FIG. The schematic diagram illustrates an example of PCM encoded and non-PCM encoded adjacent blocks and their characteristic quantization parameters; 12 is a flow chart illustrating an example of using a deblocking filter encoding method according to an embodiment of the present invention; FIG. 13 is a flowchart illustrating an example of using a deblocking filter decoding method according to an embodiment of the present invention. 1 is an example; FIG. 14 is a schematic diagram illustrating deblocking filtering according to the prior art; FIG. 15A is a schematic diagram illustrating samples used by deblocking filtering and a sample of borrowed block filtering modification; FIG. 15B is a schematic illustration Samples used by deblocking filtering and samples modified by decomposed block filtering; FIG. 16A is an example of a decoding method for decoding and filtering of PCM encoded samples; FIG. 16B is a flowchart illustrating an area An example of an encoding method for PCM encoding and filtering of block samples; Figure 17 shows a general configuration of a content providing system for embodying content distribution services.

圖18顯示一種數位廣播系統的總組態。 Figure 18 shows the overall configuration of a digital broadcast system.

圖19顯示一方塊圖例示說明電視之一組態實例。 Fig. 19 shows a block diagram illustrating an example of configuration of a television.

圖20顯示一方塊圖例示說明讀及寫資訊自及至一記錄媒體其為一光碟上的一種資訊再生/記錄單元之一組態實例。 Figure 20 is a block diagram showing an example of configuration of an information reproducing/recording unit for reading and writing information from and to a recording medium which is a compact disc.

圖21顯示一記錄媒體其為一光碟之一組態實例。 Figure 21 shows an example of a recording medium which is a configuration of one of the optical discs.

圖22A顯示小區式電話之一實例。 Figure 22A shows an example of a cell phone.

圖22B為方塊圖顯示小區式電話的組態之一實例。 Fig. 22B is a block diagram showing an example of the configuration of a cell phone.

圖23例示說明多工化資料之一結構。 Figure 23 illustrates one of the structures of the multiplexed data.

圖24示意顯示在多工化資料中各串流如何多工化。 Figure 24 is a schematic illustration of how the various streams are multiplexed in the multiplexed data.

圖25以進一步細節顯示一視訊串流儲存在一PES封包之串流。 Figure 25 shows in further detail a stream of video streams stored in a stream of PES packets.

圖26顯示在該多工化資料中TS封包及來源封包之一結構。 Figure 26 shows the structure of one of the TS packet and the source packet in the multiplexed data.

圖27顯示PMT之一資料結構。 Figure 27 shows the data structure of one of the PMTs.

圖28顯示多工化資料資訊之一內部結構。 Figure 28 shows the internal structure of one of the multiplexed data information.

圖29顯示串流屬性資訊之一內部結構。 Figure 29 shows the internal structure of one of the stream attribute information.

圖30顯示識別視訊資料之步驟。 Figure 30 shows the steps of identifying video material.

圖31顯示依據各個實施例用以體現移動圖像編碼方法及移動圖像解碼方法之積體電路的一組態實例。 FIG. 31 shows a configuration example of an integrated circuit for embodying a moving image encoding method and a moving image decoding method according to various embodiments.

圖32顯示用於驅動頻率間切換之一組態。 Figure 32 shows one configuration for driving inter-frequency switching.

圖33顯示用以識別視訊資訊及驅動頻率間切換之步驟。 Figure 33 shows the steps for identifying video information and switching between drive frequencies.

圖34顯示其中視訊資料標準係與驅動頻率相聯結的一詢查表之一實例。 Figure 34 shows an example of an interrogation table in which the video data standard is coupled to the drive frequency.

圖35A為略圖顯示用以共享一信號處理單元之一模組的一組態實例。 Figure 35A is a schematic diagram showing a configuration example for sharing a module of a signal processing unit.

圖35B為略圖顯示用以共享一信號處理單元之一模組的另一組態實例。 Figure 35B is a schematic diagram showing another configuration example for sharing a module of a signal processing unit.

較佳實施例之詳細說明 Detailed description of the preferred embodiment

本發明係基於下述觀察,於某些情況下,一次開啟或關閉全部濾波器可能使得主觀影像品質劣化。更明確 言之,解區塊濾波的施用可能有利的情況係與其中施用適應性迴路濾波及/或樣本適應性偏移可能為優異的情況不同。 The present invention is based on the observation that in some cases, turning on or off all filters at once may degrade subjective image quality. More specific In other words, the application of deblocking filtering may be advantageous in situations where the application of adaptive loop filtering and/or sample adaptive shifting may be superior.

尤其,當PCM編碼區塊係相鄰於以另一種方法編碼的區塊時,解區塊濾波可能有利。於此種情況下,解區塊濾波平滑化在兩個區塊的邊界區域的信號,如此改良主觀品質,即便有若干雜訊被導入PCM編碼區塊內時亦復如此。但在區塊未被施用解區塊濾波,反而被施用適應性迴路濾波及/或樣本適應性偏移的區域中,PCM編碼區塊的品質可能降低。適應性迴路濾波及樣本適應性偏移可導入額外雜訊及/或假影。 In particular, deblocking filtering may be advantageous when the PCM coding block is adjacent to a block coded by another method. In this case, the deblocking filter smoothes the signal in the boundary region of the two blocks, thus improving the subjective quality, even when a number of noises are introduced into the PCM coded block. However, the quality of the PCM coding block may be degraded in regions where the block is not subjected to deblock filtering and instead is applied adaptive loop filtering and/or sample adaptive offset. Adaptive loop filtering and sample adaptive offset can introduce additional noise and/or artifacts.

依據本發明,解區塊濾波的施用至PCM編碼樣本係與其它濾波施用的控制個別地且分開地控制。因此,本發明使得非期望的量化雜訊進一步減少,且可導致影像品質的進一步改良。 In accordance with the present invention, the application of the deblocking filtering to the PCM encoded samples is controlled individually and separately from the control of other filtering applications. Thus, the present invention further reduces undesired quantization noise and can result in further improvements in image quality.

圖5例示說明之編碼器500基本上係相對應於圖1及3。此外,PCM編碼模式的導入例如係顯示於投件JCTVC-D0044「HEVC之脈衝碼調變模式」。更明確言之,位元深度延伸510可施用至原始視訊信號以編碼操作具有更高精度。若該視訊信號係將藉PCM編碼模式編碼,則位元深度再度縮減550,而信號係直接輸出至多工器595用以含括於位元串流。開關570係在從PCM編碼模式輸入或預測與變換編碼間切換。因此,PCM編碼樣本通過解區塊濾波器(圖5的「解區塊」)及其它迴路濾波器(圖5的「ALF」)將 緩衝530供進一步用作為參考樣本。 The encoder 500 illustrated in Figure 5 is substantially corresponding to Figures 1 and 3. Further, the introduction of the PCM coding mode is shown, for example, in the projection JCTVC-D0044 "Hypo code modulation mode of HEVC". More specifically, the bit depth extension 510 can be applied to the original video signal with a higher precision for the encoding operation. If the video signal is to be encoded by the PCM encoding mode, the bit depth is again reduced by 550, and the signal is directly output to the multiplexer 595 for inclusion in the bit stream. Switch 570 is switched between PCM coding mode input or prediction and transform coding. Therefore, the PCM coded samples will pass through the deblocking filter ("deblock" in Figure 5) and other loop filters ("ALF" in Figure 5). Buffer 530 is for further use as a reference sample.

圖6例示說明依據JCTVC-E057「HEVC之脈衝碼調變模式」的PCM編碼模式之另一個體現。更明確言之,在位元深度增加610之後,PCM樣本係直接提供給多工器695用以含括於編碼位元串流。開關670係在PCM編碼模式樣本或預測/變換編碼模式樣本間切換。PCM編碼樣本或預測/變換編碼樣本進行解區塊濾波及適應性迴路濾波,也可進行樣本適應性偏移濾波。然後可能經濾波樣本係儲存於緩衝器630供進一步用作為參考樣本。 Fig. 6 exemplifies another embodiment of the PCM encoding mode in accordance with JCTVC-E057 "Pulse code modulation mode of HEVC". More specifically, after the bit depth is increased 610, the PCM samples are provided directly to multiplexer 695 for inclusion in the encoded bit stream. Switch 670 switches between PCM coding mode samples or predictive/transform coding mode samples. The PCM coded samples or the predictive/transformed coded samples are subjected to deblocking filtering and adaptive loop filtering, and sample adaptive offset filtering is also possible. The filtered sample may then be stored in buffer 630 for further use as a reference sample.

於PCM樣本不含任何量化誤差之情況下,施用濾波諸如解區塊濾波、適應性迴路濾波或樣本適應性偏移,可能造成將額外雜訊導入影像信號。因此,JCTVC-E192投件提示切換開關濾波。 Applying filtering, such as deblocking filtering, adaptive loop filtering, or sample adaptive offset, may result in additional noise being introduced into the image signal if the PCM sample does not contain any quantization errors. Therefore, the JCTVC-E192 projecting prompt switches the switch filter.

圖7例示說明遵照HEVC之編碼器支援PCM編碼模式與切換濾波的開關之一種可能體現。更明確言之,原始視訊信號係輸入單元710以增加位元深度。若編碼模式為PCM編碼模式,則於位元深度減少單元750中,PCM樣本係減低至一預定位元深度。同時,該預定位元深度係在位元串流內發訊。參數PCM_sample_bit_depth_xxx_minus8,其中「xxx」可指示亮度或彩度樣本(「luma」、「chroma」),控制所得PCM樣本的位元深度,然後提供給多工器795以含括(嵌入)於位元串流。為了用於緩衝樣本作為參考樣本供由預測編碼進一步使用,PCM編碼樣本的位元深度增加760。透過開關770,PCM樣本然後輸入解區塊濾波單元740及第 二濾波單元745(本例為適應性迴路濾波單元),及最終儲存於緩衝器730。依據投件JCTVC-E192,設置切換開或切換關迴路濾波諸如解區塊濾波740及它型迴路濾波745的開關。開關值(開/關)然後含括於位元串流,及發訊給解碼器以許可解碼器與編碼器間的相似操作。切換(藉指示符控制,可為旗標)係例示說明於圖7。更明確言之,參數PCM_sample_loop_filter_disable_flag係在SPS NAL單元內部發訊以致能或去能適應性迴路濾波745及解區塊濾波740二者。 Figure 7 illustrates one possible embodiment of a switch that supports an PCM encoding mode and switching filtering in accordance with an HEVC encoder. More specifically, the original video signal is input unit 710 to increase the bit depth. If the encoding mode is the PCM encoding mode, then in the bit depth reducing unit 750, the PCM samples are reduced to a predetermined bit depth. At the same time, the predetermined bit depth is transmitted within the bit stream. The parameter PCM_sample_bit_depth_xxx_minus8, where "xxx" can indicate a luminance or chroma sample ("luma", "chroma"), controls the bit depth of the resulting PCM sample, and then provides it to the multiplexer 795 to include (embed) in the bit string flow. In order to use the buffer samples as reference samples for further use by predictive coding, the bit depth of the PCM coded samples is increased by 760. Through the switch 770, the PCM samples are then input to the deblocking filtering unit 740 and the The second filtering unit 745 (in this case, the adaptive loop filtering unit) is finally stored in the buffer 730. According to the injection JCTVC-E192, a switch for switching on or switching off loop filtering such as deblocking filter 740 and its type loop filter 745 is set. The switch value (on/off) is then included in the bit stream and sent to the decoder to permit similar operations between the decoder and the encoder. The switching (by indicator control, which can be a flag) is illustrated in Figure 7. More specifically, the parameter PCM_sample_loop_filter_disable_flag is signaled within the SPS NAL unit to enable or disable both adaptive loop filtering 745 and deblocking filtering 740.

迴路內濾波亦即解區塊濾波及適應性迴路濾波的目的係校正與一有損壓縮相聯結的失真。但當原始未經壓縮的樣本係使用PCM編碼模式編碼時,樣本係無失真。因此,迴路內濾波須在構思上被去能,如圖7所示。另一方面,某些編碼器體現可編碼非原始(重建)樣本作為PCM樣本。於此種情況下,此等PCM樣本可確實包括量化雜訊。結果,執行迴路內濾波可能有用,原因在於可改良所得影像品質。因此,JCTVC-E192許可切換開關迴路內濾波。但此種開關可能不足以避免藉施用或不施用濾波造成的品質降低。 The purpose of intra-loop filtering, ie, deblocking filtering and adaptive loop filtering, is to correct for distortion associated with lossy compression. However, when the original uncompressed samples are encoded using the PCM coding mode, the samples are undistorted. Therefore, the in-loop filtering must be conceptually disabled, as shown in Figure 7. On the other hand, some encoders embody non-original (reconstructed) samples that can be encoded as PCM samples. In such cases, these PCM samples may indeed include quantization noise. As a result, performing in-loop filtering may be useful because the resulting image quality can be improved. Therefore, the JCTVC-E192 permits switching in the switching loop. However, such a switch may not be sufficient to avoid degradation in quality caused by application or no application of filtering.

圖8例示說明801及802二區塊,其中區塊801係藉PCM編碼模式編碼,且含括原始視訊樣本,標示為I_PCM。區塊802包括使用內預測或間預測編碼的預測樣本,標示為non-I_PCM樣本。樣本p2、p1、p0、q0、q1及q2乃圖8中藉8x6網格指示的行中之一者的區塊801與區塊802間之邊界的邊 界像素。當提案JCTVC-E192應用於此種情況時,區塊801的適應性迴路濾波及解區塊濾波皆為去能。如此表示像素p0、p1及p2不被濾波。相反地,針對區塊802,適應性迴路濾波及解區塊濾波可皆被致能。於此種情況下,在解碼後區塊邊界可能變成可見且含區塊假影,原因在於在區塊801部分未被平滑化。如上實例中注意描述解區塊濾波及適應性迴路濾波。但相同狀況也適用於樣本適應性偏移,其可在適應性迴路濾波之前或之後進行,或甚至無適應性迴路濾波而進行。 Figure 8 illustrates two blocks 801 and 802, where block 801 is encoded by the PCM coding mode and includes the original video samples, labeled I_PCM. Block 802 includes prediction samples that are encoded using intra prediction or inter prediction, labeled as non-I_PCM samples. The samples p 2 , p 1 , p 0 , q 0 , q 1 , and q 2 are boundary pixels of the boundary between the block 801 and the block 802 of one of the rows indicated by the 8x6 grid in FIG. When the proposal JCTVC-E192 is applied to this case, the adaptive loop filtering and the deblocking filtering of the block 801 are all de-energized. This means that the pixels p 0 , p 1 and p 2 are not filtered. Conversely, for block 802, both adaptive loop filtering and deblocking filtering can be enabled. In this case, the block boundary may become visible and contain block artifacts after decoding because the block 801 portion is not smoothed. Note that deblocking filtering and adaptive loop filtering are described in the above example. However, the same applies to the sample adaptive offset, which can be done before or after the adaptive loop filtering, or even without adaptive loop filtering.

為了克服品質減低的問題,本發明與致能或去能其它濾波諸如適應性迴路濾波或樣本適應性偏移個別地且分開地發訊而致能或去能解區塊濾波。 In order to overcome the problem of reduced quality, the present invention enables or deblocks the block filtering by enabling and/or enabling other filters such as adaptive loop filtering or sample adaptive offset to be individually and separately signaled.

依據本發明之一優異實施例,各個雜訊減低濾波器的施用係針對PCM編碼區塊個別地控制。此點可藉針對各個個別雜訊減低濾波器編碼與發送的一個旗標體現,該旗標指示對PCM編碼區塊施用該濾波器。於三個濾波器之情況下,如圖1及3顯示的解區塊濾波、SAO、及適應性迴路濾波,可使用三個個別旗標。 In accordance with an advantageous embodiment of the present invention, the application of each of the noise reduction filters is individually controlled for the PCM coded blocks. This can be embodied by a flag for each individual noise reduction filter encoding and transmission that indicates the application of the filter to the PCM coded block. In the case of three filters, as shown in Figures 1 and 3 for deblocking filtering, SAO, and adaptive loop filtering, three individual flags can be used.

但本發明並非囿限於此,一個旗標可用以控制解區塊濾波,另一個旗標可用以共通地控制其餘濾波,諸如適應性迴路濾波及樣本適應性偏移。 However, the present invention is not limited thereto, one flag may be used to control deblocking filtering, and the other flag may be used to commonly control remaining filtering, such as adaptive loop filtering and sample adaptive offset.

圖9例示說明視訊編碼器900之一實例,包括個別開關981、982、及983用以開或關個別適應性迴路濾波、樣本適應性偏移、及解區塊濾波。開關位置可編碼為個別旗 標,在位元串流內傳輸以使得控制解碼器來以編碼器的相同方式執行濾波。 9 illustrates an example of a video encoder 900 that includes individual switches 981, 982, and 983 for turning individual adaptive loop filtering, sample adaptive offset, and deblocking filtering on or off. Switch position can be encoded as an individual flag The label is transmitted within the bit stream such that the decoder is controlled to perform filtering in the same manner as the encoder.

更佳地係針對可藉解區塊濾波修飾的樣本及不可藉解區塊濾波修飾的樣本而分開地控制個別PCM編碼區塊濾波器的施用。此種控制可藉提供經編碼且在位元串流內部連同編碼影像資料傳輸的額外指示符(旗標)達成。藉分開地控制可藉解區塊濾波修飾的及不可修飾的樣本,達成濾波的更細緻調整。更明確言之,於解區塊濾波不施用至PCM編碼樣本之情況下,適應性迴路濾波或樣本適應性偏移可能對該等樣本導入額外雜訊。概略言之,解區塊濾波施用至影像信號以改良在區塊邊界的主觀品質。當施用解區塊濾波時,樣本適應性偏移及適應性迴路濾波可更為有利地改進客觀影像品質。 More preferably, the application of the individual PCM coding block filters is separately controlled for the samples that can be modified by the deblocking filter and the samples that are not deblocked by the block filtering. Such control may be achieved by providing an additional indicator (flag) that is encoded and transmitted within the bit stream along with the encoded image data. By carefully controlling the samples that can be modified by the block filter and the unmodifiable samples, a more detailed adjustment of the filtering is achieved. More specifically, in the case where deblocking filtering is not applied to the PCM encoded samples, adaptive loop filtering or sample adaptive offset may introduce additional noise to the samples. In summary, the deblocking filter is applied to the image signal to improve the subjective quality at the block boundary. Sample adaptive offset and adaptive loop filtering can more advantageously improve objective image quality when deblock filtering is applied.

此外,針對PCM編碼區塊,適應性迴路濾波以及樣本適應性偏移也可基於解區塊濾波決定結果而切換開或關。更明確言之,若解區塊導入雜訊,則此雜訊可藉隨後施用適應性迴路濾波及/或樣本適應性偏移而予減低。若決定不施用解區塊濾波,則不導入雜訊,因而適應性迴路濾波及/或樣本適應性偏移將導入額外雜訊。於此種情況下,較佳關閉此等額外濾波。 In addition, for PCM coding blocks, adaptive loop filtering and sample adaptive offset can also be switched on or off based on the result of the deblocking filtering decision. More specifically, if the solution block introduces noise, the noise can be reduced by subsequent application of adaptive loop filtering and/or sample adaptive offset. If it is decided not to apply deblocking filtering, no noise is introduced, so adaptive loop filtering and/or sample adaptive offset will introduce additional noise. In this case, it is preferred to turn off these additional filtering.

圖10A、10B及10C例示說明依據本實施例之一實例。更明確言之,針對一目前區塊1010分開地判定解區塊濾波是否將施用至其像素,及是否將施用另一濾波至此區塊。針對藉解區塊濾波修飾的樣本及針對其它樣本(不藉解 區塊濾波修飾)個別地決定是否應施用隨後濾波。然後,分開旗標用以指示濾波之施用至已修飾及未修飾的區塊樣本。 10A, 10B and 10C illustrate an example in accordance with the present embodiment. More specifically, it is determined separately for a current block 1010 whether demapping filtering will be applied to its pixels, and whether another filtering will be applied to this block. Samples modified for borrowed block filtering and for other samples (not borrowed Block filtering modification) individually determines whether subsequent filtering should be applied. The flag is then separated to indicate the application of the filter to the modified and unmodified block samples.

圖10A顯示該目前區塊1010及相鄰該目前區塊左側的一區塊1020。於本實例中,假設最接近二區塊間的邊界之個別三個像素可藉解區塊濾波修飾。圖10A中的虛線矩形例示說明在鄰近區塊1010及1020中藉解區塊濾波修飾的樣本及不藉解區塊濾波修飾的樣本。設目前區塊1010為不含任何量化雜訊的PCM編碼區塊。另一方面,區塊區塊1020乃含有量化雜訊的PCM編碼區塊。於本實例中,區塊為具有16x16樣本的編碼單位。一個別旗標(「旗標1」)指示解區塊濾波施用至目前區塊1010與否。若施用解區塊濾波,則唯有在區塊邊界附近的樣本經修飾(可修飾樣本)。注意圖10中只顯示水平解區塊濾波區域。但本發明並非囿限於此,同樣適用於橫跨水平區塊邊界的垂直濾波。 FIG. 10A shows the current block 1010 and a block 1020 adjacent to the left side of the current block. In this example, it is assumed that the individual three pixels closest to the boundary between the two blocks can be modified by the deblocking filter. The dashed rectangle in FIG. 10A illustrates a sample modified by borrowing block filtering in adjacent blocks 1010 and 1020 and a sample modified without deblocking block filtering. Let the current block 1010 be a PCM code block without any quantization noise. Block block 1020, on the other hand, is a PCM coded block containing quantization noise. In this example, the block is a coding unit with 16x16 samples. A different flag ("flag 1") indicates whether the tiling filter is applied to the current block 1010 or not. If deblock filtering is applied, only samples near the block boundary are modified (the sample can be modified). Note that only the horizontal deblocking filter area is shown in FIG. However, the present invention is not limited to this, and is equally applicable to vertical filtering across horizontal block boundaries.

圖10B例示說明相同區塊1010及1020,其中樣本適應性偏移係施用至相鄰區塊1020,例如施用至全部8x8樣本。於本實施例中施用樣本適應性偏移至目前區塊1010係針對藉解區塊濾波修飾的樣本及不藉解區塊濾波修飾的樣本個別地決定。相對應地,於位元串流中可含括二旗標(圖10B的「旗標2a」、「旗標2b」)以載明樣本適應性偏移是否將施用至可藉解區塊濾波修飾的地區及樣本適應性偏移是否將施用至不可藉解區塊濾波修飾的地區。 FIG. 10B illustrates the same blocks 1010 and 1020 in which a sample adaptive offset is applied to an adjacent block 1020, such as to all 8x8 samples. In the present embodiment, the sample adaptive offset is applied to the current block 1010, which is determined individually for the borrowed block filtered modified samples and the samples that are not modified by the deblocking filter. Correspondingly, the two-character stream ("flag 2a" and "flag 2b" of FIG. 10B) may be included in the bit stream to indicate whether the sample adaptive offset will be applied to the decodable block filter. Whether the modified region and sample adaptive offset will be applied to the region where the non-depletable block filter is modified.

圖10C例示說明相同區塊1010及1020,及適應性 迴路濾波施用至藉解區塊濾波修飾的樣本及非藉解區塊濾波修飾的樣本。類似施用SAO的情況,二旗標(圖10B的「旗標3a」、「旗標3b」)可含括於位元串流以分開地且個別地指示適應性迴路濾波是否施用至藉解區塊濾波修飾的區域及非藉解區塊濾波修飾的區域。 Figure 10C illustrates the same blocks 1010 and 1020, and adaptability The loop filtering is applied to the demultiplexed block filtered modified samples and the non-depleted block filtered modified samples. Similar to the case of applying SAO, the two flags ("flag 3a", "flag 3b" of Figure 10B) may be included in the bit stream to separately and individually indicate whether adaptive loop filtering is applied to the borrowing zone The region modified by the block filter and the region modified by the non-depleted block filter.

依據本發明,PCM編碼區塊的濾波可針對不同的濾波型別諸如解區塊濾波、樣本適應性偏移、及適應性迴路濾波分開地控制。此等濾波的施用順序對本發明為無關緊要且可任意地選擇。指示符可為二進制旗標,可具有0或1之值,指示是否個別地施用濾波。此等旗標可插入位元串流的不同位置。優異地,旗標可插入截割片標頭,且施用至含括於截割片的全部區塊。但本發明並非囿限於此,指示符可透過含有SPS、PPS或APS的封包插入。針對濾波的特定微調,旗標可基於每個編碼單位基礎發訊。指示符(旗標)指示可能針對特定區塊子區域的用以切換開或關濾波的開關位置。例如,在以PCM模式編碼區塊的資訊編碼後,可直接編碼開關位置。 In accordance with the present invention, filtering of PCM coding blocks can be separately controlled for different filter types such as deblocking filtering, sample adaptive offset, and adaptive loop filtering. The order of application of such filters is not critical to the invention and can be arbitrarily selected. The indicator can be a binary flag and can have a value of 0 or 1, indicating whether filtering is applied individually. These flags can be inserted into different locations of the bit stream. Excellently, the flag can be inserted into the cut piece header and applied to all of the blocks included in the cut piece. However, the present invention is not limited thereto, and the indicator can be inserted through a packet containing SPS, PPS, or APS. For a particular fine-tuning of the filter, the flag can be signaled based on each coding unit basis. An indicator (flag) indicates a switch position that may be toggled on or off for a particular block sub-area. For example, after encoding the information in the PCM mode encoding block, the switch position can be directly encoded.

為了改良視訊信號的重建品質,若鄰近區塊的量化誤差被視為高,則PCM編碼區塊與鄰近區塊間的邊界可被解區塊。此點可藉採用預定臨界值測試。舉例言之,當鄰近區塊的量化參數值超過預定臨界值時,量化誤差可被為高。此種臨界值可為固定或適應性,例如連同編碼資料在位元串流內部編碼。 In order to improve the reconstruction quality of the video signal, if the quantization error of the neighboring block is regarded as high, the boundary between the PCM coded block and the adjacent block may be deblocked. This can be tested by using a predetermined threshold. For example, when the quantization parameter value of the neighboring block exceeds a predetermined threshold, the quantization error can be made high. Such a threshold may be fixed or adaptive, for example encoded within the bitstream along with the encoded data.

取而代之或除了用以致能或去能解區塊濾波的 指示符之外,量化參數值QPPCM可含括於編碼位元串流。此種PCM量化參數指示採用以調整PCM編碼區塊的解區塊濾波的量化量。PCM量化參數可決定為輸入PCM編碼的原始視訊信號特性。舉例言之,PCM量化參數可取決於PCM樣本的位元深度。 Alternatively or in addition to an indicator to enable or disable deblocking filtering, the quantization parameter value QP PCM may be included in the encoded bit stream. Such PCM quantization parameter indicates the amount of quantization used to adjust the deblocking filtering of the PCM coded block. The PCM quantization parameter can be determined as the original video signal characteristics of the input PCM code. For example, the PCM quantization parameter may depend on the bit depth of the PCM samples.

為了許可解區塊濾波或其它濾波的適應性選擇,QPPCM可藉量化而在編碼器決定(原因在於編碼器知曉原始視訊信號)。舉例言之,可測試QPPCM的不同值,及評估所得主觀視訊品質。然後取結果導致最高主觀品質的數值作為QPPCM。注意主觀品質可藉計算主觀視訊品質度量而測試。界定用以估計主觀視訊品質估計的大量不同度量。一般而言,本發明並非限於任何特定度量。 In order to permit adaptive selection of deblocking filtering or other filtering, the QP PCM can be determined at the encoder by quantization (because the encoder knows the original video signal). For example, different values of QP PCM can be tested and the subjective video quality obtained can be assessed. Then take the value that results in the highest subjective quality as QP PCM . Note that subjective quality can be tested by calculating subjective video quality metrics. Define a number of different metrics used to estimate subjective video quality estimates. In general, the invention is not limited to any particular measure.

另外,可估計QPPCM。於編碼器,針對PCM編碼區塊測量均方差。然後估計等效量化參數,若使用變換編碼則將導致相同均方差。然後使用如此所得的等效QPPCMIn addition, QP PCM can be estimated. At the encoder, the mean square error is measured for the PCM coded block. The equivalent quantization parameter is then estimated, and if the transform coding is used, the same mean square error will result. The equivalent QP PCM thus obtained is then used.

但如上獲得參數QPPCM的實例並非排它性,可採用指示於PCM編碼區塊存在有雜訊的任何參數。 However, the example of obtaining the parameter QP PCM as above is not exclusive, and any parameter indicating that there is noise in the PCM coding block may be employed.

圖11例示說明二鄰近區塊,其中一者係藉PCM編碼模式編碼,而另一者係藉非PCM編碼模式編碼,諸如如此發明背景章節描述的內-或間-預測模式。針對非PCM編碼區塊,量化參數典型地經發訊,施用至變換預測誤差以許可有損壓縮。 Figure 11 illustrates two neighboring blocks, one of which is encoded by a PCM coding mode and the other by a non-PCM coding mode, such as the intra- or inter-prediction mode described in the Background section of the invention. For non-PCM coded blocks, the quantization parameters are typically signaled and applied to transform prediction errors to permit lossy compression.

PCM編碼區塊係未經量化。反而樣本被分派預定位元數,稱作位元深度。但PCM編碼信號可源自於事前已 經量化的視訊序列,仍然含有量化雜訊或其它雜訊或假影。依據本發明之一面向,解區塊濾波之施用至PCM編碼樣本係執行為「PCM量化參數」QPPCM及非PCM區塊的量化參數的函數。舉例言之,平均量化參數QPAVE可計算如下:QP Ave =(QP PCM +QP)>>1其中運算「>>1」指示向右移位一個位元。移位相對應於被2所整除。依據計算得的平均量化參數QPAVE,可執行解區塊濾波的調整。例如,可決定解區塊濾波是否將施用至PCM編碼區塊。其執行方式可藉比較平均量化參數與預定臨界值。此一臨界值可為在視訊序列中發訊的固定臨界值或適應性臨界值。該臨界值可藉基於測試影像施加最佳化獲得,或藉基於已編碼影像信號的最佳化獲得。 The PCM coding block is not quantized. Instead, the sample is assigned a predetermined number of bits, called the bit depth. However, the PCM encoded signal may originate from a video sequence that has been previously quantized and still contain quantized noise or other noise or artifacts. In accordance with one aspect of the present invention, the application of deblocking filtering to the PCM encoded samples is performed as a function of the quantization parameters of the "PCM Quantization Parameters" QP PCM and non-PCM blocks. For example, the average quantization parameter QP AVE can be calculated as follows: QP Ave = ( QP PCM + QP )>>1 where the operation ">>1" indicates shifting one bit to the right. The shift corresponds to being divisible by 2. The adjustment of the deblocking filter can be performed based on the calculated average quantization parameter QP AVE . For example, it may be determined whether demapping filtering will be applied to the PCM coding block. It can be implemented by comparing the average quantization parameter with a predetermined threshold. This threshold can be a fixed threshold or an adaptive threshold for signaling in a video sequence. The threshold can be obtained by optimizing the application based on the test image or by optimizing based on the encoded image signal.

另外或此外,解區塊濾波可基於PCM量化參數及相鄰區塊的量化參數的函數選用。更明確言之,可選擇所施用的解區塊濾波之強度(頻率響應、濾波係數)。至於替代之道或作為額外選擇標準,可決定在目前區塊的邊界之哪個樣本(多少樣本)欲被濾波。 Additionally or alternatively, the deblocking filtering may be selected based on a function of the PCM quantization parameter and the quantization parameter of the neighboring block. More specifically, the intensity (frequency response, filter coefficient) of the applied deblocking filter can be selected. As for the alternative or as an additional selection criterion, it can be determined which sample (how many samples) at the boundary of the current block is to be filtered.

PCM量化參數QPPCM可使用預測編碼而予編碼。預測例如可為截割片量化參數或先前編碼區塊的量化參數。QPPCM編碼也可基於PCM編碼區塊的位元深度進行,其中可編碼與傳輸位元深度(嵌入於位元串流)。編碼PCM量化參數可插入一截割片標頭、一圖像、一圖像序列等內。但也可插入另一個參數集合,諸如適應性參數集合(APS)或PPS或SPS內部。 The PCM quantization parameter QP PCM can be precoded using predictive coding. The prediction may be, for example, a truncated slice quantization parameter or a quantization parameter of a previously encoded block. QP PCM coding can also be performed based on the bit depth of the PCM coded block, where the bit depth can be encoded and transmitted (embedded in the bit stream). The encoded PCM quantization parameter can be inserted into a slice header, an image, an image sequence, and the like. However, it is also possible to insert another parameter set, such as an Adaptive Parameter Set (APS) or PPS or SPS internal.

PCM量化參數QPPCM也可基於PCM編碼區塊的位元深度而推衍。 The PCM quantization parameter QP PCM can also be derived based on the bit depth of the PCM coded block.

圖12顯示依據本發明之一實施例將在一視訊信號的影像中的一區塊樣本編碼成一位元串流之編碼方法之實例。更明確言之,輸入區塊係使用PCM編碼1210。因此,各個樣本係以PCM符碼表示。PCM符碼乃具固定位元長度的二進制符碼,例如每個樣本8位元。但也可使用任何其它長度,諸如每樣本6、7、9、10等位元。PCM編碼可包括原始輸入影像信號的更長或更短的位元長度。若該輸入影像信號已在期望的位元深度,則無需進一步操作。然後樣本的PCM編碼區塊發送至決定是否施用濾波。 Figure 12 shows an example of an encoding method for encoding a block sample in a video signal image into a bit stream in accordance with an embodiment of the present invention. More specifically, the input block uses PCM code 1210. Therefore, each sample is represented by a PCM symbol. The PCM code is a binary code with a fixed bit length, such as 8 bits per sample. However, any other length may be used, such as 6, 7, 9, 10, etc. per sample. The PCM code can include a longer or shorter bit length of the original input image signal. If the input image signal is already at the desired bit depth, no further operations are required. The PCM coded block of the sample is then sent to decide whether to apply the filter.

更明確言之,判定1220解區塊濾波是否將施用至樣本的PCM編碼區塊。若判定1220將施用解區塊濾波(步驟1230為「是」),則PCM區塊係經解區塊1240。當判定1220將不施用解區塊濾波(步驟1230為「否」),則該區塊不藉解區塊濾波濾波。須注意取決定垂直及水平鄰近區塊的特性,可對垂直及水平濾波施用分開決定。在決定及可能施用解區塊濾波後,判定1250是否施用與該解區塊濾波不同的一第二濾波是否施加至該目前區塊樣本。若判定將施用第二濾波(步驟1260為「是」),則第二濾波器施加1270至目前區塊。一旦判定不施用第二濾波(步驟1260為「否」),則將不施用第二型濾波。依據判定1220及1250,二指示符嵌入該位元串流。首先,一解區塊濾波指示符係含括1280於位元串流用以指示是否將施加解區塊濾波的判定結果。然 後,第二濾波指示符係含括1290於位元串流用以指示是否將施加第二濾波的判定結果。 More specifically, it is determined if 1220 deblocking filtering will be applied to the PCM coded block of the sample. If the decision 1220 is to apply deblock filtering ("YES" in step 1230), then the PCM block is deblocked 1240. When it is determined 1220 that no deblocking filtering will be applied ("NO" in step 1230), the block is not subject to block filtering filtering. Care must be taken to determine the characteristics of the vertical and horizontal adjacent blocks, which can be determined separately for vertical and horizontal filtering applications. After deciding and possibly applying the deblocking filter, it is determined 1250 whether a second filter different from the deblocking filtering is applied to the current block sample. If it is determined that the second filter will be applied ("YES" in step 1260), the second filter applies 1270 to the current block. Once it is determined that the second filter is not applied ("NO" in step 1260), the second type of filtering will not be applied. According to decisions 1220 and 1250, the second indicator is embedded in the bit stream. First, a deblocking filter indicator includes a 1280 bit stream to indicate whether a decision to filter the deblocking will be applied. Of course Thereafter, the second filter indicator includes a 1290 stream in the bit stream to indicate whether a second filter is to be applied.

是否將施用解區塊濾波至樣本的PCM編碼區塊的判定可進一步包括下述步驟:決定該樣本區塊的一相鄰區塊是否將使用脈衝碼調變或藉預測/變換編碼而予編碼。當該相鄰區塊係藉預測編碼而予編碼時,判定解區塊濾波將施用至至該區塊樣本。否則判定將不施用解區塊濾波。此處假設預測編碼係連結可減低相鄰區塊品質的量化,亦即將量化雜訊導入相鄰區塊。因此此一相鄰區塊的與原始PCM編碼區塊邊界變得更為可見,造成區塊假影,該假影較佳地係欲解區塊。 The determining whether to apply the de-blocking to the PCM coding block of the sample may further comprise the step of determining whether a neighboring block of the sample block will be encoded using pulse code modulation or by predictive/transform coding. . When the neighboring block is precoded by predictive coding, it is determined that the deblocking filter will be applied to the block sample. Otherwise it is determined that no deblocking filtering will be applied. It is assumed here that the predictive coding system link can reduce the quantization of the adjacent block quality, that is, the quantization noise is introduced into the adjacent block. Therefore, the boundary of the adjacent block and the original PCM code block becomes more visible, resulting in block artifacts, which are preferably for the block.

此外或另外,基於比較相鄰於該樣本區塊的該區塊之量化誤差與一預定臨界值,執行判定是否施用解區塊濾波至該樣本區塊。 Additionally or alternatively, determining whether to apply deblock filtering to the sample block is performed based on comparing a quantization error of the block adjacent to the sample block with a predetermined threshold.

判定第二濾波是否將施用至目前區塊樣本可包括下述步驟,決定在PCM編碼目前區塊的量化雜訊量,及基於所決定的量化雜訊量,判定第二濾波是否將施用至目前區塊。例如基於用在樣本之PCM編碼的位元深度,可估計PCM編碼區塊的量化雜訊。另外或此外,基於輸入影像信號的先前知識可估計量化雜訊。例如該輸入影像信號可為事先量化後重建的信號。於此先前量化量為已知的情況下,可用以決定是否施用第二濾波。但量化雜訊量也可使用任何可用的估計或最佳化方法估計。 Determining whether the second filtering is to be applied to the current block sample may include the steps of determining a quantized noise amount of the current block in the PCM encoding, and determining whether the second filtering is to be applied to the current based on the determined quantization noise amount. Block. The quantized noise of the PCM coded block can be estimated, for example, based on the bit depth of the PCM code used in the sample. Additionally or alternatively, quantization noise can be estimated based on prior knowledge of the input image signal. For example, the input image signal may be a signal reconstructed after being quantized in advance. Where the previous quantized amount is known, it can be used to decide whether to apply the second filter. However, the amount of quantization noise can also be estimated using any available estimation or optimization method.

第二濾波可為適應性迴路濾波或樣本適應性偏 移中之一者。但也可為另一型雜訊遏止濾波。於第二濾波為適應性迴路濾波之情況下,相對應的第二濾波可嵌入該位元串流。此外,可為樣本適應性偏移的第三濾波也可在判定後施用,相對應的第三濾波也可與有關解區塊濾波及適應性迴路濾波的施用相關的指示符獨立地且分開地含括於位元串流。 The second filter can be adaptive loop filtering or sample adaptive bias One of the moves. But it can also filter for another type of noise suppression. In the case that the second filtering is adaptive loop filtering, the corresponding second filtering may be embedded in the bit stream. Furthermore, a third filtering, which may be a sample adaptive offset, may also be applied after the decision, and the corresponding third filtering may also be independent and separate from the indicators related to the application of the deblocking filtering and adaptive loop filtering. Included in the bit stream.

另外,第二濾波指示符可為二進制指示符,共通指示ALF及SAO是否將施用至該樣本區塊。若該指示符具有0之值,則既不施用ALF也不施用SAO。若該指示符具有1之值,則將施用SAO及ALF二者。 Additionally, the second filtered indicator can be a binary indicator that indicates whether ALF and SAO will be applied to the sample block. If the indicator has a value of 0, neither ALF nor SAO is administered. If the indicator has a value of 1, both SAO and ALF will be administered.

依據本發明之一實施例,判定第二濾波是否施用至該樣本區塊的步驟係進一步包含判定第二濾波是否施用至可藉解區塊濾波修飾的該等樣本區塊的步驟。更進一步包括判定第二濾波是否施用至不可藉解區塊濾波修飾的該等樣本區塊的步驟。相對應指示符係含括於位元串流。更明確言之,可修飾的樣本指示符係含括於位元串流用以指示判定第二濾波是否施用至已修飾樣本的結果。此外,不可修飾的樣本指示符係含括於位元串流用以指示判定第二濾波是否施用至不可修飾樣本的結果。此一實施例提供藉解區塊濾波修飾的樣本與不藉解區塊濾波修飾的樣本的空間分隔的優點。更明確言之,解區塊濾波針對改進主觀影像品質。但可能惡化客觀影像品質,亦即原始信號與濾波信號間的逐一像素差異。為了改善解區塊樣本的客觀品質,是否施用進一步濾波至該樣本的決定係與是否施用進 一步濾波至不藉解區塊濾波修飾的樣本的決定分開。 In accordance with an embodiment of the present invention, the step of determining whether the second filter is applied to the sample block further comprises the step of determining whether the second filter is applied to the sample block that can be modified by the deblockable block filter. Still further includes the step of determining whether the second filtering is applied to the sample blocks that are not deprecated by the block filtering modification. The corresponding indicator is included in the bit stream. More specifically, the modifiable sample indicator is included in the bit stream to indicate the result of determining whether the second filter is applied to the modified sample. Further, the undecorated sample indicator is included in the bit stream to indicate the result of determining whether the second filter is applied to the unmodifiable sample. This embodiment provides the advantage of spatially separating the samples modified by the deblocking block and the samples modified without the deblocking block filtering. More specifically, deblocking filtering is aimed at improving subjective image quality. However, the objective image quality may be deteriorated, that is, the pixel-by-pixel difference between the original signal and the filtered signal. In order to improve the objective quality of the deblocked samples, whether or not to apply further filtering to the sample is determined The decision to filter one-step to a sample that is not modified by the deblocking filter is separated.

有關藉解區塊濾波「可修飾」及/或「已修飾」等詞於此處表示樣本接近可施用解區塊濾波的區塊間之邊界。典型地,解區塊濾波只施用至最接近邊界的1、2或3個樣本。與解區塊濾波是否實際上施用至「可修飾樣本」無關,可形成一個區域,其中如前述可分開地執行致能/去能另一濾波的決定。從先前技術已知解區塊濾波的決定及選擇的若干進一步細節將說明如後。注意本發明並非限於分開的可修飾及不可修飾區塊樣分的指示符。另外,真正已修飾或未修飾樣本可形成個別地執行決定的分開區域。 The words "decorable" and/or "modified" in relation to the de-blocking block filter here indicate that the sample is close to the boundary between the blocks to which the solution block filtering can be applied. Typically, demapping filtering is applied only to 1, 2 or 3 samples that are closest to the boundary. Regardless of whether the deblocking filtering is actually applied to the "modifiable sample", an area may be formed in which the decision to enable/disable another filtering may be performed separately as previously described. Several further details of the decision and selection of deblocking filtering are known from the prior art as will be explained hereinafter. Note that the invention is not limited to separate indicators of the modifiable and non-decorable block samples. In addition, truly modified or unmodified samples can form separate regions that individually perform decisions.

第二濾波是否將施用至該樣本區塊的判定可基於解區塊濾波是否將施用至該樣本區塊的判定結果而執行。同理,指示第二濾波是否將施用至該樣本區塊的指示符編碼可就指示是否欲施用解區塊濾波的指示符預測執行。 The determination of whether the second filtering will be applied to the sample block may be performed based on whether the deblocking filtering will be applied to the sample block. Similarly, an indicator code indicating whether the second filter will be applied to the sample block may be performed with respect to an indicator indicating whether or not to apply deblocking filtering.

圖13例示說明依據本發明之一面向解碼在一視訊信號影像中的一樣本區塊之方法,其中從PCM編碼樣本的位元串流解碼包括下列步驟:從位元串流提取1310一解區塊濾波指示符用以指示解區塊濾波是否將施用至該樣本區塊,從位元串流提取1320與該解區塊濾波指示符分開的(不同的)第二濾波指示符用以指示第二濾波是否將施用至該樣本區塊。當解區塊濾波指示符指示欲施用解區塊濾波(步驟1330為「是」)時,施用解區塊1340。然後,當第二濾波指示符指示欲施用解區塊濾波(步驟1350為「是」)時, 施用第二濾波1360。若個別指示符指示不施用個別濾波,則不施用濾波。 Figure 13 illustrates a method for decoding an identical block in a video signal image in accordance with one aspect of the present invention, wherein bit stream decoding from PCM encoded samples includes the steps of: extracting 1310 a region from the bit stream a block filtering indicator to indicate whether demapping filtering is to be applied to the sample block, and a (different) second filtering indicator separate from the bitstream filtering indicator 1320 is used to indicate Whether the second filter will be applied to the sample block. Deblock 1340 is applied when the deblocking filter indicator indicates that deblock filtering is to be applied ("YES" in step 1330). Then, when the second filter indicator indicates that deblock filtering is to be applied ("YES" in step 1350), A second filter 1360 is applied. If the individual indicator indicates that no individual filtering is applied, no filtering is applied.

與前述編碼器相對應地,第二濾波指示符指示適應性迴路濾波及樣本適應性偏移二者是否將施用至該樣本區塊,或有兩個不同指示符提取自該位元串流,一者指示適應性迴路濾波是否將施用至該樣本區塊,而另一者指示樣本適應性偏移是否將施用至該樣本區塊。另外或此外,可修飾的樣本指示符可經提取且採用以指示第二濾波將施用至已經藉解區塊濾波修飾的該等樣本區塊,及/或不可修飾的樣本指示符可指示第二濾波將施用至未曾藉解區塊濾波修飾的該等樣本區塊。 Corresponding to the aforementioned encoder, the second filter indicator indicates whether both the adaptive loop filter and the sample adaptive offset will be applied to the sample block, or two different indicators are extracted from the bit stream, One indicates whether adaptive loop filtering will be applied to the sample block and the other indicates whether the sample adaptive offset will be applied to the sample block. Additionally or additionally, the modifiable sample indicator can be extracted and employed to indicate that the second filter is to be applied to the sample blocks that have been modified by the borrowed block filter, and/or the non-modifiable sample indicator can indicate the second The filtering will be applied to the sample blocks that have not been decomposed by the block filtering.

依據本發明之另一面向,提出一種在得自一流的一視訊信號影像中解碼一樣本區塊之方法,該樣本區塊係以脈衝碼調變(PCM)編碼,該方法係包含:從該位元串流提取1610一PCM量化參數指示該樣本區塊中的雜訊量;基於所提取的PCM量化參數選擇1620欲施用的解區塊濾波;及施用1640所選擇的解區塊濾波至該樣本區塊。 According to another aspect of the present invention, a method for decoding an original block in a video signal obtained from a first-class video signal is provided. The sample block is encoded by pulse code modulation (PCM), and the method includes: Bitstream stream extraction 1610 a PCM quantization parameter indicating the amount of noise in the sample block; selecting 1620 to apply the deblocking filter based on the extracted PCM quantization parameter; and applying 1640 the selected deblocking filter to the Sample block.

解碼方法之一實例係顯示於圖16A。更明確言之,「PCM量化參數」係提取1610自該位元串流。然後,依據所提取的PCM量化參數(QP_PCM)選擇1620欲執行的解區塊濾波,可包括決定是否欲施用解區塊濾波。因此,當欲施用解區塊濾波(步驟1630為「是」)時,該區塊係藉所選的解區塊濾波濾波1640,否則該區塊係未經解區塊。 An example of a decoding method is shown in Figure 16A. More specifically, the "PCM Quantization Parameter" extracts 1610 from the bit stream. The deblocking filtering to be performed 1620 is then selected based on the extracted PCM quantization parameter (QP_PCM), which may include deciding whether to apply deblocking filtering. Thus, when deblocking filtering is to be applied ("YES" in step 1630), the block is filtered by the selected deblocking filter 1640, otherwise the block is unsolved.

同理,提出一種以脈衝碼調變(PCM)編碼一視訊 信號影像中的樣本區塊成為一位元串流之方法,該方法包含:決定1650一PCM量化參數指示該樣本區塊中的雜訊量;基於所提取的PCM量化參數選擇1660欲施用的解區塊濾波;及施用1670所選擇的解區塊濾波至該樣本區塊;及含括1680該PCM量化參數至該位元串流。此點係例示說明於圖16B之流程圖。 Similarly, a video coding with pulse code modulation (PCM) is proposed. The sample block in the signal image becomes a one-bit stream method, the method includes: determining a 1650-PCM quantization parameter indicating the amount of noise in the sample block; selecting a solution to be applied by the 1660 based on the extracted PCM quantization parameter Block filtering; and applying 1670 selected deblocking filters to the sample block; and including 1680 the PCM quantization parameter to the bit stream. This point is illustrated by the flow chart of Figure 16B.

解區塊濾波之選擇步驟可基於比較施用至相鄰該樣本區塊之一區塊的PCM量化參數及量化量(或量化階大小)之函數與一預定臨界值。更明確言之,可基於比較與該相鄰區塊相聯結的的PCM量化參數及量化參數之一函數。 The step of deblocking filtering may be based on comparing a function of the PCM quantization parameter and the quantized amount (or quantization step size) applied to one of the neighboring sample blocks to a predetermined threshold. More specifically, it may be based on comparing one of the PCM quantization parameters and the quantization parameters associated with the neighboring block.

該函數可為平均。但也可為另一函數,諸如最小值、最大值、加權平均等。 This function can be average. But it can also be another function, such as minimum, maximum, weighted average, and so on.

選擇解區塊濾波之步驟可包括決定是否施用解區塊濾波至該樣本區塊之步驟,此一步驟可以濾波選擇的相同方式於編碼器湯解碼器二者上執行。 The step of selecting deblocking filtering may include the step of deciding whether to apply deblocking filtering to the sample block, this step may be performed on both of the encoder soup decoders in the same manner as the filtering selection.

另外或此外,選擇解區塊濾波之步驟可包括濾波帶通寬度(頻率響應)的選擇及/或藉欲施用濾波的區塊中之樣本的選擇。 Additionally or alternatively, the step of selecting deblocking filtering may include selecting a filter bandpass width (frequency response) and/or selecting a sample in the filtered block to apply.

PCM量化參數可取決於區塊樣本之PCM編碼的位元深度。PCM量化參數可使用預測,及/或基於PCM編碼樣本的位元深度,及/或藉熵編碼而編碼。PCM量化參數可嵌入圖像標頭、影像截割片標頭、樣本區塊之相關資訊,及多個視訊圖像之相關額外資訊中之位元串流內部。 The PCM quantization parameter may depend on the PCM encoded bit depth of the block sample. The PCM quantization parameters may be encoded using prediction, and/or based on the bit depth of the PCM encoded samples, and/or encoded by entropy coding. The PCM quantization parameter can be embedded in the image header, the image cut slice header, the relevant information of the sample block, and the bit stream in the additional information related to the plurality of video images.

依據本發明之另一面向,提出一種從一位元串流解碼在一視訊信號的一影像中之一樣本區塊之裝置,該樣本區塊係以脈衝碼調變(PCM)編碼,該裝置係包含:一提取單元從該位元串流提取指示在樣本區塊中的雜訊量之一PCM量化參數;一濾波選擇單元基於所提取的PCM量化參數而選擇欲施用至該區塊的解區塊濾波;及一濾波單元施用該所選解區塊濾波至該樣本區塊。 According to another aspect of the present invention, a device for decoding a sample block in a video of a video signal from a one-bit stream is provided, the sample block being encoded by pulse code modulation (PCM), the device The method includes: an extracting unit extracting, from the bit stream, one of PCM quantization parameters indicating a noise amount in the sample block; and a filter selecting unit selecting a solution to be applied to the block based on the extracted PCM quantization parameter Block filtering; and a filtering unit applies the selected deblocking filter to the sample block.

依據本發明之一面向,提出一種以脈衝碼調變(PCM)將一視訊信號影像中的一樣本區塊編碼成一位元串流之裝置,該裝置係包含:一參數決定單元以決定一PCM量化參數指示在該樣本區塊中的雜訊量;一濾波選擇單元以基於所提取的PCM量化參數而選擇欲施用至該區塊的解區塊濾波;一濾波單元以施用所選解區塊濾波至該樣本區塊;及一嵌入單元以包括該PCM量化參數至該位元串流。 According to one aspect of the present invention, a device for encoding a same block in a video signal image into a bit stream by pulse code modulation (PCM) is proposed, the device comprising: a parameter determining unit to determine a PCM Quantization parameters indicate the amount of noise in the sample block; a filter selection unit to select deblocking filtering to be applied to the block based on the extracted PCM quantization parameter; a filtering unit to apply the selected solution block Filtering to the sample block; and an embedding unit to include the PCM quantization parameter to the bit stream.

該濾波選擇單元可經組配以基於比較該PCM量化參數之一函數與相鄰區塊相聯結的量化參數而選擇解區塊濾波。該濾波選擇單元可經組配來決定是否施用解區塊濾波至該樣本區塊。另外或此外,該濾波選擇單元可經組配來選擇濾波之強度及/或選擇在該區塊中欲施用濾波器的樣本數目及樣本位置。 The filter selection unit can be configured to select deblocking filtering based on comparing quantization parameters associated with adjacent blocks by a function of the PCM quantization parameter. The filter selection unit can be configured to determine whether to apply deblock filtering to the sample block. Additionally or alternatively, the filter selection unit can be configured to select the strength of the filter and/or select the number of samples and sample locations in the block in which the filter is to be applied.

注意本發明之裝置可藉修飾特定濾波單元(於編碼器的解區塊濾波單元150及於解碼器的250),及/或修飾ALF及/或SAO濾波單元體現以許可其如前文說明而判定、選擇與濾波。 Note that the apparatus of the present invention may be modified by modifying a particular filtering unit (at the encoder's deblocking filtering unit 150 and the decoder's 250), and/or modifying the ALF and/or SAO filtering unit to permit it to be determined as previously described. , selection and filtering.

該參數決定單元可經組配以決定PCM量化參數作為解區塊濾波後最大化主觀品質之值,或藉估計PCM量化參數值作為量化參數,將導致若施加變換編碼的相同雜訊。 The parameter decision unit can be configured to determine the PCM quantization parameter as the value of the maximum subjective quality after deblocking filtering, or by estimating the PCM quantization parameter value as a quantization parameter, which will result in the same noise if the transform coding is applied.

如前述,解區塊濾波的決定及/或選擇可依據PCM量化參數執行。依據本發明之另一實施例,解區塊濾波的決定及選擇可類似涉及PCM編碼區塊的情況及只涉及非PCM編碼區塊的情況進行。更明確言之,參考圖15,基本上相鄰區塊A及B有三種可能,其中可能有利於解區塊濾波: As mentioned above, the decision and/or selection of the deblocking filtering can be performed in accordance with the PCM quantization parameters. In accordance with another embodiment of the present invention, the decision and selection of deblocking filtering may be similar to the case involving PCM coding blocks and the case involving only non-PCM coded blocks. More specifically, referring to Figure 15, there are basically three possibilities for adjacent blocks A and B, which may be advantageous for deblocking filtering:

-區塊A為非PCM編碼區塊及區塊B也為非PCM編碼區塊。於此種情況下,區塊A係以其量化參數亦即施用以編碼區塊A的量化參數為其特徵(QPA=QP(A))。區塊B亦(QPB=QP(B))。 - Block A is a non-PCM coded block and block B is also a non-PCM coded block. In this case, block A is characterized by its quantization parameter, i.e., the quantization parameter applied to encode block A (QP A = QP(A)). Block B is also (QP B = QP (B)).

-區塊A為非PCM編碼區塊及區塊B為PCM編碼區塊(或反之亦然)。於此種情況下,區塊A係以其量化參數為其特徵(QPA=QP(A))。區塊B係以指示區塊B(QPB=QPPCM(B))的雜訊量之估計的「PCM量化參數」為其特徵。 Block A is a non-PCM coded block and block B is a PCM coded block (or vice versa). In this case, block A is characterized by its quantization parameter (QP A = QP(A)). Block B is characterized by an "PCM Quantization Parameter" indicating an estimate of the amount of noise of Block B (QP B = QP PCM (B)).

-區塊A及區塊B皆為PCM編碼區塊。於此種情況下,區塊A及區塊B係以估計的「PCM量化參數」為其特徵,分別指示區塊A(QPA=QPPCM(A))及區塊B(QPB=QPPCM(B))中的雜訊量。 - Block A and Block B are both PCM coded blocks. In this case, Block A and Block B are characterized by the estimated "PCM Quantization Parameters", indicating Block A (QP A = QP PCM (A)) and Block B (QP B = QP). The amount of noise in PCM (B)).

然後區塊A及B的量化參數之函式可用於解區塊濾波的決定及/或選擇。例如可體現下列QPA及QPB之函式: QP Ave =(QP A +QP B +1)>>1或QP Ave =Max(QP A ,QP B ). The function of the quantization parameters of blocks A and B can then be used to resolve and/or select the block filtering. For example, the following functions of QP A and QP B can be embodied: QP Ave = ( QP A + QP B +1) >> 1 or Or QP Ave = Max ( QP A , QP B ).

但此等僅為實例,也可施用任何其它函式。 However, these are merely examples and any other function may be applied.

類似圖14,首先可決定是否施用濾波器至整個區塊A及/或B。例如,若屬下述情況則可致能解區塊d=d q +d p <β(QP Ave ). Similar to Figure 14, it can first be decided whether to apply the filter to the entire block A and / or B. For example, if the following conditions are met, the block d = d q + d p < β ( QP Ave ) can be enabled.

當對區塊A及/或B致能解區塊濾波時,可進一步逐行決定是否欲施用解區塊濾波至該區塊的特定行(列或欄)。當符合下述情況時決定施用強濾波 |p3 i -p0 i |+|q3 i -q0 i |<(β(QP Ave )>>3)^ When block A and/or B enable deblocking, it may be further determined line by line whether to apply deblocking filtering to a particular row (column or column) of the block. It is decided to apply strong filtering when the following conditions are met | p 3 i - p 0 i |+| q 3 i - q 0 i |<( β ( QP Ave )>>3)^

d<(β(QP Ave )>>2)^ d <( β ( QP Ave )>>2)^

|p0 i -q0 i |<((t c (QP Ave ).5+1)>>1). | p 0 i - q 0 i |<(( t c ( QP Ave ).5+1)>>1).

否則弱(或無)濾波將施用至該特定行i。 Otherwise weak (or no) filtering will be applied to this particular row i.

然後如上發明背景章節所示進行濾波。△值也可如上所示計算,亦即為:△=(9.(q0 i -p0 i )-3.(q1 i -p1 i )+8)>>4然後決定唯有當|△|<10.t c (QP Ave )時才濾波。否則,不執行解區塊濾波。當欲執行濾波(弱解區塊濾波)時,則計算如下值(△1):△1=Clip3(-t c (QP Ave ),t c (QP Ave ),△)及在二區塊A及B的最接近邊界像素濾波如下:p0' i =Clip(p0 i -△1),q0' i =Clip(q0 i -△1). Filtering is then performed as shown in the background section of the invention. The Δ value can also be calculated as shown above, that is, △=(9.( q 0 i - p 0 i )-3.( q 1 i - p 1 i )+8)>>4 then decides only when |△|<10. Filtered only when t c ( QP Ave ). Otherwise, deblocking filtering is not performed. When filtering (weak deblocking block filtering) is to be performed, the following value (Δ1) is calculated: Δ 1 = Clip 3 (- t c ( QP Ave ), t c ( QP Ave ), Δ) and in the second block The closest boundary pixels of A and B are filtered as follows: p 0 ' i = Clip ( p 0 i - Δ 1 ), q 0 ' i = Clip ( q 0 i - Δ 1 ).

更進一步決定是否欲濾波次接近邊界的像素。當d p <(β(QP Ave )/6)時濾波像素p1,否則不藉解區塊濾波濾波。當d q <(β(QP Ave )/6)時濾波像素q1,否則不藉解區塊濾波濾波。然後進行濾波如下:t c2(QP Ave )=t c (QP Ave )>>1 It is further determined whether or not to filter pixels that are close to the boundary. The pixel p1 is filtered when d p <( β ( QP Ave )/6), otherwise the block filter filtering is not borrowed. The pixel q1 is filtered when d q <( β ( QP Ave )/6), otherwise the block filtering is not borrowed. Then filter as follows: t c 2 ( QP Ave )= t c ( QP Ave )>>1

2p =Clip3(-t c2(QP Ave ),t c2(QP Ave ),(((p2 i +p0 i +1)>>1)-p1 i +△1)>>1) Δ 2 p = Clip 3(- t c 2 ( QP Ave ), t c 2 ( QP Ave ), ((( p 2 i + p 0 i +1)>>1)- p 1 i 1 )>>1)

p1' i =Clip(p1 i +△2p ) p 1 ' i = Clip ( p 1 i 2 p )

2q =Clip3(-t c2(QP Ave ),t c2(QP Ave ),(((q2 i +q0 i +1)>>1)-q1 i -△1)>>1) Δ 2 q = Clip 3(- t c 2 ( QP Ave ), t c 2 ( QP Ave ), ((( q 2 i + q 0 i +1)>>1)- q 1 i 1 )>>1)

q1' i =Clip(q1 i +△2q ). q 1 ' i = Clip ( q 1 i +△ 2 q ).

前述辦法的優點為PCM編碼區塊及非PCM編碼區塊的濾波可以相同方式執行,其中PCM量化參數係被考慮為表示PCM編碼區塊的雜訊特性,因此可以相同方式用作為非PCM區塊的量化參數。 The advantage of the foregoing method is that the filtering of the PCM coding block and the non-PCM coding block can be performed in the same manner, wherein the PCM quantization parameter is considered to represent the noise characteristic of the PCM coding block, and thus can be used as a non-PCM block in the same manner. Quantitative parameters.

注意通常PCM量化參數也可視為指示解區塊濾波是否將施用至樣本區塊的一指示符,原因在於PCM量化參數也可用以決定針對區塊/區塊之樣本是否致能/去能解區塊濾波。 Note that typically the PCM quantization parameter can also be considered as an indicator indicating whether demapping filtering will be applied to the sample block, since the PCM quantization parameter can also be used to determine whether the sample for the block/block is enabled/decomposed. Block filtering.

以上各實例皆係有關區塊或編碼單位。但如熟諳技藝人士顯然易知,本發明也可應用至用在HEVC的區塊或編碼單位以外的其它形式(形狀、大小)的影像區。 Each of the above examples is related to a block or a coding unit. However, as will be apparent to those skilled in the art, the present invention is also applicable to image areas of other forms (shapes, sizes) used in blocks or coding units of HEVC.

於各個實施例中描述的方法可藉在記錄媒體記錄用以體現於各個實施例中描述的移動圖像編碼方法(影像編碼方法)及移動圖像解碼方法(影像解碼方法)而單獨體現於一獨立電腦系統。記錄媒體可為任一種記錄媒體,只 要可記錄程式即可,諸如磁碟、光碟、磁光碟、IC卡、及半導體記憶體。 The method described in the respective embodiments can be separately embodied in a recording medium recording method (image encoding method) and moving image decoding method (image decoding method) embodied in the respective embodiments. Independent computer system. The recording medium can be any kind of recording medium, only It is necessary to record programs such as a magnetic disk, a compact disk, a magneto-optical disk, an IC card, and a semiconductor memory.

後文中,將描述於各個實施例中描述的移動圖像編碼方法(影像編碼方法)及移動圖像解碼方法(影像解碼方法)及其使用系統。該系統具有影像編解碼裝置特徵,包括使用影像編碼方法的影像編碼裝置及使用影像解碼方法的影像解碼裝置。取決於案例,也可視合宜而改變系統的其它組態。 Hereinafter, a moving image encoding method (image encoding method) and a moving image decoding method (image decoding method) described in the respective embodiments and a system for using the same will be described. The system has image coding and decoding device features, including a video coding device using an image coding method and a video decoding device using a video decoding method. Depending on the case, other configurations of the system can be changed as appropriate.

(實施例A) (Example A)

圖17例示說明用以體現內容分布服務的一種內容提供系統ex100之總組態。設有通訊服務之區係劃分成具有期望大小的小區,站台ex106、ex107、ex108、、ex109、及ex110為位在各小區內的固定無線站台。 Fig. 17 illustrates a general configuration of a content providing system ex100 for embodying a content distribution service. The area in which the communication service is provided is divided into cells having a desired size, and the stations ex106, ex107, ex108, ex109, and ex110 are fixed wireless stations located in each cell.

內容提供系統ex100係分別地通過網際網路ex101、網際網路服務提供者ex102、電話網路ex104以及站台ex106至ex110而連結至裝置,諸如電腦ex111、個人數位助理器(PDA)ex112、相機ex113、小區式電話ex114及遊戲機ex115。 The content providing system ex100 is connected to the device through the Internet ex101, the Internet service provider ex102, the telephone network ex104, and the stations ex106 to ex110, respectively, such as a computer ex111, a personal digital assistant (PDA) ex112, and a camera ex113. , cell phone ex114 and game machine ex115.

但內容提供系統ex100的組態並非限於圖17所示組態,及其中連結任一元件的組合為可接受。此外,各個裝置可直接地連結至電話網路ex104,而非透過屬於固定無線站台的站台ex106至ex110連結。此外,裝置可透過短距離無線通訊及其它而彼此互連。 However, the configuration of the content providing system ex100 is not limited to the configuration shown in Fig. 17, and the combination of any of the elements is acceptable. In addition, the respective devices may be directly connected to the telephone network ex104 instead of being connected via the stations ex106 to ex110 belonging to the fixed wireless station. In addition, the devices can be interconnected to each other through short-range wireless communication and others.

相機ex113諸如數位視訊攝影機可拍攝視訊。相 機ex116諸如數位相機可拍攝靜相及視訊。又復,小區式電話ex114可為符合任一標準,諸如全球行動通訊系統(GSM)®、劃碼多向接取(CDMA)、寬帶劃碼多向接取(W-CDMA)、長期演進(LTE)、及高速封包存取(HSPA)另外,小區式電話ex114可為個人手持電話系統(PHS)。 A camera ex113 such as a digital video camera can capture video. phase The machine ex116, such as a digital camera, can capture static phase and video. Again, the cell phone ex114 can be compliant with any standard, such as Global System for Mobile Communications (GSM)®, Coded Multi-Direct Access (CDMA), Wideband Coded Multi-Direct Access (W-CDMA), Long Term Evolution ( LTE), and High Speed Packet Access (HSPA) In addition, the cell phone ex114 can be a personal handy phone system (PHS).

於內容提供系統ex100中,串流化伺服器ex103係透過電話網路ex104及站台ex109而連結至相機ex113及其它,許可現場顯示及其它的影像分布。於此種分布中,由使用者運用相機ex113所拍攝的內容(例如音樂現場演奏會的視訊)係如前述編碼於各個實施例(例如依據本發明之一面向相機作為影像編碼裝置功能),編碼內容傳輸給串流化伺服器ex103。另一方面,當請求時串流化伺服器ex103攜出所傳輸內容資料的串流分帶給客端裝置。該等客端裝置包括電腦ex111、個人數位助理器(PDA)ex112、相機ex113、小區式電話ex114及遊戲機ex115,其可解碼前述編碼資料。已經接收分布資料的各個裝置解碼且再現編碼資料(亦即作為依據本發明之一面向的影像解碼裝置之功能)。 In the content providing system ex100, the streaming server ex103 is connected to the camera ex113 and the other via the telephone network ex104 and the station ex109, and permits on-site display and other video distribution. In such a distribution, the content captured by the user using the camera ex113 (for example, the video of a live music concert) is encoded as described above in various embodiments (for example, the camera is used as a function of the image encoding device according to one aspect of the present invention). The content is transmitted to the streaming server ex103. On the other hand, when requested, the streaming server ex103 carries the stream of the transmitted content material to the client device. The client devices include a computer ex111, a personal digital assistant (PDA) ex112, a camera ex113, a cell phone ex114, and a gaming machine ex115, which can decode the aforementioned encoded material. Each device that has received the distributed data decodes and reproduces the encoded material (i.e., functions as a video decoding device oriented in accordance with one aspect of the present invention).

拍攝的資料可藉相機ex113或傳輸該資料的串流化伺服器ex103編碼,或編碼過程可在相機ex113與串流化伺服器ex103間共享。同理,分布的資料可由客端裝置或串流化伺服器ex103解碼,或解碼過程可在客端裝置與串流化伺服器ex103間共享。此外,不僅由相機ex113同時由相機ex116拍攝的靜像及視訊資料可經由電腦ex111傳輸給串流化伺服器ex103。編碼程序可藉相機ex116、電腦ex111或串 流化伺服器ex103執行或於其間共享。 The captured data can be encoded by the camera ex113 or the streaming server ex103 that transmits the data, or the encoding process can be shared between the camera ex113 and the streaming server ex103. Similarly, the distributed data can be decoded by the client device or the streaming server ex103, or the decoding process can be shared between the client device and the streaming server ex103. Further, not only the still image and the video material captured by the camera ex113 and simultaneously by the camera ex116 can be transmitted to the streaming server ex103 via the computer ex111. The encoding program can be borrowed from camera ex116, computer ex111 or string The streaming server ex103 executes or shares between them.

此外,編解碼過程可藉大致含括於電腦ex111及裝置各自的大型積體電路(LSI)ex500執行。LSI ex500可由單一晶片或多個晶片組配而成。編解碼視訊的軟體可整合入可藉電腦ex111及其它讀取的某個記錄媒體型別(諸如CD-ROM、可撓性碟及硬碟),編解碼過程可使用軟體執行。此外,當小區式電話ex114裝配有相機時,可傳輸藉相機獲得的視訊資料。視訊資料為藉含括於小區式電話ex114的LSI ex500編碼的資料。 Further, the codec process can be executed by a large integrated circuit (LSI) ex500 including the computer ex111 and the device. The LSI ex500 can be assembled from a single wafer or a plurality of chips. The software for codec video can be integrated into a type of recording medium (such as CD-ROM, flexible disc and hard disk) that can be read by computer ex111 and other. The codec process can be executed using software. In addition, when the cell phone ex114 is equipped with a camera, the video material obtained by the camera can be transmitted. The video material is data encoded by the LSI ex500 included in the cell phone ex114.

又復,串流化伺服器ex103可由伺服器及電腦組成,且可分散資料且處理分散的資料、記錄、或分配資料。 Further, the streaming server ex103 can be composed of a server and a computer, and can distribute data and process distributed data, records, or data.

如前述,客端可接收與再現編碼資料於內容提供系統ex100。換言之,客端可接收且解碼由使用者發送的資訊,及在內容提供系統ex100實時再現已解碼資料,使得沒有任何特定權利及設備的使用者可體現個人廣播。 As described above, the client can receive and reproduce the encoded material in the content providing system ex100. In other words, the client can receive and decode the information transmitted by the user, and reproduce the decoded data in real time in the content providing system ex100, so that the user without any specific rights and devices can embody the personal broadcast.

除了內容提供系統ex100之實例外,各個實施例描述的移動圖像編碼方法(影像編碼方法)及移動圖像解碼方法(影像解碼方法)中之至少一者可於圖18例示說明數位廣播系統ex200中體現。更明確言之,一廣播站ex201透過無線電波通訊或發射藉將音訊資料及其它多工化至視訊資料上所得的多工化資料給一廣播衛星ex202。視訊資料為於各個實施例所述藉移動圖像編碼方法編碼的資料(亦即依據本發明之一面向藉影像編碼裝置編碼的資料)。當接收到多工化資料時,廣播衛星ex202傳輸無線電波用以廣播。然 後,具有衛星廣播接收功能的家用天線ex204接收無線電波。其次,一裝置諸如電視機(接收器)ex300及一機上盒(STB)ex217解碼所接收的多工化資料,且再現該解碼資料(亦即依據本發明之一面向用作為影像解碼裝置之功能)。 In addition to the example of the content providing system ex100, at least one of the moving image encoding method (image encoding method) and the moving image decoding method (image decoding method) described in the respective embodiments may exemplify the digital broadcasting system ex200 in FIG. Reflected in. More specifically, a broadcasting station ex201 transmits or transmits multiplexed data obtained by translating audio data and other multiplexed to video data to a broadcasting satellite ex202 through radio wave communication or transmission. The video material is the data encoded by the moving image encoding method described in the respective embodiments (that is, the data encoded by the image encoding device according to one aspect of the present invention). When receiving multiplexed data, the broadcast satellite ex202 transmits radio waves for broadcasting. Of course Thereafter, the home antenna ex204 having the satellite broadcast receiving function receives radio waves. Next, a device such as a television (receiver) ex300 and a set-top box (STB) ex217 decodes the received multiplexed data and reproduces the decoded data (ie, one of the inventions is used as a video decoding device). Features).

此外,讀取器/記錄器ex218(i)讀取且解碼記錄在記錄媒體ex215諸如DVD及DB上的多工化資料,或(i)於記錄媒體ex215編碼視訊資料,且於於某些情況下,藉多工化一音訊信號所得的資料寫至該編碼資料上。如各個實施例所示,讀取器/記錄器ex218可包括移動圖像解碼裝置或移動圖像編碼裝置。於此種情況下,再現的視訊信號係顯示在監視器ex219上,且可使用其上記錄多工化資料的記錄媒體ex215,藉另一裝置或系統而再現視訊信號。也可在針對有線電視連結至纜線ex203,或針對衛星及/或地面廣播連結至天線ex204的機上盒ex217中的移動圖像編碼裝置體現,因而顯示視訊信號在電視機ex300的監視器ex219上。移動圖像解碼裝置可非在機上盒而在電視機ex300體現。 Further, the reader/writer ex218(i) reads and decodes the multiplexed material recorded on the recording medium ex215 such as DVD and DB, or (i) encodes the video material on the recording medium ex215, and in some cases Next, the data obtained by multiplexing the audio signal is written to the coded data. As shown in various embodiments, the reader/writer ex218 may include a moving image decoding device or a moving image encoding device. In this case, the reproduced video signal is displayed on the monitor ex219, and the video signal can be reproduced by another device or system using the recording medium ex215 on which the multiplexed data is recorded. It can also be embodied in a moving image encoding device connected to the cable ex203 for cable television or to the set-top box ex217 for satellite and/or terrestrial broadcast to the antenna ex204, thus displaying the video signal on the monitor ex219 of the television ex300. on. The moving image decoding device may be embodied in the set-top box but on the television set ex300.

圖19例示說明電視機(接收器)ex300,其使用在各個實施例中描述的移動圖像編碼方法及移動圖像解碼方法。該電視機ex300包括:一調諧器ex301,其透過接收廣播的天線ex204或纜線ex203等而藉多工化音訊資料至視訊資料而獲得或提供所得多工化資料;一調變/解調單元ex302,其解調所接收的多工化資料或將資料調變成欲供應外界的多工化資料;及一多工化/解多工化單元ex303,其解調已調變的多工化資料成為視訊資料及音訊資料,或將由 由一信號處理單元ex306編碼的視訊資料及音訊資料多工化成為資料。 Fig. 19 illustrates a television set (receiver) ex300 that uses the moving image encoding method and the moving image decoding method described in the respective embodiments. The television ex300 includes: a tuner ex301, which obtains or provides the obtained multiplexed data by multiplexing the audio data to the video data by receiving the broadcast antenna ex204 or the cable ex203, etc.; a modulation/demodulation unit Ex302, which demodulates the received multiplexed data or transforms the data into multiplexed data to be supplied to the outside; and a multiplexed/demultiplexed unit ex303, which demodulates the modulated multiplexed data Become a video material and audio material, or will be The video data and audio data encoded by a signal processing unit ex306 are multiplexed into data.

電視機ex300更進一步包括:一信號處理單元ex306包括一音訊信號處理單元ex304及一視訊信號處理單元ex305,其分別地解碼音訊資料及視訊資料與編碼音訊資料及視訊資料(其係作為依據本發明之面向的影像編碼裝置及影像解碼裝置);及一輸出單元ex309包括提供解碼音訊信號的一揚聲器ex307,及一顯示解碼視訊信號的一顯示單元ex308,諸如顯示器。又復,電視機ex300包括一介面單元ex317包括接收一使用者操作輸入的一操作輸入單元ex312。又復,電視機ex300包括控制電視機ex300的各個組成元件總體的一控制單元ex310,及供電給各個元件的一電源供應電路單元ex311。除了操作輸入單元ex312外,介面單元ex317可包括:連結至外部裝置諸如讀取器/記錄器ex218的一橋接器ex313;用以許可記錄媒體ex216諸如SD卡附接的一插槽單元ex314;欲連結至一外部記錄媒體諸如硬碟的一驅動器ex315及欲連結至電話網路之一數據機ex316。此處,記錄媒體ex216可使用非依電性/依電性半導體記憶體元件用以儲存電氣記錄資訊。電視機ex300的組成元件係透過同步匯流排而彼此連結。 The television ex300 further includes: a signal processing unit ex306 comprising an audio signal processing unit ex304 and a video signal processing unit ex305 for respectively decoding the audio data and the video data and the encoded audio data and the video data (which is based on the present invention) And an output unit ex309 includes a speaker ex307 for providing a decoded audio signal, and a display unit ex308 for displaying the decoded video signal, such as a display. Further, the television ex300 includes an interface unit ex317 including an operation input unit ex312 that receives a user operation input. Further, the television ex300 includes a control unit ex310 that controls the entirety of the respective constituent elements of the television ex300, and a power supply circuit unit ex311 that supplies power to the respective components. In addition to operating the input unit ex312, the interface unit ex317 may include: a bridge ex313 coupled to an external device such as the reader/writer ex218; a slot unit ex314 for permitting the recording medium ex216 to be attached, such as an SD card; A driver ex315 connected to an external recording medium such as a hard disk and a data machine ex316 to be connected to one of the telephone networks. Here, the recording medium ex216 can use a non-electrical/electrical semiconductor memory element for storing electrical recording information. The components of the television ex300 are connected to each other through a synchronous bus.

首先,將說明該組態,其中電視機ex300將透過天線ex204及其它得自外部的多工化資料解碼與再生解碼資料。於電視機ex300中,當透過遙控器ex220及其它而使用者操作時,多工化/解多工化單元ex303在控制單元ex310 的控制之下,解多工化藉調變/解調單元ex302所解調的多工化資料。此外,在電視機ex300中,使用各個實施例所述解碼方法,音訊信號處理單元ex304解碼已解調的音訊資料,及視訊信號處理單元ex305解碼已解調的視訊資料。輸出單元ex309分別地提供已解碼的視訊信號及音訊信號給外部。當輸出單元ex309提供視訊信號及音訊信號時,信號可暫時地儲存於緩衝器ex318及ex319及其它,使得該等信號可彼此同步再生。此外,電視機ex300可經由廣播及其它,反而從記錄媒體ex215及ex216,諸如磁碟、光碟、及SD卡讀取多工化資料。其次將說明一種組態,其中電視機ex300編碼一音訊信號及一視訊信號,且發送資料至外部,或將資料寫至記錄媒體上。於電視機ex300中,當透過遙控器ex220及其它而使用者操作時,在各個實施例中在控制單元ex310的控制之下,音訊信號處理單元ex304解碼已解調的音訊資料,及視訊信號處理單元ex305解碼已解調的視訊資料。多工化/解多工化單元ex303多工化編碼視訊信號及音訊信號,且提供所得信號給外部。當多工化/解多工化單元ex303多工化編碼視訊信號及音訊信號時,信號可暫時儲存在緩衝器ex320及ex321及其它,使得該等信號可彼此同步再生。此處,如所示,緩衝器ex318、ex319、ex320、及ex321可為多數,或至少一個緩衝器可於電視機ex300共用。此外,資料可儲存於緩衝器,使得例如在調變/解調單元ex302與多工化/解多工化單元ex303間可避免系統溢位及欠位。 First, the configuration will be explained in which the television ex300 will decode and reproduce decoded data through the antenna ex204 and other externally derived multiplexed data. In the television ex300, when the user operates through the remote controller ex220 and others, the multiplexing/demultiplexing unit ex303 is in the control unit ex310. Under the control, the multiplexed data demodulated by the modulation/demodulation unit ex302 is demultiplexed. Further, in the television ex300, using the decoding method of each embodiment, the audio signal processing unit ex304 decodes the demodulated audio data, and the video signal processing unit ex305 decodes the demodulated video data. The output unit ex309 separately supplies the decoded video signal and audio signal to the outside. When the output unit ex309 provides the video signal and the audio signal, the signal can be temporarily stored in the buffers ex318 and ex319 and others so that the signals can be reproduced in synchronization with each other. Further, the television ex300 can read the multiplexed material from the recording media ex215 and ex216, such as a magnetic disk, a compact disc, and an SD card, via broadcasting and the like. Next, a configuration will be explained in which the television ex300 encodes an audio signal and a video signal, and transmits the data to the outside or writes the data to the recording medium. In the television ex300, when the user operates through the remote controller ex220 and others, in each embodiment, under the control of the control unit ex310, the audio signal processing unit ex304 decodes the demodulated audio data, and the video signal processing. Unit ex305 decodes the demodulated video material. The multiplexer/demultiplexing unit ex303 multiplexes the encoded video signal and the audio signal, and provides the resultant signal to the outside. When the multiplex/demultiplexing unit ex303 multiplexes the encoded video signal and the audio signal, the signal can be temporarily stored in the buffers ex320 and ex321 and others so that the signals can be synchronized with each other. Here, as shown, the buffers ex318, ex319, ex320, and ex321 may be plural, or at least one buffer may be shared by the television ex300. In addition, the data can be stored in a buffer so that system overflow and undershoot can be avoided, for example, between the modulation/demodulation unit ex302 and the multiplex/demultiplexing unit ex303.

此外,電視機ex300可包括一組態用以接收來自 麥克風或相機的一AV輸入,而非該組態用以從廣播或記錄媒體獲得音訊資料及視訊資料,且可編碼所得資料。雖然於說明中,電視機ex300可編碼、多工化、及提供外部資料,但也可能只能接收、解碼、及提供外部資料,而非編碼、多工化、及提供外部資料。 In addition, the television ex300 can include a configuration for receiving from An AV input from a microphone or camera, rather than the configuration for obtaining audio and video data from a broadcast or recording medium, and encoding the resulting data. Although in the description, the television ex300 can encode, multiplex, and provide external data, it may only receive, decode, and provide external data, rather than coding, multiplexing, and providing external data.

此外,當讀取器/記錄器ex218讀或寫多工化資料自或至一記錄媒體上時,電視機ex300及讀取器/記錄器ex218中之一者可解碼或編碼多工化資料,電視機ex300及讀取器/記錄器ex218可共享解碼或編碼。 In addition, when the reader/recorder ex218 reads or writes the multiplexed material from or to a recording medium, one of the television ex300 and the reader/recorder ex218 can decode or encode the multiplexed data. The television ex300 and the reader/recorder ex218 can share decoding or encoding.

舉個實例,圖20例示說明當資料係讀或寫自或至一光碟上時一資訊再生/記錄單元ex400的組態。資訊再生/記錄單元ex400包括組成元件ex401、ex402、ex403、ex404、ex405、ex406、及ex407。光學頭ex401照射一雷射點在記錄媒體ex215亦即光碟的一記錄表面上以寫入資訊,且檢測來自記錄媒體ex215的記錄主面的反射光以讀取資訊。調變記錄單元ex402電氣驅動含括在光學頭ex401的半導體雷射,且依據被記錄的資料而調變雷射光。再生解調單元ex403放大一再生信號,該再生信號係使用含括在光學頭ex401的一光檢測器,藉電氣檢測來自記錄表面的反射光所得,及藉分開記錄在記錄媒體ex215上的一信號成分以再生所需資訊。緩衝器ex404暫時地保有欲記錄在記錄媒體ex215上的資訊及從記錄媒體ex215再生的資訊。碟片馬達ex405旋轉該記錄媒體ex215。伺服控制單元ex406移動光學頭ex401至一預定資訊軌,同時控制碟片馬達ex405的旋轉 驅動以追蹤該雷射點。系統控制單元ex407控制總體資訊再生/記錄單元ex400。讀與寫過程可藉系統控制單元ex407,運用儲存在緩衝器ex404的各項資訊且視需要產生與添加新資訊而體現,及藉調變記錄單元ex402、再生解調單元ex403、及伺服控制單元ex406透過光學頭ex401記錄與再生資訊,同時以協調方式操作。系統控制單元ex407例如包括一微處理器,藉使得一電腦執行一讀與寫程式而執行處理。 As an example, FIG. 20 illustrates the configuration of an information reproducing/recording unit ex400 when data is read or written from or to a compact disc. The information reproducing/recording unit ex400 includes constituent elements ex401, ex402, ex403, ex404, ex405, ex406, and ex407. The optical head ex401 irradiates a laser spot on the recording medium ex215, that is, a recording surface of the optical disk to write information, and detects reflected light from the recording main surface of the recording medium ex215 to read information. The modulation recording unit ex402 electrically drives the semiconductor laser included in the optical head ex401, and modulates the laser light in accordance with the recorded data. The reproduction demodulation unit ex403 amplifies a reproduction signal obtained by electrically detecting reflected light from the recording surface using a photodetector included in the optical head ex401, and separately recording a signal recorded on the recording medium ex215 Ingredients to regenerate the information you need. The buffer ex404 temporarily holds information to be recorded on the recording medium ex215 and information reproduced from the recording medium ex215. The disc motor ex405 rotates the recording medium ex215. The servo control unit ex406 moves the optical head ex401 to a predetermined information track while controlling the rotation of the disc motor ex405 Drive to track the laser point. The system control unit ex407 controls the overall information reproducing/recording unit ex400. The read and write process can be implemented by the system control unit ex407, using various information stored in the buffer ex404 and generating and adding new information as needed, and borrowing the variable recording unit ex402, the regenerative demodulation unit ex403, and the servo control unit. The ex406 records and reproduces information through the optical head ex401 while operating in a coordinated manner. The system control unit ex407 includes, for example, a microprocessor that performs processing by causing a computer to execute a read and write program.

雖然說明光學頭ex401照射一雷射點,但可使用近場光而執行高密度記錄。 Although the optical head ex401 is illustrated as irradiating a laser spot, high-density recording can be performed using near-field light.

圖21例示說明其為光碟的記錄媒體ex215。在該記錄媒體ex215的記錄表面上,形成螺旋狀導槽,及一資訊軌ex230事先依據導槽的形狀變化而記錄位址資訊,指示在碟片上的絕對位置。位址資訊包括決定記錄區塊ex231的位址之資訊,該記錄區塊ex231為用以記錄資料之一單元。再生資訊軌ex230及讀取在記錄與再生資料的一裝置內的位址資訊可導致記錄區塊之位置的決定。此外,記錄媒體ex215包括一資料記錄區ex233、一內圓周區ex232、及一外圓周區ex234。資料記錄區ex233乃用以記錄使用者資料的一區。內圓周區ex232及外圓周區ex234分別為資料記錄區ex233的內側及外側,係供特定用途,但記錄使用者資料除外。資訊再生/記錄單元ex400讀與寫編碼音訊資料、編碼視訊資料,或藉多工化編碼音訊及視訊資料所得的多工化資料自與至記錄媒體ex215的資料記錄區ex233。 Fig. 21 illustrates a recording medium ex215 which is a compact disc. On the recording surface of the recording medium ex215, a spiral guide groove is formed, and an information track ex230 records address information in advance according to the shape change of the guide groove, indicating the absolute position on the disc. The address information includes information for determining the address of the recording block ex231, which is a unit for recording data. The reproduction of the information track ex230 and the reading of the address information in a device for recording and reproducing data may result in the determination of the location of the recorded block. Further, the recording medium ex215 includes a data recording area ex233, an inner circumferential area ex232, and an outer circumferential area ex234. The data recording area ex233 is an area for recording user data. The inner circumferential area ex232 and the outer circumferential area ex234 are respectively the inner side and the outer side of the data recording area ex233, and are used for a specific purpose, except for recording user data. The information reproducing/recording unit ex400 reads and writes the encoded audio data, encodes the video data, or borrows the multiplexed data obtained by multiplexing the audio and video data from the data recording area ex233 of the recording medium ex215.

雖然本文說明描述具有一層的光碟諸如DVD及 BD作為實例,但光碟並非囿限於此,且可為具有多層的光碟,能夠記錄在表面以外的部分上。此外,光碟可具有多維記錄/再生結構,諸如使用具有不同波長的有色光記錄資訊於光碟的相同部分,及從不同角度用以記錄具有不同層的資訊。 Although the description herein describes a disc with a layer such as a DVD and BD is taken as an example, but the optical disc is not limited thereto, and may be a disc having a plurality of layers, which can be recorded on a portion other than the surface. Further, the optical disc may have a multi-dimensional recording/reproduction structure such as recording information on the same portion of the optical disc using colored light having different wavelengths, and recording information having different layers from different angles.

此外,有一根天線ex205的汽車ex210可從衛星ex202及其它接收資料,且在數位廣播系統ex200內在設定於汽車ex210內的顯示裝置諸如汽車導航系統ex211上再生視訊。此處,汽車導航系統ex211的組態將為例如得自包括圖14例示說明組態的一GPS接收單元。此點對電腦ex111、小區式電話ex114及其它的組態亦為真。 Further, the car ex210 having one antenna ex205 can receive data from the satellite ex202 and others, and reproduce the video on the display device set in the car ex210, such as the car navigation system ex211, in the digital broadcasting system ex200. Here, the configuration of the car navigation system ex211 will be, for example, a GPS receiving unit derived from the configuration illustrated in FIG. This point is also true for the computer ex111, the cell phone ex114 and other configurations.

圖22A例示說明運用實施例描述的移動圖像編碼方法及移動圖像解碼方法的小區式電話ex114。小區式電話ex114包括:用以透過站台ex110發送與接收無線電波的一天線ex350;能拍攝動像及靜像的一相機單元ex365;及用以顯示資料,諸如由相機單元ex365所拍攝的或由天線ex350所接收的解碼視訊之一顯示單元ex358,諸如液晶顯示器。小區式電話ex114進一步包括:一主體單元包括一操作鍵單元ex366;一音訊輸出單元ex357,諸如用於音訊輸出的揚聲器;一音訊輸入單元ex356,諸如用於音訊輸入的麥克風;一記憶體單元ex367用以儲存所拍攝的動像或靜像、記錄的音訊、所接收的視訊之編碼資料及解碼資料、靜像、電子郵件、或其它;及一插槽單元ex364,其為以記憶體單元ex367的相同方式儲存資料的記錄媒體之一介面 單元。 Fig. 22A illustrates a cell phone ex114 which uses the moving picture coding method and the moving picture decoding method described in the embodiment. The cell phone ex114 includes: an antenna ex350 for transmitting and receiving radio waves through the station ex110; a camera unit ex365 capable of capturing moving images and still images; and displaying information such as photographed by the camera unit ex365 or by One of the decoded video display units ex358 received by the antenna ex350, such as a liquid crystal display. The cell phone ex114 further includes: a main unit including an operation key unit ex366; an audio output unit ex357 such as a speaker for audio output; an audio input unit ex356, such as a microphone for audio input; and a memory unit ex367 For storing moving images or still images, recorded audio, encoded video data and decoded data, still images, emails, or the like; and a slot unit ex364, which is a memory unit ex367 One of the recording media for storing data in the same way unit.

其次,將參考圖22B說明小區式電話ex114的組態實例。於小區式電話ex114中,一主控制單元ex360設計以控制主體的各個單元總體,包括該顯示單元ex358及該操作鍵單元ex366彼此透過一同步匯流排ex370而連結至一電源供應電路單元ex361、一操作輸入控制單元ex362、一視訊信號處理單元ex355、一相機介面單元ex363、一液晶顯示器(LCD)控制單元ex359、一調變/解調單元ex352、一多工化/解多工化單元ex353、一音訊信號處理單元ex354、該插槽單元ex364及該記憶體單元ex367。 Next, a configuration example of the cell phone ex114 will be described with reference to FIG. 22B. In the cell phone ex114, a main control unit ex360 is designed to control the overall unit of the main body, and the display unit ex358 and the operation key unit ex366 are connected to each other through a synchronous bus line ex370 to a power supply circuit unit ex361. An operation input control unit ex362, a video signal processing unit ex355, a camera interface unit ex363, a liquid crystal display (LCD) control unit ex359, a modulation/demodulation unit ex352, a multiplexing/demultiplexing unit ex353, An audio signal processing unit ex354, the slot unit ex364, and the memory unit ex367.

當一呼叫結束鍵或一電源鍵由使用者的操作所開啟時,電源供應電路單元ex361從電池組對個別單元供給電力,因而讓小區式電話ex114變成作用態。 When a call end button or a power button is turned on by the user's operation, the power supply circuit unit ex361 supplies power to the individual unit from the battery pack, thereby causing the cell phone ex114 to become active.

於小區式電話ex114中,音訊信號處理單元ex354以語音轉換模式將由356所收集的音訊信號,在主控制單元ex360包括CPU、ROM、及RAM的控制之下,轉換成數位音訊信號。然後,調變/解調單元ex352對數位音訊信號執行展頻處理,及發送與接收單元ex351執行資料上數位對類比轉換及頻率轉換,因而透過天線ex350傳輸所得資料。又,於小區式電話ex114中,發送與接收單元ex351放大以語音轉換模式由天線ex350所接收的資料,且執行資料上的頻率轉換及類比至數位轉換。然後,調變/解調單元ex352執行資料上的反展頻處理,及音訊信號處理單元ex354將資料轉換成類比音訊信號,因而透過音訊輸出單元ex357輸出。 In the cell phone ex114, the audio signal processing unit ex354 converts the audio signal collected by 356 in a voice conversion mode into a digital audio signal under the control of the main control unit ex360 including the CPU, the ROM, and the RAM. Then, the modulation/demodulation unit ex352 performs the spreading processing on the digital audio signal, and the transmitting and receiving unit ex351 performs the analog-to-digital conversion and frequency conversion on the data, and thus transmits the obtained data through the antenna ex350. Further, in the cell phone ex114, the transmitting and receiving unit ex351 amplifies the data received by the antenna ex350 in the voice conversion mode, and performs frequency conversion and analog-to-digital conversion on the data. Then, the modulation/demodulation unit ex352 performs the inverse spread processing on the data, and the audio signal processing unit ex354 converts the data into an analog audio signal, and thus is output through the audio output unit ex357.

此外,當於資料通訊模式的電子郵件被發送時,電子郵件的文字資料係藉操作操作鍵單元ex366而輸入,主體的其它部分係透過操作輸入控制單元ex362而發送出至主控制單元ex360。主控制單元ex360使得調變/解調單元ex352在文字資料上執行展頻處理,及發送與接收單元ex351執行數位至類比轉換,結果所得資料的頻率轉換以透過天線ex350發送資料至站台ex110。當接收到電子郵件時,與發送電子郵件的處理約略顛倒的處理係在所接收的資料上執行,且結果所得資料提供給顯示單元ex358。 Further, when the e-mail in the material communication mode is transmitted, the text data of the e-mail is input by operating the operation key unit ex366, and the other part of the main body is transmitted to the main control unit ex360 through the operation input control unit ex362. The main control unit ex360 causes the modulation/demodulation unit ex352 to perform the spread spectrum processing on the text data, and the transmission and reception unit ex351 performs the digital-to-analog conversion, and the resulting data is frequency-converted to transmit the data to the station ex110 via the antenna ex350. When an e-mail is received, processing that is approximately reversed from the processing of sending the e-mail is performed on the received material, and the resulting data is supplied to the display unit ex358.

當於資料通訊模式的視訊、靜像、或視訊與音訊係被傳輸時,視訊信號處理單元ex355使用在各個實施例所示移動圖像編碼方法而壓縮與編碼從相機單元ex365供給的視訊信號(亦即依據本發明之一面向作為影像編碼裝置),及發送該編碼視訊資料給多工化/解多工化單元ex353。相反地,當相機單元ex365拍攝視訊、靜像、及其它時,音訊信號處理單元ex354編碼藉音訊輸入單元ex356所收集的音訊信號,及發送該編碼音訊資料給多工化/解多工化單元ex353。 When the video, still image, or video and audio system in the data communication mode is transmitted, the video signal processing unit ex355 compresses and encodes the video signal supplied from the camera unit ex365 using the moving image encoding method shown in each embodiment ( That is, according to one aspect of the present invention, it is directed to a video encoding device, and the encoded video data is transmitted to a multiplex/demultiplexing unit ex353. Conversely, when the camera unit ex365 captures video, still images, and the like, the audio signal processing unit ex354 encodes the audio signal collected by the audio input unit ex356, and transmits the encoded audio data to the multiplex/demultiplexing unit. Ex353.

多工化/解多工化單元ex353使用預定方法多工化從視訊信號處理單元ex355供給的編碼視訊資料及從音訊信號處理單元ex354供給的編碼音訊資料。然後,調變/解調單元(調變/解調電路單元)ex352對多工化資料執行展頻處理,及發送與接收單元ex351對資料執行數位至類比轉換及頻率轉換,以透過天線ex350發送所得資料。 The multiplexer/demultiplexing unit ex353 multiplexes the encoded video material supplied from the video signal processing unit ex355 and the encoded audio material supplied from the audio signal processing unit ex354 using a predetermined method. Then, the modulation/demodulation unit (modulation/demodulation circuit unit) ex352 performs the spread spectrum processing on the multiplexed data, and the transmitting and receiving unit ex351 performs digital-to-analog conversion and frequency conversion on the data to transmit through the antenna ex350. Information obtained.

當接收一視訊檔案之資料,其係以資料通訊模式鏈接至一網頁及其它時,或當接收附接有視訊及/或音訊的電子郵件時,為了透過天線ex350解碼多工化資料,多工化/解多工化單元ex353將多工化資料解多工成為一視訊資料位元串流及一音訊資料位元串流,且透過同步匯流排ex370而供給編碼視訊資料給視訊信號處理單元ex355,及供給編碼音訊資料給音訊信號處理單元ex354。使用相對應於在各個實施例所示移動圖像編碼方法的一移動圖像解碼方法,視訊信號處理單元ex355解碼視訊信號(亦即依據本發明之一面向作為影像解碼裝置),及然後,含括於該視訊檔案的視訊及靜像透過LCD控制單元ex359而鏈接至網頁。又復,音訊信號處理單元ex354解碼該音訊信號,及音訊輸出單元ex357提供該音訊。 When receiving a video file, it is linked to a web page and other data communication mode, or when receiving an email with video and/or audio attached, in order to decode the multiplexed data through the antenna ex350, multiplex The multiplex/demultiplexing unit ex353 multiplexes the multiplexed data into a video data bit stream and an audio data bit stream, and supplies the encoded video data to the video signal processing unit ex355 through the synchronous bus ex370 And supplying encoded audio data to the audio signal processing unit ex354. Using a moving image decoding method corresponding to the moving image encoding method shown in each embodiment, the video signal processing unit ex355 decodes the video signal (that is, the image decoding device according to one aspect of the present invention), and then, The video and still images included in the video file are linked to the web page via the LCD control unit ex359. Further, the audio signal processing unit ex354 decodes the audio signal, and the audio output unit ex357 provides the audio.

此外,類似電視機ex300,一終端裝置諸如小區式電話ex114可能具有三型體現組態不僅只包括(i)發送與接收終端裝置含編碼裝置及解碼裝置二者,同時也包括(ii)只含一編碼裝置的發送終端裝置及(iii)只含一解碼裝置的接收終端裝置。雖然說明中描述數位廣播系統ex200接收與發送藉多工化音訊資料成為視訊資料所得的多工化資料,但該多工化資料可為藉將非音訊資料反而是視訊相關的符碼資料多工化成為視訊資料所得的資料,且可能並非多工化資料而是視訊資料本身。 Further, similar to the television ex300, a terminal device such as the cell phone ex114 may have a three-type configuration that includes not only (i) both the transmitting and receiving terminal devices including the encoding device and the decoding device, but also includes (ii) only A transmitting terminal device of an encoding device and (iii) a receiving terminal device including only one decoding device. Although the description describes the digital broadcast system ex200 receiving and transmitting the multiplexed audio data to become the multiplexed data obtained by the video data, the multiplexed data may be multiplexed with the non-audio data instead of the video-related symbol data. It becomes information obtained from video materials and may not be multiplexed data but video information itself.

如此,於各個實施例中移動圖像編碼方法及移動圖像解碼方法可用在所述的任何裝置及系統。如此,可獲 得在各個實施例中所述優點。 As such, the moving image encoding method and the moving image decoding method can be used in any of the devices and systems described in the various embodiments. So, you can get The advantages described in the various embodiments are obtained.

此外,本發明並非限於實施例,未悖離本發明之範圍,多項修飾與修訂皆屬可能。 Further, the present invention is not limited to the embodiments, and various modifications and changes are possible without departing from the scope of the invention.

(實施例B) (Example B)

視需要,視訊資料可藉在(i)各個實施例顯示的移動圖像編碼方法或移動圖像編碼裝置與(ii)遵照不同標準的移動圖像編碼方法或移動圖像編碼裝置,諸如MPEG-2、MPEG-4 AVC、及VC-1間切換而產生。 The video material may be by (i) a moving image encoding method or a moving image encoding device displayed in various embodiments and (ii) a moving image encoding method or a moving image encoding device complying with different standards, such as MPEG-, as needed. 2. Generated by switching between MPEG-4 AVC and VC-1.

此處,當產生符合不同標準的多個視訊資料及然後解碼時,解碼方法須選擇符合不同標準。但因欲解碼的多個視訊資料各自符合哪一個標準無法檢測,故有無法選擇適當解碼方法的問題。 Here, when multiple video data conforming to different standards are generated and then decoded, the decoding method must be selected to conform to different standards. However, since the plurality of video data to be decoded each meets which standard cannot be detected, there is a problem that an appropriate decoding method cannot be selected.

為了解決該項問題,藉多工化音訊資料及其它至視訊資料上所得的多工化資料具有一種結構包括識別符資訊指示視訊資料符合哪個標準。於各個實施例中,於移動圖像編碼方法中且藉移動圖像編碼裝置產生的含視訊資料的多工化資料之特定結構,容後詳述。多工化資料乃於MPEG-2傳送串流格式的數位串流。 In order to solve this problem, the multiplexed audio data and other multiplexed data obtained from the video data have a structure including identifier information indicating which standard the video data conforms to. In various embodiments, the specific structure of the multiplexed data including the video data generated by the moving image encoding device in the moving image encoding method will be described in detail later. The multiplexed data is a digital stream of the MPEG-2 transport stream format.

圖23例示說明多工化資料的結構。如圖23之例示說明,多工化資料可藉多工化視訊串流、音訊串流、表示型態圖形串流(PG)、及互動圖形串流中之至少一者獲得。視訊串流表示一影片的一次視訊及二次視訊,音訊串流(IG)表示一次音訊部分及欲與一次音訊部分混合的二次音訊部分,及表示型態圖形串流表示影片的對白字幕。此處,一 次視訊係欲顯示在螢幕上的正常視訊,及二次視訊係欲顯示在一次視訊中的較小型視窗的視訊。此外,互動圖形串流表示欲藉配置該GUI組件在螢幕上所產生的互動式畫面。視訊串流係於各個實施例中,於移動圖像編碼方法中且藉移動圖像編碼裝置編碼;或於符合習知標準諸如MPEG-2、MPEG-4 AVC、及VC-1,於移動圖像編碼方法中且藉移動圖像編碼裝置編碼。音訊串流係依據標準編碼,諸如杜比-AC-3、杜比數位增上(Dolby Digital Plus)、MLP、DTS、DTS-HD、及線性PCM。 Figure 23 illustrates the structure of the multiplexed data. As illustrated in FIG. 23, the multiplexed data may be obtained by at least one of a multiplexed video stream, an audio stream, a representation type graphics stream (PG), and an interactive graphics stream. The video stream represents a video and a secondary video of a video. The audio stream (IG) represents an audio portion and a secondary audio portion to be mixed with an audio portion, and the representation type graphic stream represents the subtitle of the movie. Here, one The secondary video system wants to display the normal video on the screen, and the secondary video system wants to display the video of the smaller window in one video. In addition, the interactive graphics stream represents an interactive picture that is generated on the screen by configuring the GUI component. The video stream is in various embodiments, in the moving image encoding method and encoded by the moving image encoding device; or in accordance with conventional standards such as MPEG-2, MPEG-4 AVC, and VC-1, in the mobile image In the encoding method and encoded by the moving image encoding device. Audio streams are based on standard encodings such as Dolby-AC-3, Dolby Digital Plus, MLP, DTS, DTS-HD, and Linear PCM.

含括於多工化資料的各個串流係藉PID識別。舉例言之,0x1011係配置給欲用於影片的視訊之視訊串流,0x1100至0x111F係配置給音訊串流,0x1200至0x121F係配置給表示型態圖形串流,0x1400至0x141F係配置給互動圖形串流,0x1B00至0x1B1F係配置給欲用於影片的二視訊之視訊串流,0x1A00至0x1A1F係配置給欲用於將混合一次音訊的二次音訊的音訊串流。 Each stream that is included in the multiplexed data is identified by the PID. For example, 0x1011 is configured for video streaming of video to be used for video, 0x1100 to 0x111F is configured for audio streaming, 0x1200 to 0x121F is configured for presentation graphics streaming, and 0x1400 to 0x141F is configured for interactive graphics. Streaming, 0x1B00 to 0x1B1F are configured for the video stream of the two video to be used for the video, and 0x1A00 to 0x1A1F are configured for the audio stream to be used for the secondary audio to be mixed once.

圖24示意顯示資料係如何加以多工化。首先,由視訊框組成的一視訊串流ex235及由音訊框組成的一音訊串流ex238係分別地變換成一串流PES封包ex236及一串流PES封包ex239,及進一步分別地變換成TS封包ex237及TS封包ex240。同理,表示型態圖形串流ex241之資料及互動圖形串流ex244之資料係變換成一串流PES封包ex242及一串流PES封包ex245,及進一步分別地變換成TS封包ex243及TS封包ex246。此等TS封包係多工化成為一串流以獲得多 工化資料ex247。 Figure 24 shows schematically how the data system is multiplexed. First, a video stream ex235 composed of a video frame and an audio stream ex238 composed of an audio frame are respectively converted into a stream PES packet ex236 and a stream PES packet ex239, and further converted into TS packets ex237 respectively. And TS packet ex240. Similarly, the data representing the pattern stream ex241 and the data of the interactive graphics stream ex244 are converted into a stream PES packet ex242 and a stream PES packet ex245, and further converted into a TS packet ex243 and a TS packet ex246, respectively. These TS packets are multiplexed into a stream to obtain more Industrialization information ex247.

圖25例示說明一視訊串流如何以進一步細節儲存於一串流之PES封包。於圖25中第一列顯示在一視訊串流的視訊框串流。第二列顯示該串流的PES封包。如圖25以yy1、yy2、yy3、及yy4標示的箭頭指示,視訊串流劃分為I圖像、B圖像、及P圖像,其各自為視訊表示型態單元,圖像係儲存在各個PES封包的酬載。PES封包各自具有一PES標頭,該PES標頭儲存指示該圖像的顯示時間之一表示型態時間戳記(PTS),及指示圖像的解碼時間之一解碼時間戳記(DTS)。 Figure 25 illustrates how a video stream can be stored in a stream of PES packets with further detail. The first column in Figure 25 shows the video frame stream in a video stream. The second column shows the PES packet for the stream. As shown by arrows indicated by yy1, yy2, yy3, and yy4, the video stream is divided into an I picture, a B picture, and a P picture, each of which is a video representation type unit, and the image system is stored in each PES packet payload. The PES packets each have a PES header that stores one of the display time indicating the display time of the image, a type time stamp (PTS), and one of the decoding times of the image, a decoding time stamp (DTS).

圖26例示說明最終欲寫至多工化資料上的TS封包格式。各個TS封包為188位元組固定長度封包,含具有資訊的4-位元組TS標頭,諸如用以識別串流的PID及用以儲存資料的184-位元組TS酬載。PES封包經分割且分別地儲存於TS酬載。當使用BD ROM時,各個TS封包被給定一4-位元組TP_Extra_Header,如此導致192-位元組來源封包。來源封包寫在多工化資料上。TP_Extra_Header儲存資訊諸如Arrival_Time_stamp(ATS)。ATS顯示各個TS封包欲傳輸至PID濾波器的傳輸起始時間。如圖26底所示,來源封包係排列於多工化資料內。從多工化資料頭端遞增的數目稱作來源封包數目(SPN)。 Figure 26 illustrates the TS packet format that is ultimately written to the multiplexed material. Each TS packet is a 188-bit fixed-length packet containing a 4-bit TS header with information, such as a PID for identifying the stream and a 184-bit TS payload for storing the data. The PES packets are segmented and stored separately on the TS payload. When a BD ROM is used, each TS packet is given a 4-byte TP_Extra_Header, thus resulting in a 192-bit source packet. The source packet is written on the multiplexed data. TP_Extra_Header stores information such as Arrival_Time_stamp (ATS). The ATS displays the transmission start time of each TS packet to be transmitted to the PID filter. As shown at the bottom of Figure 26, the source packets are arranged in the multiplexed data. The number of increments from the head end of the multiplexed data is called the number of source packets (SPN).

多工化資料內含括的TS封包各自不僅包括音訊、視訊、對白字幕及其它之串流,同時也包括程式聯結表(PAT)、程式對映表(PMT)、及程式時鐘參考(PCR)。PAT 顯示用於該多執行緒程式中的一PMT內的PID指示何者,及PAT本身的PID係登錄為零。PMT儲存含括於多工化資料的音訊、視訊、對白字幕及其它之串流的PID,及相對應於PID的串流之屬性資訊。PMT也具有與多工化資料相關的各個描述符。描述符具有資訊,諸如拷貝控制資訊顯示多工化資料是否被核可拷貝。PCR儲存與ATS相對應的STC時間資訊,顯示何時PCR封包被傳輸給解碼器,以達成ATS的時間軸的到達時間時鐘(ATC)與PTS及DTS的時間軸的系統時間時鐘(STC)間之同步。 The TS packets included in the multiplexed data include not only audio, video, subtitles, and other streams, but also program linked tables (PAT), program mapping tables (PMT), and program clock references (PCR). . PAT The PID indication for one of the PMTs in the multi-threaded program is displayed, and the PID of the PAT itself is zero. The PMT stores the audio, video, subtitle and other streaming PIDs included in the multiplexed data, and the attribute information of the stream corresponding to the PID. The PMT also has various descriptors associated with multiplexed material. The descriptor has information, such as copy control information indicating whether the multiplexed material is approved for copying. The PCR stores the STC time information corresponding to the ATS, indicating when the PCR packet is transmitted to the decoder to achieve an ATS time axis arrival time clock (ATC) and a PTS and DTS time axis system time clock (STC). Synchronize.

圖27例示說明PMT之資料結構細節。PMT標頭係配置在PMT頂部。PMT標頭描述含括於PMT及其它的資料長度。多工化資料相關的多個描述符係設在PMT標頭後方。諸如拷貝控制資訊的資訊係描述於描述符。在該等描述符之後,設有含括在該多執行緒程式之多塊串流相關的串流資訊。各塊串流資訊包括串流描述符,各自描述資訊,諸如識別一串流的壓縮編解碼器之串流型別、串流PID、及串流屬性資訊(諸如框率或縱橫比)。串流描述符數目係等於多工化資料內的串流數目。 Figure 27 illustrates the details of the data structure of the PMT. The PMT header is placed on top of the PMT. The PMT header description includes the length of the data included in the PMT and others. Multiple descriptors associated with multiplexed data are placed behind the PMT header. Information such as copy control information is described in the descriptor. After the descriptors, there is provided stream information related to the plurality of streams included in the multi-execution program. Each block stream information includes stream descriptors, each describing information such as a stream type of a compressed codec that identifies a stream, a stream PID, and stream attribute information (such as frame rate or aspect ratio). The number of stream descriptors is equal to the number of streams in the multiplexed data.

當多工化資料係記錄於一記錄媒體及其它上時,係連同多工化資料資訊檔案記錄。 When the multiplexed data is recorded on a recording medium and other, it is recorded together with the multiplexed data information file.

多工化資料資訊檔案各自為如圖28所示的多工化資料之管理資訊。多工化資料資訊檔案對多工化資料係呈一對一對應關係,及該等檔案各自包括多工化資料資訊、串流屬性資訊、及一分錄對映表。 The multiplexed data information files are each management information of the multiplexed data as shown in FIG. The multiplexed data information file has a one-to-one correspondence with the multiplexed data system, and each of the files includes multiplexed data information, streaming attribute information, and an entry mapping table.

如圖28之例示說明,多工化資料資訊包括一系統速率、一再生起始時間、及一再生結束時間。系統速率指示一系統目標解碼器容後詳述傳輸該最大值資料給一PID濾波器的最大傳輸速率。含括於多工化資料的ATS的區間係設定為不高於系統速率。再生起始時間指示在多工化資料起頭的一視訊框的PTS。一個圖框間隔係加至在多工化資料結束的一視訊框的PTS,且該PTS係設定至該再生結束時間。 As exemplified in FIG. 28, the multiplexed material information includes a system rate, a regeneration start time, and a regeneration end time. The system rate indicates that a system target decoder details the maximum transmission rate at which the maximum value data is transmitted to a PID filter. The interval of the ATS included in the multiplexed data is set to be no higher than the system rate. The regeneration start time indicates the PTS of a video frame at the beginning of the multiplexed data. A frame interval is added to the PTS of a video frame at the end of the multiplexed data, and the PTS is set to the reproduction end time.

如圖29所示,針對含括於該多工化資料的各串流的各個PID,一塊屬性資訊係登錄於串流屬性資訊。各塊屬性資訊具有不同資訊,取決於相對應串流是否為一視訊串流、一音訊串流、一表示型態圖形串流、或一互動圖形串流而定。各塊視訊串流屬性資訊攜載資訊包括:哪種壓縮編解碼器係用以壓縮該視訊串流、及含括於該視訊串流的該等圖像資料塊的解析度、縱橫比及圖框率。各塊音訊串流屬性資訊攜載資訊包括:哪種壓縮編解碼器係用以壓縮該音訊串流、多少個聲道含括於該音訊串流、音訊串流支援哪個語言,及取樣頻率多高。視訊串流屬性資訊及音訊串流屬性資訊係用在播放器回放該資訊前初始化一解碼器。 As shown in FIG. 29, for each PID including each stream of the multiplexed material, a piece of attribute information is registered in the stream attribute information. Each piece of attribute information has different information depending on whether the corresponding stream is a video stream, an audio stream, a representation stream, or an interactive stream. Each piece of video stream attribute information carrying information includes: which compression codec is used to compress the video stream, and the resolution, aspect ratio, and graph of the image data blocks included in the video stream Box rate. Each piece of audio stream attribute information carrying information includes: which compression codec is used to compress the audio stream, how many channels are included in the audio stream, which language is supported by the audio stream, and the sampling frequency is high. high. The video stream attribute information and the audio stream attribute information are used to initialize a decoder before the player plays back the information.

於本實施例中,欲使用的多工化資料乃含括於PMT的串流型別。又復,當該多工化資料係記錄在一記錄媒體上時,使用含括於多工化資料資訊的視訊串流屬性資訊。更明確言之,各個實施例中描述的移動圖像編碼方法 及移動圖像編碼裝置包括用以配置獨特資訊之一步驟或一單元,該資訊指示藉各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置所產生的視訊資料給含括於PMT的串流型別或視訊串流屬性資訊。使用該組態,藉各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置所產生的視訊資料可與符合另一標準的視訊資料區別。 In the present embodiment, the multiplexed data to be used is included in the stream type of the PMT. Further, when the multiplexed data is recorded on a recording medium, the video stream attribute information including the multiplexed data information is used. More specifically, the moving image encoding method described in the respective embodiments And the moving image encoding device includes a step or a unit for configuring the unique information, the information indicating the moving image encoding method and the video data generated by the moving image encoding device described in the respective embodiments are included in the PMT Stream type or video stream attribute information. With this configuration, the video data generated by the moving image encoding method and the moving image encoding device described in the respective embodiments can be distinguished from the video material conforming to another standard.

此外,圖30例示說明依據本實施例移動圖像解碼方法之各步驟。於步驟exS100,含括於PMT的串流型別或含括於多工化資料資訊的視訊串流屬性資訊係得自多工化資料。其次,於步驟exS101,決定該串流型別或視訊串流屬性資訊是否指示該多工化資料係藉各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置所產生。當決定該串流型別或視訊串流屬性資訊指示該多工化資料係藉各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置所產生時,於步驟exS102,藉各個實施例的移動圖像解碼方法進行解碼。又復,當該串流型別或視訊串流屬性資訊指示符合習知標準,諸如MPEG-2、MPEG-4 AVC、及VC-1時,於步驟exS103,係藉符合習知標準的移動圖像解碼方法進行解碼。 Further, Fig. 30 illustrates steps of the moving picture decoding method according to the present embodiment. In step exS100, the stream type attribute included in the PMT or the video stream attribute information included in the multiplexed material information is obtained from the multiplexed data. Next, in step exS101, it is determined whether the stream type or video stream attribute information indicates that the multiplexed data is generated by the moving image encoding method and the moving image encoding device described in the respective embodiments. When it is determined that the stream type or video stream attribute information indicates that the multiplexed data is generated by the moving image encoding method and the moving image encoding device described in the respective embodiments, in step exS102, various embodiments are used. The moving image decoding method is decoded. Further, when the stream type or video stream attribute information indication conforms to a conventional standard, such as MPEG-2, MPEG-4 AVC, and VC-1, in step exS103, a moving picture conforming to a conventional standard is used. Decode like the decoding method.

如此,配置一個獨特新值給該串流型別或視訊串流屬性資訊許可決定在各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置是否能進行解碼。即便輸入符合不同標準的多工化資料時,仍可選用適當解碼方法或裝置。如此可能變成無任何錯誤地解碼資訊。又復,於本實 施例中的移動圖像編碼方法或裝置、或移動圖像解碼方法或裝置可用於前述裝置及系統。 Thus, configuring a unique new value for the stream type or video stream attribute information permission determines whether the moving picture coding method and the moving picture coding apparatus described in the respective embodiments can perform decoding. Even if you input multiplexed data that meets different standards, you can still use the appropriate decoding method or device. This may turn into decoding information without any errors. Again, in this real A moving image encoding method or apparatus, or a moving image decoding method or apparatus in the embodiment can be used for the aforementioned apparatus and system.

(實施例C) (Example C)

於各個實施例中,移動圖像編碼方法、移動圖像編碼裝置、移動圖像解碼方法或移動圖像解碼裝置典型地係以積體電路或大型積體(LSI)電路形式達成。至於LSI之實例,圖31例示說明製作成一個晶片的LSI ex500之組態。LSI ex500包括元件ex501、ex502、ex503、ex504、ex505、ex506、ex507、ex508及ex509,容後詳述,該等元件係透過一匯流排ex510而彼此連結。電源供應電路單元ex505係在啟動時藉對各個元件供電而作動。 In various embodiments, the moving image encoding method, the moving image encoding device, the moving image decoding method, or the moving image decoding device is typically implemented in the form of an integrated circuit or a large integrated circuit (LSI) circuit. As for the example of the LSI, Fig. 31 illustrates the configuration of the LSI ex500 fabricated into one wafer. The LSI ex500 includes elements ex501, ex502, ex503, ex504, ex505, ex506, ex507, ex508, and ex509, which are described in detail later, and are connected to each other through a bus line ex510. The power supply circuit unit ex505 is activated by powering each element at the time of startup.

舉例言之,當執行編碼時,LSI ex500在一控制單元ex501的控制之下,透過AV IO ex509而從麥克風ex117、相機ex113及其它接收AV信號,該控制單元ex501係包括一CPU ex502、記憶體控制器ex503、串流控制器ex504及驅動頻率控制單元ex512。所接收的AV信號暫時儲存於一外部記憶體ex511,諸如SDRAM。於控制單元ex501的控制之下,所儲存的資料依據欲發送給信號處理單元ex507的處理量及處理速度而分段成多個資料部分。然後,信號處理單元ex507編碼一音訊信號及/或一視訊信號。此處,視訊信號的編碼為各個實施例描述的編碼。又復,信號處理單元ex507偶爾多工化編碼音訊資料及編碼視訊資料,及一串流IO ex506提供該多工化資料給外部。所提供的多工化資料係發送給站台ex107,或寫在記錄媒體ex215 上。當資料集被多工化時,資料須暫時儲存在緩衝器ex508,使得資料集彼此同步化。 For example, when encoding is performed, the LSI ex500 receives an AV signal from the microphone ex117, the camera ex113, and the like through the AV IO ex509 under the control of the control unit ex501, and the control unit ex501 includes a CPU ex502 and a memory. The controller ex503, the stream controller ex504, and the drive frequency control unit ex512. The received AV signal is temporarily stored in an external memory ex511, such as an SDRAM. Under the control of the control unit ex501, the stored data is segmented into a plurality of data portions in accordance with the processing amount and processing speed to be transmitted to the signal processing unit ex507. Then, the signal processing unit ex507 encodes an audio signal and/or a video signal. Here, the encoding of the video signal is the encoding described in the various embodiments. Further, the signal processing unit ex507 occasionally multiplexes the encoded audio data and the encoded video data, and a stream IO ex506 provides the multiplexed data to the outside. The multiplexed data provided is sent to the station ex107 or written on the recording medium ex215 on. When the data set is multiplexed, the data must be temporarily stored in the buffer ex508 so that the data sets are synchronized with each other.

雖然記憶體ex511乃LSI ex500外部的元件,但可含括於LSI ex500內部。緩衝器ex508並不限於一個緩衝器,反而可由多個緩衝器組成。此外,LSI ex500可製作成一個晶片或多個晶片。 Although the memory ex511 is an external component of the LSI ex500, it may be included in the LSI ex500. The buffer ex508 is not limited to one buffer, but may be composed of a plurality of buffers. Further, the LSI ex500 can be fabricated into one wafer or a plurality of wafers.

此外,雖然控制單元ex501包括CPU ex502、記憶體控制器ex503、串流控制器ex504、驅動頻率控制單元ex512,但控制單元ex501的組態並非囿限於此。舉例言之,信號處理單元ex507可進一步包括一CPU。含括另一個CPU於信號處理單元ex507可改進處理速度。此外,至於另一個實例,CPU ex502可用作為信號處理單元ex507或作為其中一部分,例如可包括一音訊信號處理單元。於此種情況下,控制單元ex501包括信號處理單元ex507,或CPU ex502包括信號處理單元ex507的一部件。 Further, although the control unit ex501 includes the CPU ex502, the memory controller ex503, the stream controller ex504, and the drive frequency control unit ex512, the configuration of the control unit ex501 is not limited thereto. For example, the signal processing unit ex507 may further include a CPU. The inclusion of another CPU in the signal processing unit ex507 can improve the processing speed. Moreover, as another example, the CPU ex502 can be used as or as part of the signal processing unit ex507, for example, can include an audio signal processing unit. In this case, the control unit ex501 includes the signal processing unit ex507, or the CPU ex502 includes a component of the signal processing unit ex507.

此處使用的名稱是LSI,但取決於集積程度也稱作為IC、系統LSI、超級LSI、或超LSI。 The name used here is LSI, but it is also called IC, system LSI, super LSI, or super LSI depending on the degree of accumulation.

此外,達成整合的技術非僅限於LSI,特用電路或通用處理器等可達成該項整合。製造LSI後可程式規劃的可現場程式規劃閘陣列(FPGA)或許可連結的重新組配或LSI組配的可重新組配處理器可用於相同目的。 In addition, the integration technology is not limited to LSI, special circuits or general-purpose processors can achieve this integration. Programmable Programmable Programmable Gate Array (FPGA) or Licensed Reassembly or LSI Assembly Reconfigurable Processors for LSI can be used for the same purpose.

未來隨著半導體技術的進展,嶄新技術可能置換LSI。功能方塊可能使用此種技術整合。本發明可能適用於生物技術。 In the future, with the advancement of semiconductor technology, new technologies may replace LSI. Functional blocks may be integrated using this technique. The invention may be applicable to biotechnology.

(實施例D) (Example D)

當藉各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置產生的視訊資料被解碼時,比較當符合習知標準諸如MPEG-2、MPEG-4 AVC、及VC-1的視訊資料被解碼時,處理量可能增加。如此,當符合習知標準的視訊資料被解碼時,LSI ex500須被設定至比較使用CPU ex502時更高的驅動頻率。但當驅動頻率設定為更高時,有功耗增加的問題。 When the video data generated by the moving image encoding method and the moving image encoding device described in the respective embodiments are decoded, the video data conforming to the conventional standards such as MPEG-2, MPEG-4 AVC, and VC-1 is compared. When decoded, the amount of processing may increase. Thus, when the video material conforming to the conventional standard is decoded, the LSI ex500 must be set to a higher driving frequency when the CPU ex502 is used. However, when the drive frequency is set to be higher, there is a problem that power consumption increases.

為了解決該項問題,移動圖像解碼裝置諸如電視機ex300及LSI ex500係經組配來決定視訊資料符合哪個標準,且依據所決定的標準而在驅動頻率間切換。圖32例示說明本實施例中之一組態ex800。當視訊資料係藉各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置產生時,驅動頻率切換單元ex803設定驅動頻率為較高驅動頻率。然後,驅動頻率切換單元ex803指示執行在各個實施例中描述的移動圖像編碼方法之一解碼處理單元ex801解碼該視訊資料。當該視訊資料符合習知標準時,驅動頻率切換單元ex803設定一驅動頻率至比各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置所產生的該視訊資料的驅動頻率為更低的驅動頻率。然後,驅動頻率切換單元ex803指示符合習知標準的解碼處理單元ex802解碼該視訊資料。 In order to solve this problem, a moving image decoding device such as a television ex300 and an LSI ex500 are combined to determine which standard the video data conforms to, and switch between drive frequencies in accordance with the determined standard. Fig. 32 illustrates one of the configurations ex800 in the present embodiment. When the video data is generated by the moving image encoding method and the moving image encoding device described in the respective embodiments, the driving frequency switching unit ex803 sets the driving frequency to a higher driving frequency. Then, the drive frequency switching unit ex803 instructs the decoding processing unit ex801, which is one of the moving image encoding methods described in the respective embodiments, to decode the video material. When the video data conforms to the conventional standard, the driving frequency switching unit ex803 sets a driving frequency to be lower than the driving frequency of the video data generated by the moving image encoding method and the moving image encoding device described in the respective embodiments. Drive frequency. Then, the drive frequency switching unit ex803 instructs the decoding processing unit ex802 conforming to the conventional standard to decode the video material.

更明確言之,驅動頻率切換單元ex803包括於圖26的CPU ex502及驅動頻率控制單元ex512。此處,執行於 各個實施例所述移動圖像解碼方法的解碼處理單元ex801及符合習知標準的解碼處理單元ex802各自係相對應於圖26的信號處理單元ex507。CPU ex502決定視訊資料哪合哪個標準。然後,驅動頻率控制單元ex512基於得自CPU ex502的一信號決定一驅動頻率。又復,信號處理單元ex507基於得自CPU ex502的信號而解碼視訊資料。舉例言之,實施例B中描述的識別資訊可能用以識別視訊資料。識別資訊並非限於實施例B所述者,反而可為任何資訊,只要該資訊指示該視訊資料符合哪個標準即可。舉例言之,當可基於用以決定視訊資料係用在電視或碟片等的一外部信號而能夠決定視訊資料符合哪個標準時,該項決定可基於此種外部信號做決定。又復,CPU ex502例如基於一詢查表而選擇一驅動頻率,該詢查表中視訊資料標準係與驅動頻率相聯結,如圖34所示。驅動頻率可藉儲存詢查表於緩衝器ex508及儲存於LSI的內部記憶體,且由CPU ex502參考該詢查表而予選擇。 More specifically, the drive frequency switching unit ex803 is included in the CPU ex502 and the drive frequency control unit ex512 of FIG. Here, executed in The decoding processing unit ex801 of the moving image decoding method and the decoding processing unit ex802 conforming to the conventional standard according to the respective embodiments correspond to the signal processing unit ex507 of Fig. 26, respectively. The CPU ex502 determines which standard of the video material is combined. Then, the drive frequency control unit ex512 determines a drive frequency based on a signal from the CPU ex502. Further, the signal processing unit ex507 decodes the video material based on the signal obtained from the CPU ex502. For example, the identification information described in Embodiment B may be used to identify video material. The identification information is not limited to those described in Embodiment B, but may be any information as long as the information indicates which standard the video material complies with. For example, the decision can be based on such an external signal when it can be determined based on an external signal used to determine whether the video data is used on a television or disc, etc., which decision can be made. Further, the CPU ex502 selects a driving frequency based on, for example, a lookup table in which the video data standard is associated with the driving frequency, as shown in FIG. The drive frequency can be selected by storing the lookup table in the buffer ex508 and the internal memory stored in the LSI, and the CPU ex502 refers to the inquiry table.

圖33例示說明執行本實施例之方法的步驟。首先,於步驟exS200,信號處理單元ex507從多工化資料獲得識別資訊。其次,於步驟exS201,CPU ex502基於識別資訊,決定視訊資料是否由各個實施例中描述的解碼由編碼方法及編碼裝置所產生的視訊資料。當視訊資料係藉各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置產生時,於步驟exS202,CPU ex502發送一信號給驅動頻率控制單元ex512以設定驅動頻率至較高驅動頻率。然後,驅動頻 率控制單元ex512設定驅動頻率至較高驅動頻率。另一方面,當識別資訊指示視訊資料符合習知標準諸如MPEG-2、MPEG-4 AVC、及VC-1時,於步驟exS203,CPU ex502發送一信號給驅動頻率控制單元ex512以設定驅動頻率至較低驅動頻率。然後,驅動頻率控制單元ex512設定驅動頻率至比較視訊資料係藉各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置產生之情況的更低驅動頻率。 Figure 33 illustrates the steps of performing the method of the present embodiment. First, in step exS200, the signal processing unit ex507 obtains identification information from the multiplexed material. Next, in step exS201, the CPU ex502 determines, based on the identification information, whether the video material is decoded by the encoding method and the encoding device generated by the encoding device as described in the respective embodiments. When the video data is generated by the moving image encoding method and the moving image encoding device described in the respective embodiments, the CPU ex502 transmits a signal to the driving frequency control unit ex512 to set the driving frequency to the higher driving frequency in step exS202. Then, the drive frequency The rate control unit ex512 sets the drive frequency to a higher drive frequency. On the other hand, when the identification information indicates that the video data conforms to a conventional standard such as MPEG-2, MPEG-4 AVC, and VC-1, in step exS203, the CPU ex502 sends a signal to the drive frequency control unit ex512 to set the drive frequency to Lower drive frequency. Then, the drive frequency control unit ex512 sets the drive frequency to compare the video data by the moving image encoding method described in the respective embodiments and the lower driving frequency of the case where the moving image encoding device is generated.

又復,連同驅動頻率的切換,藉改變欲施加至LSI ex500或含LSI ex500的裝置的電壓,可改良節電效應。舉例言之,當驅動頻率設定為低時,欲施加至LSI ex500或含LSI ex500的裝置的電壓可能設定為低於驅動頻率設定為較高之情況的電壓。 Further, in conjunction with the switching of the driving frequency, the power saving effect can be improved by changing the voltage to be applied to the LSI ex500 or the device including the LSI ex500. For example, when the driving frequency is set to be low, the voltage to be applied to the LSI ex500 or the device including the LSI ex500 may be set to a voltage lower than the case where the driving frequency is set to be high.

此外,當解碼的處理量更大時,驅動頻率可設定為更高,而當解碼的處理量更小時,驅動頻率可設定為更低作為設定驅動頻率的方法。如此,設定方法並非限於前述者。舉例言之,當解碼符合MPEG-4 AVC的視訊資料的處理量係大於各個實施例中描述的解碼由移動圖像編碼方法及移動圖像編碼裝置所產生的視訊資料的處理量,驅動頻率可能以前述設定的反向順序設定。 Further, when the amount of processing of decoding is larger, the driving frequency can be set higher, and when the amount of processing of decoding is smaller, the driving frequency can be set lower as a method of setting the driving frequency. As such, the setting method is not limited to the foregoing. For example, when the processing amount of decoding the video data conforming to MPEG-4 AVC is greater than the processing amount of decoding the video data generated by the moving image encoding method and the moving image encoding device described in the respective embodiments, the driving frequency may be Set in the reverse order of the above settings.

此外,設定驅動頻率之方法並不限制設定驅動頻率減低之方法。舉例言之,當識別資訊指示視訊資料係藉各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置產生時,欲施用至LSI ex500的電壓或含括LSI ex500的裝置可能設定更高。當識別資訊指示視訊資料符合習知標準 諸如MPEG-2、MPEG-4 AVC、及VC-1時,欲施用至LSI ex500的電壓或含括LSI ex500的裝置可能設定更低。至於另一個實例,當識別資訊指示視訊資料係藉各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置產生時,CPU ex502的驅動可能無需擱置。當識別資訊指示視訊資料符合習知標準諸如MPEG-2、MPEG-4 AVC、及VC-1時,CPU ex502的驅動可能在一給定時間擱置,原因在於CPU ex502具有額外處理容量。即便當識別資訊指示視訊資料係藉各個實施例中描述的移動圖像編碼方法及移動圖像編碼裝置產生時,於該種情況下,CPU ex502具有額外處理容量,CPU ex502的驅動可能在一給定時間擱置。於此種情況下,擱置時間可能設定為比較當識別資訊指示視訊資料符合習知標準諸如MPEG-2、MPEG-4 AVC、及VC-1的情況時更短。 In addition, the method of setting the driving frequency does not limit the method of setting the driving frequency to be reduced. For example, when the identification information indicates that the video data is generated by the moving image encoding method and the moving image encoding device described in the respective embodiments, the voltage to be applied to the LSI ex500 or the device including the LSI ex500 may be set higher. . When the identification information indicates that the video data conforms to the conventional standard For example, MPEG-2, MPEG-4 AVC, and VC-1, the voltage to be applied to the LSI ex500 or the device including the LSI ex500 may be set lower. As another example, when the identification information indicates that the video data is generated by the moving image encoding method and the moving image encoding device described in the respective embodiments, the driving of the CPU ex502 may not need to be put on hold. When the identification information indicates that the video material conforms to conventional standards such as MPEG-2, MPEG-4 AVC, and VC-1, the drive of the CPU ex502 may be put on hold at a given time because the CPU ex502 has additional processing capacity. Even when the identification information indicates that the video data is generated by the moving image encoding method and the moving image encoding device described in the respective embodiments, in this case, the CPU ex502 has an additional processing capacity, and the driving of the CPU ex502 may be given Set aside for a fixed time. In this case, the hold time may be set to be shorter when the identification information indicates that the video material conforms to a conventional standard such as MPEG-2, MPEG-4 AVC, and VC-1.

據此,藉由依據視訊資料符合的標準,藉在驅動頻率間切換可改良節電效果。又復,當LSI ex500或含LSI ex500的裝置係使用電池驅動時,電池壽命可使用節電效果延長。 Accordingly, the power saving effect can be improved by switching between driving frequencies according to standards conforming to the video data. Furthermore, when the LSI ex500 or the LSI ex500-equipped device is driven by a battery, the battery life can be extended by using the power saving effect.

(實施例E) (Example E)

有多個情況其中多個視訊資料符合不同標準係提供給裝置及系統,諸如電視及小區式電話。為了解碼符合不同標準的多個視訊資料,LSI ex500的信號處理單元ex507須符合不同標準。但個別使用符合個別標準的信號處理單元ex507,出現LSI ex500的電路規度增加及成本增高的問題。 There are a number of situations in which multiple video materials conform to different standards and are provided to devices and systems, such as televisions and cell phones. In order to decode multiple video data that meet different standards, the signal processing unit ex507 of the LSI ex500 must comply with different standards. However, the use of the signal processing unit ex507 which conforms to an individual standard has a problem that the circuit scale of the LSI ex500 increases and the cost increases.

為了解決該項問題,設想一種組態其中用以體現在各個實施例中描述的移動圖像解碼方法之解碼處理單元與符合習知標準的解碼處理單元MPEG-2、MPEG-4 AVC、及VC-1間部分共享。圖35A的ex900顯示組態的一個實例。舉例言之,各個實施例中描述的移動圖像解碼方法及符合MPEG-4 AVC的移動圖像解碼方法具有部分共通的處理細節,諸如熵編碼、反量化、解區塊濾波、及移動補償預測。欲共享的處理細節可能包括符合MPEG-4 AVC的解碼處理單元ex902。相反地,可能用於本發明之一面向獨特的其它處理。因本發明之一面向係以反量化為其特性,更明確言之,例如專用解碼處理單元ex901係用在反量化。否則,解碼處理單元可能為熵編碼、反量化、解區塊濾波、及移動補償預測或全部處理中之一者共享。用以體現於各個實施例中描述的移動圖像解碼方法之解可為欲共用的處理間共享,及專用解碼處理單元可用於MPEG-4 AVC獨特的處理。 In order to solve this problem, a decoding processing unit configured to embody the moving image decoding method described in the respective embodiments and a decoding processing unit MPEG-2, MPEG-4 AVC, and VC conforming to a conventional standard are conceived. -1 part shared. An example of the configuration of the ex900 display of Figure 35A. For example, the moving image decoding method and the MPEG-4 AVC compliant moving image decoding method described in the respective embodiments have partially common processing details such as entropy coding, inverse quantization, deblocking filtering, and motion compensation prediction. . The processing details to be shared may include a decoding processing unit ex902 conforming to MPEG-4 AVC. Conversely, one of the inventions may be used for other unique processing. Since one aspect of the present invention is directed to inverse quantization as its characteristic, more specifically, for example, the dedicated decoding processing unit ex901 is used for inverse quantization. Otherwise, the decoding processing unit may be shared by one of entropy coding, inverse quantization, deblocking filtering, and motion compensated prediction or all processing. The solution for the moving picture decoding method described in the various embodiments may be shared between processes to be shared, and the dedicated decoding processing unit may be used for MPEG-4 AVC unique processing.

此外,圖35B的ex1000顯示處理係部分共用的另一個實例。本實例使用一組態包括支援本發明之一面向獨特處理的一專用解碼處理單元ex1001,支援另一個習知標準獨特處理的一專用解碼處理單元ex1002,及支援依據本發明之一面向與習知移動圖像解碼方法間共用的處理的一解碼處理單元ex1003。此處專用解碼處理單元ex1001及ex1002分別地並非必要為依據本發明之一面向的處理及習知標準處理所特用,而可為能體現通用處理者。此外,本實施例之組態可藉LSI ex500體現。 Further, ex1000 of FIG. 35B shows another example in which the processing system portion is shared. This example uses a configuration including a dedicated decoding processing unit ex1001 that supports one of the unique processing of the present invention, a dedicated decoding processing unit ex1002 that supports another conventional standard unique processing, and supports one of the aspects of the present invention. A decoding processing unit ex1003 that processes the processing shared between the image decoding methods. Here, the dedicated decoding processing units ex1001 and ex1002 are not necessarily required for the processing according to one aspect of the present invention and the conventional standard processing, respectively, but may be embodied by a general-purpose processor. Furthermore, the configuration of this embodiment can be embodied by the LSI ex500.

如此,藉由在依據本發明之一面向的移動圖像解碼方法與符合習知標準的移動圖像解碼方法間共用的處理而共用解碼處理單元,可能縮小LSI的電路規度與減低成本。 As described above, by sharing the decoding processing unit with the processing common to the moving image decoding method according to one aspect of the present invention and the moving image decoding method conforming to the conventional standard, it is possible to reduce the circuit scale of the LSI and reduce the cost.

要言之,本發明係有關於可應用在影像或視訊編碼與解碼中平滑化區塊邊界的解區塊濾波。更明確言之,本發明係有關於濾波樣本之脈衝碼調變(PCM)編碼區塊。因此,致能或去能PCM編碼區塊的解區塊濾波之一分開指標及致能或去能第二濾波之一分開指標係嵌入該編碼位元中流以個別地切換開或關解區塊濾波及另一種濾波諸如適應性迴圈濾波或樣本適應性偏移。 In other words, the present invention relates to deblocking filtering that can be applied to smooth block boundaries in image or video encoding and decoding. More specifically, the present invention relates to pulse code modulation (PCM) coding blocks for filtered samples. Therefore, enabling or deactivating one of the deblocking filters of the PCM coding block and dissociating or deactivating one of the second filters separates the indicator into the stream of the coded bits to individually switch the block on or off. Filtering and another filtering such as adaptive loop filtering or sample adaptive offset.

1610-1640‧‧‧步驟 1610-1640‧‧‧Steps

Claims (18)

一種使用一脈衝碼調變(PCM)以編碼於一視訊信號之一影像中的一樣本區塊成為一位元串流之方法,該方法係包含:判定一解區塊濾波是否將施用至該樣本區塊;判定與該解區塊濾波不同的一第二濾波是否將施用至該樣本區塊;於該位元串流內含括一解區塊濾波指示符以指示判定是否將施用一解區塊濾波的結果;及於該位元串流內含括與該解區塊濾波指示符不同的一第二濾波指示符,以指示判定是否將施用一第二濾波的結果。 A method of using a pulse code modulation (PCM) to encode a block in a video of a video signal into a bit stream, the method comprising: determining whether a deblocking filter is to be applied to the a sample block; determining whether a second filter different from the deblocking filter is to be applied to the sample block; including a deblocking filter indicator in the bit stream to indicate whether a solution is to be applied a result of the block filtering; and the bit stream includes a second filter indicator different from the deblocking filter indicator to indicate whether a second filtered result is to be applied. 如申請專利範圍第1項之方法,其中該第二濾波為一適應性迴路濾波或一樣本適應性偏移(SAO)。 The method of claim 1, wherein the second filtering is an adaptive loop filtering or the same adaptive offset (SAO). 如申請專利範圍第1項之方法,其中該解區塊濾波指示符係含括於一序列參數集內部的該位元串流內。 The method of claim 1, wherein the deblocking filter indicator is included in the bit stream within a sequence of parameter sets. 如申請專利範圍第1項之方法,其中該第二指示符係含括於每個區塊的該位元串流中。 The method of claim 1, wherein the second indicator is included in the bit stream of each block. 如申請專利範圍第1項之方法,其中該判定一第二濾波是否將施用係包括下列步驟:決定於該經PCM編碼的樣本區塊中的量化雜訊量;及基於該所決定的量化雜訊量,判定是否要施用一第 二濾波。 The method of claim 1, wherein the determining whether the second filtering is to be applied comprises the steps of: determining a quantized noise amount in the PCM-coded sample block; and determining the quantized noise based on the determined Signal, determine whether to apply a Two filtering. 如申請專利範圍第1項之方法,其係包含下列步驟:判定一樣本適應性偏移(SAO)是否將施用至該樣本區塊;於該位元串流內含括一SAO指示符以指示判定是否要施用一SAO的結果。 The method of claim 1, wherein the method comprises the steps of: determining whether the same adaptive offset (SAO) is to be applied to the sample block; including an SAO indicator in the bit stream to indicate Determine if the result of a SAO is to be administered. 如申請專利範圍第1項之方法,其中該判定一第二濾波是否將施用至該樣本區塊之步驟係進一步包括下列步驟:判定該第二濾波是否將施用至可藉該解區塊濾波修飾的該區塊之該等樣本;於該位元串流內含括一已修飾樣本指示符以指示判定該第二濾波是否將施用至該已修飾樣本的結果;判定該第二濾波是否將施用至不可藉該解區塊濾波修飾的該區塊之該等樣本;及於該位元串流內含括一未經修飾樣本指示符以指示判定該第二濾波是否將施用至該未經修飾樣本的結果。 The method of claim 1, wherein the step of determining whether the second filtering is to be applied to the sample block further comprises the step of determining whether the second filtering is to be applied to the deblocking filter modification The samples of the block; including a modified sample indicator in the bit stream to indicate whether a result of determining whether the second filter is to be applied to the modified sample; determining whether the second filter is to be applied Up to the samples of the block that are not modifiable by the demapping filter; and including an unmodified sample indicator in the bit stream to indicate whether the second filter is to be applied to the unmodified The result of the sample. 如申請專利範圍第1項之方法,其中該判定一第二濾波是否將施用至該樣本區塊係基於判定該解區塊濾波是否將施用至該樣本區塊的結果而執行。 The method of claim 1, wherein the determining whether the second filter is to be applied to the sample block is performed based on a result of determining whether the deblocking filter is to be applied to the sample block. 如申請專利範圍第1項之方法,其中該判定一解區塊濾波是否將施用至該經PCM編碼的樣本區塊係包括下列步驟: 決定該樣本區塊之一相鄰區塊是否係使用脈衝碼調變編碼或藉預測編碼而編碼;當該相鄰區塊係藉預測編碼而編碼時,判定一解區塊濾波係將施用至該樣本區塊。 The method of claim 1, wherein the determining whether a deblocking filter is to be applied to the PCM encoded sample block comprises the steps of: Determining whether one of the neighboring blocks of the sample block is encoded by using pulse code modulation coding or by predictive coding; when the adjacent block is encoded by predictive coding, determining that a solution block filter system is applied to The sample block. 如申請專利範圍第1項之方法,其中該判定一解區塊濾波是否將施用至該樣本區塊係基於比較相鄰該樣本區塊之一區塊的量化誤差與一預定臨界值而執行。 The method of claim 1, wherein the determining whether a deblocking filter is to be applied to the sample block is performed based on comparing a quantization error of a block adjacent to the sample block with a predetermined threshold. 一種用以從一位元串流解碼於一視訊信號之一影像中的一樣本區塊之方法,該樣本區塊係使用一脈衝碼調變(PCM)編碼,該方法係包含:從該位元串流提取一解區塊濾波指示符以指示一解區塊濾波是否將施用至該樣本區塊;與該解區塊濾波指示符分開地,從該位元串流提取一第二濾波指示符以指示一第二濾波是否將施用至該樣本區塊;依據該所提取的解區塊濾波指示符而施用或不施用該解區塊濾波至該樣本區塊;及依據該所提取的第二濾波指示符而施用或不施用該第二濾波至該樣本區塊。 A method for decoding a block from a bit stream into an image of an image of a video signal, the sample block using a pulse code modulation (PCM) encoding, the method comprising: from the bit The meta-stream extracts a deblocking filter indicator to indicate whether a deblocking filter is to be applied to the sample block; separately from the deblocking filter indicator, extracting a second filtered indication from the bit stream a flag indicating whether a second filter is to be applied to the sample block; applying or not applying the deblocking filter to the sample block according to the extracted deblocking filter indicator; and according to the extracted The second filter indicator is applied with or without the second filtering to the sample block. 如申請專利範圍第11項之方法,其中該第二指示符指示一適應性迴路濾波及一樣本適應性偏移(SAO)二者是否將施用至該樣本區塊;或從該位元串流提取二分開的指示符,一者用以指示適應性迴路濾波是否將施用至該樣本區塊,而另一者指 示SAO是否將施用至該樣本區塊,及該適應性迴路濾波及SAO係依據所提取的指示符而施用或不施用至該樣本區塊。 The method of claim 11, wherein the second indicator indicates whether an adaptive loop filter and the same adaptive offset (SAO) are to be applied to the sample block; or stream from the bit Extracting two separate indicators, one to indicate whether adaptive loop filtering will be applied to the sample block, and the other to Whether the SAO will be applied to the sample block is indicated, and the adaptive loop filtering and SAO are applied or not applied to the sample block depending on the extracted indicator. 如申請專利範圍第11項之方法,其中該第二指示符包括:一已修飾樣本指示符,用以指示該第二濾波是否將施用至可藉該解區塊濾波修飾的該區塊之該等樣本;及/或一未經修飾樣本指示符,用以指示該第二濾波是否將施用至不可藉該解區塊濾波修飾的該區塊之該等樣本,及依據所提取的已修飾樣本指示符及未經修飾樣本指示符,施用或不施用該第二濾波至該區塊的該等個別已修飾樣本及未經修飾樣本。 The method of claim 11, wherein the second indicator comprises: a modified sample indicator to indicate whether the second filtering is to be applied to the block that can be modified by the deblocking filter And the like; and/or an unmodified sample indicator to indicate whether the second filter is to be applied to the samples that are not modifiable by the deblocking filter, and based on the extracted modified samples The indicator and the unmodified sample indicator, with or without the second filter applied to the individual modified and unmodified samples of the block. 如申請專利範圍第1項之方法,其中該解區塊濾波指示符及/或該第二濾波指示符係插入於該影像截割片標頭或該區塊資訊內。 The method of claim 1, wherein the deblocking filter indicator and/or the second filter indicator are inserted in the image slice header or the block information. 一種電腦程式產品,其包含具有一電腦可讀取程式代碼實施於其上的一電腦可讀取媒體,該程式代碼係適用以進行如申請專利範圍第1項之方法。 A computer program product comprising a computer readable medium having a computer readable program code embodied thereon, the program code being adapted to perform the method of claim 1 of the patent application. 一種使用一脈衝碼調變(PCM)以編碼於一視訊信號之一影像中的一樣本區塊成為一位元串流之裝置,該裝置係包含:一解區塊判定單元,用以判定一解區塊濾波是否將 施用至該樣本區塊;一第二判定單元,用以判定與該解區塊濾波不同的一第二濾波是否將施用至該樣本區塊;以及一嵌入單元,用以於該位元串流內含括一解區塊濾波指示符以指示判定是否將施用一解區塊濾波的結果,及用以於該位元串流內含括與該解區塊濾波指示符不同的一第二濾波指示符,以指示判定是否將施用一第二濾波的結果。 A device that uses a pulse code modulation (PCM) to encode a block in a video of a video signal into a bit stream, the device comprising: a solution block determining unit for determining a Does deblocking filtering Applying to the sample block; a second determining unit for determining whether a second filter different from the deblocking filter is to be applied to the sample block; and an embedding unit for streaming the bit Enclosing a deblocking filter indicator to indicate whether a result of determining a deblocking filter is to be applied, and to include a second filter different from the deblocking filter indicator in the bit stream An indicator to indicate whether a second filtered result will be applied. 一種用以從一位元串流解碼於一視訊信號之一影像中的一樣本區塊之裝置,該樣本區塊係使用一脈衝碼調變(PCM)編碼,該裝置係包含:一提取單元,其係從該位元串流提取一解區塊濾波指示符以指示一解區塊濾波是否將施用至該樣本區塊,及與該解區塊濾波指示符分開地,從該位元串流提取一第二濾波指示符以指示一第二濾波是否將施用至該樣本區塊;一解區塊濾波單元,其係經組配來依據該所提取的解區塊濾波指示符而施用或不施用該解區塊濾波至該樣本區塊;及一第二濾波單元,其係經組配來依據該所提取的第二濾波指示符而施用或不施用該第二濾波至該樣本區塊。 A device for decoding a block from a bit stream into an image of a video signal, the sample block using a pulse code modulation (PCM) encoding, the device comprising: an extracting unit Extracting a deblocking filter indicator from the bitstream to indicate whether a deblocking filter is to be applied to the sample block, and separately from the deblocking filter indicator, from the bit string Flow extracting a second filtered indicator to indicate whether a second filtering is to be applied to the sample block; a deblocking filtering unit that is configured to apply according to the extracted deblocking filter indicator or Not applying the deblocking filter to the sample block; and a second filtering unit configured to apply or not apply the second filtering to the sample block according to the extracted second filtering indicator . 一種用以具體實施如申請專利範圍第16項之裝置之積體電路,其係進一步包含一記憶體,該記憶體係為用以 儲存將被濾波的像素之一垂直及/或水平線記憶體。 An integrated circuit for implementing the device of claim 16 of the patent application, further comprising a memory, wherein the memory system is Store one of the pixels to be filtered vertically and/or horizontally.
TW101140787A 2011-11-03 2012-11-02 Filtering of blocks coded in the pulse code modulation mode TWI577191B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US201161555193P 2011-11-03 2011-11-03

Publications (2)

Publication Number Publication Date
TW201325242A TW201325242A (en) 2013-06-16
TWI577191B true TWI577191B (en) 2017-04-01

Family

ID=47178630

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101140787A TWI577191B (en) 2011-11-03 2012-11-02 Filtering of blocks coded in the pulse code modulation mode

Country Status (3)

Country Link
KR (1) KR102007050B1 (en)
TW (1) TWI577191B (en)
WO (1) WO2013064661A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201119206D0 (en) 2011-11-07 2011-12-21 Canon Kk Method and device for providing compensation offsets for a set of reconstructed samples of an image
KR101643839B1 (en) * 2012-06-26 2016-07-28 닛본 덴끼 가부시끼가이샤 Video encoding device, video decoding device, video encoding method, video decoding method, and program
EP3138293A4 (en) 2014-04-29 2017-05-24 Microsoft Technology Licensing, LLC Encoder-side decisions for sample adaptive offset filtering
US9747673B2 (en) 2014-11-05 2017-08-29 Dolby Laboratories Licensing Corporation Systems and methods for rectifying image artifacts
WO2016145240A1 (en) * 2015-03-10 2016-09-15 Apple Inc. Video encoding optimization of extended spaces including last stage processes
US10448015B2 (en) 2015-06-16 2019-10-15 Lg Electronics Inc. Method and device for performing adaptive filtering according to block boundary
GB2582029A (en) * 2019-03-08 2020-09-09 Canon Kk An adaptive loop filter
CN117041572A (en) * 2019-07-09 2023-11-10 Lg电子株式会社 Video encoding/decoding method, digital storage medium, and data transmission method
CN113411584A (en) * 2020-03-17 2021-09-17 北京三星通信技术研究有限公司 Video coding and decoding method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6614939B1 (en) * 1997-08-05 2003-09-02 Matsushita Electric Industrial Co., Ltd Image compression apparatus and decoding apparatus suited to lossless image compression
US6798833B2 (en) * 2001-05-07 2004-09-28 Hynix Semiconductor Inc. Video frame compression/decompression hardware system
EP2141927A1 (en) * 2008-07-03 2010-01-06 Panasonic Corporation Filters for video coding
US20110038421A1 (en) * 2004-10-15 2011-02-17 Heiko Schwarz Apparatus and Method for Generating a Coded Video Sequence by Using an Intermediate Layer Motion Data Prediction

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1927251A2 (en) * 2005-08-29 2008-06-04 Koninklijke Philips Electronics N.V. Apparatus for filtering an image obtained by block based image decompression
US9277243B2 (en) * 2006-11-08 2016-03-01 Thomson Licensing Methods and apparatus for in-loop de-artifact filtering
US20080267297A1 (en) * 2007-04-26 2008-10-30 Polycom, Inc. De-blocking filter arrangements
EP2375747B1 (en) * 2010-04-12 2019-03-13 Sun Patent Trust Filter positioning and selection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6614939B1 (en) * 1997-08-05 2003-09-02 Matsushita Electric Industrial Co., Ltd Image compression apparatus and decoding apparatus suited to lossless image compression
US6798833B2 (en) * 2001-05-07 2004-09-28 Hynix Semiconductor Inc. Video frame compression/decompression hardware system
US20110038421A1 (en) * 2004-10-15 2011-02-17 Heiko Schwarz Apparatus and Method for Generating a Coded Video Sequence by Using an Intermediate Layer Motion Data Prediction
EP2141927A1 (en) * 2008-07-03 2010-01-06 Panasonic Corporation Filters for video coding

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Keiichi Chono et al, "Pulse code modulation mode for HEVC", JCTVC-E057, March 16-23, Year of 2011 *
Keiichi Chono et al., "Proposal of enhanced PCM coding in HEVC", JCTVC-E192, March 16, Year of 2011 *

Also Published As

Publication number Publication date
TW201325242A (en) 2013-06-16
KR20140094496A (en) 2014-07-30
WO2013064661A1 (en) 2013-05-10
KR102007050B1 (en) 2019-10-01

Similar Documents

Publication Publication Date Title
JP7246008B2 (en) decoder and encoder
JP7361285B2 (en) Encoding method and encoding device
JP6422067B2 (en) Encoding method, program, and encoding apparatus
JP6210249B2 (en) Decoding method and decoding apparatus
EP2774362B1 (en) Quantization parameter for blocks coded in the pcm mode
TWI577191B (en) Filtering of blocks coded in the pulse code modulation mode
WO2012175196A1 (en) Deblocking control by individual quantization parameters