Replace all remaining occurances of step/depth_minus1 and offset_plus1

This commit is contained in:
Hendrik Leppkes
2015-09-08 17:10:48 +02:00
parent 151aa2ebff
commit 5d8e836d0e
42 changed files with 105 additions and 105 deletions

View File

@ -733,8 +733,8 @@ static av_cold void opengl_fill_color_map(OpenGLContext *opengl)
return;
#define FILL_COMPONENT(i) { \
shift = desc->comp[i].depth_minus1 >> 3; \
opengl->color_map[(i << 2) + ((desc->comp[i].offset_plus1 - 1) >> shift)] = 1.0; \
shift = (desc->comp[i].depth - 1) >> 3; \
opengl->color_map[(i << 2) + (desc->comp[i].offset >> shift)] = 1.0; \
}
memset(opengl->color_map, 0, sizeof(opengl->color_map));