KR101811774B1 - Apparatus and method for processing graphics - Google Patents
Apparatus and method for processing graphics Download PDFInfo
- Publication number
- KR101811774B1 KR101811774B1 KR1020160104233A KR20160104233A KR101811774B1 KR 101811774 B1 KR101811774 B1 KR 101811774B1 KR 1020160104233 A KR1020160104233 A KR 1020160104233A KR 20160104233 A KR20160104233 A KR 20160104233A KR 101811774 B1 KR101811774 B1 KR 101811774B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- unit
- compressed
- compression method
- frame buffer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 238000007906 compression Methods 0.000 claims abstract description 86
- 230000006835 compression Effects 0.000 claims abstract description 86
- 238000003672 processing method Methods 0.000 claims abstract description 6
- 230000006837 decompression Effects 0.000 claims description 7
- 108010001267 Protein Subunits Proteins 0.000 claims 1
- 238000013144 data compression Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 210000000697 sensory organ Anatomy 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/08—Volume rendering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T9/00—Image coding
- G06T9/005—Statistical coding, e.g. Huffman, run length coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N19/91—Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
본 발명은 그래픽 처리 장치 및 방법에 관한 것이다. 본 그래픽 처리 방법은, 영상 데이터를 입력받아, 영상 데이터를 손실 압축 방식 및 무손실 압축 방식 중 어느 하나의 방식으로 압축할 것인지 선택하고, 선택된 압축 방식으로 영상 데이터를 압축한다. 그리고, 압축된 데이터를 메모리에 할당된 프레임 버퍼에 저장한다. 본 발명에 따르면, 영상 데이터의 성질과 용도에 따라 무손실 압축하거나 손실하는 압축하는 과정이 선택적으로 동작하여, 오프칩 메모리에 배치된 프레임 버퍼에 영상 데이터를 입출력되는 데이터를 압축하여 전체적인 성능을 유리하게 개선할 수 있다. The present invention relates to a graphics processing apparatus and method. The graphic processing method receives image data, selects whether to compress the image data by a lossy compression method or a lossless compression method, and compresses the image data by the selected compression method. Then, the compressed data is stored in the frame buffer allocated in the memory. According to the present invention, a process of compressing or losslessly compressing or lossily compressing or losing data is selectively operated according to the nature and purpose of the image data, thereby compressing data input / output to / from the frame buffer disposed in the off- Can be improved.
Description
본 발명은 그래픽 처리 장치 및 방법에 관한 것으로, 더욱 상세하게는 손실 압축 방식과 무손실 압축 방식을 선택적으로 사용하여 프레임 버퍼에 입출력되는 데이터를 압축할 수 있는 그래픽 처리 장치 및 방법에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphics processing apparatus and method, and more particularly, to a graphics processing apparatus and method capable of compressing input and output data to and from a frame buffer by selectively using a lossy compression method and a lossless compression method.
일반적으로 영상 데이터를 프레임 버퍼에 저장하거나 프레임 버퍼로부터 인출하기 위한 대역폭은 제한적이다. 그러나, QHD(Quad High Definition), UHD(Ultra High Definition) 등과 같은 고화질 영상 처리의 필요성은 증가하고 있어, 이러한 대역폭 문제를 해결하기 위해 프레임 버퍼에 입출력되는 데이터를 압축하는 프레임 버퍼 압축(Frame Buffer Compression) 방식이 제안되고 있다.In general, the bandwidth for storing image data in the frame buffer or for fetching from the frame buffer is limited. However, the necessity of high-quality image processing such as QHD (Quad High Definition) and UHD (Ultra High Definition) is increasing, and in order to solve such a bandwidth problem, Frame Buffer Compression ) Method has been proposed.
데이터 압축은 데이터를 더 적은 저장 공간에 효율적으로 기록하기 위한 기술, 또는 그 기술의 실제 적용을 가리킨다. 데이터 압축은, 크게 데이터를 더 작은 크기로 변환시키는 인코딩 과정과, 저장된 데이터를 다시 불러와 원래 데이터 형태로 복원시키는 디코딩 과정으로 이루어진다. 이때, 인코딩하기 전의 데이터 크기와 인코딩하고 나서의 데이터 크기의 비율을 압축률이라고 한다.Data compression refers to a technique for efficiently recording data in less storage space, or a practical application of the technique. Data compression consists of an encoding process that largely transforms the data to a smaller size and a decoding process that recalls the stored data and restores the original data form. At this time, the ratio of the data size before encoding to the data size after encoding is called compression rate.
데이터 압축 기술의 종류에 따라서는 데이터의 내용을 바꾸지 않고 원래 내용 그대로 디코딩할 수 있는 무손실 압축(lossless compression)과, 더 높은 압축률을 얻을 수 있지만 디코딩한 데이터의 세부적인 디테일을 일부 희생시키는 손실 압축(lossy compression)이 있다. 대표적인 무손실 압축 방식에는 반복 길이 부호화와 허프만 부호화, 산술 부호화 등이 있다. 손실 압축 방식은 인간의 감각 기관의 특성을 역이용하여 압축률을 높이므로, 음성, 정지화상, 동영상 등 데이터의 종류에 따라 각각 다른 알고리즘이 사용된다. Depending on the type of data compression technique, lossless compression, which can be decoded as it is without changing the contents of the data, and lossy compression, which achieves a higher compression rate but sacrifices some of the detailed detail of the decoded data lossy compression. Representative lossless compression schemes include iterative length coding, Huffman coding, and arithmetic coding. Since the lossy compression method increases the compression rate by reversing the characteristics of human sensory organs, different algorithms are used depending on the type of data such as voice, still picture, and moving picture.
그런데, 프레임 버퍼에 입출력되는 데이터를 압축하는 프레임 버퍼 압축 방식들은 대부분 높은 압축 효율을 얻기 위해 손실 압축 방식을 사용하고 있다. 그러나, 손실 압축은 영상의 품질 저하를 가져올 뿐만 아니라, 필요한 경우에 원본 데이터를 복원하기 어렵다는 문제가 있다. 또한, 이를 방지하기 위해 무손실 압축 방식을 사용하는 경우에는 괄목할만한 대역폭 저감 효과를 얻지 못할 수 있다.However, most frame buffer compression schemes for compressing data input and output to and from the frame buffer use a lossy compression scheme in order to obtain high compression efficiency. However, there is a problem in that lossy compression not only degrades the quality of the image but also makes it difficult to restore original data when necessary. Also, when a lossless compression scheme is used to prevent this, a remarkable bandwidth reduction effect may not be obtained.
따라서, 처리되는 영상 데이터의 성질과 무관하게 고정된 압축 방식을 사용하는 경우 효율적인 처리가 되지 못하므로, 동작 환경 및 데이터의 성질과 용도 등에 따라 영상 데이터를 무손실 압축하거나 손실 압축하는 방식이 선택적으로 동작할 필요성이 있다.Accordingly, when a fixed compression method is used irrespective of the nature of the processed image data, efficient processing can not be performed. Therefore, a method of losslessly compressing or loss-compressing image data is selectively performed according to the operating environment, There is a need to do.
따라서, 본 발명의 목적은, 프레임 버퍼에 입출력되는 데이터에 대하여 손실압축 방식과 무손실 압축 방식을 선택적으로 사용하여 압축할 수 있는 그래픽 처리 장치 및 그 방법을 제공함에 있다.Accordingly, it is an object of the present invention to provide a graphics processing apparatus and method capable of selectively compressing a lossy compression method and a lossless compression method for data input to and output from a frame buffer.
상기 목적을 달성하기 위한 본 발명에 따른 그래픽 처리 방법은, 영상 데이터를 입력받는 단계, 상기 영상 데이터를 손실 압축 방식 및 무손실 압축 방식 중 어느 방식으로 압축할 것인지 선택하는 단계, 선택된 압축 방식으로 상기 영상 데이터를 압축하는 단계, 및 상기 압축된 데이터를 메모리에 배치된 프레임 버퍼에 저장하는 단계를 포함한다.According to another aspect of the present invention, there is provided a graphic processing method comprising the steps of: receiving image data; selecting a compression method of the lossy compression method or a lossless compression method; Compressing the data, and storing the compressed data in a frame buffer disposed in the memory.
그리고, 상기 프레임 버퍼에 저장된 압축 데이터를 인출하는 단계, 및 상기 압축 데이터의 압축을 해제하여, 압축 해제된 데이터를 생성하는 단계를 더 포함할 수 있다.The method may further include extracting compressed data stored in the frame buffer, and decompressing the compressed data to generate decompressed data.
또한, 상기 목적을 달성하기 위한 본 발명에 따른 그래픽 처리 장치는, 입력받은 영상 데이터를 손실 압축 방식 및 무손실 압축 방식 중 어느 하나의 방식으로 압축하는 인코딩부, 상기 압축된 데이터를 메모리에 배치된 프레임 버퍼에 저장하고, 상기 프레임 버퍼에 저장된 압축 데이터를 인출하는 메모리 제어부, 상기 프레임 버퍼에서 인출한 압축 데이터의 압축을 해제하는 디코딩부, 및 상기 각 부의 동작을 제어하는 제어 로직부를 포함한다.According to another aspect of the present invention, there is provided a graphics processing apparatus including an encoding unit for compressing inputted image data by either a lossy compression method or a lossless compression method, A decoding unit for decoding the compressed data extracted from the frame buffer, and a control logic unit for controlling operations of the respective units.
또한, 상기 목적을 달성하기 위하여 본 발명에서는, 상기 그래픽 처리 방법을 프로세서에서 실행시키기 위한 프로그램을 기록한 프로세서가 읽을 수 있는 기록매체를 제공할 수 있다. According to another aspect of the present invention, there is provided a computer-readable recording medium having recorded thereon a program for causing a processor to execute the graphic processing method.
그리고, 본 발명에 따르면, 상기 그래픽 처리장치를 포함하는 3D 그래픽 프로세서가 제공된다.According to the present invention, there is provided a 3D graphics processor including the graphic processing device.
본 발명에 따르면, 오프칩 메모리에 배치된 프레임 버퍼에 영상 데이터를 입출력하는 경우, 손실 압축 방식과 무손실 압축 방식을 선택적으로 사용하여 압축할 수 있다. 이에 따라, 메모리의 저장 공간을 감소시키며, 전력을 많이 사용하는 오프칩 메모리에 대한 액세스를 감소시켜 메모리 대역폭을 줄이고 전력 사용량을 낮추어 전체적인 성능을 유리하게 개선할 수 있다. According to the present invention, when inputting / outputting image data to / from a frame buffer arranged in an off-chip memory, a lossy compression method and a lossless compression method can be selectively used for compression. This reduces memory storage space and reduces access to off-chip memory, which consumes a lot of power, thereby reducing memory bandwidth and lowering power usage, thereby beneficially improving overall performance.
도 1은 본 발명의 일실시예에 따른 그래픽 처리 장치의 구성을 설명하기 위한 블럭도,
도 2는 도 1에 도시한 그래픽 처리부의 구성의 일 예를 나타낸 블럭도, 그리고
도 3 및 도 4는 본 발명의 일실시예에 따른 그래픽 처리 방법에 대한 설명에 제공되는 흐름도이다. 1 is a block diagram illustrating a configuration of a graphics processing apparatus according to an exemplary embodiment of the present invention;
FIG. 2 is a block diagram showing an example of the configuration of the graphic processing unit shown in FIG. 1, and
FIG. 3 and FIG. 4 are flowcharts provided in a description of a graphic processing method according to an embodiment of the present invention.
이하에서는 도면을 참조하여 본 발명을 보다 상세하게 설명한다.Hereinafter, the present invention will be described in detail with reference to the drawings.
도 1은 본 발명의 일실시예에 따른 그래픽 처리 장치의 구성을 설명하기 위한 블럭도이다.1 is a block diagram illustrating a configuration of a graphics processing apparatus according to an embodiment of the present invention.
도 1을 참조하면, 본 그래픽 처리 장치(100)는 영상 입력부(110), 메모리(120), 디스플레이 장치(130), 및 그래픽 처리부(140)를 포함할 수 있다. 이와 같은 구성요소들은 실제 응용에서 구현될 때 필요에 따라 2 이상의 구성요소가 하나의 구성요소로 합쳐지거나, 혹은 하나의 구성요소가 2 이상의 구성요소로 세분되어 구성될 수 있다.Referring to FIG. 1, the graphic processing apparatus 100 may include an image input unit 110, a
영상 입력부(110)는 영상 데이터의 입력을 위한 것으로, 카메라나 기타 영상 데이터를 입력받을 수 있는 장치 등이 포함될 수 있다. 영상 입력부(110)는 이미지 센서 등에 의해 얻어지는 정지영상이나 동영상 등의 화상 프레임을 처리할 수 있다. The image input unit 110 is for inputting image data, and may include a device for receiving a camera or other image data. The image input unit 110 can process image frames such as still images and moving images obtained by an image sensor or the like.
메모리(120)에는 프레임 버퍼가 배치되어 영상 데이터가 저장되며, 이외에도 그래픽 처리부(140)를 통해 입력되거나 출력되는 데이터들이 저장될 수 있다. A frame buffer is disposed in the
디스플레이 장치(130)에는 그래픽 처리부(140)에 의해 처리된 영상 데이터가 표시된다. The display device 130 displays the image data processed by the
그래픽 처리부(140)는 영상 입력부(110)를 통해 입력된 영상 데이터를 메모리(120)에 배치된 프레임 버퍼에 저장하고, 프레임 버퍼에 저장된 데이터를 인출하여 디스플레이 장치(130)에 표시할 수 있다. The
이와 같은 구성에서, 그래픽 처리부(140)는 메모리(120)에 배치된 프레임 버퍼에 데이터를 저장할 때, 무손실 압축 방식을 사용하거나 손실 압축 방식을 사용하여 압축된 데이터를 저장할 수 있다. 즉, 그래픽 처리부(140)는 손실 압축 방식이나 무손실 압축 방식 중 어느 하나의 방식을 선택적으로 사용하여 영상 데이터를 압축한 후, 메모리(120)에 저장할 수 있다. 메모리(120)에 저장된 압축 데이터는 그래픽 처리부(140)에 의해 복원되어 사용된다. In such a configuration, when storing data in the frame buffer arranged in the
이와 같은 압축 저장을 통해 메모리(120)의 저장 공간을 감소시키고, 버스 상의 판독이나 기록을 위한 대역폭 로드를 감소시켜 병목 현상을 방지함으로써, 전체적인 성능을 유리하게 개선할 수 있다.Such compression storage can advantageously improve overall performance by reducing the storage space of
도 2는 도 1에 도시한 그래픽 처리부의 구성의 일 예를 나타낸 블럭도이다.2 is a block diagram showing an example of the configuration of the graphics processing unit shown in FIG.
도 2를 참조하면, 그래픽 치리부(140)는 인코딩부(141), 디코딩부(142), 디스플레이 서브부(143), 인터페이스부(144), 메모리 제어부(145), 제어 로직부(146), 및 내부 버스 및 연결 회로부(147)를 포함할 수 있다. 2, the
인코딩부(141)는 입력된 영상 데이터를 손실 압축 방식이나 무손실 압축 방식 중 어느 하나의 방식으로 압축한다. 인코딩부(141)는 손실 압축 방식으로 영상 데이터를 압축하는 경우, 원본 데이터의 복원을 위한 복원정보를 생성할 수 있다.The
디코딩부(142)는 메모리(120)에서 인출한 압축된 데이터의 압축을 해제한다. 디코딩부(142)는 손실 압축으로 압축된 데이터의 압축 해제시, 인코딩부(141)가 생성하여 저장한 복원정보를 이용하여 압축전 원본 데이터를 복원할 수도 있다. The
디스플레이 서브부(143)는 디코딩부(142)에서 압축 해제된 데이터를 판독하여, 디스플레이 장치(130)에 표시되도록 한다. The
인터페이스부(144)는 영상 입력부(110)와 연결되어 영상 데이터를 입출력할 수 있도록 한다. The
메모리 제어부(145)는 메모리(120)에 대한 액세스를 제어하며, 인코딩부(141)에서 압축된 데이터를 메모리(120)에 배치된 프레임 버퍼에 저장하고, 프레임 버퍼에 저장된 압축 데이터를 인출할 수 있다, The
제어 로직부(146)는 통상적으로 상기 각 부의 동작을 제어하여, 그래픽 처리부(140)의 전반적인 동작을 제어한다. The
내부 버스 및 연결 회로부(147)는 인코딩부(141), 디코딩부(142), 디스플레이 서브부(143), 인터페이스부(144), 메모리 제어부(145), 및 제어 로직부(146)를 회로적으로 연결한다. The internal bus and
이와 같은 구성에 의해, 그래픽 처리부(140)는 영상 입력부(110)를 통해 입력되는 영상 데이터를 손실 압축 방식 및 무손실 압축 방식 중 어느 하나의 방식을 사용하여 압축하여 메모리(120)에 배치된 프레임 버퍼에 저장할 수 있다. 즉, 반드시 무손실 압축을 해야하는 영상 데이터에 대해서는 무손실 압축 방식으로 압축을 수행하지만, 손실 압축이 가능한 영상 데이터에 대해서는 손실 압축 방식을 사용하여 압축할 수 있다. .The
통상적으로 모바일 프로세서의 경우 제약이 많은 환경 때문에 데이터가 오가는 버스 성능이 당장의 문제로 대두되고 있는 반면, 반도체 공정은 더 세밀해지고 있어서 프로세서의 성능을 더 끌어올릴 수 있게 되었다. 이와 같은 경우에 쓰이는 것이 압축 기술이며, 직접 쓸 수 있는 메모리를 더 늘려 패키지 안에서 정보를 가공하고, 그 데이터들이 오가는 효율을 높이기 위해 데이터를 압축해서 전송하는 것으로, 메모리를 더 넓게 쓰는 효과도 기대할 수 있다. 데이터의 압축과 해제에 손실이 있긴 하지만 이는 칩 성능이 향상되면 해결되는 문제이다. In mobile processors, the bus performance of data is becoming an immediate problem due to the constrained environment, while the semiconductor process is becoming finer and the performance of the processor can be further increased. In this case, compression technology is used. By compressing the data in order to increase the efficiency of the data, the memory can be expected to be wider. have. There is a loss of data compression and decompression, but this is a problem that can be solved if chip performance improves.
도 3 및 도 4는 본 발명에 따른 그래픽 처리 방법에 대한 설명에 제공되는 흐름도이다. FIG. 3 and FIG. 4 are flowcharts provided in a description of a graphic processing method according to the present invention.
도 3을 참조하면, 영상 입력부(110)를 통해 영상 데이터가 입력되면(S300), 그래픽 처리부(140)는 미리 설정된 기준이나 영상 데이터의 용도 등에 따라 손실 압축 방식과 무손실 압축 방식 중 어느 방식을 사용할 것인지 데이터 압축 방식을 선택한다(S305). Referring to FIG. 3, when image data is input through the image input unit 110 (S300), the
데이터 압축 방식으로 손실 압축 방식을 선택한 경우(S310), 그래픽 처리부(140)는 손실 압축 방식으로 영상 데이터를 압축한다(S315). 이때, 원본 데이터의 복원을 위한 복원정보를 추가로 생성할 수 있다(S320). 복원정보는 손실 압축으로 저장된 압축 데이터인 경우에도, 필요한 경우 복원정보를 이용하여 압축 전 원본 데이터를 복원할 수 있도록 하기 위함이다.If the lossy compression method is selected as the data compression method (S310), the
그래픽 처리부(140)는 압축된 데이터와 복원정보를 메모리(110)에 저장한다(S325). The
데이터 압축 방식으로 무손실 압축 방식을 선택한 경우(S330), 그래픽 처리부(140)는 무손실 압축 방식으로 영상 데이터를 압축하고(S335), 압축된 데이터를 메모리(110)에 저장한다(S340).If the lossless compression method is selected as the data compression method (S330), the
도 4를 참조하면, 영상 데이터의 표시나 기타 프레임 버퍼에 저장된 영상 데이터가 필요한 경우, 그래픽 처리부(140)는 메모리(120)의 프레임 버퍼에 저장된 압축 데이터를 인출한다(S400).Referring to FIG. 4, if the display of the image data or other image data stored in the frame buffer is required, the
인출한 데이터가 손실 압축 방식으로 압축된 데이터인 경우(S405), 압축 전 원본 데이터의 복원이 필요한 경우에는(S410), 그래픽 처리부(140)는 복원정보를 이용하여 압축 전 원본 데이터를 복원한다(S415). 그러나, 원본 데이터의 복원이 필요한 경우가 아닌 경우에는, 복원정보를 사용하지 않고, 압축 데이터의 압축을 해제한다. If the retrieved data is data compressed by the lossy compression method (S405), if restoration of the original data before compression is required (S410), the
압축이 해제되어 복원된 영상 데이터는 디스플레이 장치(130)에 표시할 수 있다(S420). The decompressed and restored image data can be displayed on the display device 130 (S420).
인출한 데이터가 무손실 압축방식으로 압축되어 저장된 데이터인 경우에는(S430), 그래픽 처리부(140)는 무손실 압축 방식에 따라 압축 데이터의 압축을 해제한다(S435). 마찬가지로 압축이 해제되어 복원된 영상 데이터는 디스플레이 장치(130)에 표시할 수 있다(S420). If the extracted data is data compressed and stored in the lossless compression scheme (S430), the
이와 같은 과정에 의해, 프레임 버퍼에 입출력되는 데이터를 손실 압축 방식 및 무손실 압축 방식 중 어느 하나의 방식을 사용하여 압축할 수 있다. 또한, 손실 압축을 사용한 경우에도 복원정보를 이용하여 압축 전 원본 데이터를 복원할 수 있다.In this manner, data input to and output from the frame buffer can be compressed using either a lossy compression method or a lossless compression method. In addition, even if lossy compression is used, the original data before compression can be restored using the reconstruction information.
이와 같은 압축에 의한 데이터 저장은, 오프칩 메모리에 대한 트래픽(traffic)과 전력 소비 둘 다를 감소시키는 중요한 역할을 한다. 즉, 전력을 많이 사용하는 오프칩 메모리 액세스를 지양함으로써 메모리 대역폭을 줄이고 전력 사용량을 낮추는데 매우 효과적이다. Such compression-based data storage plays an important role in reducing both traffic and power consumption for off-chip memory. In other words, it is very effective in reducing memory bandwidth and power consumption by avoiding power-intensive off-chip memory accesses.
한편, 손실 압축 방식이나 무손실 압축 방식은 프레임이나 레이어 화면별로 선택될 수도 있고, 타일(tile) 별로 선택되도록 구성할 수도 있다. 일반적으로 타일 기반의 그래픽 처리 장치에서 렌더링은 타일별로 수행되며, 타일 기반의 방식은 화면을 여러 개의 타일들로 나누어 이 타일을 한 번에 한 개씩 온칩(On-chip) 타일 버퍼에 랜더링한다. On the other hand, the lossy compression method and the lossless compression method may be selected for each frame or layer screen, or may be selected for each tile. Generally, in a tile-based graphics processing device, rendering is performed for each tile. In the tile-based method, the screen is divided into several tiles and the tiles are rendered one on-chip tile buffer one at a time.
또한, 손실 압축 방식으로 압축된 데이터인 경우의 경우, 복원정보를 이용하여 데이터를 복원하는 과정은, 해상도에 따라 단계적으로 적용하도록 구성할 수도 있다. 예컨대, SD 화질로 압축된 영상데이터에 복원정보를 이용하여 HD 화질의 영상 데이터를 생성할 수 있고, HD 화질로 압축된 영상데이터에 복원정보를 이용하여 UHD 영상 데이터를 생성하도록 구성할 수 있다.Also, in the case of data compressed by the lossy compression method, the process of restoring data using the reconstruction information may be configured to be applied step by step according to the resolution. For example, HD image data can be generated using the reconstruction information in the SD image quality compressed image data, and UHD image data can be generated using the reconstruction information in the HD image quality compressed image data.
그리고, 본 발명의 내용은 하드웨어나 소프트웨어 사용에만 국한되지는 않으며, 다른 어떤 컴퓨팅 또는 처리 환경에 대해서도 적용 가능하다. 본 발명에서 설명하는 하드웨어, 소프트웨어 또는 하드웨어소프트웨어의 조합으로 구현될 수 있다. 본 발명은 회로를 사용하여 구현될 수 있다. 즉, 한 개 이상의 프로그램 가능한 논리회로, 즉 ASIC(application specific integrated circuit) 또는 논리회로(AND, OR NAND gates) 또는 프로세싱 장치(예를들면 마이크로 프로세서, 콘트롤러)로 구현가능하다. And, the contents of the present invention are not limited to hardware or software use, but are applicable to any other computing or processing environment. But may be embodied in hardware, software, or a combination of hardware and software described in the present invention. The present invention may be implemented using circuitry. That is, it can be implemented as one or more programmable logic circuits, that is, an application specific integrated circuit (ASIC) or a logic circuit (AND, OR NAND gates) or a processing device (for example, a microprocessor, a controller).
본 발명은 프로그램 가능한 컴퓨터상에서 컴퓨터 프로그램으로 구현 가능하다. 이러한 컴퓨터는 프로세서, 저장장치, 입력장치, 출력 장치를 포함할 수 있다. 본 발명에서 설명한 내용을 구현하기 위해 프로그램 코드는 마우스 또는 키보드 입력장치로 입력될 수 있다. 이러한 프로그램들은 고차원적인 언어나, 객체지향적인 언어로 구현될 수 있다. 또한 어셈블리나 기계어 코드로 구현된 컴퓨터 시스템으로도 구현될 수 있다. The present invention can be implemented as a computer program on a programmable computer. Such a computer may include a processor, a storage device, an input device, and an output device. In order to implement the contents described in the present invention, the program code may be input to a mouse or a keyboard input device. These programs can be implemented in high-level languages or object-oriented languages. It can also be implemented as a computer system implemented in assembly or machine code.
또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It should be understood that various modifications may be made by those skilled in the art without departing from the spirit and scope of the present invention.
110 : 영상 입력부 120 : 메모리
130 : 디스플레이 장치 140 : 그래픽 처리부110: image input unit 120: memory
130: Display device 140: Graphics processor
Claims (13)
상기 압축된 데이터를 메모리에 배치된 프레임 버퍼에 저장하고, 상기 손실압축 방식을 선택한 경우, 원본 데이터의 복원을 위한 복원정보를 생성하여 상기 메모리에 저장하는 단계;
상기 프레임 버퍼에 저장된 압축 데이터를 인출하는 단계;
상기 인출한 압축 데이터가 상기 무손실 압축 방식으로 압축된 데이터인 경우, 상기 인출한 압축 데이터의 압축을 해제하여, 압축 해제된 데이터를 생성하는 단계;
상기 인출한 압축 데이터가 상기 손실 압축 방식으로 압축된 데이터인 경우, 상기 원본 데이터의 복원이 필요하면, 상기 인출한 압축 데이터의 압축 해제시 설정된 해상도에 따라 상기 복원정보를 단계적으로 적용하여 압축 해제된 데이터를 생성하고, 상기 원본 데이터의 복원이 필요하지 않으면, 상기 복원정보의 적용 없이 상기 인출한 압축 데이터의 압축을 해제하여 압축 해지된 데이터를 생성하는 단계; 및
상기 압축 해제된 데이터를 디스플레이 장치에 표시하는 단계를 포함하는 그래픽 처리 방법.Selecting the lossy compression method or the lossless compression method to compress the input image data, and compressing the image data according to the selected compression method;
Storing the compressed data in a frame buffer disposed in a memory and generating reconstruction information for restoring original data when the lossy compression method is selected and storing the reconstructed information in the memory;
Fetching compressed data stored in the frame buffer;
Decompressing the extracted compressed data to generate decompressed data when the extracted compressed data is data compressed by the lossless compression method;
If the extracted compressed data is data compressed by the lossy compression method, if restoration of the original data is required, the decompressed information is applied step by step according to a resolution set at decompression of the extracted compressed data, Generating decompressed data by decompressing the extracted compressed data without applying the decompressed information if decompression of the original data is not required; And
And displaying the decompressed data on a display device.
상기 압축 방식의 선택 및 압축은, 프레임 단위, 레이어 화면 단위, 또는 타일 단위로 선택할 수 있는 것을 특징으로 하는 그래픽 처리 방법.The method according to claim 1,
Wherein the selection and compression of the compression scheme can be selected in frame units, layer screen units, or tile units.
상기 압축된 데이터를 메모리에 배치된 프레임 버퍼에 저장하고, 상기 프레임 버퍼에 저장된 압축 데이터를 인출하는 메모리 제어부;
상기 프레임 버퍼에서 인출한 압축 데이터의 압축을 해제하는 디코딩부;
상기 디코딩부에서 압축 해제된 데이터를 디스플레이 장치에 표시되도록 하는 디스플레이 서브부; 및
상기 인코딩부, 상기 메모리 제어부, 상기 디코딩부, 및 상기 디스플레이 서브부의 동작을 제어하는 제어 로직부를 포함하며,
상기 제어 로직부는,
손실 압축 방식 및 무손실 압축 방식 중 선택된 압축 방식으로 상기 영상 데이터를 압축하고, 상기 손실 압축 방식을 선택한 경우, 원본 데이터의 복원을 위한 복원정보를 생성하여 상기 메모리에 저장되도록 상기 인코딩부를 제어하고,
상기 프레임 버퍼에서 인출한 압축 데이터가 상기 무손실 압축 방식으로 압축된 데이터인 경우, 상기 인출한 압축 데이터의 압축을 해제하고,
상기 프레임 버퍼에서 인출한 압축 데이터가 상기 손실 압축 방식으로 압축된 데이터인 경우, 상기 원본 데이터의 복원이 필요하면, 상기 인출한 압축 데이터의 압축 해제시 설정된 해상도에 따라 상기 복원정보를 단계적으로 적용하여 압축을 해제하며,
상기 원본 데이터의 복원이 필요하지 않으면, 상기 복원정보의 적용 없이 상기 인출한 압축 데이터의 압축을 해제하도록 상기 디코딩부를 제어하는 것을 특징으로 하는 그래픽 처리 장치.An encoding unit for compressing input image data by a lossy compression method or a lossless compression method;
A memory controller for storing the compressed data in a frame buffer disposed in a memory and fetching compressed data stored in the frame buffer;
A decoding unit for decompressing compressed data extracted from the frame buffer;
A display sub-unit for displaying decompressed data in the decoding unit on a display device; And
And a control logic unit for controlling operations of the encoding unit, the memory control unit, the decoding unit, and the display sub-unit,
The control logic unit,
Compresses the image data in a compression mode selected from a lossy compression mode and a lossless compression mode, and generates reconstruction information for restoring original data when the lossy compression mode is selected, and controls the encoding unit to be stored in the memory,
When the compressed data fetched from the frame buffer is data compressed by the lossless compression method, decompressing the fetched compressed data,
When the compressed data extracted from the frame buffer is data compressed by the lossy compression method and the original data needs to be decompressed, the decompression information is applied stepwise according to the resolution set at decompression of the extracted compressed data Decompression,
And controls the decoding unit to decompress the extracted compressed data without applying the restoration information if restoration of the original data is not necessary.
상기 제어 로직부에서, 상기 압축 방식의 선택 및 압축은, 프레임 단위, 레이어 화면 단위, 또는 타일 단위로 선택할 수 있는 것을 특징으로 하는 그래픽 처리 장치.9. The method of claim 8,
Wherein the control logic unit can select and compress the compression scheme by a frame unit, a layer screen unit, or a tile unit.
10. A 3D graphics processor comprising the graphics processing device of claim 8 or 9.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160030728 | 2016-03-15 | ||
KR20160030728 | 2016-03-15 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20170107350A KR20170107350A (en) | 2017-09-25 |
KR101811774B1 true KR101811774B1 (en) | 2017-12-22 |
Family
ID=60035353
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160104233A Active KR101811774B1 (en) | 2016-03-15 | 2016-08-17 | Apparatus and method for processing graphics |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101811774B1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109188327B (en) * | 2018-09-26 | 2020-07-14 | 浙江理工大学 | Fast Reconstruction Method of Magnetic Resonance Image Based on Tensor Product Complex Wavelet Compact Frame |
KR102626217B1 (en) * | 2018-11-30 | 2024-01-16 | 삼성전자주식회사 | Frame buffer compressor and Image processing device comprising the same |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100561458B1 (en) * | 1999-08-10 | 2006-03-16 | 삼성전자주식회사 | Remote control device and method for varying compression method according to transmission speed |
KR101517100B1 (en) * | 2008-08-21 | 2015-05-15 | 삼성전자주식회사 | Apparatus and method for encoding and decoding moving pictures |
-
2016
- 2016-08-17 KR KR1020160104233A patent/KR101811774B1/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100561458B1 (en) * | 1999-08-10 | 2006-03-16 | 삼성전자주식회사 | Remote control device and method for varying compression method according to transmission speed |
KR101517100B1 (en) * | 2008-08-21 | 2015-05-15 | 삼성전자주식회사 | Apparatus and method for encoding and decoding moving pictures |
Also Published As
Publication number | Publication date |
---|---|
KR20170107350A (en) | 2017-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106254877B (en) | Video processing system, method, device and storage medium for processing video data frame | |
US9899007B2 (en) | Adaptive lossy framebuffer compression with controllable error rate | |
US6992675B2 (en) | System for displaying video on a portable device and method thereof | |
US10395394B2 (en) | Encoding and decoding arrays of data elements | |
CN103888777B (en) | Moving picture compression decompressing device | |
JP6208993B2 (en) | Image decoding apparatus and decoding processing method of image decoding apparatus | |
CN102761739B (en) | Apparatus and method for dynamically adjusting video decoding complexity | |
KR102194615B1 (en) | Tile-based compression and decompression for graphic applications | |
KR102825484B1 (en) | Electronic apparatus and control method thereof | |
WO2014120827A1 (en) | Image data encoding for access by raster and by macroblock | |
CN104952088B (en) | A kind of method for being compressed and decompressing to display data | |
KR101811774B1 (en) | Apparatus and method for processing graphics | |
KR102267792B1 (en) | Image block coding based on pixel-domain pre-processing operations on image block | |
KR102467139B1 (en) | Data processing systems | |
WO2024140568A1 (en) | Image processing method and apparatus, electronic device, and readable storage medium | |
JP4109151B2 (en) | Image processing device | |
JP2021174404A (en) | Data generation device, training device, and data generation method | |
US10904578B2 (en) | Video processing apparatus and video processing circuits thereof | |
JP2008219848A (en) | Circuit and method for decoding and viewing of image file | |
JP6465606B2 (en) | Graphics processing apparatus and graphics processing method | |
KR20240143634A (en) | Image processing device and operating method of the image processing device | |
KR20160064023A (en) | System, method and display device of compensating for image compression errors |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20160817 |
|
PA0201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20170619 Patent event code: PE09021S01D |
|
PG1501 | Laying open of application | ||
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20171208 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20171218 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20171218 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
PR1001 | Payment of annual fee |
Payment date: 20201207 Start annual number: 4 End annual number: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20220120 Start annual number: 5 End annual number: 5 |
|
PR1001 | Payment of annual fee |
Payment date: 20221212 Start annual number: 6 End annual number: 6 |
|
PR1001 | Payment of annual fee |
Payment date: 20241216 Start annual number: 8 End annual number: 8 |