摘要 |
An image processing apparatus includes an input device, an encoder, a memory, a first allocator, a data block size determination mechanism, a second allocator, and a processor. The input device receives image data of a given data size and transmits the image data in N data blocks. The "N" represents a first given number. The encoder encodes the N data blocks transmitted from the input unit. The memory stores the N data blocks encoded by the encoder. The first allocator allocates, before encoding, N memory areas of a specified memory size within the memory. The determination mechanism determines whether each of the N data blocks is larger than the memory size. The second allocator dynamically allocates an additional memory area within the memory when the determination mechanism determines that one of the N data blocks is larger than the memory size. The processor retrieves the image data for processing thereof.
|