[go: up one dir, main page]

CN101026760A - Output Buffering Method for Pixel Data of Joint Photographic Experts Group Imagery - Google Patents

Output Buffering Method for Pixel Data of Joint Photographic Experts Group Imagery Download PDF

Info

Publication number
CN101026760A
CN101026760A CN 200710098210 CN200710098210A CN101026760A CN 101026760 A CN101026760 A CN 101026760A CN 200710098210 CN200710098210 CN 200710098210 CN 200710098210 A CN200710098210 A CN 200710098210A CN 101026760 A CN101026760 A CN 101026760A
Authority
CN
China
Prior art keywords
memory
pixel data
coding unit
minimum coding
experts group
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.)
Granted
Application number
CN 200710098210
Other languages
Chinese (zh)
Other versions
CN100534187C (en
Inventor
谢秉峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CN 200710098210 priority Critical patent/CN100534187C/en
Publication of CN101026760A publication Critical patent/CN101026760A/en
Application granted granted Critical
Publication of CN100534187C publication Critical patent/CN100534187C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

An output buffer method for pixel data of a joint image expert group image. First, a minimum coding unit of the joint photographic experts group image is received, wherein the minimum coding unit comprises a plurality of pixel data. And carrying out proportion adjustment on the minimum coding unit to obtain a proportion-adjusted minimum coding unit. And determining a storage rule of the scaled minimum coding unit in a memory module according to the format of the joint photographic experts group image. Selecting a memory included in the memory module according to the determined storage rule, and writing the pixel data included in the minimum coding unit after the proportion adjustment into the selected memory. Determining the output mode of the minimum coding unit after the ratio adjustment according to the format of the joint image expert group image. Finally, according to the determined output mode, the pixel data contained in the minimum coding unit after the proportion adjustment is output to a frame buffer from the memory module.

Description

联合图像专家组影像的像素数据的输出缓冲方法Output Buffering Method for Pixel Data of Joint Photographic Experts Group Imagery

技术领域technical field

本发明是有关于影像处理,特别是有关于联合图像专家组(Joint Photographic Experts Group,JPEG)影像的处理模块及方法。The present invention relates to image processing, in particular to a processing module and method for Joint Photographic Experts Group (JPEG) images.

背景技术Background technique

联合图像专家组(JPEG)影像标准是由国际标准化组织(International Standard Organization,ISO)及国际电报电话咨询委员会(Consultative Committee of International Telegraph&Telephone,CCITT)所制定,为常用的影像压缩格式。JPEG影像目前分为多种格式,包括420、422V、411、422H以及444。由于JPEG为影像压缩后的储存格式,因此当欲展现一JPEG影像于屏幕上时,JPEG影像必须先经译码以还原为原本的影像,才能展示于屏幕上。The Joint Photographic Experts Group (JPEG) image standard is formulated by the International Standard Organization (ISO) and the Consultative Committee of International Telegraph & Telephone (CCITT), and is a commonly used image compression format. JPEG images are currently divided into several formats, including 420, 422V, 411, 422H, and 444. Since JPEG is a compressed image storage format, when a JPEG image is to be displayed on the screen, the JPEG image must first be decoded to restore the original image before being displayed on the screen.

无论哪一种JPEG格式,JPEG影像皆是以最小编码单元(Minimum Coded Unit,MCU)为单元进行译码。一最小编码单元包含多个像素区块(pixel block)。依据像素区块包含8列×8行(即64个)的像素数据,像素数据又可区分为亮度(intensity)分量与色差(color)分量,其中亮度分量表现像素数据的亮度,而色差分量则表现像素数据的颜色。因此,可将像素区块区分为储存亮度分量的像素区块以及储存色差分量的像素区块。Regardless of the JPEG format, JPEG images are decoded using the Minimum Coded Unit (MCU) as the unit. A minimum coding unit includes a plurality of pixel blocks. According to the fact that the pixel block contains 8 columns x 8 rows (that is, 64) pixel data, the pixel data can be further divided into brightness (intensity) component and color difference (color) component, wherein the brightness component represents the brightness of the pixel data, and the color difference component Represents the color of pixel data. Therefore, the pixel blocks can be divided into pixel blocks storing luminance components and pixel blocks storing color difference components.

图1A显示格式为420及422V的JPEG影像的最小编码单元。格式为420的JPEG影像100的像素数据可分为亮度分量102、蓝色色差分量104以及红色色差分量106,而JPEG影像100的一最小编码单元包含六个像素区块112~117,其中四个像素区块Y0~Y3储存亮度分量的像素数据,而两个像素区块Cb、Cr储存色差分量的像素数据。同样的,格式为422V的JPEG影像120的像素数据可分为亮度分量122、蓝色色差分量124以及红色色差分量126,而JPEG影像120的一最小编码单元包含四个像素区块132~135,其中二个像素区块Y0、Y2储存亮度分量的像素数据,而二个像素区块Cb、Cr储存色差分量的像素数据。FIG. 1A shows the minimum coding units of JPEG images in 420 and 422V formats. The pixel data of the JPEG image 100 whose format is 420 can be divided into luminance component 102, blue color difference component 104 and red color difference component 106, and a minimum coding unit of JPEG image 100 includes six pixel blocks 112-117, four of which are The pixel blocks Y0-Y3 store the pixel data of the luminance component, and the two pixel blocks Cb, Cr store the pixel data of the color difference component. Similarly, the pixel data of the JPEG image 120 whose format is 422V can be divided into a luminance component 122, a blue color difference component 124 and a red color difference component 126, and a minimum coding unit of the JPEG image 120 includes four pixel blocks 132-135, The two pixel blocks Y0 and Y2 store the pixel data of the luminance component, and the two pixel blocks Cb and Cr store the pixel data of the color difference component.

图1B显示格式为411、422H以及444的JPEG影像的最小编码单元。格式为411的JPEG影像140的像素数据可分为亮度分量142、蓝色色差分量144以及红色色差分量146,而JPEG影像140的一最小编码单元包含六个像素区块152~157,其中四个像素区块Y0、Y1储存亮度分量的像素数据,而两个像素区块Cb、Cr储存色差分量的像素数据。同样的,格式为422H的JPEG影像160的像素数据可分为亮度分量162、蓝色色差分量164以及红色色差分量166,而JPEG影像160的一最小编码单元包含四个像素区块172~175,其中二个像素区块Y0、Y1储存亮度分量的像素数据,而二个像素区块Cb、Cr储存色差分量的像素数据。另外,格式为444的JPEG影像180的像素数据可分为亮度分量182、蓝色色差分量184以及红色色差分量186,而JPEG影像180的一最小编码单元包含三个像素区块192~194,其中像素区块Y0储存亮度分量的像素数据,而二个像素区块Cb、Cr储存色差分量的像素数据。FIG. 1B shows minimum coding units of JPEG images with formats 411, 422H and 444. The pixel data of the JPEG image 140 whose format is 411 can be divided into luminance component 142, blue color difference component 144 and red color difference component 146, and a minimum coding unit of JPEG image 140 includes six pixel blocks 152-157, four of which The pixel blocks Y0 and Y1 store the pixel data of the luminance component, and the two pixel blocks Cb and Cr store the pixel data of the color difference component. Similarly, the pixel data of the JPEG image 160 whose format is 422H can be divided into a brightness component 162, a blue color difference component 164 and a red color difference component 166, and a minimum coding unit of the JPEG image 160 includes four pixel blocks 172-175, The two pixel blocks Y0 and Y1 store the pixel data of the luminance component, and the two pixel blocks Cb and Cr store the pixel data of the color difference component. In addition, the pixel data of the JPEG image 180 whose format is 444 can be divided into a brightness component 182, a blue color difference component 184 and a red color difference component 186, and a minimum coding unit of the JPEG image 180 includes three pixel blocks 192-194, wherein The pixel block Y0 stores the pixel data of the luminance component, and the two pixel blocks Cb and Cr store the pixel data of the color difference component.

当JPEG影像经译码完毕时,由于译码后的JPEG影像大小与屏幕尺寸不见得相符合,因此JPEG影像需事先经过比例调整(scaling),以降低JPEG影像的分辨率或像素数据量至符合供屏幕展示的程度。接着,调整过的JPEG影像数据会先储存于一缓冲模块当中,以等待屏幕发出取得像素数据的要求后,再将影像的像素数据输出至屏幕的帧缓存器(frame buffer)。When the decoding of the JPEG image is completed, since the size of the decoded JPEG image does not necessarily match the screen size, the JPEG image needs to be scaled in advance to reduce the resolution or the amount of pixel data of the JPEG image to fit Extent for displaying on screen. Next, the adjusted JPEG image data is first stored in a buffer module to wait for the screen to issue a request for obtaining pixel data, and then output the pixel data of the image to the frame buffer of the screen.

影像数据由缓冲模块输出至屏幕的帧缓存器的输出模式分别有1字节单笔输出模式、8字节连发输出(8 bytes burst write out)模式以及16字节连发输出(16 bytes burst write out)模式。于1字节单笔输出模式下,每次缓冲模块仅输出1字节的像素数据至帧缓存器。于8字节或16字节连发输出模式下,每次缓冲模块分别可输出8字节及16字节的像素数据至帧缓存器。当JPEG影像包含的像素数据量大时,必须采用8字节或16字节连发输出模式,才能符合屏幕展示影像的数据需求量。The output modes of the image data output from the buffer module to the frame buffer of the screen are 1 byte single output mode, 8 bytes burst write out (8 bytes burst write out) mode and 16 bytes burst write out (16 bytes burst write out) mode. write out) mode. In the 1-byte single output mode, the buffer module only outputs 1-byte pixel data to the frame buffer each time. In the 8-byte or 16-byte burst output mode, the buffer module can output 8-byte and 16-byte pixel data to the frame buffer respectively. When the amount of pixel data contained in a JPEG image is large, an 8-byte or 16-byte burst output mode must be used to meet the data requirements of the screen display image.

