TW201941615A - Image processing device and method for operating image processing device - Google Patents

Image processing device and method for operating image processing device Download PDF

Info

Publication number
TW201941615A
TW201941615A TW107143583A TW107143583A TW201941615A TW 201941615 A TW201941615 A TW 201941615A TW 107143583 A TW107143583 A TW 107143583A TW 107143583 A TW107143583 A TW 107143583A TW 201941615 A TW201941615 A TW 201941615A
Authority
TW
Taiwan
Prior art keywords
data
entry
image data
entropy
value
Prior art date
Application number
TW107143583A
Other languages
Chinese (zh)
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 TW201941615A publication Critical patent/TW201941615A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/146Data rate or code amount at the encoder output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • 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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • 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/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation

Abstract

An image processing device and method for operating image processing device are provided. The image processing device includes a multimedia intellectual property (IP) block which processes image data; a memory; and a frame buffer compressor (FBC) which compresses the image data to generate compressed data and stores the compressed data in the memory. The frame buffer compressor includes a logic circuit which determines a combination of a quantization parameter (QP) table and an entropy table and controls compression of the image data based on the determined combination of the QP table and the entropy table.

Description

影像處理裝置及操作影像處理裝置之方法Image processing device and method for operating image processing device

本揭露是關於一種影像處理裝置及操作影像處理裝置之方法。This disclosure relates to an image processing device and a method of operating an image processing device.

越來越多的應用需要高解析度的視訊影像及高訊框率的影像。因此,自藉由影像處理裝置之各種多媒體智慧財產權(Intellectual Property;IP)區塊儲存這些影像的記憶體(亦即,帶寬)存取的資料的量已大大增加。More and more applications require high-resolution video images and high frame rate images. Therefore, the amount of data accessed from the memory (ie, bandwidth) that stores these images through the various Intellectual Property (IP) blocks of the image processing device has greatly increased.

每個影像處理裝置具有有限的處理能力。當帶寬增加時,影像處理裝置之處理能力可能達到此極限。因此,影像處理裝置的使用者可能在記錄或播放視訊影像時經歷速度降低。Each image processing device has limited processing capabilities. When the bandwidth increases, the processing capacity of the image processing device may reach this limit. As a result, users of image processing devices may experience slower speeds when recording or playing video images.

本發明概念之至少一個實施例提供一種執行經最佳化影像資料壓縮的影像處理裝置。At least one embodiment of the inventive concept provides an image processing device that performs optimized image data compression.

本發明概念之至少一個實施例提供一種用於操作執行經最佳化影像資料壓縮的影像處理裝置的方法。At least one embodiment of the inventive concept provides a method for operating an image processing apparatus that performs optimized image data compression.

根據本發明概念之例示性實施例,提供一種影像處理裝置,包含:多媒體智慧財產權(IP)區塊,處理影像資料;記憶體;以及訊框緩衝壓縮器(frame buffer compressor;FBC),壓縮影像資料以生成壓縮資料,並將壓縮資料儲存於記憶體中。訊框緩衝壓縮器包含邏輯電路,所述邏輯電路判定量化參數(quantization parameter;QP)表及熵表之組合,且基於所判定的QP表及熵表之組合來控制影像資料之壓縮。According to an exemplary embodiment of the inventive concept, an image processing device is provided, including: a multimedia intellectual property (IP) block that processes image data; a memory; and a frame buffer compressor (FBC) to compress an image Data to generate compressed data and store the compressed data in memory. The frame buffer compressor includes a logic circuit that determines a combination of a quantization parameter (QP) table and an entropy table, and controls compression of image data based on the determined combination of the QP table and the entropy table.

根據本發明概念之例示性實施例,提供一種影像處理裝置,包含:多媒體IP區塊,處理影像資料;記憶體;以及訊框緩衝壓縮器(FBC),壓縮影像資料以生成壓縮資料,並將壓縮資料儲存於記憶體中。訊框緩衝壓縮器包含邏輯電路,所述邏輯電路判定包含最多16個條目之量化參數(QP)表及藉由用於熵編碼的最大4之k值判定之熵表,且基於所判定的QP表及熵表之組合來控制影像資料之壓縮。According to an exemplary embodiment of the inventive concept, an image processing device is provided, including: a multimedia IP block that processes image data; a memory; and a frame buffer compressor (FBC) that compresses the image data to generate compressed data, and The compressed data is stored in memory. The frame buffer compressor includes a logic circuit that determines a quantization parameter (QP) table containing up to 16 entries and an entropy table determined by a k value of up to 4 for entropy coding, and is based on the determined QP The combination of tables and entropy tables controls the compression of image data.

根據本發明概念之例示性實施例,提供一種用於操作影像處理裝置的方法,包含:將影像資料轉換成包含預測資料及殘餘資料之經預測影像資料;判定包含預定數目個條目之量化參數(QP)表;使用所判定之QP表來量化經預測影像資料;使用用於熵編碼之預定數目個k值來判定熵表;以及使用所判定之熵表對經量化影像資料執行熵編碼,以生成壓縮資料。According to an exemplary embodiment of the inventive concept, a method for operating an image processing apparatus is provided, including: converting image data into predicted image data including prediction data and residual data; and determining a quantization parameter including a predetermined number of entries ( QP) table; using the determined QP table to quantify the predicted image data; using a predetermined number of k values for entropy coding to determine the entropy table; and using the determined entropy table to perform entropy coding on the quantized image data to Generate compressed data.

圖1至圖3為用於解釋根據本發明概念之例示性實施例的影像處理裝置的方塊圖。1 to 3 are block diagrams for explaining an image processing apparatus according to an exemplary embodiment of the inventive concept.

參考圖1,根據本發明概念之例示性實施例的影像處理裝置包含多媒體IP(智慧財產權)100(例如,IP區塊以及IP核心、電路等)、訊框緩衝壓縮器(FBC)200(例如,電路、數位信號處理器等)、記憶體300以及系統匯流排400。Referring to FIG. 1, an image processing apparatus according to an exemplary embodiment of the inventive concept includes a multimedia IP (Intellectual Property Right) 100 (eg, IP blocks and IP cores, circuits, etc.), a frame buffer compressor (FBC) 200 (eg, , Circuits, digital signal processors, etc.), memory 300 and system bus 400.

在實施例中,多媒體IP 100為影像處理裝置之一部分,其直接地執行影像處理裝置之影像處理。多媒體IP 100可包含用於記錄及再現影像(諸如視訊影像之攝影編碼及回放)的多個模組。In the embodiment, the multimedia IP 100 is a part of the image processing device, which directly performs the image processing of the image processing device. The multimedia IP 100 may include a plurality of modules for recording and reproducing images such as photographic coding and playback of video images.

多媒體IP 100自諸如攝像機之外部源接收第一資料(例如,影像資料),並將第一資料轉換成第二資料。舉例而言,第一資料可為移動影像資料或原始影像資料。第二資料為由多媒體IP 100生成之資料,且可包含由處理第一資料之多媒體IP 100產生的資料。多媒體IP 100可反覆地將第二資料儲存於記憶體300中,且經由多個步驟更新第二資料。第二資料可包含用於這些步驟中之所有資料。第二資料可呈第三資料形式儲存於記憶體300中。因此,第二資料可為在儲存於記憶體300中之前或自記憶體300讀取之後的資料。此將在下文中更詳細地解釋。The multimedia IP 100 receives first data (eg, video data) from an external source such as a camera, and converts the first data into second data. For example, the first data may be moving image data or original image data. The second data is data generated by the multimedia IP 100, and may include data generated by the multimedia IP 100 that processes the first data. The multimedia IP 100 can repeatedly store the second data in the memory 300 and update the second data through multiple steps. The second information may contain all the information used in these steps. The second data may be stored in the memory 300 in the form of the third data. Therefore, the second data may be data before being stored in the memory 300 or after being read from the memory 300. This will be explained in more detail below.

在例示性實施例中,多媒體IP 100包含影像信號處理器ISP 110、振盪校正模組G2D 120、多格式編解碼器MFC 130、GPU 140以及顯示器150。然而,本發明概念不限於此。亦即,多媒體IP 100可包含影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150中之至少一者。多媒體IP 100可藉由處理模組(例如處理器)實施,所述處理模組存取記憶體300以便處理表示移動影像或靜止影像的資料。In the exemplary embodiment, the multimedia IP 100 includes an image signal processor ISP 110, an oscillation correction module G2D 120, a multi-format codec MFC 130, a GPU 140, and a display 150. However, the inventive concept is not limited thereto. That is, the multimedia IP 100 may include at least one of an image signal processor 110, an oscillation correction module 120, a multi-format codec 130, a GPU 140, and a display 150. The multimedia IP 100 may be implemented by a processing module, such as a processor, which accesses the memory 300 to process data representing a moving image or a still image.

影像信號處理器110接收第一資料,並預處理第一資料,以將第一資料轉換成第二資料。在例示性實施例中,第一資料為RGB類型影像源資料。舉例而言,影像信號處理器110可將RGB類型的第一資料轉換成YUV類型第二資料。The image signal processor 110 receives the first data and pre-processes the first data to convert the first data into the second data. In an exemplary embodiment, the first data is RGB-type image source data. For example, the image signal processor 110 may convert the first data of the RGB type into the second data of the YUV type.

在實施例中,RGB類型資料意謂表示基於三種光原色之色彩的資料格式。亦即,其為使用三種類型之色彩(即紅色(RED)、綠色(GREEN)以及藍色(BLUE))表示影像的類型。對比而言,YUV類型意謂單獨表示亮度的資料格式,亦即,明度信號及色度信號。亦即,Y意謂明度信號,且U(Cb)及V(Cr)分別意謂色度信號。U意謂明度信號與藍色信號分量之間的差,且V意謂明度信號與紅色信號分量之間的差。In the embodiment, the RGB type data means a data format representing colors based on the three primary colors of light. That is, it uses three types of colors (ie, red (RED), green (GREEN), and blue (BLUE)) to indicate the type of image. In contrast, the YUV type means a data format representing brightness separately, that is, a luma signal and a chroma signal. That is, Y means a luma signal, and U (Cb) and V (Cr) respectively mean a chroma signal. U means the difference between the lightness signal and the blue signal component, and V means the difference between the lightness signal and the red signal component.

YUV類型資料可藉由使用轉換公式轉換RGB類型資料來獲得。舉例而言,可使用諸如Y=0.3R+0.59G+0.11B、U=(B-Y)×0.493、V=(R-Y)×0.877的轉換公式來將RGB類型資料轉換成YUV類型資料。YUV type data can be obtained by converting RGB type data using a conversion formula. For example, conversion formulas such as Y = 0.3R + 0.59G + 0.11B, U = (B-Y) × 0.493, and V = (R-Y) × 0.877 can be used to convert RGB type data into YUV type data.

