Q format representation
Most of the developers who are working on the multimedia domain are not familiar with the below questionnaire😏. What is q format? Why do we require q formats in DSP processors? Advantages of q format? Disadvantages of q format? Once you get to know about q format, then your daily working practice will be quiet easier to understand about code. Q format is a representation of integers for processing the CPU or DSP. when a CPU lacks the floating-point unit in a processor then q format is used to enable the rational number processing with hardware arithmetic unit(ALU). Floating-point operations take so much time and performance-wise also worse when compared with fixed-point. So most companies prefer fixed-point processors only. We represent fixed-point numbers as Qn format, Here n represents no.of fractional bits. Other way of representation is Qm.n m - no of Integer bits used to represent a decimal number. n - no of fractional bits used to represents a fractional part Q format bits