Direct memory access based hardware deskew
AssigneeHewlett-Packard Development Company, L.P.
InventorAjit Rajbhandari
Life of this patent
Estimating the term…
Abstract
In some examples, direct memory access based hardware deskew may include ascertaining scanned data associated with scanning of a physical medium by using a reading direct memory access to step through the scanned data based on a skew angle associated with an orientation of the physical medium relative to a scan bar that is to perform the scanning of the physical medium. Further, direct memory access based hardware deskew may include modifying the scanned data to reduce the skew angle associated with the orientation of the physical medium.
Claims20
A direct memory access based hardware deskew apparatus comprising:
- a processor;
- and
- a memory storing machine readable instructions that when executed by the processor cause the processor to:
- ascertain scanned data associated with scanning of a physical medium by using a reading direct memory access to step through the scanned data continuously to an end of each line until an end of the physical medium is reached and based on a step size and a skew angle associated with an orientation of the physical medium relative to a scan bar that is to perform the scanning of the physical medium;
- and
- modify the scanned data to reduce the skew angle associated with the orientation of the physical medium.
A method for direct memory access based hardware deskew comprising:
- determining, by a processor, a step size to ascertain scanned data associated with scanning of a physical medium, wherein the step size includes two pixels to a size of an image determined from the scanning of the physical medium;
- ascertaining the scanned data associated with the scanning of a physical medium by using a reading direct memory access to step through the scanned data continuously to an end of each line until an end of the physical medium is reached and based on the step size and a skew angle associated with an orientation of the physical medium relative to a scan bar that is to perform the scanning of the physical medium;
- and
- modifying the scanned data to reduce the skew angle associated with the orientation of the physical medium.
A non-transitory computer readable medium having stored thereon machine readable instructions to provide direct memory access based hardware deskew, the machine readable instructions, when executed, cause a processor to:
- determine a step size to ascertain scanned data associated with scanning of a physical medium, wherein the step size includes two pixels to a size of an image determined from the scanning of the physical medium;
- determine, based on the step size, a burst size that corresponds to a length of the scanned data that is to be ascertained;
- ascertain the scanned data associated with the scanning of a physical medium by using a reading direct memory access to step through the scanned data based on the step size, the burst size, and a skew angle associated with an orientation of the physical medium relative to a scan bar that is to perform the scanning of the physical medium;
- and
- modify the scanned data to reduce the skew angle associated with the orientation of the physical medium.
Dependencies are inferred from the claim text.