由於人類的眼睛對明度信號敏感,而對色彩信號較不敏感,因此相較RGB類型資料,可更容易壓縮YUV類型資料。因此,影像信號處理器110可將RGB類型之第一資料轉換成YUV類型第二資料。Because human eyes are sensitive to lightness signals and less sensitive to color signals, it is easier to compress YUV-type data than RGB-type data. Therefore, the image signal processor 110 can convert the first data of the RGB type into the second data of the YUV type.

影像信號處理器110將第一資料轉換成第二資料,且接著將第二資料儲存於記憶體300中。The image signal processor 110 converts the first data into the second data, and then stores the second data in the memory 300.

振盪校正模組120可執行靜態影像資料或移動影像資料之振盪校正。振盪校正模組120可藉由讀取儲存於記憶體300中之第一資料或第二資料來執行振盪校正。在實施例中,振盪校正意謂偵測來自移動影像資料的攝像機之振盪以及移除來自移動影像資料的振盪。The oscillation correction module 120 may perform oscillation correction of still image data or moving image data. The oscillation correction module 120 may perform the oscillation correction by reading the first data or the second data stored in the memory 300. In an embodiment, the oscillation correction means detecting the oscillation from the camera of the moving image data and removing the oscillation from the moving image data.

振盪校正模組120可校正第一資料或第二資料之振盪,以更新第一資料或第二資料並將經更新資料儲存於記憶體300中。The oscillation correction module 120 may correct the oscillation of the first data or the second data to update the first data or the second data and store the updated data in the memory 300.

多格式編解碼器130可為壓縮移動影像資料之編解碼器。一般而言,由於移動影像資料之尺寸非常大,因此減小其尺寸的壓縮模組為必需的。移動影像資料可經由多個訊框之間的關聯來壓縮,且此壓縮可藉由多格式編解碼器130執行。多格式編解碼器130可讀取並壓縮儲存於記憶體300中之第一資料或第二資料。The multi-format codec 130 may be a codec for compressing moving image data. Generally speaking, since the size of moving image data is very large, a compression module for reducing its size is necessary. The moving image data may be compressed through association between multiple frames, and this compression may be performed by the multi-format codec 130. The multi-format codec 130 can read and compress the first data or the second data stored in the memory 300.

多格式編解碼器130可壓縮第一資料或第二資料以生成經更新第一資料或經更新第二資料,且將經更新資料儲存於記憶體300中。The multi-format codec 130 may compress the first data or the second data to generate the updated first data or the updated second data, and store the updated data in the memory 300.

圖形處理單元(Graphics Processing Unit;GPU)140可執算術處理以生成二維或三維圖形。GPU 140可對儲存於記憶體300中之第一資料或第二資料進行算術處理。GPU 140可特定用於圖形資料處理,以並行地處理圖形資料之部分。A graphics processing unit (GPU) 140 may perform arithmetic processing to generate two-dimensional or three-dimensional graphics. The GPU 140 may perform arithmetic processing on the first data or the second data stored in the memory 300. The GPU 140 may be specifically used for graphics data processing to process portions of the graphics data in parallel.

GPU 140可壓縮第一資料或第二資料,以生成經更新第一資料或經更新第二資料,並將經更新資料儲存於記憶體300中。The GPU 140 may compress the first data or the second data to generate updated first data or updated second data, and store the updated data in the memory 300.

顯示器150可將儲存於記憶體300中之第二資料顯示於螢幕上。顯示器150可顯示藉由多媒體IP 100之組件處理的影像資料,所述組件為影像信號處理器110、振盪校正模組120、多格式編解碼器130以及GPU 140。然而,本發明概念不限於這些實例。The display 150 can display the second data stored in the memory 300 on the screen. The display 150 can display image data processed by the components of the multimedia IP 100, which are an image signal processor 110, an oscillation correction module 120, a multi-format codec 130, and a GPU 140. However, the inventive concept is not limited to these examples.

多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150可分別單獨地操作。亦即,影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150可單獨地存取記憶體300,以寫入或讀取資料。The video signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100 can be separately operated. That is, the image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 can individually access the memory 300 to write or read data.

在實施例中,訊框緩衝壓縮器200壓縮第二資料,以在多媒體IP 100單獨地存取記憶體300之前將第二資料轉換成第三資料。訊框緩衝壓縮器200將第三資料傳輸至多媒體IP 100,且多媒體IP 100將第三資料傳輸至記憶體300。In an embodiment, the frame buffer compressor 200 compresses the second data to convert the second data into the third data before the multimedia IP 100 separately accesses the memory 300. The frame buffer compressor 200 transmits the third data to the multimedia IP 100, and the multimedia IP 100 transmits the third data to the memory 300.

因此,將由訊框緩衝壓縮器200壓縮之第三資料儲存於記憶體300中。相反,儲存於記憶體300中之第三資料可藉由多媒體IP 100加載,並被傳輸至訊框緩衝壓縮器200。在實施例中,訊框緩衝壓縮器200解壓縮第三資料,以將第三資料轉換成第二資料。訊框緩衝壓縮器200可將第二資料(亦即,解壓縮資料)傳輸至多媒體IP 100。Therefore, the third data compressed by the frame buffer compressor 200 is stored in the memory 300. On the contrary, the third data stored in the memory 300 can be loaded by the multimedia IP 100 and transmitted to the frame buffer compressor 200. In an embodiment, the frame buffer compressor 200 decompresses the third data to convert the third data into the second data. The frame buffer compressor 200 may transmit the second data (ie, decompressed data) to the multimedia IP 100.

在實施例中,每當多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150單獨存取記憶體300時,訊框緩衝壓縮器200將第二資料壓縮成第三資料且將第三資料傳送至記憶體300。舉例而言,在多媒體IP 100之組件中之一者生成第二資料並將第二資料儲存於記憶體300後,訊框緩衝壓縮器200可壓縮經儲存資料,並將壓縮資料儲存至記憶體300中。在實施例中,每當將資料請求自記憶體300傳輸至多媒體IP之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150時,訊框緩衝壓縮器200將第三資料解壓縮成第二資料,並將第二資料分別傳輸至多媒體IP 100之影像資料處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150。In the embodiment, whenever the image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100 separately access the memory 300, the frame buffer compressor 200 will The second data is compressed into third data and the third data is transmitted to the memory 300. For example, after one of the components of the multimedia IP 100 generates the second data and stores the second data in the memory 300, the frame buffer compressor 200 can compress the stored data and store the compressed data to the memory 300 in. In the embodiment, whenever a data request is transmitted from the memory 300 to the image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP, the frame buffer compressor 200 decompresses the third data into the second data, and transmits the second data to the image data processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100, respectively.

記憶體300儲存由訊框緩衝壓縮器200生成之第三資料,且可將經儲存第三資料提供給訊框緩衝壓縮器200,使得訊框緩衝壓縮器200可解壓縮第三資料。The memory 300 stores the third data generated by the frame buffer compressor 200, and the stored third data can be provided to the frame buffer compressor 200 so that the frame buffer compressor 200 can decompress the third data.

在實施例中,多媒體IP 100及記憶體300連接至系統匯流排400。具體而言,多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150可單獨地連接至系統匯流排400。系統匯流排400可為一路徑,多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140、顯示器150以及記憶體300經由所述路徑將資料傳送至彼此。In the embodiment, the multimedia IP 100 and the memory 300 are connected to the system bus 400. Specifically, the image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100 may be separately connected to the system bus 400. The system bus 400 may be a path. The image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, the display 150, and the memory 300 of the multimedia IP 100 transmit data to each other through the path. .

訊框緩衝壓縮器200不連接至系統匯流排400,且當多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150分別地存取記憶體時,執行將第二資料轉換成第三資料(例如,影像壓縮)及將第三資料轉換成第二資料(例如,影像解壓縮)的操作。The frame buffer compressor 200 is not connected to the system bus 400, and when the video signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100 respectively access the memory , Performing operations of converting the second data into third data (for example, image compression) and converting the third data into second data (for example, image decompression).

接著,參考圖2,根據本發明概念之例示性實施例的影像處理裝置之訊框緩衝壓縮器200直接地連接至系統匯流排400。Next, referring to FIG. 2, the frame buffer compressor 200 of the image processing apparatus according to an exemplary embodiment of the inventive concept is directly connected to the system bus 400.

訊框緩衝壓縮器200不直接地連接至多媒體IP 100,且經由系統匯流排400連接至多媒體IP 100。具體而言,多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150中之每一者可經由系統匯流排400將資料傳輸至訊框緩衝壓縮器200及自訊框緩衝壓縮器200傳輸資料,且因此可將資料傳輸至記憶體300。The frame buffer compressor 200 is not directly connected to the multimedia IP 100 and is connected to the multimedia IP 100 via the system bus 400. Specifically, each of the image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100 can transmit data to the frame buffer via the system bus 400. The compressor 200 and the frame buffer compressor 200 transmit data, and thus the data can be transmitted to the memory 300.

亦即,在壓縮過程中,多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150中之每一者可經由系統匯流排400將第二資料傳輸至訊框緩衝壓縮器200。隨後,訊框緩衝壓縮器200可將第二資料壓縮成第三資料,且經由系統匯流排400將第三資料傳輸至記憶體300。That is, during the compression process, each of the image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100 may transfer the second through the system bus 400. The data is transmitted to the frame buffer compressor 200. Subsequently, the frame buffer compressor 200 can compress the second data into the third data, and transmit the third data to the memory 300 via the system bus 400.

同樣,即使在解壓縮過程中,訊框緩衝壓縮器200可經由系統匯流排400接收儲存於記憶體300中之第三資料,且可將其解壓縮成第二資料。隨後,訊框緩衝壓縮器200可經由系統匯流排400將第二資料傳輸至多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150。Similarly, even during the decompression process, the frame buffer compressor 200 can receive the third data stored in the memory 300 via the system bus 400 and can decompress it into the second data. Subsequently, the frame buffer compressor 200 can transmit the second data to the image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100 via the system bus 400.

參考圖3,在根據本發明概念之例示性實施例的影像處理裝置中,記憶體300及系統匯流排400經由訊框緩衝壓縮器200彼此連接。Referring to FIG. 3, in an image processing apparatus according to an exemplary embodiment of the inventive concept, a memory 300 and a system bus 400 are connected to each other via a frame buffer compressor 200.

亦即,記憶體300不直接地連接至系統匯流排400,而是僅經由訊框緩衝壓縮器200連接至系統匯流排400。此外,多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150直接地連接至系統匯流排400。因此,多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150僅經由訊框緩衝壓縮器200存取記憶體300。That is, the memory 300 is not directly connected to the system bus 400, but is only connected to the system bus 400 via the frame buffer compressor 200. In addition, the image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100 are directly connected to the system bus 400. Therefore, the image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100 access the memory 300 only through the frame buffer compressor 200.

