mirror of
https://github.com/mpv-player/mpv
synced 2025-02-19 14:26:57 +00:00
fix image adjustment (brightness etc.) for yuv=6
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18677 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
54262bac32
commit
04955c22fd
@ -786,8 +786,8 @@ static void gen_gamma_map(unsigned char *map, int size, float gamma);
|
||||
//! resolution for 3D yuv->rgb conversion lookup table
|
||||
#define LOOKUP_3DRES 32
|
||||
static void create_conv_textures(int conv, int *texu, char *texs,
|
||||
int brightness, int contrast, int uvcos, int uvsin,
|
||||
int rgamma, int ggamma, int bgamma) {
|
||||
float brightness, float contrast, float uvcos, float uvsin,
|
||||
float rgamma, float ggamma, float bgamma) {
|
||||
unsigned char *lookup_data = NULL;
|
||||
switch (conv) {
|
||||
case YUV_CONVERSION_FRAGMENT:
|
||||
|
Loading…
Reference in New Issue
Block a user