例如,分辨率为800×600的移动式JPEG影像(motion JPEG)每秒需更换30张影像,所需传递的每秒数据量为21.6M(800×600×30×1.5=21.6M)bytes,其中参数1.5是因每一单位的亮度分量需配合0.5单位的色差分量,若系统以频率为125MHz的时脉信号进行运作,则每字节的数据需于5.787(125MHz/21.6M=5.787)个时脉周期内完成传递,对系统是极大的负荷。反之,若于8字节或16字节连发输出模式下,由于一次传递的数据量分别为8倍及16倍,每次传递数据分别可以等待46.296及92.252个时脉周期。因此,缓冲器应采用8字节或16字节连发输出模式,以进行像素数据的传送。For example, a motion JPEG image (motion JPEG) with a resolution of 800×600 needs to replace 30 images per second, and the amount of data to be transmitted per second is 21.6M (800×600×30×1.5=21.6M)bytes, Among them, the parameter 1.5 is because each unit of luminance component needs to cooperate with 0.5 unit of color difference component. If the system operates with a clock signal with a frequency of 125MHz, the data of each byte needs to be 5.787 (125MHz/21.6M=5.787) The completion of the transfer within the clock cycle is a great load on the system. Conversely, in the 8-byte or 16-byte burst output mode, since the amount of data transmitted at one time is 8 times and 16 times respectively, each transmission of data can wait for 46.296 and 92.252 clock cycles respectively. Therefore, the buffer should adopt 8-byte or 16-byte burst output mode to transmit pixel data.

此外,一般缓冲器为了完整储存显示于屏幕的像素数据,需要数万至百万字节的存储容量。缓冲器的存储容量愈大,所需耗费的生产成本愈高。若能运用较小存储容量的缓冲器,而缓冲器仍能发挥同样的功能以应付传递数据的需求数据量,则可降低生产成本。因此,若能提供同时拥有高速输出而存储容量有限的缓冲器,则可以同时降低生产成本且增进缓冲器的效能。In addition, in order to fully store the pixel data displayed on the screen, the general buffer requires a storage capacity of tens of thousands to megabytes. The larger the storage capacity of the buffer, the higher the production cost required. If a buffer with a smaller storage capacity can be used, and the buffer can still perform the same function to cope with the required data volume of the transmitted data, the production cost can be reduced. Therefore, if a buffer with high-speed output and limited storage capacity can be provided, the production cost can be reduced and the performance of the buffer can be improved at the same time.

发明内容Contents of the invention

有鉴于此,本发明提供一种联合图像专家组(JointPhotographic Experts Group,JPEG)影像的像素(pixel)数据的输出缓冲方法,以解决已知技术存在的问题。首先,接收该JPEG影像的一最小编码单元(Minimum Coded Unit,MCU),其中该最小编码单元包含多个像素数据。接着,对该最小编码单元进行比例调整(scaling),以得到一比例调整后(scaled)的最小编码单元。接着,依据该JPEG影像的格式,决定该比例调整后的最小编码单元于一存储器模块中的储存规则。接着,依据所决定的该储存规则,选取该存储器模块中包含的一存储器,以将该比例调整后的最小编码单元所包含的像素数据写入所选取的该存储器。接着,依据该JPEG影像的格式,决定将该比例调整后的最小编码单元输出的输出模式。最后,依据所决定的该输出模式,将该比例调整后的最小编码单元所包含的像素数据由该存储器模块输出至一帧缓存器(frame buffer)。In view of this, the present invention provides an output buffering method for pixel data of a Joint Photographic Experts Group (JPEG) image, so as to solve the problems existing in the known technology. First, a minimum coding unit (MCU) of the JPEG image is received, wherein the minimum coding unit includes a plurality of pixel data. Then, scaling is performed on the minimum coding unit to obtain a scaled minimum coding unit. Then, according to the format of the JPEG image, a storage rule of the scale-adjusted minimum coding unit in a memory module is determined. Then, according to the determined storage rule, a memory included in the memory module is selected, so as to write the pixel data included in the scale-adjusted minimum coding unit into the selected memory. Next, according to the format of the JPEG image, an output mode for outputting the scale-adjusted minimum coding unit is determined. Finally, according to the determined output mode, the pixel data included in the scale-adjusted minimum coding unit is output from the memory module to a frame buffer.