在本說明書中,第二資料被稱為影像資料10,且第三資料被稱為壓縮資料20。In this specification, the second data is referred to as video data 10 and the third data is referred to as compressed data 20.

圖4為用於詳細解釋圖1至圖3之訊框緩衝壓縮器的方塊圖。FIG. 4 is a block diagram for explaining the frame buffer compressor of FIGS. 1 to 3 in detail.

參考圖4,訊框緩衝壓縮器200包含編碼器210(例如,編碼電路)及解碼器220(例如,解碼電路)。Referring to FIG. 4, the frame buffer compressor 200 includes an encoder 210 (eg, an encoding circuit) and a decoder 220 (eg, a decoding circuit).

編碼器210可自多媒體IP 100接收影像資料10,以生成壓縮資料20。可自多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150中之每一者傳輸影像資料10。可經由多媒體IP 100及系統匯流排400將壓縮資料20傳輸至記憶體300。The encoder 210 may receive the image data 10 from the multimedia IP 100 to generate the compressed data 20. The image data 10 can be transmitted from each of the image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100. The compressed data 20 can be transmitted to the memory 300 via the multimedia IP 100 and the system bus 400.

相反,解碼器220可將儲存於記憶體300中之壓縮資料20解壓縮成影像資料10。可將影像資料10傳送至多媒體IP 100。可將影像資料10傳輸至多媒體IP 100之影像信號處理器110、振盪校正模組120、多格式編解碼器130、GPU 140以及顯示器150中之每一者。Instead, the decoder 220 can decompress the compressed data 20 stored in the memory 300 into image data 10. The image data 10 can be transmitted to the multimedia IP 100. The image data 10 can be transmitted to each of the image signal processor 110, the oscillation correction module 120, the multi-format codec 130, the GPU 140, and the display 150 of the multimedia IP 100.

圖5為用於詳細解釋圖4之編碼器的方塊圖。FIG. 5 is a block diagram for explaining the encoder of FIG. 4 in detail.

參考圖5,編碼器210包含第一模式選擇器219(例如,邏輯電路)、預測模組211(例如,邏輯電路)、量化模組213(例如,邏輯電路)、熵編碼模組215(例如,邏輯電路)以及填補模組217(例如,邏輯電路)。Referring to FIG. 5, the encoder 210 includes a first mode selector 219 (for example, a logic circuit), a prediction module 211 (for example, a logic circuit), a quantization module 213 (for example, a logic circuit), and an entropy encoding module 215 (for example, , Logic circuit) and padding module 217 (eg, logic circuit).

在實施例中,第一模式選擇器219判定編碼器210是否在無損模式或有損模式下操作。當編碼器210根據第一模式選擇器219在無損模式下操作時,沿圖5之無損路徑(Lossless)壓縮影像資料10,且當編碼器210在有損模式下操作時,沿有損路徑(Lossy)壓縮影像資料10。In an embodiment, the first mode selector 219 determines whether the encoder 210 operates in a lossless mode or a lossy mode. When the encoder 210 operates in the lossless mode according to the first mode selector 219, the image data 10 is compressed along the lossless path (Lossless) of FIG. 5, and when the encoder 210 operates in the lossy mode, it follows the lossy path ( Lossy) compressed image data10.

第一模式選擇器219可自多媒體IP 100接收信號,其用於判定是否執行無損壓縮或執行有損壓縮。無損壓縮意謂無資料損失的壓縮。壓縮比可視經無損壓縮之資料而變化。不同於無損壓縮,有損壓縮為其中資料部分損失的壓縮。有損壓縮具有比無損壓縮更高的壓縮比,且可具有提前設定之固定壓縮比。The first mode selector 219 may receive a signal from the multimedia IP 100, which is used to determine whether to perform lossless compression or perform lossy compression. Lossless compression means compression without loss of data. The compression ratio can be changed depending on the data losslessly compressed. Unlike lossless compression, lossy compression is one in which data is partially lost. Lossy compression has a higher compression ratio than lossless compression, and may have a fixed compression ratio set in advance.

在無損模式之情況下,第一模式選擇器219使得影像資料10能夠沿無損路徑(Lossless)流動至預測模組211、熵編碼模組215以及填補模組217。相反,在有損模式下,第一模式選擇器219使得影像資料10能夠沿有損路徑(Lossy)流動至預測模組211、量化模組213以及熵編碼模組215。In the case of the lossless mode, the first mode selector 219 enables the image data 10 to flow along the lossless path to the prediction module 211, the entropy encoding module 215, and the padding module 217. In contrast, in the lossy mode, the first mode selector 219 enables the image data 10 to flow along the lossy path to the prediction module 211, the quantization module 213, and the entropy coding module 215.

預測模組211可藉由將影像資料10分為預測資料及殘餘資料來壓縮影像資料10。預測資料及殘餘資料一起佔據比影像資料10更小的空間。在實施例中,預測資料為影像資料之一個像素之影像資料,且殘餘資料自與一個像素相鄰的影像資料之像素之預測資料及影像資料之間的差產生。舉例而言,若一個像素之影像資料具有0與255之間的差,則可能需要8個位元來表示此值。當相鄰像素具有與一個像素之值類似的值時,相鄰像素中之每一者之殘餘資料比預測資料小得多,且因此可大大減少表示影像資料10的資料位元之數目。舉例而言,當具有253、254以及255之值的像素為連續時,若預測資料設定為253,則表示(253(預測)、1(殘餘)以及2(殘餘))的殘餘資料是足夠的,且表現這些殘餘資料之每個像素的位元數目可自8位元減小至2位元。舉例而言,253、254以及255之資料之24位元可由於253 (11111101)之8位元預測資料、254-251 = 1 (01)之2位元殘餘資料以及255-253=2 (10)之2位元殘餘資料而減小至12位元。The prediction module 211 can compress the image data 10 by dividing the image data 10 into prediction data and residual data. The prediction data and residual data together occupy less space than the image data10. In the embodiment, the prediction data is image data of one pixel of the image data, and the residual data is generated from the difference between the prediction data of the pixels of the image data adjacent to one pixel and the image data. For example, if the image data of a pixel has a difference between 0 and 255, 8 bits may be required to represent this value. When the neighboring pixels have a value similar to that of one pixel, the residual data of each of the neighboring pixels is much smaller than the predicted data, and thus the number of data bits representing the image data 10 can be greatly reduced. For example, when pixels with values of 253, 254, and 255 are continuous, if the prediction data is set to 253, it means that (253 (forecast), 1 (residual), and 2 (residual)) residual data is sufficient , And the number of bits per pixel representing these residual data can be reduced from 8 bits to 2 bits. For example, the 24-bit data of 253, 254, and 255 can be due to the 8-bit prediction data of 253 (11111101), the 2-bit residual data of 254-251 = 1 (01), and 255-253 = 2 (10 ) 'S 2-bit residual data is reduced to 12 bits.

因此,預測模組211可藉由將影像資料10分為預測資料及殘餘資料來壓縮影像資料10之總尺寸。各種方法可用於設定預測資料之類型。Therefore, the prediction module 211 can compress the total size of the image data 10 by dividing the image data 10 into prediction data and residual data. Various methods can be used to set the type of prediction data.

預測模組211可基於像素執行預測,或可基於區塊執行預測。在此情況下,區塊可意謂由多個相鄰像素形成的區域。舉例而言,基於像素之預測可意謂所有殘餘資料自像素中之一者產生,且基於區塊之預測可意謂殘餘資料針對每一區塊自對應於區塊之像素產生。The prediction module 211 may perform prediction based on pixels, or may perform prediction based on blocks. In this case, a block may mean an area formed by a plurality of adjacent pixels. For example, pixel-based prediction may mean that all residual data is generated from one of the pixels, and block-based prediction may mean that residual data is generated for each block from a pixel corresponding to the block.

量化模組213可進一步壓縮由預測模組211壓縮的影像資料10。在例示性實施例中,量化模組213經由預設量化係數移除影像資料10之較低位元。具體而言,藉由將資料乘以量化係數來選擇代表值,但藉由截斷小數部分可能發生損失。若像素資料之值在0與28 - 1 (= 255)之間,則可將量化係數定義為/(2n -1)(其中,n為小於或等於8之整數)。然而,本發明實施例不限於此。舉例而言,若預測資料為253 (11111101),則預測資料可藉由移除較低2位元自8位元減小至6位元,其產生(111111) 252之預測資料。The quantization module 213 can further compress the image data 10 compressed by the prediction module 211. In the exemplary embodiment, the quantization module 213 removes the lower bits of the image data 10 via a preset quantization coefficient. Specifically, the representative value is selected by multiplying the data by the quantization coefficient, but a loss may occur by truncating the decimal part. If the value of the pixel data is between 0 and 2 8-1 (= 255), the quantization coefficient can be defined as / (2 n -1) (where n is an integer less than or equal to 8). However, the embodiments of the present invention are not limited thereto. For example, if the prediction data is 253 (11111101), the prediction data can be reduced from 8 bits to 6 bits by removing the lower 2 bits, which results in (111111) 252 prediction data.

然而,經移除較低位元稍後未恢復,且因此丟失。因此,僅在有損模式下利用量化模組213。然而,由於有損模式相較無損模式具有相對更高的壓縮比,且可具有提前設定的固定壓縮比,因此稍後不單獨需要關於壓縮比之資訊。However, the removed lower bits were not recovered later, and were therefore lost. Therefore, the quantization module 213 is used only in the lossy mode. However, since the lossy mode has a relatively higher compression ratio than the lossless mode and may have a fixed compression ratio set in advance, information on the compression ratio is not required separately later.

熵編碼模組215可壓縮在有損模式下由量化模組213壓縮的影像資料10或在無損模式下經由熵編碼由預測模組211壓縮的影像資料10。在實施例中,熵編碼採用視頻率而定分配位元數目的方法。The entropy coding module 215 can compress the image data 10 compressed by the quantization module 213 in a lossy mode or the image data 10 compressed by the prediction module 211 through the entropy coding in a lossless mode. In an embodiment, the entropy coding uses a method of determining the number of allocated bits based on the video rate.

在例示性實施例中,熵編碼模組215使用霍夫曼(Huffman)編碼來壓縮影像資料10。在一替代實施例中,熵編碼模組215經由指數哥倫布(exponential golomb)編碼或哥倫布萊斯(golomb rice)編碼來壓縮影像資料10。在實施例中,熵編碼模組215根據待壓縮之資料判定熵編碼值(例如,k值),根據k值產生圖表,且使用圖表來壓縮影像資料10。In the exemplary embodiment, the entropy encoding module 215 uses Huffman encoding to compress the image data 10. In an alternative embodiment, the entropy coding module 215 compresses the image data 10 via exponential golomb coding or golomb rice coding. In the embodiment, the entropy encoding module 215 determines the entropy encoding value (for example, the k value) according to the data to be compressed, generates a graph according to the k value, and uses the graph to compress the image data 10.

