RGB/YCrCb Conversion in Fixed Point
Multiplication by direction calculation
- Quantize coefficients
- Put coefficients in registers and stream pixels
- Highly accurate under extended precision accumulation
- Well-matched to DSPs and graphics cards
Multiplication by table lookup
- Precalculate multiplications (floating point times byte)
- Store in 5 (9) 256-byte tables for nested (matrix) formulas means 5 (9) times increase in memory bandwidth and poor cache performance
- Do not need extended precision accumulators
- Well-matched to ASICs and microcontrollers
Additions: 4 (6) for nested (matrix) formulas