summaryrefslogtreecommitdiff
path: root/lib/igt_draw.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-02-27 22:59:25 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-06-08 12:56:01 +0300
commit1c7ef38900458fb4866fce93a50addae32b51db1 (patch)
tree2513c521d9e09bbfeed648c5e8d690715a7ff44d /lib/igt_draw.c
parente556d8522aaa51d173cb4329a0ef11405ac2ab86 (diff)
lib: Use igt_matrix for ycbcr<->rgb conversion
Probably horribly inefficient (not that the original code tried to be particularly efficient), but at least this is now pretty generic so it'll be super easy to add other color encodings and whatnot. v2: Rebase v3: Deal with the new color_encoding/range enums v4: Fix the code to actually work, and do things in 2x2 blocks Keep the chroma siting comment and pimp it up a bit Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'lib/igt_draw.c')
0 files changed, 0 insertions, 0 deletions