填補模組217可對在無損模式下由熵編碼模組215壓縮之影像資料10執行填補。在本文中,填補可意謂添加無意義的資料以匹配特定尺寸。此將在下文中更詳細地解釋。The padding module 217 can perform padding on the image data 10 compressed by the entropy encoding module 215 in a lossless mode. In this article, padding can mean adding meaningless data to match a particular size. This will be explained in more detail below.

可不僅在無損模式下且亦在有損模式下啟用填補模組217。在有損模式下,當由量化模組213壓縮時,影像資料10可比所需壓縮比更進一步壓縮。在此情況下,甚至在有損模式下,影像資料10可經由填補模組217轉換成壓縮資料20,且將其傳輸至記憶體300。在例示性實施例中,省略填補模組217,使得不執行填補。The padding module 217 can be enabled not only in a lossless mode but also in a lossy mode. In the lossy mode, when compressed by the quantization module 213, the image data 10 can be further compressed than the required compression ratio. In this case, even in a lossy mode, the image data 10 can be converted into compressed data 20 via the padding module 217 and transmitted to the memory 300. In the exemplary embodiment, the padding module 217 is omitted so that padding is not performed.

壓縮管理模組218判定各自用於量化及熵編碼的量化參數(QP)表及熵表之組合,且根據所判定的QP表及熵表之組合來控制影像資料10之壓縮。The compression management module 218 determines a combination of a quantization parameter (QP) table and an entropy table for quantization and entropy coding, and controls the compression of the image data 10 according to the determined combination of the QP table and the entropy table.

在此情況下,第一模式選擇器219判定編碼器210在有損模式下操作,且因此影像資料10沿圖5之有損路徑(Lossy)經壓縮。亦即,其中壓縮管理模組218判定QP表及熵表之組合且根據所判定的QP表及熵表之組合壓縮影像資料10的組態以其中訊框緩衝壓縮器200使用有損壓縮演算法壓縮影像資料10之情況為前提。In this case, the first mode selector 219 determines that the encoder 210 operates in a lossy mode, and thus the image data 10 is compressed along a lossy path (Lossy) of FIG. 5. That is, the compression management module 218 determines the combination of the QP table and the entropy table and compresses the configuration of the image data 10 according to the determined combination of the QP table and the entropy table. The frame buffer compressor 200 uses a lossy compression algorithm. It is assumed that the image data 10 is compressed.

具體而言,QP表包含一或多個條目,且每一條目可包含用於量化影像資料10的量化係數。Specifically, the QP table includes one or more entries, and each entry may include a quantization coefficient for quantizing the image data 10.

在實施例中,熵表包含多個編碼表,其使用k值鑑別以執行熵編碼算法。可用於本發明概念之一些實施例中的熵表包含指數哥倫布編碼及哥倫布萊斯編碼中之至少一個。In an embodiment, the entropy table includes multiple encoding tables that use k-value discrimination to perform an entropy encoding algorithm. An entropy table that can be used in some embodiments of the inventive concept includes at least one of exponential Columbus coding and Columbus coding.

壓縮管理模組218判定包含預定數目個條目的QP表,且訊框緩衝壓縮器200使用所判定之QP表執行經預測影像資料10之量化。另外,壓縮管理模組218使用預定數目個k值判定熵表,且訊框緩衝壓縮器200使用所判定之熵表對經量化影像資料10執行熵編碼。亦即,訊框緩衝壓縮器200基於藉由壓縮管理模組218判定的QP表及熵表之組合生成壓縮資料20。The compression management module 218 determines a QP table containing a predetermined number of entries, and the frame buffer compressor 200 performs the quantization of the predicted image data 10 using the determined QP table. In addition, the compression management module 218 uses a predetermined number of k values to determine the entropy table, and the frame buffer compressor 200 uses the determined entropy table to perform entropy encoding on the quantized image data 10. That is, the frame buffer compressor 200 generates the compressed data 20 based on the combination of the QP table and the entropy table determined by the compression management module 218.

此後,訊框緩衝壓縮器200可將所生成壓縮資料20寫入至記憶體300。同樣,訊框緩衝壓縮器200可自記憶體300讀取壓縮資料20,且解壓縮經讀取的壓縮資料20以生成解壓縮資料,以將解壓縮資料提供給多媒體IP 100。Thereafter, the frame buffer compressor 200 may write the generated compressed data 20 into the memory 300. Similarly, the frame buffer compressor 200 can read the compressed data 20 from the memory 300, and decompress the read compressed data 20 to generate decompressed data to provide the decompressed data to the multimedia IP 100.

稍後將參考圖7至圖16描述用於執行此類操作的壓縮管理模組218的更多細節。More details of the compression management module 218 for performing such operations will be described later with reference to FIGS. 7 to 16.

圖6為用於詳細解釋圖4之編碼器的方塊圖。FIG. 6 is a block diagram for explaining the encoder of FIG. 4 in detail.

參考圖6,解碼器220包含第二模式選擇器229(例如,邏輯電路)、未填補模組227(例如,邏輯電路)、熵解碼模組225(例如,邏輯電路)、逆量化模組223(例如,邏輯電路)以及預測補償模組221(例如,邏輯電路)。Referring to FIG. 6, the decoder 220 includes a second mode selector 229 (for example, a logic circuit), an unfilled module 227 (for example, a logic circuit), an entropy decoding module 225 (for example, a logic circuit), and an inverse quantization module 223. (Eg, a logic circuit) and the prediction compensation module 221 (eg, a logic circuit).

第二模式選擇器229判定儲存於記憶體300中之壓縮資料20是否已以無損方式或以有損方式經壓縮。在例示性實施例中,第二模式選擇器229經由標頭之存在或不存在判定壓縮資料20已藉由無損模式抑或有損模式壓縮。此將在下文中更詳細地解釋。The second mode selector 229 determines whether the compressed data 20 stored in the memory 300 has been compressed in a lossless manner or in a lossy manner. In an exemplary embodiment, the second mode selector 229 determines whether the compressed data 20 has been compressed by a lossless mode or a lossy mode via the presence or absence of a header. This will be explained in more detail below.

在無損模式之情況下,第二模式選擇器229使得壓縮資料20能夠沿無損路徑(Lossless)流動至未填補模組227、熵解碼模組225以及預測補償模組221。相反,在有損模式之情況下,第二模式選擇器229使得壓縮資料20能夠沿有損路徑(Lossy)流動至熵解碼模組225、逆量化模組223以及預測補償模組221。In the case of the lossless mode, the second mode selector 229 enables the compressed data 20 to flow along the lossless path to the unfilled module 227, the entropy decoding module 225, and the prediction compensation module 221. In contrast, in the case of the lossy mode, the second mode selector 229 enables the compressed data 20 to flow along the lossy path to the entropy decoding module 225, the inverse quantization module 223, and the prediction compensation module 221.

未填補模組227移除藉由編碼器210之填補模組217填補的資料之填補部分。當省略填補模組217時,可省略未填補模組227。The unfilled module 227 removes the padded portion of the data filled by the padded module 217 of the encoder 210. When the filling module 217 is omitted, the unfilled module 227 may be omitted.

熵解碼模組225可解壓縮由熵編碼模組215壓縮之資料。熵解碼模組225可經由霍夫曼編碼、指數哥倫布編碼或哥倫布萊斯編碼執行解壓縮。由於壓縮資料20包含k值,因此熵解碼模組225可使用k值來執行解碼。The entropy decoding module 225 can decompress the data compressed by the entropy encoding module 215. The entropy decoding module 225 may perform decompression via Huffman coding, exponential Columbus coding, or Columbus coding. Since the compressed data 20 includes a k value, the entropy decoding module 225 may use the k value to perform decoding.

逆量化模組223可解壓縮由量化模組213壓縮之資料。逆量化模組223可恢復使用藉由量化模組213判定之量化係數來壓縮的壓縮資料20,但完全恢復在壓縮過程中丟失的部分是不可能的。因此,僅在有損模式下利用逆量化模組223。The inverse quantization module 223 can decompress the data compressed by the quantization module 213. The inverse quantization module 223 can recover the compressed data 20 compressed using the quantization coefficient determined by the quantization module 213, but it is impossible to completely recover the part lost during the compression process. Therefore, the inverse quantization module 223 is used only in the lossy mode.

預測補償模組221可恢復由預測資料表示之資料以及由預測模組211生成之殘餘資料。預測補償模組221可例如將殘餘資料表示(253(預測)、1(殘餘)以及2(殘餘))轉換成253、254以及255。舉例而言,預測補償模組221可藉由將殘餘資料添加至預測資料來恢復資料。The prediction compensation module 221 can recover the data represented by the prediction data and the residual data generated by the prediction module 211. The prediction compensation module 221 may, for example, convert residual data representations (253 (forecast), 1 (residual), and 2 (residual)) into 253, 254, and 255. For example, the prediction compensation module 221 may recover data by adding residual data to the prediction data.

預測補償模組221可根據預測模組211恢復以像素或區塊為單位執行的預測。因此,壓縮資料20可經恢復或解壓縮,且可被傳輸至多媒體多媒體IP 100。The prediction compensation module 221 may recover the prediction performed in units of pixels or blocks according to the prediction module 211. Therefore, the compressed data 20 can be restored or decompressed, and can be transmitted to the multimedia IP 100.

當解壓縮壓縮資料20時,解壓縮管理模組228可執行可恰當地反映由上文參考圖5描述之壓縮管理模組218判定的QP表及熵表的組合以執行影像資料10之壓縮的工作。When decompressing the compressed data 20, the decompression management module 228 may perform a combination of the QP table and the entropy table that can appropriately reflect the determination of the QP table and the entropy table determined by the compression management module 218 described above with reference to FIG. jobs.

現將參考圖7至圖16描述上文所描述之影像處理裝置的操作。The operation of the image processing apparatus described above will now be described with reference to FIGS. 7 to 16.

圖7至圖10為用於解釋根據本發明概念之例示性實施例的影像處理裝置之操作的示意圖。7 to 10 are diagrams for explaining an operation of an image processing apparatus according to an exemplary embodiment of the inventive concept.

參考圖7,壓縮管理模組218判定包含預定數目個條目之QP表230。在此實施例中,壓縮管理模組218判定實現八級量化的包含八個條目之QP表230。Referring to FIG. 7, the compression management module 218 determines a QP table 230 containing a predetermined number of entries. In this embodiment, the compression management module 218 determines a QP table 230 including eight entries that achieves eight levels of quantization.

