Technique for bit up-conversion with sign extension
OwnerAnshu JAIN, Kumar DESAPPANinventors
Life of this patent
Estimating the term…
Abstract
A technique for bit depth up-conversion including obtaining an input value for a computation in a first bit depth with a fewer number of bits as compared to a second bit depth, converting the input value from the first bit depth to the second bit depth as an unsigned data value, adjusting a pointer to the converted input value based on the first bit depth, performing the computation based on the adjusted pointer to obtain an adjusted output value, and performing a right shift operation on the adjusted output value based on the first bit depth to obtain an output value.
Claims20
A method, comprising:
- obtaining an input value for a computation in a first bit depth with a fewer number of bits as compared to a second bit depth;
- converting the input value from the first bit depth to the second bit depth as an unsigned data value;
- adjusting a pointer to the converted input value based on the first bit depth;
- performing the computation based on the adjusted pointer to obtain an adjusted output value;
- and
- performing a right shift operation on the adjusted output value based on the first bit depth to obtain an output value.
A device comprising:
- a memory controller configured to
- obtain an input value for a computation in a first bit depth with a fewer number of bits as compared to a second bit depth;
- convert the input value from the first bit depth to the second bit depth as an unsigned data value;
- and
- adjust a pointer to the converted input value based on the first bit depth;
- and
- a processor operatively coupled to the memory controller, wherein the one or more processors are configured to execute instructions causing the one or more processors to:
- perform the computation based on the adjusted pointer to obtain an adjusted output value;
- and
- perform a right shift operation on the adjusted output value based on the first bit depth to obtain a signed output value.
A non-transitory program storage device comprising instructions stored thereon to cause a memory controller to:
- obtain an input value for a computation in a first bit depth with a fewer number of bits as compared to a second bit depth;
- convert the input value from the first bit depth to the second bit depth as an unsigned data value;
- and
- adjust a pointer to the converted input value based on the first bit depth;
- and
- wherein the instructions further cause one or more processors operatively coupled to the memory controller to:
- perform the computation based on the adjusted pointer to obtain an adjusted output value;
- and
- perform a right shift operation on the adjusted output value based on the first bit depth to obtain a signed output value.
Dependencies are inferred from the claim text.