summaryrefslogtreecommitdiff
path: root/lib/igt_matrix.h
AgeCommit message (Collapse)Author
2019-03-11lib/igt_matrix: Fix up some docsVille Syrjälä
Add some missing documentation. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
2018-06-06lib/igt_matrix: Unroll and inline igt_matrix_transform()Ville Syrjälä
Using the current igt_matrix for NV12 conversion ends up being about 4x as slow as the current non-igt_matrix based code. Unrolling and inlining igt_matrix_transform() improves that factor to ~1.5x. Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
2018-05-23lib: Add igt_matrixVille Syrjälä
Add a helper library for basic matrix math. v2: Make the identity matrix static const (Chris) Add the m(row,col) macro (Chris) Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>