QP表230包含第一條目及第二條目。此處,第一條目為對應於指數0的量化係數,且第二條目為對應於指數7的量化係數。此外,QP表230包含第一條目與第二條目之間的一或多個第三條目。在本發明實施例中,一或多個第三條目對應於量化係數,所述量化係數對應於指數1至指數6。The QP table 230 includes a first entry and a second entry. Here, the first entry is a quantization coefficient corresponding to the index 0, and the second entry is a quantization coefficient corresponding to the index 7. In addition, the QP table 230 contains one or more third entries between the first entry and the second entry. In an embodiment of the present invention, the one or more third entries correspond to a quantization coefficient, which corresponds to an index 1 to an index 6.

第一條目經判定為預定第一值。在本發明實施例中,預定第一值由「MaxShiftValue」表示。第一值為可視需要在影像處理裝置或用於操作根據本發明概念之各種實施例之影像處理裝置之方法的實際實施方案中任意判定的恆定值。The first entry is determined to be a predetermined first value. In the embodiment of the present invention, the predetermined first value is represented by "MaxShiftValue". The first value is a constant value arbitrarily determined in an image processing device or an actual implementation of a method for operating an image processing device according to various embodiments of the inventive concept, as required.

在將第一條目判定為第一值之後,第二條目藉由以下等式判定:After the first entry is determined as the first value, the second entry is determined by the following equation:

MaxShiftValue >> BitDepth * (1 - CompressionRatio)MaxShiftValue >> BitDepth * (1-CompressionRatio)

此處,MaxShiftValue表示前述第一值,BitDepth表示影像資料10之位元深度,且CompressionRatio表示壓縮比。Here, MaxShiftValue represents the aforementioned first value, BitDepth represents the bit depth of the image data 10, and CompressionRatio represents the compression ratio.

亦即,當第一值相等且目標壓縮比相等時,壓縮管理模組218可根據影像資料10之位元深度不同地設定QP表230之最終值。That is, when the first values are equal and the target compression ratio is equal, the compression management module 218 may set the final value of the QP table 230 differently according to the bit depth of the image data 10.

以此方式,在將第一條目判定為第一值且將第二條目判定為第二值之後,第三條目可經由取樣判定。亦即,在包含預定數目個條目之QP表230中,對於除第一條目及第二條目以外的剩餘第三條目,第三條目可經取樣以使得恰當地分佈量化係數。In this manner, after determining the first entry as the first value and the second entry as the second value, the third entry may be determined via sampling. That is, in the QP table 230 containing a predetermined number of entries, for the remaining third entries other than the first and second entries, the third entry may be sampled so that the quantization coefficients are appropriately distributed.

在另一方面,壓縮管理模組218可使用預定數目個k值來判定熵表。在本揭露之一些實施例中,熵表藉由最大4或小於4之k值來判定。In another aspect, the compression management module 218 may use a predetermined number of k values to determine the entropy table. In some embodiments of the present disclosure, the entropy table is determined by a k value of 4 or less.

具體地,熵表可藉由具有第一位元深度的影像資料10的n、n+1、n+2以及n+3(其中n為0或大於0之整數)之k值限定,且可藉由具有大於第一位元深度之第二位元深度的影像資料10的n+a、n+a+1、n+a+2以及n+a+3(其中a為1或大於1之整數)之k值限定。Specifically, the entropy table may be defined by the k values of n, n + 1, n + 2, and n + 3 (where n is 0 or an integer greater than 0) of the image data 10 having the first bit depth, and may be N + a, n + a + 1, n + a + 2, and n + a + 3 (where a is 1 or greater than 1) by image data 10 having a second bit depth greater than the first bit depth Integer).

舉例而言,熵表可藉由具有第一位元深度為8位元的影像資料的0、1、2以及3之k值判定,且可藉由具有第二位元深度為10位元的影像資料的1、2、3以及4之k值判定。For example, the entropy table can be determined by the k values of 0, 1, 2, and 3 of the image data with a first bit depth of 8 bits, and can be determined by a second bit depth of 10 bits. Determine the k value of 1, 2, 3 and 4 of the image data.

亦即,壓縮管理模組218可根據影像資料10之位元深度不同地設定例如四個連續k值。That is, the compression management module 218 may set, for example, four consecutive k values differently according to the bit depth of the image data 10.

當執行影像資料10之基於區塊之有損壓縮時,如上文所描述執行預測、量化以及熵編碼步驟。在量化之情況下,由於包含量化因素之QP表具有更多個條目,因此有可能更精密地執行壓縮。然而,記憶體資源經消耗以維持具有多個條目的QP表,且可增加在訊框緩衝控制器200之編碼器210與解碼器220之間傳輸及接收的壓縮資料20之串流標頭之位元數目。特定言之,在其中以區塊為單位對影像資料10執行壓縮的環境中,當考慮整體影像尺寸時,即使壓縮資料20之串流標頭僅增加一個位元,仍可消耗大量帶寬。When performing block-based lossy compression of the image data 10, prediction, quantization, and entropy encoding steps are performed as described above. In the case of quantization, since the QP table containing quantization factors has more entries, it is possible to perform compression more precisely. However, memory resources are consumed to maintain a QP table with multiple entries, and the bit of the stream header 20 of the compressed data 20 transmitted and received between the encoder 210 and the decoder 220 of the frame buffer controller 200 can be increased Yuan number. In particular, in an environment in which the image data 10 is compressed in units of blocks, when considering the overall image size, even if the stream header of the compressed data 20 is increased by only one bit, a large amount of bandwidth can still be consumed.

此外,在熵編碼之情況下,由於殘餘信號(殘餘)之分佈在例如位元深度為8位元之影像資料的情況與例如位元深度為10位元之影像資料的情況之間不同,因此用於熵編碼之熵表亦需要經不同地判定。舉例而言,由於熵表條目之值彙聚至0之趨勢在位元深度為10位元之影像資料的情況下變得比在位元深度為8位元之影像資料的情況下更低,因此有必要視位元深度而定不同地判定k值。In addition, in the case of entropy coding, since the distribution of the residual signal (residue) is different between the case of image data having a bit depth of 8 bits and the case of image data having a bit depth of 10 bits, for example, The entropy table used for entropy coding also needs to be determined differently. For example, since the tendency for the values of the entropy table entries to converge to 0 becomes lower in the case of image data with a bit depth of 10 bits than in the case of image data with a bit depth of 8 bits, It is necessary to determine the value of k differently depending on the bit depth.

因此,藉由判定具有良好壓縮品質之合適尺寸之QP表且藉由考慮到殘餘信號之分佈選擇合適k值來判定熵表,訊框緩衝壓縮器200與記憶體300之間的帶寬可被減小,同時增強影像資料10之壓縮性能。Therefore, by determining a QP table of a suitable size with good compression quality and selecting an appropriate k value in consideration of the distribution of the residual signal to determine the entropy table, the bandwidth between the frame buffer compressor 200 and the memory 300 can be reduced. Small, while enhancing the compression performance of the image data10.

在本發明概念之一些實施例中,壓縮管理模組218判定包含最多16個條目之QP表。同樣,在本揭露之一些實施例中,壓縮管理模組218判定包含八個或大於八個條目之QP表。In some embodiments of the inventive concept, the compression management module 218 determines a QP table containing a maximum of 16 entries. Similarly, in some embodiments of the present disclosure, the compression management module 218 determines that the QP table contains eight or more entries.

接著,參考圖8,壓縮管理模組218判定包含八個條目之QP表232。Next, referring to FIG. 8, the compression management module 218 determines a QP table 232 including eight entries.

作為一實例,假定QP表232之第一條目經判定為4096。壓縮管理模組218藉由如下之BitDepth*(1-CompressionRatio)對對應於第一值之4096執行位元移位運算。As an example, assume that the first entry of QP table 232 is determined to be 4096. The compression management module 218 performs a bit shift operation on 4096 corresponding to the first value by BitDepth * (1-CompressionRatio) as follows.

4096 >> 8 × (1-0.5) = 2564096 >> 8 × (1-0.5) = 256

此處,8為對應於影像資料10之位元深度的值,且0.5(例如,50%)為對應於目標壓縮比的值。Here, 8 is a value corresponding to the bit depth of the image data 10, and 0.5 (for example, 50%) is a value corresponding to the target compression ratio.

以此方式,在將第一條目判定為4096且將第二條目判定為256之後,第三條目可經由取樣判定。亦即,在包含八個條目之QP表232中,第三條目可經判定例如為1365、819、585、455、372以及315,使得對於對應於除第一條目4096及第二條目256以外的剩餘指數1至剩餘指數6的第三條目,恰當地分佈量化係數。由此判定之QP表232之條目亦可藉由除以例如為MaxShiftValue值之4096而用作量化係數。In this manner, after determining the first entry as 4096 and the second entry as 256, the third entry may be determined via sampling. That is, in the QP table 232 containing eight entries, the third entry may be determined to be, for example, 1365, 819, 585, 455, 372, and 315, so that for the corresponding entries except the first entry 4096 and the second entry The third entry of Remaining Index 1 to Remaining Index 6 other than 256 distributes quantization coefficients appropriately. The entries of the QP table 232 thus determined can also be used as quantization coefficients by dividing by 4096, which is, for example, the value of MaxShiftValue.

在實施例中,壓縮管理模組218在影像資料10具有8位元之位元深度時判定k值為0、1、2以及3,且在影像資料10具有10位元之位元深度時判定k值為1、2、3以及4。In an embodiment, the compression management module 218 determines that the k value is 0, 1, 2, and 3 when the image data 10 has a bit depth of 8 bits, and determines that the image data 10 has a bit depth of 10 bits. The k values are 1, 2, 3, and 4.

以此方式,由於壓縮管理模組218判定各自用於量化及熵編碼的QP表及熵表之組合,且根據所判定的QP表及熵表之組合控制影像資料10之壓縮,有可能減小訊框緩衝壓縮器200與記憶體300之間的帶寬,同時增強影像資料10之壓縮性能。In this way, since the compression management module 218 determines the combination of the QP table and the entropy table respectively used for quantization and entropy coding, and controls the compression of the image data 10 according to the determined combination of the QP table and the entropy table, it is possible to reduce The frame buffers the bandwidth between the compressor 200 and the memory 300 while enhancing the compression performance of the image data 10.

接著,參考圖9,壓縮管理模組218判定包含八個條目之QP表234。Next, referring to FIG. 9, the compression management module 218 determines a QP table 234 containing eight entries.

舉例而言,假定QP表234之第一條目經判定為4096。壓縮管理模組218藉由如下之BitDepth * (1-CompressionRatio)對對應於第一值之4096執行位元移位運算。For example, suppose the first entry of QP table 234 is determined to be 4096. The compression management module 218 performs a bit shift operation on 4096 corresponding to the first value by BitDepth * (1-CompressionRatio) as follows.

4096 >> 10 × (1-0.5) = 1284096 >> 10 × (1-0.5) = 128

