diff options
author | Younes Manton <younes.m@gmail.com> | 2009-10-01 21:53:17 -0400 |
---|---|---|
committer | Younes Manton <younes.m@gmail.com> | 2009-10-01 22:52:59 -0400 |
commit | e00da1476fcdf8e5877fc1e62118080f5c4193f0 (patch) | |
tree | 2ffc543f2c8dc702267fabc92ea1d186872f13b2 /src/gallium/include | |
parent | 81aa5d717bd0098608e9cc292b316293800c7e11 (diff) |
g3dvl: Color space conv interface & vl impl.
Interface is pipe_video_context::set_csc_matrix().
vl_csc.h defines some helpers to generate CSC matrices based on one of
the color standard and a user defined ProcAmp (brightness, contrast,
saturation, hue).
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_video_context.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_video_context.h b/src/gallium/include/pipe/p_video_context.h index 937705ac50..4d125fa4d5 100644 --- a/src/gallium/include/pipe/p_video_context.h +++ b/src/gallium/include/pipe/p_video_context.h @@ -80,7 +80,9 @@ struct pipe_video_context void (*set_decode_target)(struct pipe_video_context *vpipe, struct pipe_video_surface *dt); - /* TODO: Interface for CSC matrix, scaling modes, post-processing, etc. */ + void (*set_csc_matrix)(struct pipe_video_context *vpipe, const float *mat); + + /* TODO: Interface for scaling modes, post-processing, etc. */ /*@}*/ }; |