本发明更提供一种联合图像专家组(Joint PhotographicExperts Group,JPEG)影像的像素(pixel)数据的输出缓冲模块。该缓冲模块包括调整模块、存储器存取控制模块、存储器模块以及输出缓冲器控制模块。调整模块接收该JPEG影像的一最小编码单元(Minimum Coded Unit,MCU),并对该最小编码单元进行比例调整(scaling)以得到比例调整后(scaled)的最小编码单元,其中该最小编码单元包含多个像素数据。存储器模块存取控制模块依据该JPEG影像的格式,以决定该比例调整后的最小编码单元于一存储器模块中的储存规则。该存储器模块依据所决定的该储存规则,选取该存储器模块中包含的一存储器,以将该比例调整后的最小编码单元所包含的像素数据写入所选取的该存储器。输出缓冲器控制模块依据该JPEG影像的格式决定将该比例调整后的最小编码单元输出的输出模式,并依据所决定的该输出模式,将该比例调整后的最小编码单元所包含的像素数据由该存储器模块输出至一帧缓存器(frame buffer)。The present invention further provides an output buffer module for pixel data of a Joint Photographic Experts Group (JPEG) image. The buffer module includes an adjustment module, a memory access control module, a memory module and an output buffer control module. The adjustment module receives a Minimum Coded Unit (MCU) of the JPEG image, and performs scaling on the Minimum Coded Unit to obtain a scaled Minimum Coded Unit, wherein the Minimum Coded Unit includes multiple pixel data. The memory module access control module determines the storage rule of the scale-adjusted minimum coding unit in a memory module according to the format of the JPEG image. The memory module selects a memory included in the memory module according to the determined storage rule, and writes the pixel data contained in the scale-adjusted minimum coding unit into the selected memory. The output buffer control module determines the output mode of the scale-adjusted minimum coding unit according to the format of the JPEG image, and according to the determined output mode, the pixel data contained in the scale-adjusted minimum coding unit is determined by The memory module outputs to a frame buffer.

本发明所述的联合图像专家组影像的像素数据的输出缓冲方法,可以同时降低缓冲器的生产成本并增进缓冲器的效能。The output buffering method of the pixel data of the Joint Photographic Experts Group image described in the present invention can simultaneously reduce the production cost of the buffer and improve the performance of the buffer.

附图说明Description of drawings

图1A显示格式为420及422V的JPEG影像的最小编码单元;FIG. 1A shows the minimum coding unit of JPEG images with formats 420 and 422V;

图1B显示格式为411、422H以及444的JPEG影像的最小编码单元;FIG. 1B shows the minimum coding units of JPEG images with formats 411, 422H and 444;

图2为依据本发明的JPEG影像的像素数据的输出缓冲模块的区块图;2 is a block diagram of an output buffer module of pixel data of a JPEG image according to the present invention;

图3为根据本发明的JPEG影像的像素数据的输出缓冲方法的流程图;Fig. 3 is the flow chart of the output buffering method of the pixel data of JPEG image according to the present invention;

图4为依据本发明的输出模式的决定方法的流程图;4 is a flow chart of a method for determining an output mode according to the present invention;

图5为根据本发明的存储器储存规则的选择方法的流程图;5 is a flow chart of a method for selecting memory storage rules according to the present invention;

图6A显示第一存储器选取规则;FIG. 6A shows a first memory selection rule;

图6B显示第二存储器选取规则;FIG. 6B shows a second memory selection rule;

图7A为第一存储器选取规则于存储器模块中运作的示意图;FIG. 7A is a schematic diagram of a first memory selection rule operating in a memory module;

图7B为第二存储器选取规则于存储器模块中运作的示意图;7B is a schematic diagram of the operation of the second memory selection rule in the memory module;

图7C为第二存储器选取规则于存储器模块中运作的另一示意图。FIG. 7C is another schematic diagram of the operation of the second memory selection rule in the memory module.

具体实施方式Detailed ways

为了让本发明的上述和其他目的、特征和优点能更明显易懂,下文特举数较佳实施例,并配合所附图示,作详细说明如下。In order to make the above and other objects, features and advantages of the present invention more comprehensible, a few preferred embodiments are specifically cited below, together with the accompanying drawings, and are described in detail as follows.

图2为依据本发明的JPEG影像的输出像素数据(pixel data)的缓冲模块200的区块图。缓冲模块200包括调整模块202、存储器模块204、存储器存取控制模块206、输出缓冲器控制模块208。缓冲模块200可于存储器容量有限的情况下,仍旧能缓冲来自一反离散余弦转换(Inverse Discrete Cosine Transformation,IDCT)模块译码的像素数据,并以高数据速度将像素数据输出至屏幕的帧缓存器(frame buffer)。缓冲模块200的存储器模块204可包含六个存储器(未图示),分别为第一存储器至第六存储器。每一存储器刚好可储存一8列×8行的像素区块,亦即每一存储器的容量为64(8×8=64)字节,其中一像素占据一字节的存储容量。因此,于本发明特定的设计下,存储器模块204的六个存储器总共仅需384(64×6=384)个字节,就足以缓冲JPEG影像的需求数据量,而不需如已知技术中般需要大量的存储容量。FIG. 2 is a block diagram of a buffer module 200 for outputting pixel data (pixel data) of a JPEG image according to the present invention. The buffer module 200 includes an adjustment module 202 , a memory module 204 , a memory access control module 206 , and an output buffer control module 208 . The buffer module 200 can still buffer pixel data decoded from an inverse discrete cosine transform (Inverse Discrete Cosine Transformation, IDCT) module under the condition of limited memory capacity, and output the pixel data to the frame buffer of the screen at a high data rate device (frame buffer). The memory module 204 of the buffer module 200 may include six memories (not shown), namely the first memory to the sixth memory. Each memory can just store a pixel block of 8 columns×8 rows, that is, the capacity of each memory is 64 (8×8=64) bytes, and one pixel occupies a storage capacity of one byte. Therefore, under the specific design of the present invention, the six memories of the memory module 204 only need 384 (64×6=384) bytes in total, which is enough to buffer the required data volume of the JPEG image, without the need of Generally requires a large amount of storage capacity.