此處,10為對應於影像資料10之位元深度的值,且0.5為對應於目標壓縮比的值。Here, 10 is a value corresponding to the bit depth of the image data 10, and 0.5 is a value corresponding to the target compression ratio.

以此方式,在將第一條目判定為4096且將第二條目判定為128之後,第三條目可經由取樣判定。亦即,在包含八個條目之QP表234中,第三條目可經判定例如為819、455、293、216、171以及146,使得對於對應於除第一條目4096及第二條目128以外的剩餘指數1至6的第三條目,恰當地分佈量化係數。以此方式判定之QP表234之條目亦可藉由除以例如為MaxShiftValue值之4096而用作量化係數。In this way, after determining the first entry as 4096 and the second entry as 128, the third entry may be determined via sampling. That is, in the QP table 234 containing eight entries, the third entry may be determined to be, for example, 819, 455, 293, 216, 171, and 146, so that for the corresponding entries except the first entry 4096 and the second entry The third entry of the remaining indices 1 to 6 other than 128, appropriately distributes the quantization coefficients. The entries of the QP table 234 judged in this way can also be used as quantization coefficients by dividing by 4096 which is, for example, the value of MaxShiftValue.

在實施例中,壓縮管理模組218在影像資料10具有8位元之位元深度時判定k值為0、1、2以及3,且在影像資料10具有10位元之位元深度時判定k值為1、2、3以及4。In an embodiment, the compression management module 218 determines that the k value is 0, 1, 2, and 3 when the image data 10 has a bit depth of 8 bits, and determines that the image data 10 has a bit depth of 10 bits. The k values are 1, 2, 3, and 4.

以此方式,壓縮管理模組218判定各自用於量化及熵編碼的QP表及熵表之組合,且根據所判定的QP表及熵表之組合控制影像資料10之壓縮。因此,有可能減小訊框緩衝壓縮器200與記憶體300之間的帶寬,同時增強影像資料10之壓縮性能。In this way, the compression management module 218 determines the combination of the QP table and the entropy table, which are respectively used for quantization and entropy coding, and controls the compression of the image data 10 according to the determined combination of the QP table and the entropy table. Therefore, it is possible to reduce the bandwidth between the frame buffer compressor 200 and the memory 300 while enhancing the compression performance of the image data 10.

接著,參考圖10,經由如上文所描述之前述處理由訊框緩衝壓縮器200之編碼器210生成之經壓縮位元流236包含標頭,所述標頭包含4位元之QP表資訊及2位元之k值資訊,且包含作為標頭之後的經壓縮二進位的壓縮資料20。Next, referring to FIG. 10, the compressed bit stream 236 generated by the encoder 210 of the frame buffer compressor 200 through the aforementioned processing as described above includes a header, which includes 4-bit QP table information and 2-bit k-value information and contains compressed data 20 as compressed binary after the header.

圖11至圖14為用於解釋根據本揭露之例示性實施例的影像處理裝置之操作的示意圖。11 to 14 are diagrams for explaining an operation of an image processing apparatus according to an exemplary embodiment of the present disclosure.

參考圖11,壓縮管理模組218判定包含預定數目個條目之QP表240。在此實施例中,壓縮管理模組218判定實現16級量化的具有16個條目之QP表240。Referring to FIG. 11, the compression management module 218 determines a QP table 240 containing a predetermined number of entries. In this embodiment, the compression management module 218 determines a QP table 240 with 16 entries that achieves 16-level quantization.

QP表240包含第一條目及第二條目。此處,第一條目為對應於指數0之量化係數,且第二條目為對應於指數15之量化係數。此外,QP表240包含第一條目與第二條目之間的一或多個第三條目。在本發明實施例中,一或多個第三條目對應於量化係數,所述量化係數對應於指數1至14。The QP table 240 includes a first entry and a second entry. Here, the first entry is a quantization coefficient corresponding to the index 0, and the second entry is a quantization coefficient corresponding to the index 15. In addition, the QP table 240 contains one or more third entries between the first entry and the second entry. In an embodiment of the present invention, the one or more third entries correspond to a quantization coefficient, which corresponds to an index of 1 to 14.

在將第一條目判定為第一值且將第二條目判定為第二值之後,第三條目可經由取樣判定。亦即,在包含預定數目個條目之QP表240中,第三條目可經取樣以使得對於除第一條目及第二條目以外的剩餘第三條目,恰當地分佈量化係數。After determining the first entry as the first value and the second entry as the second value, the third entry may be determined via sampling. That is, in the QP table 240 containing a predetermined number of entries, the third entry may be sampled so that the quantization coefficients are appropriately distributed for the remaining third entries other than the first entry and the second entry.

在實施例中,壓縮管理模組218可使用預定數目個k值來判定熵表。在本發明概念之一些實施例中,熵表可藉由最大4或小於4之k值判定。In an embodiment, the compression management module 218 may use a predetermined number of k values to determine the entropy table. In some embodiments of the inventive concept, the entropy table may be determined by a value of k that is at most 4 or less.

舉例而言,熵表可藉由具有第一位元深度為8位元之影像資料的0、1、2以及3之k值判定,且可藉由具有第二位元深度為10位元之影像資料的1、2、3以及4之k值判定。For example, the entropy table can be determined by k values of 0, 1, 2, and 3 with image data having a first bit depth of 8 bits, and can be determined by having a second bit depth of 10 bits Determine the k value of 1, 2, 3 and 4 of the image data.

亦即,壓縮管理模組218可根據影像資料10之位元深度不同地設定例如四個連續k值。That is, the compression management module 218 may set, for example, four consecutive k values differently according to the bit depth of the image data 10.

接著,參考圖12,壓縮管理模組218判定包含16個條目之QP表242。Next, referring to FIG. 12, the compression management module 218 determines a QP table 242 containing 16 entries.

舉例而言,假定QP表242之第一條目經判定為4096。壓縮管理模組218藉由如下之BitDepth * (1- CompressionRatio)對對應於第一值之4096執行位元移位運算。For example, suppose the first entry in QP table 242 is determined to be 4096. The compression management module 218 performs a bit shift operation on 4096 corresponding to the first value by BitDepth * (1-CompressionRatio) as follows.

4096 >> 8 × (1-0.5) = 2564096 >> 8 × (1-0.5) = 256

此處,8為對應於影像資料10之位元深度的值,且0.5為對應於目標壓縮比的值。Here, 8 is a value corresponding to the bit depth of the image data 10, and 0.5 is a value corresponding to the target compression ratio.

以此方式,在將第一條目判定為4096且將第二條目判定為256之後,第三條目可經由取樣判定。亦即,在包含16個條目之QP表242中,第三條目可經判定例如為2048、1365、1024、819、683、585、512、455、410、372、341、315、293以及273,使得對於對應於除第一條目4096及第二條目256以外的剩餘指數1至剩餘指數14的第三條目,恰當地分佈量化係數。由此判定的QP表242之條目亦可藉由除以例如為MaxShiftValue值之4096而用作量化係數。In this manner, after determining the first entry as 4096 and the second entry as 256, the third entry may be determined via sampling. That is, in the QP table 242 containing 16 entries, the third entry may be determined to be, for example, 2048, 1365, 1024, 819, 683, 585, 512, 455, 410, 372, 341, 315, 293, and 273 , So that for the third entry corresponding to the remaining index 1 to the remaining index 14 other than the first entry 4096 and the second entry 256, the quantization coefficients are appropriately distributed. The entries of the QP table 242 thus determined can also be used as quantization coefficients by dividing by 4096, which is, for example, the value of MaxShiftValue.

在實施例中,壓縮管理模組218可在影像資料10具有8位元之位元深度時判定k值為0、1、2以及3,且可在影像資料10具有10位元之位元深度時判定k值為1、2、3以及4。In an embodiment, the compression management module 218 may determine that the k values are 0, 1, 2, and 3 when the image data 10 has a bit depth of 8 bits, and may determine that the image data 10 has a bit depth of 10 bits At that time, it is determined that k values are 1, 2, 3, and 4.

以此方式,由於壓縮管理模組218判定各自用於量化及熵編碼的QP表及熵表之組合,且根據所判定的QP表及熵表之組合控制影像資料10之壓縮,因此有可能減小訊框緩衝壓縮器200與記憶體300之間的帶寬,同時增強影像資料10之壓縮性能。In this way, since the compression management module 218 determines the combination of the QP table and the entropy table respectively used for quantization and entropy coding, and controls the compression of the image data 10 according to the determined combination of the QP table and the entropy table, it is possible to reduce The small frame buffers the bandwidth between the compressor 200 and the memory 300 while enhancing the compression performance of the image data 10.

接著,參考圖13,壓縮管理模組218判定包含16個條目之QP表244。Next, referring to FIG. 13, the compression management module 218 determines a QP table 244 containing 16 entries.

假定QP表244之第一條目經判定為4096。壓縮管理模組218藉由如下之BitDepth * (1-CompressionRatio)對對應於第一值之4096執行位元移位運算。Assume that the first entry of QP table 244 is determined to be 4096. The compression management module 218 performs a bit shift operation on 4096 corresponding to the first value by BitDepth * (1-CompressionRatio) as follows.

4096 >> 10 × (1-0.5) = 1284096 >> 10 × (1-0.5) = 128

此處,10為對應於影像資料10之位元深度的值,且0.5為對應於目標壓縮比的值。Here, 10 is a value corresponding to the bit depth of the image data 10, and 0.5 is a value corresponding to the target compression ratio.

以此方式,在將第一條目判定為4096且將第二條目判定為128之後,第三條目可經由取樣判定。亦即,在包含16個條目之QP表244中,第三條目可經判定例如為1365、819、585、455、372、315、273、228、205、186、171、158、146以及137,使得對於對應於除第一條目4096及第二條目128以外的剩餘指數1至剩餘指數14的第三條目,恰當地分佈量化係數。由此判定之QP表244之條目亦可藉由除以例如為MaxShiftValue值之4096而用作量化係數。In this way, after determining the first entry as 4096 and the second entry as 128, the third entry may be determined via sampling. That is, in the QP table 244 containing 16 entries, the third entry may be determined to be, for example, 1365, 819, 585, 455, 372, 315, 273, 228, 205, 186, 171, 158, 146, and 137 , So that for the third entry corresponding to the remaining index 1 to the remaining index 14 other than the first entry 4096 and the second entry 128, the quantization coefficients are appropriately distributed. The entries of the QP table 244 thus determined can also be used as quantization coefficients by dividing by 4096, which is, for example, the value of MaxShiftValue.

在實施例中,壓縮管理模組218可在影像資料10具有8位元之位元深度時判定k值為0、1、2以及3,且可在影像資料10具有10位元之位元深度時判定k值為1、2、3以及4。In an embodiment, the compression management module 218 may determine that the k values are 0, 1, 2, and 3 when the image data 10 has a bit depth of 8 bits, and may determine that the image data 10 has a bit depth of 10 bits At that time, it is determined that k values are 1, 2, 3, and 4.

