WO2006009019A1 - 画像処理装置 - Google Patents
画像処理装置 Download PDFInfo
- Publication number
- WO2006009019A1 WO2006009019A1 PCT/JP2005/012865 JP2005012865W WO2006009019A1 WO 2006009019 A1 WO2006009019 A1 WO 2006009019A1 JP 2005012865 W JP2005012865 W JP 2005012865W WO 2006009019 A1 WO2006009019 A1 WO 2006009019A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- memory
- data
- image data
- format
- address
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/60—Memory management
Definitions
- the present invention relates to a memory interface technique suitable for an image processing apparatus, and particularly to a technique useful for reading and writing image data based on different image formats.
- image processing apparatuses that handle images have become capable of handling various types of image data from still images to moving images and graphics as the processing performance improves.
- this image processing apparatus is required to further improve the processing speed, and higher-speed memory access is required.
- Document 1 Japanese Patent Application Laid-Open No. 2002-117397 describes a method for changing the color for each unit that can be continuously written in the memory as a technique for improving the efficiency of memory access in RGB format image data processing.
- a technique for continuously writing image data for three colors by switching the bank of the image memory each time the color changes is disclosed.
- Document 2 Japanese Patent Application Laid-Open No. 2003-84751 divides image data on a video memory into a plurality of rectangular areas having different drawing formats and converts addresses to perform drawing processing. Technology to improve memory access performance and reduce CPU load.
- image processing apparatuses have developed various image data such as moving images such as MPEG-2 and MPEG-4, still images such as JPEG, or computer graphics (hereinafter referred to as “CG”). Display, compression, decompression, etc.
- This moving image, still image, or image data such as CG is subjected to image expansion processing by a separate engine as necessary, and stored as image data in a common memory.
- Image data such as moving images, still images, or CG is stored in Red Green Blue format (hereinafter referred to as “RGB format”), luminance color difference format (hereinafter referred to as “YCbCr format”), etc. , Including multiple formats.
- the YCbCr format includes a plurality of subdivided formats such as YCbCr4: 2: 2 format and YCbCr4: 2: 0 format.
- YCbCr4: 2: 2 format is taken as an example, when image data is stored in a memory, luminance Y data, color difference Cb data, and color difference Cr data are individually stored in consecutive address areas.
- Format hereinafter referred to as planar format
- YCbCr data for 2 pixels packed into 32-bit format hereinafter referred to as packed format.
- packed format For optimal access, the arrangement of image data in memory will differ for each of these formats.
- the common memory has a different format for each engine that operates. It is necessary to store image data correspondingly. For this reason, every time the engine that operates is changed, the storage format of the image data in the common memory is changed and the address arrangement is different, so that the access efficiency is lowered. Or, if the common memory stores image data according to the format difference, there is a problem that the efficiency of use of the memory decreases.
- each signal is represented by 8 bits, and the image data of one pixel is 24 bits. If such a signal is stored in units of 24-bit pixels, the 32-bit memory needs to calculate the address each time it is accessed, thus reducing access efficiency. As a countermeasure, access efficiency is improved by adding 8-bit dummy data to 24-bit image data per pixel and storing it in 32-bit packs. However, this method has the problem that the required memory capacity increases.
- Patent Document 1 Japanese Unexamined Patent Application Publication No. 2002-117397
- Patent Document 2 Japanese Patent Laid-Open No. 2003-84751
- an object of the present invention is to provide an image processing apparatus including a memory interface that improves the efficiency of address conversion when image data of different formats is stored in a memory and read from the memory.
- An image processing apparatus is connected to a bus for transmitting transmission image data, a color information control line for transmitting color information included in the transmission image data, and the bus and the color information control line.
- a memory interface unit and a memory unit that is connected to the bus via the memory interface unit and stores transmission image data as stored image data.
- the memory interface unit transmits transmission image data based on color information.
- Bus power Controls storage in the memory unit and reading of stored image data from the memory unit to the bus.
- the memory interface unit stores the image data in the memory unit and stores the image data in accordance with the color information including the data format and the format format received by each image processing engine. Read can be controlled.
- a plurality of image processing engines having different data formats and format formats can transfer image data to and from the memory unit without considering the storage format of the memory unit, thereby improving access efficiency.
- memory storage can be realized with orderly efficiency.
- the memory interface unit transmits the transmission image data. Is stored as image data from the bus to the memory unit, the address of the memory unit for storing the transmission image data is designated based on the color information.
- image data from image processing engines having different storage formats can always be stored in the same format in the memory unit by designating the address of the storage unit memory unit according to the color information.
- the memory interface unit reads the stored image data based on the color information when the stored image data is sent to the bus as read-out transmission image data. Specify the address of the part.
- the memory interface unit stores the transmission image data force dummy data based on the color information when storing the transmission image data as stored image data from the bus to the memory unit. Delete and store in memory.
- the memory interface unit converts the stored image data into the read stored image data based on the color information when the stored image data is sent to the bus as the memory unit read-out transmission image data. Add dummy data and send to the nose.
- the transmission image data and the stored image data include luminance data, first color difference data, and second color difference data
- the memory unit stores the luminance data.
- the memory interface unit stores an address for storing the luminance data based on the color information when storing the transmission image data as stored image data from the bus to the memory unit. Specify the address in the first memory, specify the address to store the first color difference data as the address in the second memory, and specify the address to store the second color difference data as the address in the third memory.
- the memory interface unit when sending the stored image data to the bus as memory unit read-out transmission image data, provides an address for reading out the luminance data based on the color information. Specify the address in the first memory, specify the address to read the first color difference data as the address in the second memory, and specify the address to read the second color difference data as the address in the third memory.
- image data of different format formats can be stored in three memories, being distinguished into luminance Y data, first color difference Cb data, and second color difference Cr data.
- address conversion is performed in the memory interface unit, and storage and readout of luminance Y data, first color difference Cb data, and second color difference Cr data are executed continuously.
- memory access efficiency is improved.
- the color information includes at least one of the data format of the transmission image data and the color format.
- the data format includes at least one of a planar format and a pack format.
- the color format is at least one of YCbCr4: 4: 4 format, YCbCr4: 2: 2 format, YCbCr4: 2: 0 format, and RGB format. Includes one.
- the invention's effect it is possible to provide an image processing apparatus including a memory interface with improved address conversion efficiency when image data of different formats is stored in a memory and read from the memory.
- the memory provided in common performs storage corresponding to an arbitrary image format, and the memory interface unit converts the image into a desired image format and mediates data exchange with the memory.
- the processing engine can read and write data without considering the memory format. For this reason, the access efficiency is improved.
- FIG. 1 is a block diagram of an image processing apparatus according to Embodiment 1 of the present invention.
- FIG. 2 is a block diagram of a memory interface unit in the first embodiment of the present invention.
- FIG. 3 (a) Data allocation diagram of the planar memory unit in the first embodiment of the present invention (b) Data allocation diagram on the planar memory in the first embodiment of the present invention.
- FIG. 4 (a) Data format of memory part in pack format YCbCr4: 2: 2 format in Embodiment 1 of the present invention (b) Pack format YCbCr4: 2: 2 format in Embodiment 1 of the present invention Of data allocation in memory
- FIG. 5 (a) Pack format YCbCr4 in the first embodiment of the present invention: Data arrangement of the memory part in 4: 4 format (b) Pack format YCbCr4 in the first embodiment of the present invention: 4: 4 format Of data allocation in memory
- FIG. 6 (a) Data allocation diagram of first memory in Embodiment 1 of the present invention (b) Data allocation diagram of second memory in Embodiment 1 of the present invention (c) Embodiment of the present invention Data arrangement of the third memory in 1
- FIG. 7 is a flowchart of the image processing device according to the first embodiment of the present invention.
- FIG. 1 is a block diagram of an image processing apparatus according to Embodiment 1 of the present invention.
- the image processing apparatus shown in FIG. 1 includes a memory unit 20 having a first memory 21, a second memory 22, and a third memory 23, and a memory interface unit 10.
- the first memory 21 stores luminance Y data
- the second memory 22 stores color difference Cb data corresponding to the first color difference data
- the third memory 23 corresponds to second color difference data.
- the memory interface unit 10 connects the memory unit 20 to the bus 30.
- the bus 30 transmits addresses, image data, and bus control signals.
- the memory interface unit 10 is further connected to the color information control line 40. In accordance with the color information supplied by the color information control line 40, the memory interface unit 10 performs address conversion of image data, data processing, etc. at the time of storage Z reading.
- transmission image data is used when the image data particularly means image data transmitted through the bus 30, and the image data stored in the memory unit 20 is used.
- stored image data is used.
- image data generally means both, the term “image data” is simply used.
- the memory interface unit 10 uses the color information fetched from the color information control line 40 to store the transmission image data to be stored. It is determined whether the color format is YCbCr4: 4: 4 format, YCbCr4: 2: 2 format, or YCbCr4: 2: 0 format. In addition, the memory interface The face unit 10 determines whether the data format of transmission image data to be stored is a planar format or a pack format. Based on these determination results, the memory interface unit 10 performs an address operation, luminance Y data is stored in the first memory 21, color difference Cb data is stored in the second memory 22, and color difference Cr data is stored in the third memory 23. Store each one.
- the memory interface unit 10 transmits the transmission image data to be transmitted based on the color information fetched from the color information control line 40.
- the color format and data format are determined.
- the memory interface unit 10 performs an address calculation based on these determination results, and reads out stored image data from the memory unit 20.
- the memory interface unit 10 converts the read stored image data into transmission image data in the requested data format and sends it to the bus 30.
- the data format is a pack format
- the luminance Y data, the color difference Cb data, and the color difference Cr data are packed into 32 bits and transmitted to the bus 30.
- the bus 30 and the color information control line 40 are connected to a plurality of image processing engines and CPUs as shown in FIG.
- the plurality of image processing engines read image data to be processed by the respective image processing engines from the memory unit 20 via the bus 30 and the memory interface unit 10, and store the processed image data in the memory unit 20 .
- each image processing engine outputs information on the data format and color format of the image data (that is, transmission image data) exchanged with the memory unit 20 through the color information control line 40 as color information.
- the memory interface unit 10 can recognize the color information via the color information control line 40.
- the nose 30 and the color information control line 40 are controlled by the CPU. If the DMA is further connected to the bus 30 and the color information control line 40, the bus 30 and the color information control line 40 are controlled by the DMA under the instruction of the CPU.
- the plurality of image processing engines can also transmit color information to the memory interface unit 10 via the bus 30.
- each image processing engine transmits color information before transmitting image data to be stored (that is, transmission image data).
- each image processing engine first reads color information from the memory unit 20 when reading image data from the memory unit 20. Then, the image data from the memory unit 20 is received as transmission image data. In this way, if the color information is transmitted to the memory interface unit 10 via the bus 30, the color information control line 40 may be omitted.
- the image processing engine includes a processing circuit and a processing program for performing image compression / decompression such as MPEG2, MPEG4, and JPEG.
- the image processing engine may be implemented in hardware or software.
- FIG. 2 is a block diagram of the memory interface unit in the embodiment of the present invention.
- the memory interface unit 10 of the present embodiment includes a color information determination unit 11, a memory control unit 12, an address calculation unit 13, and a data control unit 14.
- the data width of the bus 30 is 32 bits.
- FIG. 3 (a) is a data arrangement diagram on the planar-type bus 30 in Embodiment 1 of the present invention (that is, a data arrangement diagram of transmission image data in the planar format), and FIG. 3 (b) FIG. 5 is a data layout diagram of the memory unit 20 in the corresponding planar format.
- the transmission image data YCbCr in the planar format is composed of 8 bits each of luminance Y data, color difference Cb data, and color difference Cr data. Each 8 bits of data is arranged, and 4 data are transmitted in parallel according to the 32-bit bus width. At this time, all of the luminance Y data, the color difference Cb data, and the color difference Cr data are transmitted continuously.
- the data arrangement of the transmission image data on the bus 30 is the following continuous data with the four data described in parentheses as one data block.
- the luminance Y data is stored in the first memory 21 area
- the color difference Cb data is stored in the second memory 22 area
- the color difference Cr data is stored in the third memory 23 area. Stored separately. The arrangement on each memory will be described later.
- FIG. 4 (a) is a data layout diagram of transmission image data in pack format YCbCr4: 2: 2 format in Embodiment 1 of the present invention
- FIG. 4 (b) is a corresponding pack format YCbCr4: 2 is a data arrangement diagram of stored image data stored in a memory unit 20 in a 2: 2 format.
- FIG. 4 (b) is a data layout diagram of transmission image data in pack format YCbCr4: 2: 2 format in Embodiment 1 of the present invention
- FIG. 4 (b) is a corresponding pack format YCbCr4: 2 is a data arrangement diagram of stored image data stored in a memory unit 20 in a 2: 2 format.
- the transmission image data in pack format YCbCr4: 2: 2 format on the bus 30 is arranged in the memory unit 20 as follows and stored as stored image data. That is, the most significant 8 bits (1st byte) and 3rd 8 bits (3rd byte) luminance Y data of each 32-bit data are stored in the first memory 21 area.
- the second 8-bit (second byte) color difference Cb data is stored in the second memory 22 area, and the lower 8-bit (fourth byte) color difference Cr data of each 32-bit data is stored in the second memory 22 area.
- 3 Stored in the memory 23 area.
- FIG. 5 (a) is a data arrangement diagram of transmission image data in the pack format YCbCr4: 4: 4 format in Embodiment 1 of the present invention
- FIG. 5 (b) is a corresponding pack format YCbCr4: 4 is a data arrangement diagram of stored image data stored in a memory unit 20 of 4: 4 format.
- FIG. 5 (a) is a data arrangement diagram of transmission image data in the pack format YCbCr4: 4: 4 format in Embodiment 1 of the present invention
- FIG. 5 (b) is a corresponding pack format YCbCr4: 4 is a data arrangement diagram of stored image data stored in a memory unit 20 of 4: 4 format.
- FIG. 5 (a) is a data arrangement diagram of transmission image data in the pack format YCbCr4: 4: 4 format in Embodiment 1 of the present invention
- FIG. 5 (b) is a corresponding pack format YCbCr4: 4 is a data arrangement diagram
- Pack format YCbCr4 4: 4 format image data
- one pixel is one luminance Y data, one color difference Cb data, and one color difference Cr data (each 8 bits) It consists of Therefore, one pixel of image data is 24 bits.
- This 1-pixel 24-bit image data has a 32-bit transmission with dummy data “X” added to the most significant 8 bits as shown in Fig. 5 (a) to match the 32-bit bus width.
- the image data is sequentially transmitted to the nose 30.
- the data arrangement of the transmission image data on the bus 30 is the following continuous data with the four data written in the parenthesis as a lump of 32-bit data.
- Transmission image data in such pack format YCbCr4: 4: 4 format is arranged in the memory unit 20 as follows and stored as stored image data. That is, the second 8-bit (second byte) luminance Y data of each 32-bit data is stored in the first memory 21 area in the third 8-bit ( The 3rd byte) color difference Cb data is stored in the second memory 22 area, and the lower 8 bits (4th byte) color difference Cr data of each 32-bit data is stored in the 3rd memory 23 area. Each is stored. The dummy data “X” of the most significant 8 bits (first byte) of each 32-bit data is deleted and not stored in the memory unit 20.
- the first memory 21, the second memory 22, and the third memory 23 may be composed of different memories, or one memory may be divided.
- the first memory 21 stores luminance Y data
- the second memory 22 stores color difference Cb data
- the third memory 23 stores color difference Cr data.
- FIG. 6 (a) is a data allocation diagram of the first memory 21 in Embodiment 1 of the present invention
- FIG. 6 (b) is a data allocation diagram of the second memory 22 in Embodiment 1 of the present invention
- FIG. 6 (c) is a data layout diagram of the third memory 23 in the first embodiment of the present invention.
- Fig. 6 (a) in the image processing apparatus of the present embodiment, only the luminance Y data of the image data is stored in the first memory 21 (Y0, Yl, Y2, ⁇ 3 ), ( ⁇ 4, ⁇ 5, ⁇ 6, ⁇ 7), ( ⁇ 8, ⁇ 9, Y10, Yl l), (Y12, Y13, Y14, Y15) Stored in the address.
- the stored image data includes luminance Y data, color difference Cb data, and color difference Cr that are related to the data format and color format of the transmission image data on the bus 30.
- the data is distinguished and stored in the memory unit 20.
- the color information determination unit 11 acquires color information from the color information control line 40, and determines the color format of transmission image data to be stored based on the acquired color information. That is, it is determined whether the image data of the stored transmission image data is YCbCr4: 4: 4 format, YCbCr4: 2: 2 format, YCbCr4: 2: 0 format, or RGB format.
- the color information determination unit 11 determines whether the data format of the transmission image data to be stored is the planar format force pack format based on the acquired color information.
- the address calculation unit 13 calculates the address of the storage destination memory, and the data control unit 14 outputs the data on the bus 30 to the memory unit 20.
- the memory control unit 12 determines which memory of the memory unit 20 stores data based on the determination result of the color information determination unit 11, and outputs a write enable signal to the storage destination memory.
- the address calculation unit 13 determines that the transmission image data related to the color format of the transmission image data is as shown in FIG. Recognized as being located in a continuous address space on bus 30.
- the address calculation unit 13 performs an address calculation of the storage destination memory of the luminance Y data, the color difference Cb data, and the color difference Cr data of the transmission image data, and the first memory 21, the second memory 22, and the third memory 23 Specify the same address.
- the data control unit 14 outputs the image data on the bus 30 to the first memory 21, the second memory 22, and the third memory 23.
- the memory control unit 12 determines which memory of the first memory 21, the second memory 22, and the third memory 23 is to be accessed from the address of the image data on the bus 30, and enables writing to the write target memory. Output a signal. Stored in the image data memory by the write enable signal.
- the color information determination unit 11 determines that the transmission image data to be stored is in pack format YCbCr4: 2: 2 format
- the color information determination unit 11 uses the determination result as color format information and data format information.
- the address calculation unit 13 stores the storage destination memory for the luminance Y data, color difference Cb data, and color difference Cr data of the packed transmission image data.
- the address of each is calculated separately, and the address corresponding to each memory is specified individually.
- the address space of the image data viewed from the bus 30 is in the form shown in Figure 4 (a).
- the data control unit 14 Based on the color format information and data format information from the color information determination unit 11, the data control unit 14 converts the transmission image data captured from the bus 30 according to the YCbCr4: 2: 2 format into luminance Y data, color difference Cb data, and color Difference Divide into Cr data. Further, the data control unit 14 outputs the luminance Y data to the first memory 21, the color difference Cb data to the second memory 22, and the color difference Cr data to the third memory 23.
- the memory control unit 12 outputs a write enable signal to the first memory 21, the second memory 22, and the third memory 23 based on the color format information and the data format information from the color information determination unit 11. Then, the image data is stored in the memory from which the write enable signal is output.
- FIG. 7 is a flowchart of the image processing apparatus according to Embodiment 1 of the present invention.
- FIG. 7 shows a flowchart of the image processing apparatus according to the present embodiment in the case of storing transmission image data in the pack format YCbCr4: 2: 2 format.
- the transmission image data to be stored is packed in a 32-bit format (Y (n), Cb (n), Y (n + 1), Cr (n)).
- the color information determination unit 11 acquires color information from the color information control line 40 in step S1.
- step S 2 the color information determination unit 11 determines the color format of transmission image data to be stored on the bus 30.
- the color format of the transmission image data to be stored is the YCbCr4: 2: 2 format.
- the color information determination unit 11 sends the determination result of the color format to the memory control unit 12, the address calculation unit 13 and the data control unit 14 as color format information.
- step S3 the color information determining unit 11 determines the data format of the transmission image data to be stored.
- the data format of the transmission image data to be stored is a pack format according to the determination result.
- the color information determination unit 11 sends the determination result of the data format to the memory control unit 12, the address calculation unit 13, and the data control unit 14 as data format information.
- step S4 the data control unit 14 extracts medium luminance Y (n) data and luminance Y (n + 1) data of 32-bit transmission image data.
- step S5 the address calculation unit 13 calculates the addresses on the first memory 21 for the luminance ⁇ ( ⁇ ) data and the luminance ⁇ ( ⁇ + 1) data.
- step S 6 the memory control unit 12 outputs a write enable signal to the first memory 21, and sets the luminance ⁇ ( ⁇ ) data and luminance ⁇ ( ⁇ + 1) data force to a predetermined address in the first memory 21. Stored.
- step S7 the data control unit 14 determines the medium color difference Cb of 32-bit image data.
- step S8 the address calculation unit 13 calculates the address on the second memory 22 of the color difference Cb (n) data.
- the memory control unit 12 outputs a write enable signal to the second memory 22 and stores the color difference Cb (n) data power at a predetermined address in the second memory 22.
- step S10 the data control unit 14 extracts medium color difference C r (n) data of 32-bit image data.
- step S8 the address calculation unit 13 calculates the address on the third memory 23 of the color difference Cr (n) data.
- step S 6 the memory control unit 12 outputs a write enable signal to the third memory 23, and the color difference Cr (n) data is stored at a predetermined address in the third memory 23.
- step S13 the image data (Y (n), Cb (n), Y
- the color information determination unit 11 determines that the transmission image data to be stored is in pack format YCbCr4: 4: 4 format
- the color information determination unit 11 uses the determination result as color format information and data format information.
- the address calculation unit 13 assumes that the memory unit 20 is arranged in an address space as shown in FIG. 5B based on the color format information and data format information from the color information determination unit 11. Judgment is made and the memory address of each storage destination of the transmission image data is calculated and issued.
- the data control unit 14 Based on the color format information and data format information from the color information discriminating unit 11, the data control unit 14 deletes the stored image data force dummy data, and obtains effective luminance Y data, color difference Cb data, and color difference Cr data. Are output to the first memory 21, the second memory 22, and the third memory 23, respectively.
- the memory control unit 12 outputs a write enable signal to the first memory 21, the second memory 22, and the third memory 23 based on the color format information and the data format information from the color information determination unit 11.
- the image data is stored in the memory from which the write enable signal is output.
- the color information discriminating unit 11 discriminates that the transmission image data to be stored is in the RGB format
- the color information discriminating unit 11 uses the discrimination result as the color format information, the memory control unit 12, the address calculation unit 13, Output to the data control unit 14.
- the data control unit 14 Based on the color format information from the color information discriminating unit 11, the data control unit 14 converts the transmission image data to be stored from the RGB format to the YCbCr4: 4: 4 format and outputs it to each memory.
- the transmission image data to be stored can be converted from the RGB format to the YCbCr4: 2: 2 format with some sacrifice in image quality!
- the subsequent operation is the same as the storage of image data in each format.
- the color information discriminating unit 11 When the color information discriminating unit 11 reads out the stored image data from the memory unit 20 and determines that it is transmitted as transmission image data in the bus 30 format, the color information discriminating unit 11 uses the discrimination result as data format information to The data is sent to the control unit 12, the address calculation unit 13, and the data control unit 14. Based on the data format information from the color information determination unit 11, the address calculation unit 13 issues the same address to the first memory 21, the second memory 22, and the third memory 23.
- the memory control unit 12 outputs a read enable signal for the memory from which data is read.
- the data control unit 14 buses the read image data in the order of luminance Y data, color difference Cb data, and color difference Cr data in the format of 4 data 32-bit transmission image data according to the address space shown in FIG. Output to 30.
- the color information discriminating unit 11 If the color information discriminating unit 11 reads out the stored image data from the memory unit 20 and determines that it is sent to the bus 30 as transmission image data in the pack format YCbCr4: 2: 2 format, the color information discriminating unit 11 The color format information and the data format information are sent to the memory control unit 12, the address calculation unit 13, and the data control unit 14. Based on the color format information and data format information from the color information determination unit 11, the address calculation unit 13 separately calculates addresses for the first memory 21, the second memory 22, and the third memory 23. In memory Issue corresponding addresses individually.
- the memory control unit 12 outputs a read enable signal for the memory from which data is read based on the color format information and the data format information from the color information determination unit 11. Based on the color format information and the data format information from the color information determination unit 11, the data control unit 14 converts the read image data into (Y (n), Cb according to the address space shown in FIG. 4 (a). (n), Y (n + 1), Cr (n)) are packed into a 32-bit format and output to the bus 30 as transmission image data.
- the color information discriminating unit 11 When the color information discriminating unit 11 reads out the stored image data from the memory unit 20 and determines that it is sent as transmission image data in pack format YCbCr4: 4: 4 format to the bus 30, the color information discriminating unit 11 The color format information and the data format information are sent to the memory control unit 12, the address calculation unit 13, and the data control unit 14. Based on the color format information and data format information from the color information determination unit 11, the address calculation unit 13 separately calculates addresses for the first memory 21, the second memory 22, and the third memory 23. The address corresponding to each memory is issued individually. Based on the color format information and the data format information from the color information determination unit 11, the memory control unit 12 outputs a read enable signal for the memory from which data is read.
- the data control unit 14 Based on the color format information and data format information from the color information discriminating unit 11, the data control unit 14 adds 8-bit dummy data “X” to the stored image data read out in accordance with the address space shown in FIG. Is added, packed in a 32-bit format (X, Y (n), Cb (n), C r (n)) and sent to the bus 30 as transmission image data.
- the dummy data “X” a value preset in the register of the memory interface unit 10 may be used, or the dummy data may be used by adding dummy data to the color information control line 40 for each access. Good.
- the image processing apparatus of the present invention includes the first memory 21 for storing the luminance Y data, the second memory 22 for storing the color difference Cb data, and the third memory 23 for storing the color difference Cr data 23.
- the memory interface 20 is provided between the bus 30 and the memory unit 20, and the data interface and the color format of the image data are used as color information via the color information control line 40 to provide a memory interface. Part 10 is given. With this configuration, it is possible to convert the address space of suitable data of each image processing engine into the address space of the memory unit 20 based on the color information. As a result, even if an image processing engine that processes image data in the planar format and an image processing engine that processes in the pack format coexist on the nose 30, each image processing engine does not decrease the access efficiency. Can be accessed.
- each image processing engine can access the memory unit 20 without reducing access efficiency.
- the gist of the present invention is to provide color information to image data, store image data of different formats in memory, and improve the efficiency of address conversion when reading from the memory.
- the purpose is to realize an image processing apparatus, and various applications are possible without departing from the spirit of the present invention.
- the image processing apparatus can be used in, for example, an image processing apparatus equipped with a plurality of image processing engines having different color spaces or different memory storage formats and its application fields.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Color Image Communication Systems (AREA)
- Color Television Systems (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004212787 | 2004-07-21 | ||
JP2004-212787 | 2004-07-21 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2006009019A1 true WO2006009019A1 (ja) | 2006-01-26 |
Family
ID=35785135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2005/012865 WO2006009019A1 (ja) | 2004-07-21 | 2005-07-12 | 画像処理装置 |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2006009019A1 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009301169A (ja) * | 2008-06-11 | 2009-12-24 | Sony Corp | メモリ制御装置および情報処理装置 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0965154A (ja) * | 1995-08-18 | 1997-03-07 | Fuji Xerox Co Ltd | カラー画像転送装置 |
JP2002359856A (ja) * | 2001-06-01 | 2002-12-13 | Mega Chips Corp | データ変換回路およびデジタル・カメラ |
-
2005
- 2005-07-12 WO PCT/JP2005/012865 patent/WO2006009019A1/ja active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0965154A (ja) * | 1995-08-18 | 1997-03-07 | Fuji Xerox Co Ltd | カラー画像転送装置 |
JP2002359856A (ja) * | 2001-06-01 | 2002-12-13 | Mega Chips Corp | データ変換回路およびデジタル・カメラ |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009301169A (ja) * | 2008-06-11 | 2009-12-24 | Sony Corp | メモリ制御装置および情報処理装置 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4219887B2 (ja) | 画像処理装置及び画像処理方法 | |
US20050270304A1 (en) | Display controller, electronic apparatus and method for supplying image data | |
TW200427312A (en) | Method and apparatus for pattern RAM sharing color LUT | |
JP5593060B2 (ja) | 画像処理装置、および画像処理装置の動作方法 | |
US7701466B2 (en) | Method and system for providing accelerated video processing in a communication device | |
CN101552916A (zh) | 视频yuv数据的dma传输方法、装置及dma控制器 | |
US20070279422A1 (en) | Processor system including processors and data transfer method thereof | |
KR100818034B1 (ko) | 데이터 전송 방법, 회로 장치 및 데이터 전송 장치 | |
US20060140036A1 (en) | Memory controller, display controller, and memory control method | |
JP2015115837A (ja) | 制御装置、画像処理装置、制御方法、およびプログラム | |
WO2006009019A1 (ja) | 画像処理装置 | |
US7327873B2 (en) | Fast software rotation of video for portrait mode displays | |
US20050285813A1 (en) | Display controller, electronic equipment, and image data supplying method | |
US20160358590A1 (en) | System on Chip Devices and Operating Methods Thereof | |
JP2003224862A (ja) | グラフィックコントローラ及び表示メモリ容量低減方式 | |
WO2005115015A1 (ja) | 画像処理装置及びデータ処理方法 | |
US20040240553A1 (en) | Motion vector detecting method and image processing appparatus using the same | |
US6992708B1 (en) | Signal processing circuit of image input apparatus | |
JP4540422B2 (ja) | 半導体集積回路及び撮像装置 | |
US20170256026A1 (en) | Information processing device, image processing apparatus, and information processing method | |
JP2012155604A (ja) | データ転送制御装置 | |
JP2008059452A (ja) | 画像処理装置、画像処理方法 | |
CN117981310A (zh) | 用于多内核图像编码的系统和方法 | |
JP2007312085A (ja) | 映像処理装置 | |
JP2011204025A (ja) | 画像処理アクセラレータ |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
NENP | Non-entry into the national phase |
Ref country code: DE |
|
NENP | Non-entry into the national phase |
Ref country code: JP |
|
122 | Ep: pct application non-entry in european phase |