图3为根据本发明的JPEG影像的像素数据的输出缓冲方法300的流程图。输出缓冲方法300可以用来说明图2的缓冲模块200的内部运作。如前所述,JPEG影像于输出至屏幕展示之前必须先依据屏幕的尺寸调整JPEG影像的分辨率及大小。因此,调整模块202首先于步骤302中接收JPEG影像的一最小编码单元(Minimum Coded Unit,MCU),其中该最小编码单元包含多个像素数据。此时必须根据影像与帧缓存器的尺寸是否符合,以决定是否对该最小编码单元进行比例调整(scaling),而调整影像的分辨率。若影像需调整,则调整模块202于步骤304中对该最小编码单元进行比例调整,以得到比例调整后(scaled)的最小编码单元。FIG. 3 is a flowchart of an output buffering method 300 for pixel data of a JPEG image according to the present invention. The output buffering method 300 can be used to illustrate the internal operation of the buffering module 200 of FIG. 2 . As mentioned above, before the JPEG image is output to the screen for display, the resolution and size of the JPEG image must be adjusted according to the size of the screen. Therefore, the adjustment module 202 first receives a minimum coding unit (MCU) of the JPEG image in step 302, wherein the minimum coding unit includes a plurality of pixel data. At this time, it is necessary to determine whether to perform scaling on the minimum coding unit according to whether the size of the image matches the size of the frame buffer to adjust the resolution of the image. If the image needs to be adjusted, the adjustment module 202 performs scale adjustment on the minimum coding unit in step 304 to obtain a scaled minimum coding unit.

比例调整后的最小编码单元的像素数据接着被送至存储器模块204,以进行储存。于存储器模块204中,第一存储器至第三存储器用以储存比例调整后的最小编码单元的亮度分量(intensity)的像素数据,而第四存储器至第六存储器用以储存比例调整后的最小编码单元的色差分量(color)的像素数据。当然,若最小编码单元未经调整模块202的比例调整,亦储存于存储器模块204中。由于存储器模块204的容量仅有384个字节,因此需要由一存储器存取控制模块206决定输入的像素数据于存储器模块204中的储存位置,以妥善地完成缓冲像素数据的工作。首先由存储器存取控制模块206于步骤306中依据JPEG影像的格式而决定像素数据于存储器模块204中的特定储存规则。接着,存储器模块204便可于步骤308中依据所决定的储存规则,自存储器模块204中选取一存储器,以将像素数据写入所选取的该存储器中。关于存储器的储存规则会于后续段落中以图5、图6及图7A~图7C进行详细说明。The pixel data of the scale-adjusted LCU is then sent to the memory module 204 for storage. In the memory module 204, the first memory to the third memory are used to store the pixel data of the luminance component (intensity) of the scale-adjusted minimum coding unit, and the fourth memory to the sixth memory are used to store the scale-adjusted minimum coding unit. Pixel data for the color difference component (color) of the unit. Certainly, if the minimum coding unit is not scaled by the adjustment module 202 , it is also stored in the memory module 204 . Since the capacity of the memory module 204 is only 384 bytes, a memory access control module 206 needs to determine the storage location of the input pixel data in the memory module 204 to properly complete the work of buffering the pixel data. Firstly, the memory access control module 206 determines the specific storage rule of the pixel data in the memory module 204 according to the format of the JPEG image in step 306 . Then, the memory module 204 can select a memory from the memory module 204 according to the determined storage rule in step 308, so as to write the pixel data into the selected memory. The storage rules of the memory will be described in detail with reference to FIGS. 5 , 6 , and 7A-7C in subsequent paragraphs.

接着,由输出缓冲器控制模块208负责自存储器模块204中撷取像素数据,而将像素数据输出至屏幕的帧缓存器,以进行影像的展示。输出缓冲器控制模块208于步骤310中依据JPEG影像的格式以决定输出像素数据的输出模式,此输出模式可为8字节或16字节连发输出模式。输出模式的决定方法将以图4进行说明。接着,输出缓冲器控制模块208并于步骤312中依据输出模式将像素数据由存储器模块204输出至帧缓存器。步骤302至312可重复执行,直至JPEG影像的像素数据均经输出完毕为止。Next, the output buffer control module 208 is responsible for retrieving the pixel data from the memory module 204 and outputting the pixel data to the frame buffer of the screen for image display. The output buffer control module 208 determines the output mode of the output pixel data according to the format of the JPEG image in step 310 , and the output mode can be an 8-byte or 16-byte burst output mode. The method of determining the output mode will be described with reference to FIG. 4 . Next, the output buffer control module 208 outputs the pixel data from the memory module 204 to the frame buffer according to the output mode in step 312 . Steps 302 to 312 can be executed repeatedly until all the pixel data of the JPEG image are output.

图4为依据本发明的输出模式的决定方法400的流程图,输出缓冲器控制模块208可依此方法选择像素数据的输出模式。首先于步骤401中判断是否存储器模块204中储存的像素数据已经过调整模块202的比例调整处理。若未经比例调整处理,则直接于步骤408中决定以16字节连发输出模式进行像素数据的输出。若像素数据经过比例调整处理,则可依据影像格式以选择像素数据的输出模式。若JPEG影像的格式于步骤402中为图1B的411、422H或444,则储存亮度分量的像素数据将于步骤408中以16字节连发输出模式进行输出。若JPEG影像的格式于步骤402中为图1A的420或422V,则储存亮度分量的像素数据将于步骤406中以8字节连发输出模式进行输出。此外,无论JPEG影像为何格式,储存色差分量的像素数据若比例调整处理过,亦将于步骤406中以8字节连发输出模式进行输出(未图示)。FIG. 4 is a flowchart of a method 400 for determining an output mode according to the present invention, and the output buffer control module 208 can select an output mode of pixel data according to this method. Firstly, in step 401 , it is determined whether the pixel data stored in the memory module 204 has been processed by the adjustment module 202 for scaling. If there is no scaling process, it is directly determined in step 408 to output the pixel data in the 16-byte burst output mode. If the pixel data is scaled, the output mode of the pixel data can be selected according to the image format. If the format of the JPEG image in step 402 is 411 , 422H or 444 in FIG. 1B , then the pixel data storing the luminance component will be output in step 408 in the 16-byte burst output mode. If the format of the JPEG image in step 402 is 420 or 422V in FIG. 1A , then the pixel data storing the luminance component will be output in 8-byte burst output mode in step 406 . In addition, regardless of the format of the JPEG image, if the pixel data storing the color difference component has been scaled, it will also be output in the 8-byte burst output mode in step 406 (not shown).

图5为根据本发明的存储器储存规则的选择方法500的流程图,存储器存取控制模块206依据此方法以决定像素数据于存储器模块204中的储存规则。储存规则分为第一存储器选取规则与第二存储器选取规则,将以图6A~图6B及图7A~图7C说明其细节,目前段落则先对于储存规则的选择方法500进行说明。存储器存取控制模块206首先在步骤501辨别是否JPEG影像的像素数据经过调整模块202的比例调整处理。若输入影像的最小编码单元未经比例调整处理,则不论是最小编码单元的亮度分量像素区块或色差分量像素区块,皆于步骤510中决定以第二存储单元选取规则,以选取该最小编码单元的剩余像素所要写入的存储单元。FIG. 5 is a flow chart of a method 500 for selecting a memory storage rule according to the present invention. The memory access control module 206 determines the storage rule of pixel data in the memory module 204 according to this method. The storage rules are divided into the first memory selection rule and the second memory selection rule. The details will be described with FIGS. The memory access control module 206 first determines in step 501 whether the pixel data of the JPEG image has been scaled by the adjustment module 202 . If the minimum coding unit of the input image has not been scaled, no matter whether it is the pixel block of the brightness component or the pixel block of the color difference component of the minimum coding unit, it is determined in step 510 to select the minimum coding unit according to the second storage unit selection rule. The storage unit to which the remaining pixels of the coding unit are to be written.