以此方式,由於壓縮管理模組218判定各自用於量化及熵編碼的QP表及熵表之組合,且根據所判定的QP表及熵表之組合控制影像資料之壓縮,因此有可能減小訊框緩衝壓縮器200與記憶體300之間的帶寬,同時增強影像資料10之壓縮性能。In this way, since the compression management module 218 determines the combination of the QP table and the entropy table respectively used for quantization and entropy coding, and controls the compression of the image data according to the determined combination of the QP table and the entropy table, it is possible to reduce The frame buffers the bandwidth between the compressor 200 and the memory 300 while enhancing the compression performance of the image data 10.

接著,參考圖14,經由如上文所描述之前述處理由訊框緩衝壓縮器200之編碼器210生成的經壓縮位元流246包含標頭,所述標頭包含4位元之QP表資訊及2位元之k值資訊,且包含作為標頭之後的經壓縮二進位的壓縮資料20。Next, referring to FIG. 14, the compressed bit stream 246 generated by the encoder 210 of the frame buffer compressor 200 through the aforementioned processing as described above includes a header, which includes 4-bit QP table information and 2-bit k-value information and contains compressed data 20 as compressed binary after the header.

圖15為用於解釋根據本發明概念之一些例示性實施例的影像處理裝置之有利影響及操作影像處理裝置之方法的圖式。FIG. 15 is a diagram for explaining an advantageous effect of an image processing apparatus and a method of operating the image processing apparatus according to some exemplary embodiments of the inventive concept.

參考圖15,當QP表之條目數目為12且k值數目為4時,示出最佳PSNR增益。Referring to FIG. 15, when the number of entries of the QP table is 12 and the number of k values is 4, the best PSNR gain is shown.

亦即,藉由判定具有良好壓縮品質之合適大小之QP表,且藉由考慮到殘餘信號之分配選擇合適k值來判定熵表,可減小訊框緩衝壓縮器200與記憶體300之間的帶寬,同時增強影像資料10之壓縮性能。That is, by determining a QP table of a suitable size with good compression quality, and determining an entropy table by considering the distribution of the residual signal to select an appropriate k value, the frame buffer compressor 200 and the memory 300 can be reduced. Bandwidth, while enhancing the compression performance of the image data10.

圖16為示出根據本發明概念之例示性實施例的用於操作影像處理裝置之方法的流程圖。FIG. 16 is a flowchart illustrating a method for operating an image processing apparatus according to an exemplary embodiment of the inventive concept.

參考圖16,根據本發明概念之例示性實施例的操作影像處理裝置之方法包含判定包含預定數目個條目之QP表(S1601)。Referring to FIG. 16, a method of operating an image processing apparatus according to an exemplary embodiment of the inventive concept includes determining a QP table containing a predetermined number of entries (S1601).

在本發明概念之實施例中,判定包含預定數目個條目之QP表包含判定包含最多16個條目之QP表。在本發明概念之另一實施例中,判定包含預定數目個條目之QP表包含判定包含八個或大於八個條目之QP表。In an embodiment of the inventive concept, a QP table determined to contain a predetermined number of entries includes a QP table determined to contain a maximum of 16 entries. In another embodiment of the inventive concept, a QP table determined to contain a predetermined number of entries includes a QP table determined to contain eight or more entries.

此外,以上方法包含使用所判定之QP表對經預測影像資料執行量化(S1603)。In addition, the above method includes performing quantization on the predicted image data using the determined QP table (S1603).

另外,所述方法包含使用預定數目個k值來判定熵表(S1605)。In addition, the method includes determining an entropy table using a predetermined number of k values (S1605).

在本發明概念之實施例中,判定熵表包含使用最大4或小於4之k值來判定熵表。In an embodiment of the inventive concept, determining the entropy table includes determining the entropy table using a value of k that is at most 4 or less.

此外,以上方法包含使用所判定之熵表對經量化影像資料執行熵編碼以生成壓縮資料(S1607)。In addition, the above method includes performing entropy encoding on the quantized image data using the determined entropy table to generate compressed data (S1607).

所屬領域中具通常知識者將瞭解,可在實質上不脫離本發明概念之原理的情況下對例示性實施例進行許多變化及修改。Those of ordinary skill in the art will appreciate that many variations and modifications can be made to the exemplary embodiments without substantially departing from the principles of the inventive concept.

10‧‧‧影像資料10‧‧‧Image data

20‧‧‧壓縮資料20‧‧‧ Compressed data

100‧‧‧多媒體智慧財產權100‧‧‧Multimedia intellectual property rights

110‧‧‧影像信號處理器110‧‧‧Image Signal Processor

120‧‧‧振盪校正模組120‧‧‧Oscillation Correction Module

130‧‧‧多格式編解碼器130‧‧‧Multi-format codec

140‧‧‧圖形處理單元140‧‧‧Graphics Processing Unit

150‧‧‧顯示器150‧‧‧ Display

200‧‧‧訊框緩衝壓縮器200‧‧‧Frame buffer compressor

210‧‧‧編碼器210‧‧‧ Encoder

211‧‧‧預測模組211‧‧‧ Forecast Module

213‧‧‧量化模組213‧‧‧Quantitative module

215‧‧‧熵編碼模組215‧‧‧Entropy coding module

217‧‧‧填補模組217‧‧‧ Fill module

218‧‧‧壓縮管理模組218‧‧‧Compression Management Module

219‧‧‧模式選擇器219‧‧‧Mode selector

220‧‧‧解碼器220‧‧‧ decoder

221‧‧‧預測補償模組221‧‧‧ Forecast Compensation Module

223‧‧‧逆量化模組223‧‧‧Inverse quantization module

225‧‧‧熵解碼模組225‧‧‧ Entropy Decoding Module

227‧‧‧未填補模組227‧‧‧Unfilled Module

228‧‧‧解壓縮管理模組228‧‧‧Unzip Management Module

229‧‧‧模式選擇器229‧‧‧Mode selector

230、232、234、240、242、244‧‧‧量化參數表230, 232, 234, 240, 242, 244‧‧‧

236、246‧‧‧經壓縮位元流236, 246‧‧‧compressed bit stream

300‧‧‧記憶體300‧‧‧Memory

400‧‧‧系統匯流排400‧‧‧System Bus

S1601、S1603、S1605、S1607‧‧‧步驟S1601, S1603, S1605, S1607‧‧‧ steps

本發明將藉由參看附圖詳細地描述其例示性實施例而變得更顯而易見,其中: 圖1至圖3為用於解釋根據本發明概念之一些實施例的影像處理裝置的方塊圖。 圖4為用於詳細解釋圖1至圖3之訊框緩衝壓縮器的方塊圖。 圖5為用於詳細解釋圖4之編碼器的方塊圖。 圖6為用於詳細解釋圖4之解碼器的方塊圖。 圖7至圖10為用於解釋根據本發明概念之例示性實施例的影像處理裝置之操作的示意圖。 圖11至圖14為用於解釋根據本發明概念之例示性實施例的影像處理裝置之操作的示意圖。 圖15為用於解釋根據本發明概念之例示性實施例的影像處理裝置之有利影響及操作影像處理裝置之方法的圖式。 圖16為示出根據本發明概念之例示性實施例的用於操作影像處理裝置之方法的流程圖。The present invention will become more apparent by describing its exemplary embodiments in detail with reference to the accompanying drawings, in which: FIGS. 1 to 3 are block diagrams for explaining an image processing apparatus according to some embodiments of the inventive concept. FIG. 4 is a block diagram for explaining the frame buffer compressor of FIGS. 1 to 3 in detail. FIG. 5 is a block diagram for explaining the encoder of FIG. 4 in detail. FIG. 6 is a block diagram for explaining the decoder of FIG. 4 in detail. 7 to 10 are diagrams for explaining an operation of an image processing apparatus according to an exemplary embodiment of the inventive concept. 11 to 14 are diagrams for explaining an operation of an image processing apparatus according to an exemplary embodiment of the inventive concept. FIG. 15 is a diagram for explaining an advantageous effect of an image processing apparatus and a method of operating the image processing apparatus according to an exemplary embodiment of the inventive concept. FIG. 16 is a flowchart illustrating a method for operating an image processing apparatus according to an exemplary embodiment of the inventive concept.

Claims (20)

