0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

vo_opengl: move struct lut3d definition

This was dumb. Also, lcms.h has actually no need to include video.h
besides this and csputils.h (makes it slightly less entangled).
This commit is contained in:
wm4 2016-06-03 20:06:29 +02:00
parent 2d76c145c3
commit 2179879172
3 changed files with 6 additions and 8 deletions

View File

@ -28,8 +28,7 @@
#include "common/msg.h"
#include "options/m_option.h"
#include "options/path.h"
#include "video.h"
#include "video/csputils.h"
#include "lcms.h"
#include "osdep/io.h"

View File

@ -16,7 +16,11 @@ struct mp_icc_opts {
int contrast;
};
struct lut3d;
struct lut3d {
uint16_t *data;
int size[3];
};
struct mp_log;
struct mpv_global;
struct gl_lcms;

View File

@ -35,11 +35,6 @@
#define TEXUNIT_3DLUT (TEXUNIT_SCALERS+SCALER_COUNT)
#define TEXUNIT_DITHER (TEXUNIT_3DLUT+1)
struct lut3d {
uint16_t *data;
int size[3];
};
struct scaler_fun {
char *name;
float params[2];