Add limited range rendering for rendering YUV non-full range sources

This commit is contained in:
Palana
2014-04-24 00:24:51 +02:00
parent 9f43e6c257
commit 065379bffa
4 changed files with 47 additions and 8 deletions

View File

@@ -166,6 +166,9 @@ struct source_frame {
enum video_format format;
float color_matrix[16];
bool full_range;
float color_range_min[3];
float color_range_max[3];
bool flip;
};