Claims
- 1. In an integrated circuit for video processing, a circuit for fetching a two-dimensional reference picture area from an external memory, said external memory storing video data in units of macroblocks, such that adjacent macroblocks in a row of macroblocks of an image are accessible from memory locations within the same memory page, comprising:
- a counter for storing a count value initially, representing the location of a pixel of said two-dimensional reference picture area relative to a predetermined location of a macroblock to which said pixel belongs, said counter updates said count value as pixels of said macroblocks are fetched;
- an address register for holding an initial memory address corresponding to a memory location holding said pixel;
- a memory controller, in accordance with said count value, for generating a predetermined sequence of memory addresses to access a portion of said two-dimensional reference picture area within a memory page including said initial memory address; and
- a circuit for detecting completion of access to said portion of said two-dimensional reference picture area and for loading a new count value in said counter and a new initial memory address in said address register, while there remains pixels in said 2-dimensional reference picture area not in said memory page and not previously fetched.
- 2. A circuit for fetching a two-dimensional reference picture area from an external memory, as in claim 1, wherein said memory controller generates said sequence of memory addresses further in accordance with said initial address.
- 3. A circuit for fetching a two-dimensional reference picture area from an external memory, as in claim 1, wherein said count value comprises a plurality of subfields, such that said subfields, as modified by said update by said counter, are indicative of the locations of the pixels fetched.
- 4. In an integrated circuit for video processing, a method for fetching a two-dimensional reference picture area from an external memory, said external memory storing video data in units of macroblocks, such that adjacent macroblocks in a row of macroblocks of an image are accessible from memory locations within the same memory page, comprising the steps of:
- storing, in a counter, a count value initially representing the location of a pixel of said two-dimensional reference picture area relative to a predetermined location of a macroblock to which said pixel belongs;
- holding, in an address register, an initial memory address corresponding to a memory location holding said pixel;
- generating, in accordance with said count value, a next memory address in a predetermined sequence of memory addresses to access a portion of said two-dimensional reference picture area within a memory page including said initial memory address; and
- detecting completion of access to said portion of said two-dimensional reference picture area and loading a new count value in said counter and a new initial memory address in said address register, while there remains pixels in said 2-dimensional reference picture area not in said memory page and not previously fetched; and
- updating said counter updates said count value as pixels of said macroblocks are fetched.
- 5. A method for fetching two-dimensional reference picture area from external memory, as in claim 4, wherein said step of generating generates said sequence of memory addresses further in accordance with said initial address.
- 6. A method for fetching a two-dimensional reference picture area from an external memory, as in claim 4, wherein said count value comprises a plurality of subfields, such that said subfields, as modified by said updating step, are indicative of the locations of the pixels fetched.
Parent Case Info
This application is a division of application Ser. No. 08/389,661, filed Feb. 16, 1995, now U.S. Pat. No. 5,596,376.
US Referenced Citations (11)
Divisions (1)
|
Number |
Date |
Country |
Parent |
389661 |
Feb 1995 |
|