若输入影像的最小编码单元已经过比例调整处理,则要于步骤502判别输入的像素区块是亮度分量或色差分量。若为色差分量,则依旧于步骤510中选取第二存储单元选取规则为储存规则。若为亮度分量,则进一步于步骤503中依据JPEG影像的格式而选取不同的储存规则。若在步骤504判别出JPEG影像格式为420或422V,且在步骤506判别出储存亮度分量的三个存储器非为已填满两个(例如,仅填满一个存储器的状况下),则于步骤508中选取第一存储单元选取规则为储存规则。否则,若在步骤504判别出JPEG影像格式为411、422H或444,或是在步骤504判别出JPEG影像格式为420或422V但在步骤506判别出储存亮度分量的三个存储器已填满两个,则于步骤510中选取第二存储单元选取规则为储存规则。If the minimum coding unit of the input image has been scaled, it is determined in step 502 whether the input pixel block is a luma component or a color difference component. If it is a color difference component, still select the second storage unit selection rule as the storage rule in step 510 . If it is a brightness component, then in step 503, different storage rules are selected according to the format of the JPEG image. If it is judged in step 504 that the JPEG image format is 420 or 422V, and it is judged in step 506 that the three memory stores storing the luminance component are not filled with two (for example, only one memory is filled), then in step 506 In 508, the first storage unit selection rule is selected as a storage rule. Otherwise, if it is judged that the JPEG image format is 411, 422H or 444 in step 504, or it is judged that the JPEG image format is 420 or 422V in step 504 but it is judged in step 506 that the three memories storing the brightness component have filled two , the second storage unit selection rule is selected as the storage rule in step 510 .

之前已述及,存储器模块204包含第一存储器至第六存储器,每一存储器可容纳(8×8)个像素的像素区块。其中第一至第三存储器储存亮度分量的像素数据,而第四至第六存储器储存色差分量的像素数据。由于影像的最小编码单元的像素区块于储存前已经过比例调整处理以减少分辨率,像素区块会由原本包含(8×8)个像素的像素区块缩减为包含(n×n)个像素的像素区块,其中n为自然数且小于等于8。因此,比例调整处理后的像素区块所需的存储容量会小于一个存储器的存储容量,此存储器的剩余存储容量则可用以储存其他像素区块。所以当像素区块依序储存于存储器中,部分像素区块会被切割为前后两部分,分别储存于两个不同的存储器中。当像素区块的前一部分已写入至目前写入的存储器边缘时,便需依据所决定的储存规则选取下一存储器,以储存像素区块的后一剩余部分。As mentioned above, the memory module 204 includes the first memory to the sixth memory, and each memory can accommodate a pixel block of (8×8) pixels. The first to third memories store pixel data of brightness components, and the fourth to sixth memories store pixel data of color difference components. Since the pixel block of the minimum coding unit of the image has been scaled to reduce the resolution before storage, the pixel block will be reduced from the pixel block originally containing (8×8) pixels to include (n×n) pixels A pixel block of pixels, where n is a natural number less than or equal to 8. Therefore, the storage capacity required for the scale-adjusted pixel block is less than the storage capacity of a memory, and the remaining storage capacity of the memory can be used to store other pixel blocks. Therefore, when the pixel blocks are sequentially stored in the memory, part of the pixel blocks will be cut into two parts, which are respectively stored in two different memories. When the previous part of the pixel block has been written to the edge of the currently written memory, it is necessary to select the next memory according to the determined storage rule to store the next remaining part of the pixel block.

图6A与图6B分别显示第一存储器选取规则600与第二存储器选取规则650,其中规则600与650仅以储存亮度分量的第一存储器、第二存储器、第三存储器举例说明。于图6A的第一存储器选取规则600下,当目前写入的存储器分别为第一存储器、第二存储器及第三存储器时,存储器存取控制模块206会分别依序选取第三存储器、第一存储器及第二存储器为下一存储器,以写入剩余像素。而于图6B的第二存储器选取规则650下,当目前写入的存储器分别为该第一存储器、第二存储器及第三存储器时,存储器存取控制模块206会分别依序选取该第二存储器、第三存储器及第一存储器为下一存储器,以写入剩余像素。同理,若第一存储器与第二存储器选取规则的实施对象为储存色差分量的第四存储器、第五存储器、第六存储器,则图6A与图6B中目前写入的第一存储器、第二存储器、第三存储器分别对应于第四存储器、第五存储器、第六存储器。6A and FIG. 6B show the first memory selection rule 600 and the second memory selection rule 650 respectively, wherein the rules 600 and 650 are only illustrated by the first memory, the second memory, and the third memory for storing luminance components. Under the first memory selection rule 600 in FIG. 6A , when the currently written memories are the first memory, the second memory, and the third memory, the memory access control module 206 will sequentially select the third memory, the first The memory and the second memory are the next memory to write the remaining pixels. However, under the second memory selection rule 650 in FIG. 6B , when the currently written memories are the first memory, the second memory, and the third memory, the memory access control module 206 will sequentially select the second memory respectively. , the third memory and the first memory are next memory for writing remaining pixels. Similarly, if the first memory and the second memory selection rules are implemented as the fourth memory, the fifth memory, and the sixth memory for storing color difference components, then the first memory, the second memory currently written in Fig. 6A and Fig. 6B The memory and the third memory correspond to the fourth memory, the fifth memory, and the sixth memory, respectively.

接下来将以实例说明第一及第二存储器选取规则的实际运作情形。图7A为第一存储器选取规则600于存储器模块204中运作的示意图。假设输入的像素区块为JPEG影像格式为420的最小编码单元的亮度分量,如图1A的最小编码单元100的Y0~Y3,则存储器存取控制模块206依据选择方法500会选择第一存储器选取规则600为储存规则。首先将像素区块Y0储存于第一存储器中。由于第一存储器尚有剩余空间,因此亦将下一像素区块Y1的前一部分亦储存于第一存储器中。此时必须依据图6A的第一存储器选取规则600选择下一存储器,以储存像素区块Y1的后一部分像素。此时依据规则600选择第三存储器为下一存储器,因此像素区块Y1的后一部分储存于第三存储器中。Next, an example will be used to illustrate the actual operation of the first and second memory selection rules. FIG. 7A is a schematic diagram of the operation of the first memory selection rule 600 in the memory module 204 . Assuming that the input pixel block is the luminance component of the minimum coding unit of JPEG image format 420, such as Y0-Y3 of the minimum coding unit 100 in FIG. 1A, the memory access control module 206 will select the first memory selection according to the selection method 500 Rules 600 are storage rules. Firstly, the pixel block Y0 is stored in the first memory. Since the first memory still has remaining space, the previous part of the next pixel block Y1 is also stored in the first memory. At this time, the next memory must be selected according to the first memory selection rule 600 in FIG. 6A to store the second part of pixels of the pixel block Y1. At this time, the third memory is selected as the next memory according to the rule 600, so the second part of the pixel block Y1 is stored in the third memory.