一種影像處理裝置,包括: 多媒體智慧財產權(IP)區塊,經組態以處理影像資料; 記憶體;以及 訊框緩衝壓縮器(FBC),經組態以壓縮所述影像資料,以生成壓縮資料並將所述壓縮資料儲存於所述記憶體中, 其中所述訊框緩衝壓縮器包含邏輯電路,經組態以判定量化參數(QP)表及熵表之組合且基於所判定的所述QP表及所述熵表之組合來控制所述影像資料之壓縮。An image processing device includes: a multimedia intellectual property (IP) block configured to process image data; a memory; and a frame buffer compressor (FBC) configured to compress the image data to generate compression Data and storing the compressed data in the memory, wherein the frame buffer compressor includes a logic circuit configured to determine a combination of a quantization parameter (QP) table and an entropy table and based on the determined said A combination of a QP table and the entropy table controls the compression of the image data. 如申請專利範圍第1項所述的影像處理裝置,其中所述訊框緩衝壓縮器將基於所述QP表及所述熵表之組合生成的所述壓縮資料寫入所述記憶體。The image processing device according to item 1 of the scope of patent application, wherein the frame buffer compressor writes the compressed data generated based on a combination of the QP table and the entropy table into the memory. 如申請專利範圍第1項所述的影像處理裝置,其中所述訊框緩衝壓縮器自所述記憶體讀取所述壓縮資料,解壓縮經讀取的所述壓縮資料以生成解壓縮資料,且將所述解壓縮資料提供給所述多媒體IP區塊。The image processing device according to item 1 of the scope of patent application, wherein the frame buffer compressor reads the compressed data from the memory, decompresses the read compressed data to generate decompressed data, And providing the decompressed data to the multimedia IP block. 如申請專利範圍第1項所述的影像處理裝置,其中所述訊框緩衝壓縮器使用有損壓縮演算法壓縮所述影像資料。The image processing device according to item 1 of the scope of patent application, wherein the frame buffer compressor compresses the image data using a lossy compression algorithm. 如申請專利範圍第1項所述的影像處理裝置,其中所述QP表包含第一條目及第二條目, 所述第一條目為預定第一值,且 所述第二條目藉由以下等式判定: MaxShiftValue >> BitDepth * (1 - CompressionRatio) 其中,MaxShiftValue為所述預定第一值,BitDepth為所述影像資料之位元深度,且CompressionRatio為壓縮比。The image processing device according to item 1 of the scope of patent application, wherein the QP table includes a first entry and a second entry, the first entry is a predetermined first value, and the second entry is borrowed Determined by the following equation: MaxShiftValue >> BitDepth * (1-CompressionRatio) where MaxShiftValue is the predetermined first value, BitDepth is the bit depth of the image data, and CompressionRatio is the compression ratio. 如申請專利範圍第5項所述的影像處理裝置,其中所述QP表包含所述第一條目與所述第二條目之間的一或多個第三條目,且 所述第三條目經由取樣判定。The image processing apparatus according to item 5 of the scope of patent application, wherein the QP table includes one or more third entries between the first entry and the second entry, and the third Entries are determined by sampling. 如申請專利範圍第1項所述的影像處理裝置,其中所述熵表藉由用於熵編碼的最大4或小於4之k值來判定。The image processing device according to item 1 of the patent application range, wherein the entropy table is determined by a k value of 4 or less for entropy coding. 如申請專利範圍第7項所述的影像處理裝置,其中當所述影像資料具有第一位元深度時,所述k值包含n、n+1、n+2以及n+3之值,以及 其中當所述影像資料具有大於所述第一位元深度的第二位元深度時,所述k值包含n+a、n+a+1、n+a+2以及n+a+3之值, 其中n為>=0之整數,且a為>=1之整數。The image processing apparatus according to item 7 of the scope of patent application, wherein when the image data has a first bit depth, the k value includes values of n, n + 1, n + 2, and n + 3, and When the image data has a second bit depth greater than the first bit depth, the k value includes one of n + a, n + a + 1, n + a + 2, and n + a + 3. Value, where n is an integer> = 0 and a is an integer> = 1. 一種影像處理裝置,包括: 多媒體智慧財產權(IP)區塊,經組態以處理影像資料; 記憶體;以及 訊框緩衝壓縮器(FBC),經組態以壓縮所述影像資料,以生成壓縮資料並將所述壓縮資料儲存於所述記憶體中, 其中所述訊框緩衝壓縮器包含邏輯電路,所述邏輯電路經組態以判定包含最多16個條目之量化參數(QP)表及藉由用於熵編碼的最大4之k值判定之熵表,且根據所判定的所述QP表及所述熵表之組合來控制所述影像資料之壓縮。An image processing device includes: a multimedia intellectual property (IP) block configured to process image data; a memory; and a frame buffer compressor (FBC) configured to compress the image data to generate compression Data and storing the compressed data in the memory, wherein the frame buffer compressor includes a logic circuit configured to determine a quantization parameter (QP) table containing up to 16 entries and borrow An entropy table determined by a maximum k value of 4 used for entropy coding, and the compression of the image data is controlled according to the determined combination of the QP table and the entropy table. 如申請專利範圍第9項所述的影像處理裝置,其中所述QP表包含第一條目及第二條目, 所述第一條目為預定第一值,且 所述第二條目藉由以下等式判定: MaxShiftValue >> BitDepth * (1 - CompressionRatio) 其中,MaxShiftValue為所述預定第一值,BitDepth為所述影像資料之位元深度,且CompressionRatio為壓縮比。The image processing apparatus according to item 9 of the scope of patent application, wherein the QP table includes a first entry and a second entry, the first entry is a predetermined first value, and the second entry is borrowed Determined by the following equation: MaxShiftValue >> BitDepth * (1-CompressionRatio) where MaxShiftValue is the predetermined first value, BitDepth is the bit depth of the image data, and CompressionRatio is the compression ratio. 如申請專利範圍第10項所述的影像處理裝置,其中所述QP表包含所述第一條目與所述第二條目之間的一或多個第三條目, 其中所述第三條目經由取樣判定。The image processing apparatus according to claim 10, wherein the QP table includes one or more third entries between the first entry and the second entry, wherein the third entry Entries are determined by sampling. 如申請專利範圍第9項所述的影像處理裝置,其中當所述影像資料具有第一位元深度時,所述k值包含n、n+1、n+2以及n+3之值,以及 其中當所述影像資料具有大於所述第一位元深度的第二位元深度時,所述k值包含n+a、n+a+1、n+a+2以及n+a+3之值, 其中n為>=0之整數,且a為>=1之整數。The image processing device according to item 9 of the scope of patent application, wherein when the image data has a first bit depth, the k value includes values of n, n + 1, n + 2, and n + 3, and When the image data has a second bit depth greater than the first bit depth, the k value includes one of n + a, n + a + 1, n + a + 2, and n + a + 3. Value, where n is an integer> = 0 and a is an integer> = 1. 一種用於操作影像處理裝置的方法,所述方法包括: 將影像資料轉換成包括預測資料及殘餘資料之經預測影像資料; 判定包含預定數目個條目之量化參數(QP)表; 使用所判定之所述QP表來量化所述經預測影像資料以生成經量化影像資料; 使用用於熵編碼的預定數目個k值來判定熵表;以及 使用所判定之所述熵表對所述經量化影像資料執行所述熵編碼,以生成壓縮資料。A method for operating an image processing device, the method comprising: converting image data into predicted image data including prediction data and residual data; determining a quantization parameter (QP) table containing a predetermined number of entries; using the determined The QP table to quantify the predicted image data to generate quantized image data; use a predetermined number of k values for entropy encoding to determine an entropy table; and use the determined entropy table to quantize the quantized image The data performs the entropy coding to generate compressed data. 如申請專利範圍第13項所述的方法,其中判定包含所述預定數目個條目之所述QP表包括: 判定包含最多16個條目之QP表。The method according to item 13 of the scope of patent application, wherein determining the QP table including the predetermined number of entries includes: determining the QP table including a maximum of 16 entries. 如申請專利範圍第14項所述的方法,其中判定包含所述預定數目個條目之所述QP表包括: 判定包含八個或大於八個條目之QP表。The method according to item 14 of the scope of patent application, wherein determining the QP table containing the predetermined number of entries comprises: determining a QP table containing eight or more entries. 如申請專利範圍第13項所述的方法,其中所述QP表包含第一條目及第二條目,且 判定包含所述預定數目個條目之所述QP表包括: 判定所述第一條目作為預定第一值,以及 藉由以下等式判定所述第二條目: MaxShiftValue >> BitDepth * (1 - CompressionRatio) 其中,MaxShiftValue為所述預定第一值,BitDepth為所述影像資料之位元深度,且CompressionRatio為壓縮比。The method according to item 13 of the scope of patent application, wherein the QP table includes a first entry and a second entry, and the QP table judged to include the predetermined number of entries includes: determining the first entry As the predetermined first value, and the second entry is determined by the following equation: MaxShiftValue >> BitDepth * (1-CompressionRatio) where MaxShiftValue is the predetermined first value and BitDepth is the position of the image data Element depth, and CompressionRatio is the compression ratio. 如申請專利範圍第16項所述的方法,其中所述QP表包含所述第一條目與所述第二條目之間的一或多個第三條目,且 判定包含所述預定數目個條目之所述QP表包括: 經由取樣判定所述第三條目。The method according to item 16 of the scope of patent application, wherein the QP table includes one or more third entries between the first entry and the second entry, and it is determined to include the predetermined number The QP table of entries includes: determining the third entry via sampling. 如申請專利範圍第13項所述的方法,其中判定所述熵表包括: 使用用於所述熵編碼的最大4或小於4之所述k值來判定所述熵表。The method of claim 13, wherein determining the entropy table includes: determining the entropy table using the maximum k or less than 4 for the entropy coding. 如申請專利範圍第13項所述的方法,其中判定所述熵表包括: 當所述影像資料具有第一位元深度時,使用n、n+1、n+2以及n+3之所述k值判定所述熵表,以及 當所述影像資料具有大於所述第一位元深度之第二位元深度時,使用n+a、n+a+1、n+a+2以及n+a+3之所述k值判定所述熵表, 其中n為>=0之整數,以及 其中a為>=1之整數。The method according to item 13 of the patent application scope, wherein determining the entropy table includes: when the image data has a first bit depth, using the n, n + 1, n + 2, and n + 3 The k value determines the entropy table, and when the image data has a second bit depth greater than the first bit depth, n + a, n + a + 1, n + a + 2, and n + The k value of a + 3 determines the entropy table, where n is an integer> = 0, and a is an integer> = 1. 如申請專利範圍第13項所述的方法,其中所述熵表包含指數哥倫布(exponential golomb)編碼及哥倫布萊斯(golomb rice)編碼中之至少一者。The method of claim 13, wherein the entropy table includes at least one of an exponential golomb coding and a golomb rice coding.
TW107143583A 2018-01-26 2018-12-05 Image processing device and method for operating image processing device TW201941615A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2018-0010083 2018-01-26
KR20180010083 2018-01-26
KR1020180041781A KR102543449B1 (en) 2018-01-26 2018-04-10 Image processing device and method for operating image processing device
KR10-2018-0041781 2018-04-10

Publications (1)

Publication Number Publication Date
TW201941615A true TW201941615A (en) 2019-10-16

Family

ID=67615996

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107143583A TW201941615A (en) 2018-01-26 2018-12-05 Image processing device and method for operating image processing device

Country Status (3)

Country Link
KR (1) KR102543449B1 (en)
SG (1) SG10201809263UA (en)
TW (1) TW201941615A (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG140441A1 (en) * 2003-03-17 2008-03-28 St Microelectronics Asia Decoder and method of decoding using pseudo two pass decoding and one pass encoding
US9510002B2 (en) * 2013-09-09 2016-11-29 Apple Inc. Chroma quantization in video coding

Also Published As

Publication number Publication date
KR20190091178A (en) 2019-08-05
KR102543449B1 (en) 2023-06-14
SG10201809263UA (en) 2019-08-27

Similar Documents

Publication Publication Date Title
JP6921873B2 (en) Substream multiplexing for display stream compression
RU2008150330A (en) COMPRESSING VIDEO DATA WITHOUT VISIBLE LOSS
US11445160B2 (en) Image processing device and method for operating image processing device
US10887616B2 (en) Image processing devices having enhanced frame buffer compressors therein
US20210250575A1 (en) Image processing device
US11190810B2 (en) Device and method for compressing image data using quantization parameter and entropy tables
WO2024022039A1 (en) Video image decoding method and coding method, apparatus, and storage medium
US11153586B2 (en) Image processing device and frame buffer compressor
US20210344900A1 (en) Image processing device
TWI820063B (en) Image processing device and method for operating image processing device
US20220036922A1 (en) Frame buffer compressing circuitry and image processing apparatus
TW201941615A (en) Image processing device and method for operating image processing device
TWI827579B (en) Image processing device
TWI795480B (en) Image processing device for performing data decompression and image processing device for performing data compression
JP7444541B2 (en) Image encoding device, image decoding device, imaging device, image encoding method, image decoding method, and program
US20220201340A1 (en) Image processing device and method for operating image processing device
US9013595B1 (en) Digital video camera with internal data sample compression