Memory management apparatus and method for preventing image tearing in video reproducing system
AssigneeSamsung Electronics Co., Ltd.
InventorGyeong-ho Yu
Life of this patent
Estimating the term…
Abstract
A memory management apparatus and method for protecting an image tearing in the video system. The memory management apparatus includes a scaler that converts the format of input image data into a suitable format to fit the resolution of a display, a first memory, in which the format-converted image data is written, or from which the format-converted image data is read, and a second memory which is substituted for the first memory, so that addresses for reading or writing do not overlap addresses for writing or reading, respectively, due to a difference between a data reading rate and a data writing rate.
Claims23
A memory management apparatus in a video reproducing system, wherein input image data having a format is converted into a suitable format for a display, comprising:
- a scaler to convert the format of the input image data;
- a first memory having:
- an address for writing, at which the format-converted image data is written at a data writing rate;
- and
- an address for reading, from which the format-converted image data is read at a data reading rate;
- and
- a second memory substituted for the first memory when a difference between the data reading rate and the data writing rate yields an unstable distance between the reading address and the writing address, the format-converted image data being written to the second memory when the second memory is substituted for the first memory so that the writing address does not overlap the reading address and the reading address does not overlap the writing address.
A memory management method to prevent image tearing in a video reproducing system comprising:
- measuring a data writing rate (Mclock) and a data reading rate (Dclock) of a first memory;
- determining an offset distance between a current address for writing and a current address for reading;
- and
- writing image data in a second memory instead of the first memory if the offset distance is within a predetermined address offset,
- wherein if the data writing rate (Mclock) is faster than the data reading rate (Dclock), the predetermined address offset, Address offset, is calculated using the following:
- Address_offset=(a maximum address of the first memory)×(Mclock−Dclock)/Mclock.
A memory management method to prevent image tearing in a video reproducing system comprising:
- measuring a data writing rate (Mclock) and a data reading rate (Dclock) of a first memory;
- determining an offset distance between a current address for writing and a current address for reading;
- and
- writing image data in a second memory instead of the first memory if the offset distance is within a predetermined address offset,
- wherein if the reading rate (Dclock) is faster than the writing rate (Mclock) in the first memory, the predetermined address offset, Address_offset, is calculated using the following:
- Address_offset=(a maximum address of the first memory)×(Dclock−Mclock)/Dclock.
A memory management method for preventing image tearing in a video reproducing system comprising:
- measuring a data writing rate (Mclock) and a data reading rate (Dclock) of a first memory;
- comparing the data writing rate to the data reading rate;
- calculating a desired address offset if the data reading rate is faster than the data writing rate;
- determining a base address for data reading;
- determining a relative address for data writing from the base address for data reading;
- determining if a distance between the relative address for data writing and the base address for data reading is greater than or equal to the desired address offset;
- if the distance is greater than or equal to the desired address offset, continuing the data writing and the data reading in the first memory;
- and
- if the distance is within the desired address offset, performing the data writing in a second memory instead of the first memory,
- wherein the desired address offset, Address offset, is calculated using the following:
- Address_offset=(a maximum address of the first memory)×(Dclock−Mclock)/Dclock.
A memory management method to prevent image tearing in a video reproducing system comprising:
- measuring a data writing rate (Mclock) and a data reading rate (Dclock) of a first memory;
- comparing the data writing rate to the data reading rate;
- calculating a desired address offset if the data writing rate is faster than the data reading rate;
- determining a base address for data writing;
- determining a relative address for data reading from the base address for data writing;
- determining if a distance between the relative address for data reading and the base address for data writing is greater than or equal to the desired address offset;
- if the distance is greater than or equal to the desired address offset, continuing the data writing and the data reading in the first memory;
- and
- if the distance is less than the desired address offset, performing the data writing in a second memory instead of the first memory,
- wherein the desired address offset, Address offset, is calculated using the following:
- Address_offset=(a maximum address of the first memory)×(Mclock−Dclock)/Mclock.
A computer readable medium on which a program for implementing a method for managing memory to prevent image tearing in a video reproducing system, wherein the method comprises:
- measuring a data writing rate (Mclock) and a data reading rate (Dclock) of a first memory;
- comparing the data writing rate to the data reading rate;
- calculating a desired address offset if the data reading rate is faster than the data writing rate;
- determining a base address for data reading;
- determining a relative address for data writing from the base address for data reading;
- determining if a distance between the relative address for data writing and the base address for data reading is greater than or equal to the desired address offset;
- if the distance is greater than or equal to the desired address offset, continuing the data writing and the data reading in the first memory;
- and
- if the distance is within the desired address offset, performing the data writing in a second memory instead of the first memory,
- wherein the desired address offset, Address offset, is calculated using the following:
- Address_offset=(a maximum address of the first memory)×(Mclock−Dclock)/Mclock.
A computer readable medium on which a program for implementing a method for managing memory to prevent image tearing in a video reproducing system, wherein the method comprises:
- measuring a data writing rate (Mclock) and a data reading rate (Dclock) of a first memory;
- comparing the data writing rate to the data reading rate;
- calculating a desired address offset if the data writing rate is faster than the data reading rate;
- determining a base address for data writing;
- determining a relative address for data reading from the base address for data writing;
- determining if a distance between the relative address for data reading and the base address for data writing is greater than or equal to the desired address offset;
- if the distance is greater than or equal to the desired address offset, continuing the data writing and the data reading in the first memory;
- and
- if the distance is less than the desired address offset, performing the data writing in a second memory instead of the first memory,
- wherein the desired address offset, Address offset, is calculated using the following:
- Address_offset=(a maximum address of the first memory)×(Dclock−Mclock)/Dclock.
Dependencies are inferred from the claim text.