接着,由于目前的存储器为第三存储器,因此依据规则600选取第二存储器为下一存储器,以储存像素区块Y2。由于第二存储器尚有剩余空间,因此亦将下一像素区块Y3的前一部分储存于第二存储器中。此时由于第一存储器已填满,因此第一存储器储存的像素区块Y0及Y1前一部分已被输出至帧缓存器,因此第一存储器已可重新储存数据。因此依据规则600选择第一存储器为下一存储器,以储存像素区块Y3的后一部分。Next, since the current memory is the third memory, according to the rule 600, the second memory is selected as the next memory to store the pixel block Y2. Since the second memory still has remaining space, the previous part of the next pixel block Y3 is also stored in the second memory. At this time, since the first memory is full, the previous part of the pixel blocks Y0 and Y1 stored in the first memory has been output to the frame buffer, so the first memory can store data again. Therefore, according to the rule 600, the first memory is selected as the next memory to store the second part of the pixel block Y3.

图7B为第二存储器选取规则650于存储器模块204中运作的示意图。假设存储器模块204继续接收上述格式为420的JPEG影像的下一最小编码单元的亮度分量像素区块。此时目前写入的存储器为第三存储器,仍依据规则600选择第二存储器为下一存储器,以储存像素区块Y1的前一部分。此时由于第三存储器与第二存储器的边缘均已填满,因此三个存储器中有两个已填满像素区块至其边缘,因而依据选择方法500必须变更储存规则为第二存储器选取规则650,如图6B所示。由于之前第三存储器已填满,因此第三存储器储存的像素区块Y0的前一部分及其他像素区块已被输出至帧缓存器,因此第三存储器已可重新储存数据。此时目前的存储器为第二存储器,因此依据规则650选取第三存储器为下一存储器,以储存像素区块Y1的剩余部分。FIG. 7B is a schematic diagram of the operation of the second memory selection rule 650 in the memory module 204 . Assume that the memory module 204 continues to receive the luminance component pixel block of the next smallest coding unit of the JPEG image whose format is 420 . At this time, the currently written memory is the third memory, and the second memory is still selected as the next memory according to the rule 600 to store the previous part of the pixel block Y1. At this time, because the edges of the third memory and the second memory are full, two of the three memory have filled the pixel block to the edge, so the storage rule must be changed to the second memory selection rule according to the selection method 500 650, as shown in Figure 6B. Since the third memory is full before, the previous part of the pixel block Y0 and other pixel blocks stored in the third memory have been output to the frame buffer, so the third memory can store data again. At this time, the current memory is the second memory, so according to the rule 650, the third memory is selected as the next memory to store the remaining part of the pixel block Y1.

由于目前写入的存储器为第三存储器,因此依据规则650选择第一存储器为下一存储器,以储存下一像素区块Y2的前一部分。接着,依据规则650选择第二存储器为下一存储器,以储存像素区块Y2的后一部分,并继续填入下一像素区块Y3的前一部分。此时由于第一存储器已清除,因此三个存储器中仅剩第二存储器已填满像素区块至其边缘,因而依据选择方法500必须变更储存规则为第一存储器选取规则600。因此,依据规则600选择第一存储器为下一存储器,以储存像素区块Y3的后一部分。Since the currently written memory is the third memory, the first memory is selected as the next memory according to the rule 650 to store the previous part of the next pixel block Y2. Then, according to the rule 650, the second memory is selected as the next memory to store the second part of the pixel block Y2 and continue to fill in the former part of the next pixel block Y3. At this time, since the first memory has been cleared, only the second memory has been filled to the edge of the pixel block among the three memories. Therefore, according to the selection method 500 , the storage rule must be changed to the first memory selection rule 600 . Therefore, according to the rule 600, the first memory is selected as the next memory to store the second part of the pixel block Y3.

图7C为第二存储器选取规则650于存储器模块204中运作的另一示意图。假设输入的像素区块为JPEG影像格式为422H的最小编码单元的亮度分量,如图1B的最小编码单元160的Y0~Y1,则存储器存取控制模块206依据选择方法500会选择第二存储器选取规则650为储存规则。假设目前写入的存储器为第一存储器,则首先以第一存储器储存像素区块Y0的前一部分。接着依据规则650选择第二存储器为下一存储器,以储存像素区块Y0的后一部分,并继续填入下一像素区块Y1的前一部分。接着,依据规则650选择第三存储器为下一存储器,以储存像素区块Y1的后一部分。FIG. 7C is another schematic diagram of the operation of the second memory selection rule 650 in the memory module 204 . Assuming that the input pixel block is the luminance component of the smallest coding unit with the JPEG image format of 422H, such as Y0-Y1 of the smallest coding unit 160 in FIG. Rules 650 are storage rules. Assuming that the currently written memory is the first memory, firstly, the first memory is used to store the previous part of the pixel block Y0. Then according to the rule 650, the second memory is selected as the next memory to store the second part of the pixel block Y0 and continue to fill the former part of the next pixel block Y1. Then, according to the rule 650, the third memory is selected as the next memory to store the second part of the pixel block Y1.

本发明提供一种JPEG影像的像素数据的输出缓冲方法,以于有限的存储容量下,仍能发挥高的数据输出率,以满足数据需求速度愈来愈大的JPEG影像格式。依据不同的JPEG影像格式,本发明提供不同的数据输出模式及存储器储存规则,以在存储容量的限制之下,根据影像格式对像素数据进行不同的缓冲处理。因此,本发明可以同时降低缓冲器的生产成本并增进缓冲器的效能。The present invention provides an output buffering method of pixel data of JPEG image, which can still exert high data output rate under limited storage capacity, so as to satisfy the JPEG image format with increasing data demand speed. According to different JPEG image formats, the present invention provides different data output modes and memory storage rules, so as to perform different buffering processes on pixel data according to image formats under the limitation of storage capacity. Therefore, the present invention can simultaneously reduce the production cost of the buffer and improve the efficiency of the buffer.

以上所述仅为本发明较佳实施例,然其并非用以限定本发明的范围,任何熟悉本项技术的人员,在不脱离本发明的精神和范围内,可在此基础上做进一步的改进和变化,因此本发明的保护范围当以本申请的权利要求书所界定的范围为准。The above description is only a preferred embodiment of the present invention, but it is not intended to limit the scope of the present invention. Any person familiar with this technology can make further improvements on this basis without departing from the spirit and scope of the present invention. Improvements and changes, so the protection scope of the present invention should be defined by the claims of the present application.

附图中符号的简单说明如下:A brief description of the symbols in the drawings is as follows:

200:输出缓冲模块200: output buffer module

202:调整模块202: Adjustment module

204:存储器模块204: memory module

206:存储器存取控制模块206: memory access control module

208:输出缓冲器控制模块208: Output buffer control module

Claims (10)

1.一种联合图像专家组影像的像素数据的输出缓冲方法,其特征在于,包括:1. an output buffering method of the pixel data of the Joint Photographic Experts Group image, it is characterized in that, comprising: 接收该联合图像专家组影像的一最小编码单元,其中该最小编码单元包含多个像素数据;receiving a minimum coding unit of the Joint Photographic Experts Group image, wherein the minimum coding unit includes a plurality of pixel data; 对该最小编码单元进行比例调整,以得到一比例调整后的最小编码单元;performing scale adjustment on the minimum coding unit to obtain a scale-adjusted minimum coding unit; 依据该联合图像专家组影像的格式,决定该比例调整后的最小编码单元于一存储器模块中的一储存规则;determining a storage rule for the scale-adjusted minimum coding unit in a memory module according to the format of the Joint Photographic Experts Group image; 依据所决定的该储存规则,选取该存储器模块中所包含的一存储器,以将该比例调整后的最小编码单元所包含的像素数据写入所选取的该存储器;selecting a memory included in the memory module according to the determined storage rule, so as to write the pixel data included in the scale-adjusted minimum coding unit into the selected memory; 依据该联合图像专家组影像的格式,决定将该比例调整后的最小编码单元输出的一输出模式;以及According to the format of the Joint Photographic Experts Group image, determine an output mode for outputting the scale-adjusted minimum coding unit; and 依据所决定的该输出模式,将该比例调整后的最小编码单元所包含的像素数据由该存储器模块输出至一帧缓存器。According to the determined output mode, the pixel data included in the scale-adjusted minimum coding unit is output from the memory module to a frame buffer. 2.根据权利要求1所述的联合图像专家组影像的像素数据的输出缓冲方法,其特征在于,该最小编码单元的比例调整是使该联合图像专家组影像输出时的大小符合该帧缓存器的尺寸。2. The output buffering method of the pixel data of the Joint Photographic Experts Group image according to claim 1, wherein the scale adjustment of the minimum coding unit is to make the output size of the Joint Photographic Experts Group image conform to the frame buffer size of. 3.根据权利要求1所述的联合图像专家组影像的像素数据的输出缓冲方法,其特征在于,该存储器模块中包含六个存储器,其中第一组存储器所包含的三个存储器用以储存该比例调整后的最小编码单元的亮度分量的像素数据,分别为第一存储器、第二存储器及第三存储器,而第二组存储器所包含的三个存储器用以储存该比例调整后的最小编码单元的色差分量的像素数据,分别为第四存储器、第五存储器及第六存储器。3. The output buffering method of the pixel data of the Joint Photographic Experts Group image according to claim 1, wherein the memory module includes six memories, and the three memories included in the first group of memories are used to store the The pixel data of the luminance component of the scale-adjusted minimum coding unit are respectively a first memory, a second memory and a third memory, and the three memories included in the second group of memories are used to store the scale-adjusted minimum coding unit The pixel data of the color difference components are respectively the fourth memory, the fifth memory and the sixth memory. 4.根据权利要求3所述的联合图像专家组影像的像素数据的输出缓冲方法,其特征在于,所述六个存储器分别可储存一m列×m行的像素区块数据量,未经比例调整的最小编码单元的亮度分量或色差分量的像素数据为多个m列×m行的像素区块,而比例调整后的最小编码单元的亮度分量或色差分量的像素数据为多个n列×n行的像素区块,其中n为自然数且小于等于m。4. The output buffering method of the pixel data of the Joint Photographic Experts Group image according to claim 3, characterized in that, the six memories can respectively store a pixel block data volume of m columns×m rows, not scaled The pixel data of the brightness component or color difference component of the adjusted minimum coding unit is a plurality of pixel blocks of m columns×m rows, and the pixel data of the brightness component or color difference component of the scale-adjusted minimum coding unit is a plurality of n columns×m rows of pixel blocks. A pixel block of n rows, where n is a natural number less than or equal to m. 5.根据权利要求3所述的联合图像专家组影像的像素数据的输出缓冲方法,其特征在于,该储存规则包括第一存储器选取规则与第二存储器选取规则,其中当目前写入的存储器分别为该第一存储器、第二存储器及第三存储器时,该第一存储器选取规则分别选取该第三存储器、第一存储器及第二存储器为下一存储器以写入剩余像素,而当目前写入的存储器分别为该第一存储器、第二存储器及第三存储器时,该第二存储器选取规则分别选取该第二存储器、第三存储器及第一存储器为下一存储器以写入剩余像素。5. The output buffering method of the pixel data of the Joint Photographic Experts Group image according to claim 3, wherein the storage rules include a first memory selection rule and a second memory selection rule, wherein when the currently written memory is respectively When it is the first memory, the second memory and the third memory, the first memory selection rule respectively selects the third memory, the first memory and the second memory as the next memory to write the remaining pixels, and when the current write When the memories are respectively the first memory, the second memory and the third memory, the second memory selection rule respectively selects the second memory, the third memory and the first memory as the next memory for writing the remaining pixels. 6.根据权利要求5所述的联合图像专家组影像的像素数据的输出缓冲方法,其特征在于,当目前写入的存储器分别为该第四存储器、第五存储器及第六存储器时,该第一存储器选取规则分别选取该第六存储器、第四存储器及第五存储器为下一存储器以写入剩余像素,而当目前写入的存储器分别为该第四存储器、第五存储器及第六存储器时,该第二存储器选取规则分别选取该第五存储器、第六存储器及第四存储器为下一存储器以写入剩余像素。6. The output buffering method of the pixel data of the Joint Photographic Experts Group image according to claim 5, characterized in that, when the currently written memories are respectively the fourth memory, the fifth memory and the sixth memory, the first A memory selection rule respectively selects the sixth memory, the fourth memory and the fifth memory as the next memory to write the remaining pixels, and when the currently written memory is the fourth memory, the fifth memory and the sixth memory respectively , the second memory selection rule respectively selects the fifth memory, the sixth memory and the fourth memory as the next memory for writing the remaining pixels. 7.根据权利要求5所述的联合图像专家组影像的像素数据的输出缓冲方法,其特征在于,若输入该存储器模块的一目标像素数据为该比例调整后的最小编码单元的亮度分量时,该比例调整后的最小编码单元的储存规则是根据下述步骤而决定,以便于目前写入该目标像素数据的存储器已满时,用来选取写入该目标像素数据的剩余像素的下一存储器:7. The output buffering method of pixel data of a Joint Photographic Experts Group image according to claim 5, wherein if a target pixel data input to the memory module is the luminance component of the scale-adjusted minimum coding unit, The storage rule of the proportion-adjusted minimum coding unit is determined according to the following steps, so that when the current memory for writing the target pixel data is full, it is used to select the next memory for writing the remaining pixels of the target pixel data : 若该联合图像专家组影像的格式为420或422V,且该第一组存储器的三个存储器非为已填满两个,则运用该第一存储器选取规则以决定该下一存储器;If the format of the Joint Photographic Experts Group image is 420 or 422V, and two of the three memories of the first set of memories are not filled, then using the first memory selection rule to determine the next memory; 若该联合图像专家组影像的格式为420,且该第一组存储器的三个存储器已填满两个,则运用该第二存储器选取规则以决定该下一存储器;以及if the format of the Joint Photographic Experts Group image is 420, and two of the three memories of the first set of memories are filled, then using the second memory selection rule to determine the next memory; and 若该联合图像专家组影像的格式为422H、444或411,则运用该第二存储器选取规则以决定该下一存储器。If the format of the Joint Photographic Experts Group image is 422H, 444 or 411, then use the second memory selection rule to determine the next memory. 8.根据权利要求6所述的联合图像专家组影像的像素数据的输出缓冲方法,其特征在于,若输入该存储器模块的一目标像素数据为该比例调整后的最小编码单元的色差分量时,则决定该第二存储器选取规则为该储存规则,以便于目前写入该目标像素数据的存储器已满时,用来选取写入该目标像素数据的剩余像素的下一存储器。8. The output buffering method of the pixel data of the Joint Photographic Experts Group image according to claim 6, wherein if a target pixel data input to the memory module is the color difference component of the scale-adjusted minimum coding unit, Then the second memory selection rule is determined as the storage rule, so that when the current memory for writing the target pixel data is full, it is used to select the next memory for writing the remaining pixels of the target pixel data. 9.根据权利要求6所述的联合图像专家组影像的像素数据的输出缓冲方法,其特征在于,若该最小编码单元未经比例调整处理,则决定该第二存储器选取规则为该储存规则,以便于目前写入该最小编码单元的一目标像素数据的存储器已满时,用来选取写入该目标像素数据的剩余像素的下一存储器。9. The method for output buffering pixel data of a Joint Photographic Experts Group image according to claim 6, wherein if the smallest coding unit has not been scaled, the second storage selection rule is determined to be the storage rule, In order to select the next memory for writing the remaining pixels of the target pixel data when the current memory for writing a target pixel data of the minimum coding unit is full. 10.根据权利要求1所述的联合图像专家组影像的像素数据的输出缓冲方法,其特征在于,将该像素数据由该存储器模块输出至该帧缓存器的步骤更包括:10. The output buffering method of pixel data of the Joint Photographic Experts Group image according to claim 1, wherein the step of outputting the pixel data from the memory module to the frame buffer further comprises: 在为经该比例调整后的最小编码单元的情况下的输出模式是根据:The output mode in the case of the scale-adjusted LCU is according to: 当该联合图像专家组影像的格式为420或422V时,采用8字节连发输出模式为该输出模式;以及When the format of the Joint Photographic Experts Group image is 420 or 422V, adopt the 8-byte burst output mode as the output mode; and 当该联合图像专家组影像的格式为444、411、422H时,采用16字节连发输出模式为该输出模式;以及When the format of the Joint Photographic Experts Group image is 444, 411, 422H, adopt the 16-byte burst output mode as the output mode; and 在为未经比例调整处理的最小编码单元的情况下,则决定该16字节连发输出模式为该输出模式。If it is the smallest coding unit without scale adjustment processing, the 16-byte burst output mode is determined to be the output mode.
CN 200710098210 2007-04-13 2007-04-13 Output buffer method of pixel data of joint image expert group image Active CN100534187C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710098210 CN100534187C (en) 2007-04-13 2007-04-13 Output buffer method of pixel data of joint image expert group image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710098210 CN100534187C (en) 2007-04-13 2007-04-13 Output buffer method of pixel data of joint image expert group image

Publications (2)

Publication Number Publication Date
CN101026760A true CN101026760A (en) 2007-08-29
CN100534187C CN100534187C (en) 2009-08-26

Family

ID=38744595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710098210 Active CN100534187C (en) 2007-04-13 2007-04-13 Output buffer method of pixel data of joint image expert group image

Country Status (1)

Country Link
CN (1) CN100534187C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970781A (en) * 2013-01-30 2014-08-06 深圳市同洲电子股份有限公司 Embedded browser picture decoding device and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6563535B1 (en) * 1998-05-19 2003-05-13 Flashpoint Technology, Inc. Image processing system for high performance digital imaging devices
JP2006121343A (en) * 2004-10-20 2006-05-11 Olympus Corp Image processor
JP2006054584A (en) * 2004-08-10 2006-02-23 Olympus Corp Image processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970781A (en) * 2013-01-30 2014-08-06 深圳市同洲电子股份有限公司 Embedded browser picture decoding device and method

Also Published As

Publication number Publication date
CN100534187C (en) 2009-08-26

Similar Documents

Publication Publication Date Title
US8989509B2 (en) Streaming wavelet transform
US7421130B2 (en) Method and apparatus for storing image data using an MCU buffer
CN104952088B (en) A kind of method for being compressed and decompressing to display data
CN114428595A (en) Image processing method, image processing device, computer equipment and storage medium
KR100818034B1 (en) Data transmission method, circuit device and data transmission device
CN100534187C (en) Output buffer method of pixel data of joint image expert group image
US20060023952A1 (en) Method and apparatus for transforming the dimensions of an image
CN108881923B (en) Method for reducing buffer capacity of JPEG coding and decoding line
JP2004509528A (en) Data transfer between RGB color space and YCrCb color space for DCT interface
US7346220B2 (en) Method and apparatus for reducing the bandwidth required to transmit image data
US8064709B2 (en) Method and apparatus for buffering output pixel data of a joint photographic experts group image
JPH0488749A (en) Picture processor
US11189006B2 (en) Managing data for transportation
KR100353894B1 (en) Memory architecture for buffering jpeg input data and addressing method thereof
CN114442983A (en) Image display control method and device applied to industrial screen and computer equipment
US7469068B2 (en) Method and apparatus for dimensionally transforming an image without a line buffer
JPH10341437A (en) Image processing method and device therefor
US20100254618A1 (en) Method for Accessing Image Data and Related Apparatus
US20060072840A1 (en) Conversion device for performing a raster scan conversion between a JPEG decoder and an image memory
JP2005322233A (en) Memory efficient method and apparatus for compression encoding large overlaid camera images
CN101247474A (en) Image processing device and method
CN120224028A (en) RAW image processing method, system, device and storage medium
JP3278149B2 (en) Image processing device
CN119728871A (en) CIF-to-D1 resolution image amplification method based on table look-up method
JP2006141001A (en) Image processing apparatus and method with reduced power consumption

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant